pandoc/test/command/translations.md

30 lines
460 B
Markdown
Raw Normal View History

2017-08-12 08:57:28 +02:00
```
% pandoc -f latex -t native -M lang=en
\figurename\ 2
2017-08-12 08:57:28 +02:00
^D
[ Para [ Str "Figure\160\&2" ] ]
2017-08-12 08:57:28 +02:00
```
```
% pandoc -f latex -t native -M lang=de-DE
\figurename\ 2
2017-08-12 08:57:28 +02:00
^D
[ Para [ Str "Abbildung\160\&2" ] ]
2017-08-12 08:57:28 +02:00
```
2017-08-12 08:59:27 +02:00
```
% pandoc -f latex -t native -M lang=en
2017-08-12 08:59:27 +02:00
\setmainlanguage{german}
\figurename 2
^D
[ Para [ Str "Abbildung2" ] ]
```
```
% pandoc -f latex -t native -M lang=sr
\figurename~2
\figurename.
^D
[ Para [ Str "Slika\160\&2" , SoftBreak , Str "Slika." ] ]
2017-08-12 08:59:27 +02:00
```