summaryrefslogtreecommitdiff
path: root/docutils/test/functional/input
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2010-05-05 12:08:10 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2010-05-05 12:08:10 +0000
commit87cfa9d99f38c846ed02308f8c33d607f71450ff (patch)
tree5d4ef766985a033e1e77d0a294344d19404f2df2 /docutils/test/functional/input
parent31da62a25c31e64de43216e4a52fc08e6f4a132e (diff)
downloaddocutils-87cfa9d99f38c846ed02308f8c33d607f71450ff.tar.gz
Drop the latex2e-special output_encoding default ("latin-1").
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@6319 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional/input')
-rw-r--r--docutils/test/functional/input/data/latex_encoding.txt2
-rw-r--r--docutils/test/functional/input/data/unicode.txt73
2 files changed, 59 insertions, 16 deletions
diff --git a/docutils/test/functional/input/data/latex_encoding.txt b/docutils/test/functional/input/data/latex_encoding.txt
index 6d5cc0b9e..1405a5ca7 100644
--- a/docutils/test/functional/input/data/latex_encoding.txt
+++ b/docutils/test/functional/input/data/latex_encoding.txt
@@ -6,7 +6,7 @@ The LaTeX Info pages lists under "2.18 Special Characters"
The following characters play a special role in LaTeX and are called
"special printing characters", or simply "special characters".
- # $ % & ~ _ ^ \ { }
+ # $ % & ~ _ ^ \\ { }
The special chars verbatim::
diff --git a/docutils/test/functional/input/data/unicode.txt b/docutils/test/functional/input/data/unicode.txt
index 4bdd57653..bed6a8c08 100644
--- a/docutils/test/functional/input/data/unicode.txt
+++ b/docutils/test/functional/input/data/unicode.txt
@@ -1,27 +1,70 @@
-Various non-ASCII characters
-----------------------------
+Non-ASCII characters
+--------------------
+
+Punctuation and footnote symbols
= ===================================
-© copyright sign
-® registered sign
-« left pointing guillemet
-» right pointing guillemet
– en-dash
— em-dash
-‘ single turned comma quotation mark
-’ single comma quotation mark
-‚ low single comma quotation mark
-“ double turned comma quotation mark
-” double comma quotation mark
-„ low double comma quotation mark
+‘ single turned comma quotation mark
+’ single comma quotation mark
+‚ low single comma quotation mark
+“ double turned comma quotation mark
+” double comma quotation mark
+„ low double comma quotation mark
† dagger
‡ double dagger
+♦ black diamond suit
+♥ black heart suit
+♠ black spade suit
+♣ black club suit
… ellipsis
™ trade mark sign
⇔ left-right double arrow
= ===================================
-The following line should not be wrapped, because it uses
-non-breakable spaces:
-X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X
+The `Latin-1 extended` Unicode block
+
+=== = = = = = = = = = =
+ .. 0 1 2 3 4 5 6 7 8 9
+--- - - - - - - - - - -
+160   ¡ ¢ £ ¥ ¦ § ¨ ©
+170 ª « ¬ ­ ® ¯ ° ± ² ³
+180 ´ µ ¶ · ¸ ¹ º » ¼ ½
+190 ¾ ¿ À Á Â Ã Ä Å Æ Ç
+200 È É Ê Ë Ì Í Î Ï Ð Ñ
+210 Ò Ó Ô Õ Ö × Ø Ù Ú Û
+220 Ü Ý Þ ß à á â ã ä å
+230 æ ç è é ê ë ì í î ï
+240 ð ñ ò ó ô õ ö ÷ ø ù
+250 ú û ü ý þ ÿ
+=== = = = = = = = = = =
+
+* The following line should not be wrapped, because it uses
+ no-break spaces (\\u00a0):
+
+ X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X
+
+* Line wrapping with/without breakpoints marked by soft hyphens
+ (\\u00ad):
+
+ pdn­derd­mdtd­ri­schpdn­derd­mdtd­ri­schpdn­derd­mdtd­ri­schpdn­derd­mdtd­ri­schpdn­derd­mdtd­ri­sch
+
+ pdnderdmdtdrischpdnderdmdtdrischpdnderdmdtdrischpdnderdmdtdrischpdnderdmdtdrisch
+
+* The currency sign (\\u00a4) is not supported by all fonts
+ (some have an Euro sign at its place). You might see an error
+ like::
+
+ ! Package textcomp Error: Symbol \textcurrency not provided by
+ (textcomp) font family ptm in TS1 encoding.
+ (textcomp) Default family used instead.
+
+ (which in case of font family ptm is a false positive). Add either
+
+ :warn: turn the error in a warning, use the default symbol (bitmap), or
+ :force,almostfull: use the symbol provided by the font at the users
+ risk,
+
+ to the document options or use a different font package.