knowliner.blogg.se

Docear export to latex
Docear export to latex






docear export to latex docear export to latex

No all languages are supported and, as you said, is possible to see which ones are viewing the org-latex-export-dictionary variable (you can use the emacs command C-h v then write the variable name). For French the next line does the work: #+LANGUAGE: fr Look at Tyler's answer and comments.Īs JeanPierre answer pointed, you need to specify the language export setting. It doesn't work if you want to export via Latex (Latex is used when Org exports to PDF). (org-export-translate-to-lang '(("Table of Contents" (term-list (assoc term org-export-dictionary)) (translation-utf-8 (nth 3 term-translation)) (translation-html (nth 2 term-translation)) (translation-default (nth 1 term-translation)) (dolist (term-translation term-translations) LANG is language you want to translate to." TERM-TRANSLATIONS is alist consisted of term you want to translateĪnd its corresponding translation, first as :default then as :html and "Adds desired translations to `org-export-dictionary'. I've wrote a naive function which can be useful in init.el: (defun org-export-translate-to-lang (term-translations &optional lang) In my case: (defconst org-export-dictionary The constant responsible for translation mappings is org-export-dictionary in ox.el and if your language is not supported you can drop it there and then eval-defun to let change take place. You can set LANGUAGE at the top of your org document this way: #+LANGUAGE: frĪnd French will be used as default language of all strings that org produces during export. My document is not in English so I want to translate table of content's title.Īs JeanPierre said, It's about export settings. Is there an option which changes default title of table of contents in Org mode?








Docear export to latex