Bug#622359: asciidoc: Umlauts in headlines break pdf-creation with a2x

2011-12-12 Thread André Wöbbeking
Hi,

I've the same problem and could workaround it with:

a2x -a lang=de --dblatex-opts=--param=latex.encoding=utf8 --no-xmllint 
example.txt

But then I had to install texlive-lang-cyrillic.

The problem is obviously that an UTF-8 enconded file is transformed to a Latin1 
encoded 
.tex file but somehow the text for \label{} and \hyperlabel{} is not 
transformed.


Cheers,
André



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#622359: asciidoc: Umlauts in headlines break pdf-creation with a2x

2011-04-12 Thread Gerhard Siegesmund
Package: asciidoc
Version: 8.6.4-1
Severity: important
Tags: l10n


If you use umlauts in headlines the asciidoc-file cannot be rendered to
pdf anymore. This is no problem with the stable 'asciidoc'-package.

Example-File:

--[ example.txt ]---
This is an example asciidoc-file

Gerhard Siegesmund je...@jerri.de

Umlauts e.g. ü break a2x headlines
--

Stable asciidoc (8.5.x) has no problems with this file.


Output from a2x -v
(Adding or removing the Parameters -a lang=de doesn't make any
difference)

--[a2x -a lang=de -v example.txt ]--
asciidoc: reading: /etc/asciidoc/asciidoc.conf
asciidoc: reading: /etc/asciidoc/asciidoc.conf
asciidoc: reading: /home/gerhard/example.txt
asciidoc: reading: /etc/asciidoc/docbook45.conf
asciidoc: reading: /etc/asciidoc/filters/latex/latex-filter.conf
asciidoc: reading: /etc/asciidoc/filters/code/code-filter.conf
asciidoc: reading: /etc/asciidoc/filters/music/music-filter.conf
asciidoc: reading: /etc/asciidoc/filters/source/source-highlight-filter.conf
asciidoc: reading: /etc/asciidoc/filters/graphviz/graphviz-filter.conf
asciidoc: reading: /etc/asciidoc/lang-en.conf
asciidoc: writing: /home/gerhard/example.xml
Build the book set list...
xsltproc -o /tmp/tmpnQOtAa/doclist.txt --xinclude --xincludestyle doclist.xsl 
/home/gerhard/example.xml
Build the listings...
xsltproc -o /tmp/tmpnQOtAa/listings.xml --xinclude --xincludestyle --param 
current.dir '/home/gerhard' /usr/share/dblatex/xsl/common/mklistings.xsl 
/home/gerhard/example.xml
xsltproc -o example.rtex --xinclude --xincludestyle --param current.dir 
'/home/gerhard' --param listings.xml '/tmp/tmpnQOtAa/listings.xml' 
/tmp/tmpnQOtAa/custom.xsl /home/gerhard/example.xml
XSLT stylesheets DocBook - LaTeX 2e (0.3-2)
===
Build example.pdf
built-in module pdftex registered
no support found for ifxetex
no support found for fontspec
no support found for xltxtra
no support found for fontenc
no support found for inputenc
no support found for fancybox
built-in module makeidx registered
no support found for asciidoc-dblatex
building additional files...
checking if compiling is necessary...
the output file doesn't exist
pdflatex -interaction=batchmode example.tex
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
pdflatex failed
example.tex:51: TeX capacity exceeded, sorry [input stack size=5000].
example.tex:51: leading text: ...label{_umlauts_e_g_ü_break_a2x_headlines}
Unexpected error occured
Image 'dblatex' not found
a2x: args: ['-v', 'example.txt']
a2x: executing: /usr/bin/asciidoc --backend docbook  --verbose  --out-file 
/home/gerhard/example.xml /home/gerhard/example.txt
a2x: executing: xmllint --nonet --noout --valid /home/gerhard/example.xml
a2x: executing: dblatex -t pdf -p /etc/asciidoc/dblatex/asciidoc-dblatex.xsl -s 
/etc/asciidoc/dblatex/asciidoc-dblatex.sty  -V  /home/gerhard/example.xml
a2x: deleting /home/gerhard/example.xml


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages asciidoc depends on:
ii  python2.6.6-12   interactive high-level object-orie

Versions of packages asciidoc recommends:
ii  dblatex 0.3-2Produces DVI, PostScript, PDF docu
ii  docbook-utils   0.6.14-1.1   Convert Docbook files to other for
ii  libxml2-utils   2.7.8.dfsg-2 XML utilities
ii  xmlto   0.0.23-2 XML-to-any converter

Versions of packages asciidoc suggests:
ii  source-highlight  3.1.4-1convert source code to syntax high
ii  vim-addon-manager 0.4.3  manager of addons for the Vim edit

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org