milkfarm-onix 0.7.7
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +136 -0
- data/README.markdown +40 -0
- data/TODO +14 -0
- data/dtd/2.1r3/iso-amsa.ent +173 -0
- data/dtd/2.1r3/iso-amsb.ent +146 -0
- data/dtd/2.1r3/iso-amsc.ent +49 -0
- data/dtd/2.1r3/iso-amsn.ent +117 -0
- data/dtd/2.1r3/iso-amso.ent +77 -0
- data/dtd/2.1r3/iso-amsr.ent +205 -0
- data/dtd/2.1r3/iso-box.ent +67 -0
- data/dtd/2.1r3/iso-cyr1.ent +94 -0
- data/dtd/2.1r3/iso-cyr2.ent +53 -0
- data/dtd/2.1r3/iso-dia.ent +41 -0
- data/dtd/2.1r3/iso-grk3.ent +70 -0
- data/dtd/2.1r3/iso-lat1.ent +89 -0
- data/dtd/2.1r3/iso-lat2.ent +148 -0
- data/dtd/2.1r3/iso-mfrk.ent +79 -0
- data/dtd/2.1r3/iso-mopf.ent +53 -0
- data/dtd/2.1r3/iso-mscr.ent +79 -0
- data/dtd/2.1r3/iso-num.ent +103 -0
- data/dtd/2.1r3/iso-num.old.ent +103 -0
- data/dtd/2.1r3/iso-pub.ent +110 -0
- data/dtd/2.1r3/iso-tech.ent +183 -0
- data/dtd/2.1r3/onix-international.dtd +1012 -0
- data/dtd/2.1r3/onix-xhtml.elt +672 -0
- data/dtd/2.1r3/reference.elt +4758 -0
- data/dtd/2.1r3/xhtml-special.ent +79 -0
- data/dtd/2.1r3/xhtml-symbol.ent +242 -0
- data/lib/onix/addressee_identifier.rb +12 -0
- data/lib/onix/apa_product.rb +731 -0
- data/lib/onix/audience_range.rb +26 -0
- data/lib/onix/common.rb +26 -0
- data/lib/onix/contributor.rb +27 -0
- data/lib/onix/header.rb +46 -0
- data/lib/onix/imprint.rb +15 -0
- data/lib/onix/language.rb +14 -0
- data/lib/onix/lists/audience_code.rb +17 -0
- data/lib/onix/lists/country_code.rb +257 -0
- data/lib/onix/lists/language_code.rb +498 -0
- data/lib/onix/lists/language_role.rb +18 -0
- data/lib/onix/lists/notification_type.rb +19 -0
- data/lib/onix/lists/product_availability.rb +32 -0
- data/lib/onix/lists/product_form.rb +99 -0
- data/lib/onix/lists/product_form_detail.rb +157 -0
- data/lib/onix/market_representation.rb +19 -0
- data/lib/onix/measure.rb +14 -0
- data/lib/onix/media_file.rb +16 -0
- data/lib/onix/normaliser.rb +187 -0
- data/lib/onix/other_text.rb +17 -0
- data/lib/onix/price.rb +21 -0
- data/lib/onix/product.rb +73 -0
- data/lib/onix/product_identifier.rb +13 -0
- data/lib/onix/publisher.rb +16 -0
- data/lib/onix/reader.rb +187 -0
- data/lib/onix/sales_restriction.rb +12 -0
- data/lib/onix/sender_identifier.rb +14 -0
- data/lib/onix/series.rb +57 -0
- data/lib/onix/series_identifier.rb +13 -0
- data/lib/onix/simple_product.rb +47 -0
- data/lib/onix/sl_product.rb +131 -0
- data/lib/onix/stock.rb +15 -0
- data/lib/onix/subject.rb +16 -0
- data/lib/onix/supply_detail.rb +32 -0
- data/lib/onix/title.rb +17 -0
- data/lib/onix/website.rb +14 -0
- data/lib/onix/writer.rb +86 -0
- data/lib/onix.rb +114 -0
- data/spec/apa_product_spec.rb +59 -0
- data/spec/audience_range_spec.rb +46 -0
- data/spec/contributor_spec.rb +42 -0
- data/spec/header_spec.rb +123 -0
- data/spec/imprint_spec.rb +39 -0
- data/spec/language_spec.rb +42 -0
- data/spec/market_representation_spec.rb +41 -0
- data/spec/measure_spec.rb +43 -0
- data/spec/media_file_spec.rb +42 -0
- data/spec/normaliser_spec.rb +125 -0
- data/spec/other_text_spec.rb +40 -0
- data/spec/price_spec.rb +40 -0
- data/spec/product_identifier_spec.rb +40 -0
- data/spec/product_spec.rb +96 -0
- data/spec/publisher_spec.rb +38 -0
- data/spec/reader_spec.rb +131 -0
- data/spec/sales_restriction_spec.rb +35 -0
- data/spec/sender_identifier.rb +40 -0
- data/spec/series_identifier_spec.rb +38 -0
- data/spec/series_spec.rb +34 -0
- data/spec/sl_product_spec.rb +48 -0
- data/spec/stock_spec.rb +44 -0
- data/spec/subject_spec.rb +40 -0
- data/spec/supply_detail_spec.rb +53 -0
- data/spec/title_spec.rb +43 -0
- data/spec/website_spec.rb +41 -0
- data/spec/writer_spec.rb +81 -0
- data/support/entities.txt +1499 -0
- data/support/extract.rb +25 -0
- data/support/switch-onix-2.1-short-to-reference.xsl +23 -0
- data/support/switch-onix-tagnames-1.1.xsl +25 -0
- data/support/switch-onix-tagnames-2.0.xsl +37 -0
- metadata +209 -0
data/CHANGELOG
ADDED
@@ -0,0 +1,136 @@
|
|
1
|
+
v0.7.7 (1st October 2009)
|
2
|
+
- optimise sed usage in ONIX::Normaliser. *huge* speed improvement on
|
3
|
+
large files.
|
4
|
+
|
5
|
+
v0.7.6 (21st September 2009)
|
6
|
+
- provide access to the PackQuantity element
|
7
|
+
|
8
|
+
v0.7.5 (8th September 2009)
|
9
|
+
- Don't raise an exception on malformed dates when reading files
|
10
|
+
|
11
|
+
v0.7.4 (2nd September 2009)
|
12
|
+
- Expand ONIX::Normaliser
|
13
|
+
- strip control chars
|
14
|
+
- add encoding declaration to valid utf-8 files that aren't declared
|
15
|
+
as such
|
16
|
+
|
17
|
+
v0.7.3 (19th August 2009)
|
18
|
+
- Switch from java to xsltproc to convert short tag ONIX files
|
19
|
+
to reference tags
|
20
|
+
|
21
|
+
v0.7.2 (19th August 2009)
|
22
|
+
- Added ONIX::Normaliser class
|
23
|
+
- for normalising various ONIX files into a form that makes them easy
|
24
|
+
to process. Shouldn't be necesary to pre-process files like this, but
|
25
|
+
I'm sick of trying to wrestle the libxml ruby bindings
|
26
|
+
|
27
|
+
v0.7.1 (24th June 2009)
|
28
|
+
- Small tweak to ordering of elements in the Product group
|
29
|
+
|
30
|
+
v0.7.0 (17th June 2009)
|
31
|
+
- try using LibXML for reader again
|
32
|
+
- retrieving the ONIX version of the input file is currently disabled, as
|
33
|
+
that seems to be the source of our instability
|
34
|
+
- Various Ruby 1.9 compatability tweaks
|
35
|
+
- add source file coding declarations. All source files are UTF-8
|
36
|
+
- ONIX::Reader ensures all input data is converted to UTF-8
|
37
|
+
- the ROXML based objects seem to forget the encoding when they're marshalled,
|
38
|
+
so force string based attributes *back* to UTF-8
|
39
|
+
|
40
|
+
v0.6.7 (Unreleased)
|
41
|
+
- add some accessors to the Title composite
|
42
|
+
|
43
|
+
v0.6.6 (Unreleased)
|
44
|
+
- Forget the S on an element name
|
45
|
+
|
46
|
+
v0.6.5 (Unreleased)
|
47
|
+
- Ruby 1.9 compat
|
48
|
+
|
49
|
+
v0.6.4 (Unreleased)
|
50
|
+
- Add APAProduct#price
|
51
|
+
|
52
|
+
v0.6.3(Unreleased)
|
53
|
+
- Bump ROXML dependency to 2.5.3 to get libxml-ruby 1.1.3 compatibility
|
54
|
+
|
55
|
+
v0.6.2 (Unreleased)
|
56
|
+
- Fix a small typo in APAProduct
|
57
|
+
|
58
|
+
v0.6.1 (Unreleased)
|
59
|
+
- Stopped using LibXMLs Reader class as the basis for our reader.
|
60
|
+
- We were getting too many segfaults (even 1 is too many!)
|
61
|
+
- until we resolve it, reverted to manual string parsing
|
62
|
+
- This is a fairly major regression of functionality. For 99% of files
|
63
|
+
it won't matter, but for some corner cases it will. ie UTF-16 encoded
|
64
|
+
files
|
65
|
+
- Will also be noticeably slower
|
66
|
+
- Hopefully only a short term fix, until I work out what is going on with
|
67
|
+
libxml
|
68
|
+
|
69
|
+
v0.6.0 (18th March 2009)
|
70
|
+
- remove use of threads in ONIX::Reader
|
71
|
+
- a producer/consumer pattern was useful in the REXML stream parsing days, but
|
72
|
+
now LibXML's Reader binding provides a better alternative
|
73
|
+
- API left unchanged, this was all under the hood
|
74
|
+
- bump required ROXML version to 2.5.2
|
75
|
+
|
76
|
+
v0.5.1 (4th March 2009)
|
77
|
+
- Fix a single letter typo
|
78
|
+
|
79
|
+
v0.5 (2nd March 2009)
|
80
|
+
- Switch ROXML dependency from a patched version to vanilla
|
81
|
+
- Vanilla ROXML now has all the features we need
|
82
|
+
- This change should be transparent to ONIX gem users
|
83
|
+
|
84
|
+
v0.4.7 (9th December 2008)
|
85
|
+
- Contributor sub elements should match the order specified in the DTD
|
86
|
+
|
87
|
+
v0.4.6 (2nd December 2008)
|
88
|
+
- 2 new accessors on the contributor class - bio and corporate name
|
89
|
+
|
90
|
+
v0.4.5 (21st November 2008)
|
91
|
+
- APAProduct wrapper should generate valid MediaFile composites
|
92
|
+
|
93
|
+
v0.4.4 (19th November 2008)
|
94
|
+
- Added support for more elements from MarketRepresentation
|
95
|
+
|
96
|
+
v0.4.3 (11th November 2008)
|
97
|
+
- Added support for AgentName and MarketPublishingStatus
|
98
|
+
|
99
|
+
v0.4.2 (1st November 2008)
|
100
|
+
- Remove final remnants of REXML code
|
101
|
+
- Minor reordering of elements to match DTD
|
102
|
+
|
103
|
+
v0.4.1 (UNRELEASED)
|
104
|
+
- Added accessors to various product measurements. Height, weight, etc.
|
105
|
+
- Reduced time for an ONIX::Reader class to initialise
|
106
|
+
|
107
|
+
v0.4.0 (28th October 2008)
|
108
|
+
- Major rework: now based on ROXML instead of xml-mapping
|
109
|
+
- Mostly API Compatible
|
110
|
+
- StreamReader and StreamWriter renamed to Reader and Writer
|
111
|
+
- ROXML is based on libxml, so things should be significantly faster
|
112
|
+
|
113
|
+
v0.2.7 (Unreleased)
|
114
|
+
- Add line breaks after each product
|
115
|
+
|
116
|
+
v0.2.5 (Unreleased)
|
117
|
+
- Make PublishingStatus a two_digit_node
|
118
|
+
|
119
|
+
v0.2.4 (Unreleased)
|
120
|
+
- Initialise the media files array of a new product correctly
|
121
|
+
|
122
|
+
v0.2.3 (Unreleased)
|
123
|
+
- Switch a few more fields over to TwoDigitNodes
|
124
|
+
- Make the product availability field accessible from APAProduct
|
125
|
+
|
126
|
+
v0.2.2 (Unreleased)
|
127
|
+
- Add a new nodetype (DateNode) for YYYYMMDD fields
|
128
|
+
|
129
|
+
v0.2.1 (Unreleased)
|
130
|
+
- Add a new nodetype (TwoDigitNode) for two digit codes
|
131
|
+
|
132
|
+
v0.2.0 (16th July 2008)
|
133
|
+
- Add support for reading and storing subject codes (BIC, BISAC, etc)
|
134
|
+
|
135
|
+
v0.1.0 (12th June 2008)
|
136
|
+
- Initial Release
|
data/README.markdown
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
## ONIX
|
2
|
+
|
3
|
+
The ONIX standard is a somewhat verbose XML format that is rapidly becoming the
|
4
|
+
industry standard for electronic data sharing in the book and publishing
|
5
|
+
industries.
|
6
|
+
|
7
|
+
This library provides a slim layer over the format and simplifies both reading
|
8
|
+
and writing ONIX files in your ruby applications.
|
9
|
+
|
10
|
+
This replaces the obsolete rbook-onix gem that was spectacular in its crapness.
|
11
|
+
Let us never speak of it again.
|
12
|
+
|
13
|
+
## Installation
|
14
|
+
|
15
|
+
gem install onix
|
16
|
+
|
17
|
+
## Usage
|
18
|
+
|
19
|
+
See files in the examples directory to get started quickly. For further reading
|
20
|
+
view the comments to the following classes:
|
21
|
+
|
22
|
+
* ONIX::Reader - For reading ONIX files
|
23
|
+
* ONIX::Writer - For writing ONIX files
|
24
|
+
* ONIX::Normaliser - For normalising ONIX files before reading them. Fixes encoding issues, etc
|
25
|
+
|
26
|
+
## Licensing
|
27
|
+
|
28
|
+
This library is distributed under the terms of the MIT License. See the included file for
|
29
|
+
more detail.
|
30
|
+
|
31
|
+
## Contributing
|
32
|
+
|
33
|
+
All suggestions and patches welcome, preferably via a git repository I can pull from.
|
34
|
+
To be honest, I'm not really expecting any, this is a niche library.
|
35
|
+
|
36
|
+
## Further Reading
|
37
|
+
|
38
|
+
- The source: [http://github.com/yob/onix/tree/master](http://github.com/yob/onix/tree/master)
|
39
|
+
- Rubyforge project: [http://rubyforge.org/projects/rbook/](http://rubyforge.org/projects/rbook/)
|
40
|
+
- The official specs [http://www.editeur.org/onix.html](http://www.editeur.org/onix.html)
|
data/TODO
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
- finish adding support for all tags in a Product record
|
2
|
+
- contributor still needs some obscure tags added
|
3
|
+
- add a new node type for dates that should be in the form YYYYMMDD
|
4
|
+
- allow symbols to be used instead of numeric codes
|
5
|
+
- contribution type, id type, etc
|
6
|
+
- validations
|
7
|
+
- hard stuff from the spec
|
8
|
+
- 2 digit numbers, 8 digit dates, char limits on text fields
|
9
|
+
- code lists
|
10
|
+
- only values in code lists allowed in relevant fields
|
11
|
+
- regional requirements
|
12
|
+
- titlepage minimum set of tags
|
13
|
+
- APA (if different to titlepage)
|
14
|
+
- documentation
|
@@ -0,0 +1,173 @@
|
|
1
|
+
|
2
|
+
<!--
|
3
|
+
File isoamsa.ent produced by the XSL script mmldtd.xsl
|
4
|
+
from input data in unicode.xml.
|
5
|
+
|
6
|
+
Please report any errors to
|
7
|
+
David Carlisle <davidc@nag.co.uk>.
|
8
|
+
|
9
|
+
The numeric character values assigned to each entity
|
10
|
+
(should) match either official Unicode assignments
|
11
|
+
or assignments provisionally allocated by the
|
12
|
+
Unicode Consortium based on the characters in the `STIX'
|
13
|
+
propsal for mathematics. Note that these assignments
|
14
|
+
have not been ratified by the corresponding ISO
|
15
|
+
committee and thus should be considered liable to
|
16
|
+
change.
|
17
|
+
|
18
|
+
Entity names in this file are derived from files carrying the
|
19
|
+
following notice:
|
20
|
+
|
21
|
+
(C) International Organization for Standardization 1991
|
22
|
+
Permission to copy in any form is granted for use with
|
23
|
+
conforming SGML systems and applications as defined in
|
24
|
+
ISO 8879, provided this notice is included in all copies.
|
25
|
+
|
26
|
+
-->
|
27
|
+
|
28
|
+
<!ENTITY angzarr "⍼" ><!--angle with down zig-zag arrow -->
|
29
|
+
<!ENTITY cirmid "⫯" ><!--circle, mid below -->
|
30
|
+
<!ENTITY cudarrl "⤸" ><!--left, curved, down arrow -->
|
31
|
+
<!ENTITY cudarrr "⤵" ><!--right, curved, down arrow -->
|
32
|
+
<!ENTITY cularr "↶" ><!--/curvearrowleft A: left curved arrow -->
|
33
|
+
<!ENTITY cularrp "⤽" ><!--curved left arrow with plus -->
|
34
|
+
<!ENTITY curarr "↷" ><!--/curvearrowright A: rt curved arrow -->
|
35
|
+
<!ENTITY curarrm "⤼" ><!--curved right arrow with minus -->
|
36
|
+
<!ENTITY dArr "⇓" ><!--/Downarrow A: down dbl arrow -->
|
37
|
+
<!ENTITY Darr "↡" ><!--down two-headed arrow -->
|
38
|
+
<!ENTITY ddarr "⇊" ><!--/downdownarrows A: two down arrows -->
|
39
|
+
<!ENTITY DDotrahd "⤑" ><!--right arrow with dotted stem -->
|
40
|
+
<!ENTITY dfisht "⥿" ><!--down fish tail -->
|
41
|
+
<!ENTITY dHar "⥥" ><!--down harpoon-left, down harpoon-right -->
|
42
|
+
<!ENTITY dharl "⇃" ><!--/downharpoonleft A: dn harpoon-left -->
|
43
|
+
<!ENTITY dharr "⇂" ><!--/downharpoonright A: down harpoon-rt -->
|
44
|
+
<!ENTITY duarr "⇵" ><!--down arrow, up arrow -->
|
45
|
+
<!ENTITY duhar "⥯" ><!--down harp, up harp -->
|
46
|
+
<!ENTITY dzigrarr "" ><!--right long zig-zag arrow -->
|
47
|
+
<!ENTITY erarr "⥱" ><!--equal, right arrow below -->
|
48
|
+
<!ENTITY harr "↔" ><!--/leftrightarrow A: l&r arrow -->
|
49
|
+
<!ENTITY hArr "⇔" ><!--/Leftrightarrow A: l&r dbl arrow -->
|
50
|
+
<!ENTITY harrcir "⥈" ><!--left and right arrow with a circle -->
|
51
|
+
<!ENTITY harrw "↭" ><!--/leftrightsquigarrow A: l&r arr-wavy -->
|
52
|
+
<!ENTITY hoarr "⇿" ><!--horizontal open arrow -->
|
53
|
+
<!ENTITY imof "⊷" ><!--image of -->
|
54
|
+
<!ENTITY lAarr "⇚" ><!--/Lleftarrow A: left triple arrow -->
|
55
|
+
<!ENTITY Larr "↞" ><!--/twoheadleftarrow A: -->
|
56
|
+
<!ENTITY larrbfs "⤟" ><!--left arrow-bar, filled square -->
|
57
|
+
<!ENTITY larrfs "⤝" ><!--left arrow, filled square -->
|
58
|
+
<!ENTITY larrhk "↩" ><!--/hookleftarrow A: left arrow-hooked -->
|
59
|
+
<!ENTITY larrlp "↫" ><!--/looparrowleft A: left arrow-looped -->
|
60
|
+
<!ENTITY larrpl "⤹" ><!--left arrow, plus -->
|
61
|
+
<!ENTITY larrsim "⥳" ><!--left arrow, similar -->
|
62
|
+
<!ENTITY larrtl "↢" ><!--/leftarrowtail A: left arrow-tailed -->
|
63
|
+
<!ENTITY latail "⤙" ><!--left arrow-tail -->
|
64
|
+
<!ENTITY lAtail "⤛" ><!--left double arrow-tail -->
|
65
|
+
<!ENTITY lbarr "⤌" ><!--left broken arrow -->
|
66
|
+
<!ENTITY lBarr "⤎" ><!--left doubly broken arrow -->
|
67
|
+
<!ENTITY ldca "⤶" ><!--left down curved arrow -->
|
68
|
+
<!ENTITY ldrdhar "⥧" ><!--left harpoon-down over right harpoon-down -->
|
69
|
+
<!ENTITY ldrushar "⥋" ><!--left-down-right-up harpoon -->
|
70
|
+
<!ENTITY ldsh "↲" ><!--left down angled arrow -->
|
71
|
+
<!ENTITY lfisht "⥼" ><!--left fish tail -->
|
72
|
+
<!ENTITY lHar "⥢" ><!--left harpoon-up over left harpoon-down -->
|
73
|
+
<!ENTITY lhard "↽" ><!--/leftharpoondown A: l harpoon-down -->
|
74
|
+
<!ENTITY lharu "↼" ><!--/leftharpoonup A: left harpoon-up -->
|
75
|
+
<!ENTITY lharul "⥪" ><!--left harpoon-up over long dash -->
|
76
|
+
<!ENTITY llarr "⇇" ><!--/leftleftarrows A: two left arrows -->
|
77
|
+
<!ENTITY llhard "⥫" ><!--left harpoon-down below long dash -->
|
78
|
+
<!ENTITY loarr "⇽" ><!--left open arrow -->
|
79
|
+
<!ENTITY lrarr "⇆" ><!--/leftrightarrows A: l arr over r arr -->
|
80
|
+
<!ENTITY lrhar "⇋" ><!--/leftrightharpoons A: l harp over r -->
|
81
|
+
<!ENTITY lrhard "⥭" ><!--right harpoon-down below long dash -->
|
82
|
+
<!ENTITY lsh "↰" ><!--/Lsh A: -->
|
83
|
+
<!ENTITY lurdshar "⥊" ><!--left-up-right-down harpoon -->
|
84
|
+
<!ENTITY luruhar "⥦" ><!--left harpoon-up over right harpoon-up -->
|
85
|
+
<!ENTITY map "↦" ><!--/mapsto A: -->
|
86
|
+
<!ENTITY Map "⤅" ><!--twoheaded mapsto -->
|
87
|
+
<!ENTITY midcir "⫰" ><!--mid, circle below -->
|
88
|
+
<!ENTITY mumap "⊸" ><!--/multimap A: -->
|
89
|
+
<!ENTITY nearhk "⤤" ><!--NE arrow-hooked -->
|
90
|
+
<!ENTITY nearr "↗" ><!--/nearrow A: NE pointing arrow -->
|
91
|
+
<!ENTITY neArr "⇗" ><!--NE pointing dbl arrow -->
|
92
|
+
<!ENTITY nesear "⤨" ><!--/toea A: NE & SE arrows -->
|
93
|
+
<!ENTITY nharr "↮" ><!--/nleftrightarrow A: not l&r arrow -->
|
94
|
+
<!ENTITY nhArr "⇎" ><!--/nLeftrightarrow A: not l&r dbl arr -->
|
95
|
+
<!ENTITY nlarr "↚" ><!--/nleftarrow A: not left arrow -->
|
96
|
+
<!ENTITY nlArr "⇍" ><!--/nLeftarrow A: not implied by -->
|
97
|
+
<!ENTITY nrarr "↛" ><!--/nrightarrow A: not right arrow -->
|
98
|
+
<!ENTITY nrArr "⇏" ><!--/nRightarrow A: not implies -->
|
99
|
+
<!ENTITY nrarrc "⤳̸" ><!--not right arrow-curved -->
|
100
|
+
<!ENTITY nrarrw "↝̸" ><!--not right arrow-wavy -->
|
101
|
+
<!ENTITY nvHarr "⇎" ><!--not, vert, left and right double arrow -->
|
102
|
+
<!ENTITY nvlArr "⇍" ><!--not, vert, left double arrow -->
|
103
|
+
<!ENTITY nvrArr "⇏" ><!--not, vert, right double arrow -->
|
104
|
+
<!ENTITY nwarhk "⤣" ><!--NW arrow-hooked -->
|
105
|
+
<!ENTITY nwarr "↖" ><!--/nwarrow A: NW pointing arrow -->
|
106
|
+
<!ENTITY nwArr "⇖" ><!--NW pointing dbl arrow -->
|
107
|
+
<!ENTITY nwnear "⤧" ><!--NW & NE arrows -->
|
108
|
+
<!ENTITY olarr "↺" ><!--/circlearrowleft A: l arr in circle -->
|
109
|
+
<!ENTITY orarr "↻" ><!--/circlearrowright A: r arr in circle -->
|
110
|
+
<!ENTITY origof "⊶" ><!--original of -->
|
111
|
+
<!ENTITY rAarr "⇛" ><!--/Rrightarrow A: right triple arrow -->
|
112
|
+
<!ENTITY Rarr "↠" ><!--/twoheadrightarrow A: -->
|
113
|
+
<!ENTITY rarrap "⥵" ><!--approximate, right arrow above -->
|
114
|
+
<!ENTITY rarrbfs "⤠" ><!--right arrow-bar, filled square -->
|
115
|
+
<!ENTITY rarrc "⤳" ><!--right arrow-curved -->
|
116
|
+
<!ENTITY rarrfs "⤞" ><!--right arrow, filled square -->
|
117
|
+
<!ENTITY rarrhk "↪" ><!--/hookrightarrow A: rt arrow-hooked -->
|
118
|
+
<!ENTITY rarrlp "↬" ><!--/looparrowright A: rt arrow-looped -->
|
119
|
+
<!ENTITY rarrpl "⥅" ><!--right arrow, plus -->
|
120
|
+
<!ENTITY rarrsim "⥴" ><!--right arrow, similar -->
|
121
|
+
<!ENTITY rarrtl "↣" ><!--/rightarrowtail A: rt arrow-tailed -->
|
122
|
+
<!ENTITY Rarrtl "⤖" ><!--right two-headed arrow with tail -->
|
123
|
+
<!ENTITY rarrw "↝" ><!--/rightsquigarrow A: rt arrow-wavy -->
|
124
|
+
<!ENTITY ratail "↣" ><!--right arrow-tail -->
|
125
|
+
<!ENTITY rAtail "⤜" ><!--right double arrow-tail -->
|
126
|
+
<!ENTITY rbarr "⤍" ><!--/bkarow A: right broken arrow -->
|
127
|
+
<!ENTITY rBarr "⤏" ><!--/dbkarow A: right doubly broken arrow -->
|
128
|
+
<!ENTITY RBarr "⤐" ><!--/drbkarow A: twoheaded right broken arrow -->
|
129
|
+
<!ENTITY rdca "⤷" ><!--right down curved arrow -->
|
130
|
+
<!ENTITY rdldhar "⥩" ><!--right harpoon-down over left harpoon-down -->
|
131
|
+
<!ENTITY rdsh "↳" ><!--right down angled arrow -->
|
132
|
+
<!ENTITY rfisht "⥽" ><!--right fish tail -->
|
133
|
+
<!ENTITY rHar "⥤" ><!--right harpoon-up over right harpoon-down -->
|
134
|
+
<!ENTITY rhard "⇁" ><!--/rightharpoondown A: rt harpoon-down -->
|
135
|
+
<!ENTITY rharu "⇀" ><!--/rightharpoonup A: rt harpoon-up -->
|
136
|
+
<!ENTITY rharul "⥬" ><!--right harpoon-up over long dash -->
|
137
|
+
<!ENTITY rlarr "⇄" ><!--/rightleftarrows A: r arr over l arr -->
|
138
|
+
<!ENTITY rlhar "⇌" ><!--/rightleftharpoons A: r harp over l -->
|
139
|
+
<!ENTITY roarr "⇾" ><!--right open arrow -->
|
140
|
+
<!ENTITY rrarr "⇉" ><!--/rightrightarrows A: two rt arrows -->
|
141
|
+
<!ENTITY rsh "↱" ><!--/Rsh A: -->
|
142
|
+
<!ENTITY ruluhar "⥨" ><!--right harpoon-up over left harpoon-up -->
|
143
|
+
<!ENTITY searhk "⤥" ><!--/hksearow A: SE arrow-hooken -->
|
144
|
+
<!ENTITY searr "↘" ><!--/searrow A: SE pointing arrow -->
|
145
|
+
<!ENTITY seArr "⇘" ><!--SE pointing dbl arrow -->
|
146
|
+
<!ENTITY seswar "⤩" ><!--/tosa A: SE & SW arrows -->
|
147
|
+
<!ENTITY simrarr "⥲" ><!--similar, right arrow below -->
|
148
|
+
<!ENTITY slarr "←︀" ><!--short left arrow -->
|
149
|
+
<!ENTITY srarr "→︀" ><!--short right arrow -->
|
150
|
+
<!ENTITY swarhk "⤦" ><!--/hkswarow A: SW arrow-hooked -->
|
151
|
+
<!ENTITY swarr "↙" ><!--/swarrow A: SW pointing arrow -->
|
152
|
+
<!ENTITY swArr "⇙" ><!--SW pointing dbl arrow -->
|
153
|
+
<!ENTITY swnwar "⤪" ><!--SW & NW arrows -->
|
154
|
+
<!ENTITY uArr "⇑" ><!--/Uparrow A: up dbl arrow -->
|
155
|
+
<!ENTITY Uarr "↟" ><!--up two-headed arrow -->
|
156
|
+
<!ENTITY Uarrocir "⥉" ><!--up two-headed arrow above circle -->
|
157
|
+
<!ENTITY udarr "⇅" ><!--up arrow, down arrow -->
|
158
|
+
<!ENTITY udhar "⥮" ><!--up harp, down harp -->
|
159
|
+
<!ENTITY ufisht "⥾" ><!--up fish tail -->
|
160
|
+
<!ENTITY uHar "⥣" ><!--up harpoon-left, up harpoon-right -->
|
161
|
+
<!ENTITY uharl "↿" ><!--/upharpoonleft A: up harpoon-left -->
|
162
|
+
<!ENTITY uharr "↾" ><!--/upharpoonright /restriction A: up harp-r -->
|
163
|
+
<!ENTITY uuarr "⇈" ><!--/upuparrows A: two up arrows -->
|
164
|
+
<!ENTITY varr "↕" ><!--/updownarrow A: up&down arrow -->
|
165
|
+
<!ENTITY vArr "⇕" ><!--/Updownarrow A: up&down dbl arrow -->
|
166
|
+
<!ENTITY xharr "" ><!--/longleftrightarrow A: long l&r arr -->
|
167
|
+
<!ENTITY xhArr "" ><!--/Longleftrightarrow A: long l&r dbl arr -->
|
168
|
+
<!ENTITY xlarr "" ><!--/longleftarrow A: long left arrow -->
|
169
|
+
<!ENTITY xlArr "" ><!--/Longleftarrow A: long l dbl arrow -->
|
170
|
+
<!ENTITY xmap "" ><!--/longmapsto A: -->
|
171
|
+
<!ENTITY xrarr "" ><!--/longrightarrow A: long right arrow -->
|
172
|
+
<!ENTITY xrArr "" ><!--/Longrightarrow A: long rt dbl arr -->
|
173
|
+
<!ENTITY zigrarr "⇝" ><!--right zig-zag arrow -->
|
@@ -0,0 +1,146 @@
|
|
1
|
+
|
2
|
+
<!--
|
3
|
+
File isoamsb.ent produced by the XSL script mmldtd.xsl
|
4
|
+
from input data in unicode.xml.
|
5
|
+
|
6
|
+
Please report any errors to
|
7
|
+
David Carlisle <davidc@nag.co.uk>.
|
8
|
+
|
9
|
+
The numeric character values assigned to each entity
|
10
|
+
(should) match either official Unicode assignments
|
11
|
+
or assignments provisionally allocated by the
|
12
|
+
Unicode Consortium based on the characters in the `STIX'
|
13
|
+
propsal for mathematics. Note that these assignments
|
14
|
+
have not been ratified by the corresponding ISO
|
15
|
+
committee and thus should be considered liable to
|
16
|
+
change.
|
17
|
+
|
18
|
+
Entity names in this file are derived from files carrying the
|
19
|
+
following notice:
|
20
|
+
|
21
|
+
(C) International Organization for Standardization 1991
|
22
|
+
Permission to copy in any form is granted for use with
|
23
|
+
conforming SGML systems and applications as defined in
|
24
|
+
ISO 8879, provided this notice is included in all copies.
|
25
|
+
|
26
|
+
-->
|
27
|
+
|
28
|
+
<!ENTITY ac "⤏" ><!--most positive -->
|
29
|
+
<!ENTITY acE "⧛" ><!--most positive, two lines below -->
|
30
|
+
<!ENTITY amalg "⨿" ><!--/amalg B: amalgamation or coproduct -->
|
31
|
+
<!ENTITY barvee "⊽" ><!--bar, vee -->
|
32
|
+
<!ENTITY barwed "⊼" ><!--/barwedge B: logical and, bar above -->
|
33
|
+
<!ENTITY Barwed "⌆" ><!--/doublebarwedge B: log and, dbl bar above -->
|
34
|
+
<!ENTITY bsolb "⧅" ><!--reverse solidus in square -->
|
35
|
+
<!ENTITY Cap "⋒" ><!--/Cap /doublecap B: dbl intersection -->
|
36
|
+
<!ENTITY capand "⩄" ><!--intersection, and -->
|
37
|
+
<!ENTITY capbrcup "⩉" ><!--intersection, bar, union -->
|
38
|
+
<!ENTITY capcap "⩋" ><!--intersection, intersection, joined -->
|
39
|
+
<!ENTITY capcup "⩇" ><!--intersection above union -->
|
40
|
+
<!ENTITY capdot "⩀" ><!--intersection, with dot -->
|
41
|
+
<!ENTITY caps "∩︀" ><!--intersection, serifs -->
|
42
|
+
<!ENTITY ccaps "⩍" ><!--closed intersection, serifs -->
|
43
|
+
<!ENTITY ccups "⩌" ><!--closed union, serifs -->
|
44
|
+
<!ENTITY ccupssm "⩐" ><!--closed union, serifs, smash product -->
|
45
|
+
<!ENTITY coprod "∐" ><!--/coprod L: coproduct operator -->
|
46
|
+
<!ENTITY Cup "⋓" ><!--/Cup /doublecup B: dbl union -->
|
47
|
+
<!ENTITY cupbrcap "⩈" ><!--union, bar, intersection -->
|
48
|
+
<!ENTITY cupcap "⩆" ><!--union above intersection -->
|
49
|
+
<!ENTITY cupcup "⩊" ><!--union, union, joined -->
|
50
|
+
<!ENTITY cupdot "⊍" ><!--union, with dot -->
|
51
|
+
<!ENTITY cupor "⩅" ><!--union, or -->
|
52
|
+
<!ENTITY cups "∪︀" ><!--union, serifs -->
|
53
|
+
<!ENTITY cuvee "⋎" ><!--/curlyvee B: curly logical or -->
|
54
|
+
<!ENTITY cuwed "⋏" ><!--/curlywedge B: curly logical and -->
|
55
|
+
<!ENTITY dagger "†" ><!--/dagger B: dagger relation -->
|
56
|
+
<!ENTITY Dagger "‡" ><!--/ddagger B: double dagger relation -->
|
57
|
+
<!ENTITY diam "⋄" ><!--/diamond B: open diamond -->
|
58
|
+
<!ENTITY divonx "⋇" ><!--/divideontimes B: division on times -->
|
59
|
+
<!ENTITY eplus "⩱" ><!--equal, plus -->
|
60
|
+
<!ENTITY hercon "⊹" ><!--hermitian conjugate matrix -->
|
61
|
+
<!ENTITY intcal "⊺" ><!--/intercal B: intercal -->
|
62
|
+
<!ENTITY iprod "⨼" ><!--/intprod -->
|
63
|
+
<!ENTITY loplus "⨭" ><!--plus sign in left half circle -->
|
64
|
+
<!ENTITY lotimes "⨴" ><!--multiply sign in left half circle -->
|
65
|
+
<!ENTITY lthree "⋋" ><!--/leftthreetimes B: -->
|
66
|
+
<!ENTITY ltimes "⋉" ><!--/ltimes B: times sign, left closed -->
|
67
|
+
<!ENTITY midast "*" ><!--/ast B: asterisk -->
|
68
|
+
<!ENTITY minusb "⊟" ><!--/boxminus B: minus sign in box -->
|
69
|
+
<!ENTITY minusd "∸" ><!--/dotminus B: minus sign, dot above -->
|
70
|
+
<!ENTITY minusdu "⨪" ><!--minus sign, dot below -->
|
71
|
+
<!ENTITY ncap "⩃" ><!--bar, intersection -->
|
72
|
+
<!ENTITY ncup "⩂" ><!--bar, union -->
|
73
|
+
<!ENTITY oast "⊛" ><!--/circledast B: asterisk in circle -->
|
74
|
+
<!ENTITY ocir "⊚" ><!--/circledcirc B: small circle in circle -->
|
75
|
+
<!ENTITY odash "⊝" ><!--/circleddash B: hyphen in circle -->
|
76
|
+
<!ENTITY odiv "⨸" ><!--divide in circle -->
|
77
|
+
<!ENTITY odot "⊙" ><!--/odot B: middle dot in circle -->
|
78
|
+
<!ENTITY odsold "⦼" ><!--dot, solidus, dot in circle -->
|
79
|
+
<!ENTITY ofcir "⦿" ><!--filled circle in circle -->
|
80
|
+
<!ENTITY ogt "⧁" ><!--greater-than in circle -->
|
81
|
+
<!ENTITY ohbar "⦵" ><!--circle with horizontal bar -->
|
82
|
+
<!ENTITY olcir "⦾" ><!--large circle in circle -->
|
83
|
+
<!ENTITY olt "⧀" ><!--less-than in circle -->
|
84
|
+
<!ENTITY omid "⦶" ><!--vertical bar in circle -->
|
85
|
+
<!ENTITY ominus "⊖" ><!--/ominus B: minus sign in circle -->
|
86
|
+
<!ENTITY opar "⦷" ><!--parallel in circle -->
|
87
|
+
<!ENTITY operp "⦹" ><!--perpendicular in circle -->
|
88
|
+
<!ENTITY oplus "⊕" ><!--/oplus B: plus sign in circle -->
|
89
|
+
<!ENTITY osol "⊘" ><!--/oslash B: solidus in circle -->
|
90
|
+
<!ENTITY otimes "⊗" ><!--/otimes B: multiply sign in circle -->
|
91
|
+
<!ENTITY Otimes "⨷" ><!--multiply sign in double circle -->
|
92
|
+
<!ENTITY otimesas "⨶" ><!--multiply sign in circle, circumflex accent -->
|
93
|
+
<!ENTITY ovbar "⌽" ><!--circle with vertical bar -->
|
94
|
+
<!ENTITY plusacir "⨣" ><!--plus, circumflex accent above -->
|
95
|
+
<!ENTITY plusb "⊞" ><!--/boxplus B: plus sign in box -->
|
96
|
+
<!ENTITY pluscir "⨢" ><!--plus, small circle above -->
|
97
|
+
<!ENTITY plusdo "∔" ><!--/dotplus B: plus sign, dot above -->
|
98
|
+
<!ENTITY plusdu "⨥" ><!--plus sign, dot below -->
|
99
|
+
<!ENTITY pluse "⩲" ><!--plus, equals -->
|
100
|
+
<!ENTITY plussim "⨦" ><!--plus, similar below -->
|
101
|
+
<!ENTITY plustwo "⨧" ><!--plus, two; Nim-addition -->
|
102
|
+
<!ENTITY prod "∏" ><!--/prod L: product operator -->
|
103
|
+
<!ENTITY race "⧚" ><!--reverse most positive, line below -->
|
104
|
+
<!ENTITY roplus "⨮" ><!--plus sign in right half circle -->
|
105
|
+
<!ENTITY rotimes "⨵" ><!--multiply sign in right half circle -->
|
106
|
+
<!ENTITY rthree "⋌" ><!--/rightthreetimes B: -->
|
107
|
+
<!ENTITY rtimes "⋊" ><!--/rtimes B: times sign, right closed -->
|
108
|
+
<!ENTITY sdot "⋅" ><!--/cdot B: small middle dot -->
|
109
|
+
<!ENTITY sdotb "⊡" ><!--/dotsquare /boxdot B: small dot in box -->
|
110
|
+
<!ENTITY setmn "∖" ><!--/setminus B: reverse solidus -->
|
111
|
+
<!ENTITY simplus "⨤" ><!--plus, similar above -->
|
112
|
+
<!ENTITY smashp "⨳" ><!--smash product -->
|
113
|
+
<!ENTITY solb "⧄" ><!--solidus in square -->
|
114
|
+
<!ENTITY sqcap "⊓" ><!--/sqcap B: square intersection -->
|
115
|
+
<!ENTITY sqcaps "⊓︀" ><!--square intersection, serifs -->
|
116
|
+
<!ENTITY sqcup "⊔" ><!--/sqcup B: square union -->
|
117
|
+
<!ENTITY sqcups "⊔︀" ><!--square union, serifs -->
|
118
|
+
<!ENTITY ssetmn "∖︀" ><!--/smallsetminus B: sm reverse solidus -->
|
119
|
+
<!ENTITY sstarf "⋆" ><!--/star B: small star, filled -->
|
120
|
+
<!ENTITY subdot "⪽" ><!--subset, with dot -->
|
121
|
+
<!ENTITY sum "∑" ><!--/sum L: summation operator -->
|
122
|
+
<!ENTITY supdot "⪾" ><!--superset, with dot -->
|
123
|
+
<!ENTITY timesb "⊠" ><!--/boxtimes B: multiply sign in box -->
|
124
|
+
<!ENTITY timesbar "⨱" ><!--multiply sign, bar below -->
|
125
|
+
<!ENTITY timesd "⨰" ><!--times, dot -->
|
126
|
+
<!ENTITY tridot "◬" ><!--dot in triangle -->
|
127
|
+
<!ENTITY triminus "⨺" ><!--minus in triangle -->
|
128
|
+
<!ENTITY triplus "⨹" ><!--plus in triangle -->
|
129
|
+
<!ENTITY trisb "⧍" ><!--triangle, serifs at bottom -->
|
130
|
+
<!ENTITY tritime "⨻" ><!--multiply in triangle -->
|
131
|
+
<!ENTITY uplus "⊎" ><!--/uplus B: plus sign in union -->
|
132
|
+
<!ENTITY veebar "⊻" ><!--/veebar B: logical or, bar below -->
|
133
|
+
<!ENTITY wedbar "⩟" ><!--wedge, bar below -->
|
134
|
+
<!ENTITY wreath "≀" ><!--/wr B: wreath product -->
|
135
|
+
<!ENTITY xcap "⋂" ><!--/bigcap L: intersection operator -->
|
136
|
+
<!ENTITY xcirc "◯" ><!--/bigcirc B: large circle -->
|
137
|
+
<!ENTITY xcup "⋃" ><!--/bigcup L: union operator -->
|
138
|
+
<!ENTITY xdtri "▽" ><!--/bigtriangledown B: big dn tri, open -->
|
139
|
+
<!ENTITY xodot "⊙" ><!--/bigodot L: circle dot operator -->
|
140
|
+
<!ENTITY xoplus "⊕" ><!--/bigoplus L: circle plus operator -->
|
141
|
+
<!ENTITY xotime "⊗" ><!--/bigotimes L: circle times operator -->
|
142
|
+
<!ENTITY xsqcup "⊔" ><!--/bigsqcup L: square union operator -->
|
143
|
+
<!ENTITY xuplus "⊎" ><!--/biguplus L: -->
|
144
|
+
<!ENTITY xutri "△" ><!--/bigtriangleup B: big up tri, open -->
|
145
|
+
<!ENTITY xvee "⋁" ><!--/bigvee L: logical and operator -->
|
146
|
+
<!ENTITY xwedge "⋀" ><!--/bigwedge L: logical or operator -->
|
@@ -0,0 +1,49 @@
|
|
1
|
+
|
2
|
+
<!--
|
3
|
+
File isoamsc.ent produced by the XSL script mmldtd.xsl
|
4
|
+
from input data in unicode.xml.
|
5
|
+
|
6
|
+
Please report any errors to
|
7
|
+
David Carlisle <davidc@nag.co.uk>.
|
8
|
+
|
9
|
+
The numeric character values assigned to each entity
|
10
|
+
(should) match either official Unicode assignments
|
11
|
+
or assignments provisionally allocated by the
|
12
|
+
Unicode Consortium based on the characters in the `STIX'
|
13
|
+
propsal for mathematics. Note that these assignments
|
14
|
+
have not been ratified by the corresponding ISO
|
15
|
+
committee and thus should be considered liable to
|
16
|
+
change.
|
17
|
+
|
18
|
+
Entity names in this file are derived from files carrying the
|
19
|
+
following notice:
|
20
|
+
|
21
|
+
(C) International Organization for Standardization 1991
|
22
|
+
Permission to copy in any form is granted for use with
|
23
|
+
conforming SGML systems and applications as defined in
|
24
|
+
ISO 8879, provided this notice is included in all copies.
|
25
|
+
|
26
|
+
-->
|
27
|
+
|
28
|
+
<!ENTITY dlcorn "⌞" ><!--/llcorner O: lower left corner -->
|
29
|
+
<!ENTITY drcorn "⌟" ><!--/lrcorner C: lower right corner -->
|
30
|
+
<!ENTITY gtlPar "⦕" ><!--dbl left parenthesis, greater -->
|
31
|
+
<!ENTITY langd "⦑" ><!--left angle, dot -->
|
32
|
+
<!ENTITY lbrke "⦋" ><!--left bracket, equal -->
|
33
|
+
<!ENTITY lbrksld "⦏" ><!--left bracket, solidus bottom corner -->
|
34
|
+
<!ENTITY lbrkslu "⦍" ><!--left bracket, solidus top corner -->
|
35
|
+
<!ENTITY lceil "⌈" ><!--/lceil O: left ceiling -->
|
36
|
+
<!ENTITY lfloor "⌊" ><!--/lfloor O: left floor -->
|
37
|
+
<!ENTITY lmoust "⎰" ><!--/lmoustache -->
|
38
|
+
<!ENTITY lparlt "⦓" ><!--O: left parenthesis, lt -->
|
39
|
+
<!ENTITY ltrPar "⦖" ><!--dbl right parenthesis, less -->
|
40
|
+
<!ENTITY rangd "⦒" ><!--right angle, dot -->
|
41
|
+
<!ENTITY rbrke "⦌" ><!--right bracket, equal -->
|
42
|
+
<!ENTITY rbrksld "⦎" ><!--right bracket, solidus bottom corner -->
|
43
|
+
<!ENTITY rbrkslu "⦐" ><!--right bracket, solidus top corner -->
|
44
|
+
<!ENTITY rceil "⌉" ><!--/rceil C: right ceiling -->
|
45
|
+
<!ENTITY rfloor "⌋" ><!--/rfloor C: right floor -->
|
46
|
+
<!ENTITY rmoust "⎱" ><!--/rmoustache -->
|
47
|
+
<!ENTITY rpargt "⦔" ><!--C: right paren, gt -->
|
48
|
+
<!ENTITY ulcorn "⌜" ><!--/ulcorner O: upper left corner -->
|
49
|
+
<!ENTITY urcorn "⌝" ><!--/urcorner C: upper right corner -->
|