I got errors, using:

+ -P latex.encoding=utf8

book.txt.tex:619: Package ucs Error: Unknown Unicode character 12371 = 
U+3053,
book.txt.tex:619: leading text: \item{} Print an UTF-{}8 string like “こ
book.txt.tex:619: Package ucs Error: Unknown Unicode character 12435 = 
U+3093,
book.txt.tex:619: leading text: ...{} Print an UTF-{}8 string like “こん

+ -P latex.unicode.use=1

It is created the PDF file, but the characters are not built correctly:

Missing character こ
Missing character ん
Missing character に
Missing character ち
Missing character は
Missing character 世
Missing character 界


El jueves, 14 de marzo de 2013 09:21:50 UTC, Lex Trotman escribió:
>
> On 14 March 2013 19:54, Charles Beck <[email protected] <javascript:>> 
> wrote: 
> > In the FAQ of dblatex (http://dblatex.sourceforge.net/), I found the 
> > solution: 
> > 
> > **** 
> > 
> > I cannot compile my cyrillic document. Why? 
> > 
> > A document using some characters different from the roman alphabet may 
> face 
> > some troubles, because latex natively handles only latin1 encoding. 
> > 
> > Try the different unicode supports provided by dblatex: 
> > 
> > Use the XeTeX backend, a new tex engine that natively supports Unicode 
> > characters: dblatex -b xetex file.xml. 
> > 
> > Ask for using the latex unicode support by setting the 
> latex.encoding=utf8 
> > parameter: dblatex -P latex.encoding=utf8 file.xml. 
> > 
> > Use the Passivetex extensions by setting the latex.unicode.use=1 
> parameter: 
> > dblatex -P latex.unicode.use=1 file.xml. 
> > 
> > **** 
> > Now well, How to pass parameters to dblatex from AsciiDoc? 
>
> http://www.methods.co.nz/asciidoc/a2x.1.html 
>
> --dblatex-opts 
>
> Cheers 
> Lex 
>
> > 
> > El miércoles, 13 de marzo de 2013 23:46:57 UTC, Charles Beck escribió: 
> >> 
> >> I tested it with greek letters and it worked so it has to be related 
> >> Japanese fonts. 
> >> 
> >> El miércoles, 13 de marzo de 2013 22:46:13 UTC, Lex Trotman escribió: 
> >>> 
> >>> On 14 March 2013 03:46, Charles Beck <[email protected]> wrote: 
> >>> > Like example, I refer to a string like ``こんにちは世界'' 
> >>> > 
> >>> > El miércoles, 13 de marzo de 2013 09:54:50 UTC, Charles Beck 
> escribió: 
> >>> >> 
> >>> >> In my text file, I have a string in Japanese language but when it 
> is 
> >>> >> converted to PDF the string is translated to hexadecimal characters 
> >>> >> for HTML 
> >>> >> i.e. "&#x3053;". Then, how can be fixed to get the original 
> >>> >> characters? 
> >>> 
> >>> Asciidoc generates the docbook using the original UTF-8 characters, 
> >>> you can check this by running a2x -k japanese-hello.asciidoc 
> >>> 
> >>> Neither dblatex or fop produce the japanese output, dblatex as you say 
> >>> prints the code points and fop just replaces it with a # 
> >>> 
> >>> Perhaps they are telling us our PDF fonts don't include these 
> characters? 
> >>> 
> >>> Anyway you need to investigate further the toolchains. 
> >>> 
> >>> Cheers 
> >>> Lex 
> >>> 
> >>> 
> >>> >> 
> >>> >> Nothe  that I'm using ":encoding: utf-8". 
> >>> >> 
> >>> > -- 
> >>> > You received this message because you are subscribed to the Google 
> >>> > Groups 
> >>> > "asciidoc" group. 
> >>> > To unsubscribe from this group and stop receiving emails from it, 
> send 
> >>> > an 
> >>> > email to [email protected]. 
> >>> > To post to this group, send email to [email protected]. 
> >>> > Visit this group at http://groups.google.com/group/asciidoc?hl=en. 
> >>> > For more options, visit https://groups.google.com/groups/opt_out. 
> >>> > 
> >>> > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "asciidoc" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > To post to this group, send email to [email protected]<javascript:>. 
>
> > Visit this group at http://groups.google.com/group/asciidoc?hl=en. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> > 
> > 
>

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to