Am 09.04.2015 um 00:13 schrieb Csikos Bela
: Hello:
I have to setup caption formatting for Hungarian. In Hungarian I have to write "#. figure." instead of "Figure #:" The exact word for "figure" is "ábra", so what I want exactly is: "# ábra.", eg "1. ábra". How can I do it? (If I set the document language to Hungarian, the word "ábra" is shown correctly but the order is not correct; I get ,. ábra:#.)
Until the labels for hungarian are fixed you can use the \setuplabeltext command to set the right labels.
Another question: for caption text I want it to be justified and the last line of the caption centered. How can I do that?
\useMPlibrary[dum] \mainlanguage[hu] \setupcaption[figure][align=last,numberstopper=.] \setuplabeltext[hu][figure={, ábra}] \starttext \startplacefigure[title=\input{ward}] \externalfigure[dummy] \stopplacefigure \stoptext Wolfgang