Ihor Radchenko <[email protected]> writes:
> Michael Welle <[email protected]> writes:
>> This below example fails to
>> compile oink.pdf because the AUTO tag in LaTeX's usepackage stanza isn't
>> replaced. How does one deal with that?
>
>> #####
>> #+LANGUAGE: de-de
>>
>> Hello, crude world.
>>
>> #+begin_src latex :file /tmp/oink.pdf
>>   Hello, crude world.
>> #+end_src
>> #####

If you're using polyglossia, you can try adding:

 :headers '("\\setdefaultlanguage{german}")

I'm not quite clear on why the above example wouldn't compile, but
here's an example where you should see the effect on the table caption
("Tabelle" instead of "Table"):

#+header: :headers '("\\setdefaultlanguage{german}")
#+begin_src latex :file /tmp/oink.pdf 
  Hello, crude world.

  \begin{table}[htbp]
  \caption{\label{tab:test}A test table}
  \centering
  \begin{tabular}{lll}
  A & B & C\\
  \end{tabular}
  \end{table}
#+end_src

Regards,
Christian

Reply via email to