Subject: mailing-list for TeXmacs Users
List archive
Re: [texmacs-users] localization of numbering of figures and tables
- From: Zoltán Kovács <address@concealed>
- To: Giovanni Piredda <address@concealed>
- Cc: address@concealed
- Subject: Re: [texmacs-users] localization of numbering of figures and tables
- Date: Mon, 16 Mar 2026 21:38:40 +0100
On 3/16/26 20:48, Zoltán Kovács wrote:
Hi Giovanni, many thanks for your offered help!
This is what I have after I insert a "big figure" float (when the document language is set to Hungarian):
I would like to redefine "Ábra 1." to "1. ábra", yes. But your proposal with figure-text would change only "Figure" to "Ábra" (which is already working in the localization of TeXmacs, automatically, it's in english-hungarian.scm, ("figure" "ábra"), so that's okay).
Hi Zoltán,
you can get quickly to the macro by using the macro editor which you get to from the "wrench" icon. I wrote about it in https://texmacs.github.io/notes/docs/macro-editor.html; the beginning of the post might be enough.
Here is a proposal, which gets you 1 ábra., with the full stop after ábra
<assign|big-figure|<\macro|body|caption>
<surround|<compound|next-figure>||<render-big-figure|figure|
<compound|the-figure> ábra|<arg|body>|<surround|<set-binding|<compound|the-figure>>||<arg|caption>>>>
</macro>>With the macro editor you can get inside the render-big-figure macro and after one more macro you find a figure-sep macro which controls the separator after ábra. You might eliminate that and add another full stop after <compound|the-figure>, but I leave this to you.
Hopefully that's what you are looking for.
Giovanni
Dr. Zoltán Kovács, MSc
Private Pädagogische Hochschule der Diözese Linz
https://matek.hu/zoltan
-
[texmacs-users] localization of numbering of figures and tables,
Zoltán Kovács, 03/16/2026
-
Re: [texmacs-users] localization of numbering of figures and tables,
Giovanni Piredda, 03/16/2026
-
Re: [texmacs-users] localization of numbering of figures and tables,
Zoltán Kovács, 03/16/2026
-
Re: [texmacs-users] localization of numbering of figures and tables,
Giovanni Piredda, 03/16/2026
- Re: [texmacs-users] localization of numbering of figures and tables, Zoltán Kovács, 03/16/2026
-
Re: [texmacs-users] localization of numbering of figures and tables,
Giovanni Piredda, 03/16/2026
-
Re: [texmacs-users] localization of numbering of figures and tables,
Zoltán Kovács, 03/16/2026
-
Re: [texmacs-users] localization of numbering of figures and tables,
Giovanni Piredda, 03/16/2026
Archive powered by MHonArc 2.6.24.
