I for one agree about that; one of the reasons that I don't like LaTeX is that it forces me to use English-based markup with non-English text. Perhaps if textual labels can't be avoided they can be configurable, like the actually inserted texts need to be configurable with templates, something like

``````yaml
labels:  # Icelandic
  sec: kafli
  fig: mynd
  tab: tafla
``````

(These are the actual Icelandic words for 'section, 'figure, 'table'. They are so short that it makes little sense to truncate them.)

I guess templates should better use the same library as Pandoc's document template. pandoc-crossref's coopting of math syntax is an expedient which wouldn't be needed anymore.

FWIW my list-table filter for example has the same problem, but for now I have abstained from making the div attributes it looks for configurable. It would not be too complicated though:

``````yaml
# Swedish
lol2table_class: lista-till-tabell
table2lol_class: tabell-till-lista
list_table_align: justering
list_table_width: bredd
``````

Den tors 28 jan. 2021 19:22John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> skrev:

The thing I've always resisted about pandoc-crossref syntax is
the use of English-derived keywords for labels.  Perhaps there's
not a good way to avoid that, but it would be something I'd want
to look inot.

BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> I guess that some of the pandoc-crossrefs code might be useful. At least I
> hope that any built-in reference handling will stay as close to
> pandoc-crossrefs's syntax and interface as possible so that old files
> written with pandoc-crossrefs in mind will work with as little change as
> possible (hopefully none.)

--
Better --help|less than helpless

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhCfuAxAUOV9R05J4two5RPF87qXtA96ChAvNQ4jRyTX0g%40mail.gmail.com.