Hello,

"Brian J. Carlson" <brian.carl...@verizon.com> writes:

> I exported an org document to texi. When I attempt to convert the outputted 
> texi file to pdf using texi2pdf
> the language setting in the org file gets converted to uppercase:
>
> #+LANGUAGE: en  -->  @documentlanguage EN
>
> This causes texi2pdf to encounter errors:
>
> ,----
> | $ texi2pdf foo.texi
> | This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian)
> |  restricted \write18 enabled.
> | entering extended mode
> | (./foo.texi (/usr/share/texmf/tex/texinfo/texinfo.tex
> | Loading texinfo [version 2013-09-11.11]: pdf, fonts, markup, glyphs,
> | page headings, tables, conditionals, indexing, sectioning, toc, 
> environments,
> | defuns, macros, cross references, insertions,
> | (/usr/share/texlive/texmf-dist/tex/generic/epsf/epsf.tex
> | This is `epsf.tex' v2.7.4 <14 February 2011>
> | ) localization, formatting, and turning on texinfo input format.)
> | Runaway argument?
> | {EN_\finish }\else \globaldefs = 1 \input txi-EN.tex \fi \closein 1 
> \endgroup \
> | ETC.
> | ./foo.texi:9: Paragraph ended before \documentlanguagetrywithoutunderscore 
> was
> |  complete.
> | <to be read again>
> |                    \par
> | l.9
> |
> | ?
> `----

This should be fixed. Thank you for reporting it, and for the patch.


Regards,

-- 
Nicolas Goaziou

Reply via email to