You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an Author: field in Russian translations file <DATADIR>/translations/ru.yaml.
This field causes Pandoc to not load translation table with warnings like:
[WARNING] The term Table has no translation defined.
[WARNING] The term Figure has no translation defined.
Corresponding terms are never appear in the output. Figures' and tables' captions
are just 1. A table caption instead of Таблица 1. A table caption.
Solution:
Remove this 'Author' translation table item.
As I can see, this problem presents in uk.yaml file, too.
(non-working) example:
# Table example
| 1 | 2 | 3 |
|---:|:--:|:---|
| first | second | third |
Table: A sample table
# Figure example
![A sample figure with online image][fig1]
[fig1]: https://www.clipartmax.com/png/small/6-65037_cartoon-space-ship-space-shuttle-clip-art.png "Space ship"
A sample figure
Pandoc command line and STDERR:
$ pandoc -t odt -V lang=ru-RU --metadata lang:ru-RU -o /tmp/t.odt -f markdown+implicit_figures t.md
[WARNING] Could not load translations for ru-RU
translations/ru.yaml: expected Term instead of !!str
[WARNING] The term Table has no translation defined.
[WARNING] The term Figure has no translation defined.
Problem presents itself with ODT output.
Result:
Expected: 'Таблица' before number in table caption and 'Рис.' before number in figure caption.
The text was updated successfully, but these errors were encountered:
Found a possible bug in translations.
Description:
There is an
Author:
field in Russian translations file<DATADIR>/translations/ru.yaml
.This field causes Pandoc to not load translation table with warnings like:
Corresponding terms are never appear in the output. Figures' and tables' captions
are just
1. A table caption
instead ofТаблица 1. A table caption
.Solution:
Remove this 'Author' translation table item.
As I can see, this problem presents in
uk.yaml
file, too.(non-working) example:
Pandoc command line and STDERR:
Problem presents itself with ODT output.
Result:
Expected: 'Таблица' before number in table caption and 'Рис.' before number in figure caption.
The text was updated successfully, but these errors were encountered: