Re: localization of numbering of figures and tables
Giovanni Piredda <[email protected]> Mon, 16 Mar 2026 13:01:50 +0000
| Newsgroups | gmane.editors.texmacs.user |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------kMFzlGAAj02Z89DPAAOWeatm
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Maybe I can help but I did not understand some details of what you want.
You would like to change "Ábra 1.2", that appears in the figure caption,
into "1.2. ábra"? If so, what is the role played by the <figure-name>
macro? The caption uses the <figure-text> macro.
Can you please clarify?
Giovanni
On 3/16/26 10:45, Zoltán Kovács wrote:
> Hi,
> I am completely lost in trying to localize the following in TeXmacs:
>
> <figure-name> gives the bold output of the figure name like "Figure
> 1.2", in my language (Hungarian) "Ábra 1.2".
>
> But I would like to redefine the order of the numbering and the
> Hungarian word to see it like "1.2. ábra". I already know that such
> changes can be done in a customized version of my-tmbook.ts in my
> local TeXmacs folder in styles/book/, and it should be done in general
> for all floats, including tables.
>
> For section, subsection and subsubsection titles I managed to do that
> by redefining chapter-numbered-title and appendix-numbered-title. In
> my language, unfortunately, the order of these parts of the titles are
> reversed. The same problem occurs in the Basque language as well, and
> to my knowledge, otherwise never.
>
> Thanks for any hints in advance.
>
> Best, Zoltan
>
> --
>
> *Dr. Zoltán** Kovács, MSc*
>
> /Private Pädagogische Hochschule der Diözese Linz
> https://matek.hu/zoltan/
>
--------------kMFzlGAAj02Z89DPAAOWeatm
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Maybe I can help but I did not understand some details of what
you want.</p>
<p>You would like to change "Ábra 1.2", that appears in the figure
caption, into "1.2. ábra"? If so, what is the role played by the <figure-name>
macro? The caption uses the <figure-text> macro.</p>
<p>Can you please clarify?</p>
<p>Giovanni</p>
<div class="moz-cite-prefix">On 3/16/26 10:45, Zoltán Kovács wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CACQaL-K7v8vTkdoYR7wDJxawPgvCC_aH92EzrpAbQQbV-2hSYA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hi,</div>
<div>I am completely lost in trying to localize the following in
TeXmacs:</div>
<div><br>
</div>
<div><figure-name> gives the bold output of the figure
name like "Figure 1.2", in my language (Hungarian) "Ábra 1.2".</div>
<div><br>
</div>
<div>But I would like to redefine the order of the numbering and
the Hungarian word to see it like "1.2. ábra". I already know
that such changes can be done in a customized version of
my-tmbook.ts in my local TeXmacs folder in styles/book/, and
it should be done in general for all floats, including tables.</div>
<div><br>
</div>
<div>For section, subsection and subsubsection titles I managed
to do that by redefining chapter-numbered-title and
appendix-numbered-title. In my language, unfortunately, the
order of these parts of the titles are reversed. The same
problem occurs in the Basque language as well, and to my
knowledge, otherwise never.</div>
<div><br>
</div>
<div>Thanks for any hints in advance.</div>
<div><br>
</div>
<div>Best, Zoltan</div>
<div><br>
</div>
<span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div dir="ltr">
<p class="MsoNormal"><b><span lang="EN-GB">Dr. Zoltán</span></b><b><span
lang="EN-GB"> Kovács, MSc</span></b></p>
<p class="MsoNormal"><i><span style="color:rgb(31,56,100)">Private
Pädagogische Hochschule der Diözese Linz<br>
<a href="https://matek.hu/zoltan" target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">https://matek.hu/zoltan</a></span></i></p>
</div>
</div>
</div>
</div>
</blockquote>
</body>
</html>
--------------kMFzlGAAj02Z89DPAAOWeatm--