Re: [NTG-context] setuplabeltext doesn't adjust the part label (with MkIV)

2013-08-31 Thread Sanjoy Mahajan
\setuphead[part][placehead=yes] Add bodypartlabel=part to the setup. Thank you -- wikified on the setuphead command-reference page. With your information, I found the relevant spot in the code, in strc-def.mkiv. The \setuphead for part doesn't include lines analogous to

[NTG-context] setuplabeltext doesn't adjust the part label (with MkIV)

2013-08-30 Thread Sanjoy Mahajan
setuplabeltext doesn't seem to adjust the part label. Here's a minimal example: \setuphead[part][placehead=yes] \setuplabeltext[part=Part~] \starttext \part{pt} This is a part. \stoptext With MkIV (e.g. on live.contextgarden.net), the part heading is just 1 pt. With MkII, it is Part 1 pt

Re: [NTG-context] setuplabeltext doesn't adjust the part label (with MkIV)

2013-08-30 Thread Wolfgang Schuster
Am 30.08.2013 um 16:33 schrieb Sanjoy Mahajan san...@olin.edu: setuplabeltext doesn't seem to adjust the part label. Here's a minimal example: \setuphead[part][placehead=yes] Add bodypartlabel=part to the setup. Wolfgang

Re: [NTG-context] Chinese setuplabeltext

2012-10-30 Thread Sietse Brouwer
John Devereux wrote: There do not seem to be translations for the labels for Chinese, is that correct? Is zh the correct language code? Wolfgang Schuster wrote: No, you need “cn” for chinese. Might it be advisable to add 'zh' as a synonym? Technically, 'cn' means the country China, and 'zh'

Re: [NTG-context] Chinese setuplabeltext

2012-10-30 Thread Hans Hagen
On 30-10-2012 12:21, Sietse Brouwer wrote: John Devereux wrote: There do not seem to be translations for the labels for Chinese, is that correct? Is zh the correct language code? Wolfgang Schuster wrote: No, you need “cn” for chinese. Might it be advisable to add 'zh' as a synonym?

[NTG-context] Chinese setuplabeltext

2012-10-29 Thread John Devereux
Hi, There do not seem to be translations for the labels for Chinese, is that correct? Is zh the correct language code? \setuplabeltext[zh][figure=CHINESE_HERE ] \mainlanguage[zh] \language[zh] \starttext \labeltext{figure} \stoptext This just displays the English word Figure. context --version

Re: [NTG-context] Chinese setuplabeltext

2012-10-29 Thread Wolfgang Schuster
Am 29.10.2012 um 20:20 schrieb John Devereux j...@devereux.me.uk: Hi, There do not seem to be translations for the labels for Chinese, is that correct? Is zh the correct language code? No, you need “cn” for chinese. Wolfgang

Re: [NTG-context] issue with \setuplabeltext

2012-01-23 Thread Pablo Rodríguez
On 01/23/2012 08:54 AM, Thomas A. Schmitz wrote: On 01/22/12 20:49, Pablo Rodríguez wrote: And I have just accidentally discovered that label text is only shown in the chapter title, if the \mainlanguage is different from [agr]. (I haven't checked all languages, but it works with la, en, ru

[NTG-context] issue with \setuplabeltext

2012-01-22 Thread Pablo Rodríguez
Hi there, I have the following sample code: \mainlanguage[agr] \usemodule[simplefonts][size=11pt] \setmainfont[Theano Didot] \setuplabeltext[chapter=Ῥαψωδία~] \setuphead[chapter][align=center] \starttext \completecontent \chapter{\mbox{}} \startlines Μῆνιν

Re: [NTG-context] issue with \setuplabeltext

2012-01-22 Thread Thomas A. Schmitz
On 01/22/12 20:49, Pablo Rodríguez wrote: And I have just accidentally discovered that label text is only shown in the chapter title, if the \mainlanguage is different from [agr]. (I haven't checked all languages, but it works with la, en, ru and es.) agr is not a full language in the ConTeXt

Re: [NTG-context] \setuplabeltext [appendix=Appendix ] broken mkiv

2010-05-23 Thread Alan BRASLAU
} \stopappendices \startbackmatter \chapter{Concluding note} \stopbackmatter \stoptext Yields: Preface 1 First chapter 2 Second chapter A First appendix B Second appendix Concluding note As it should. However, adding \setuplabeltext[chapter=Chapter ] % with trailing space; blank by default gives

Re: [NTG-context] \setuplabeltext [appendix=Appendix ] broken mkiv

2010-02-17 Thread Alan BRASLAU
On Tuesday 16 February 2010 23:21:31 Hans Hagen wrote: On 16-2-2010 22:39, Mojca Miklavec wrote: While you keep Hans and others busy, here's another thing that puzzled me: \definehead[appendix][chapter] \definehead[subappendix][section] \starttext \startappendices

Re: [NTG-context] \setuplabeltext [appendix=Appendix ] broken mkiv

2010-02-17 Thread Mojca Miklavec
On Wed, Feb 17, 2010 at 18:44, Alan BRASLAU wrote: Why \definehead[appendix][chapter]? Why not use \chapter{} and \section{} within \startappendices\stopappendices? I don't remember exactly (and it was bug anyway even if my code could have been optimized), but I wanted to have different font

Re: [NTG-context] \setuplabeltext [appendix=Appendix ] broken mkiv

2010-02-17 Thread Hans Hagen
On 17-2-2010 22:30, Mojca Miklavec wrote: I defined the second list for that purpose (really ugly, but the fastest way to get it done). But there was a tiny problem with that as well (mkii more problematic) - I didn't manage to get the spacing between two consecutive lists right. For example

Re: [NTG-context] \setuplabeltext [appendix=Appendix ] broken mkiv

2010-02-16 Thread Mojca Miklavec
On Mon, Feb 15, 2010 at 16:31, Alan BRASLAU wrote: 1. Setting the labeltext appendix=Appendix with \startappendices   is broken in mkiv; somewhat works in mkii. What am I doing wrong? 2. How to set the label correctly in the TOC? Alan Minimal example \setuplabeltext [chapter=Chapter

Re: [NTG-context] \setuplabeltext [appendix=Appendix ] broken mkiv

2010-02-16 Thread Hans Hagen
On 16-2-2010 22:39, Mojca Miklavec wrote: \definehead[appendix][chapter] \definehead[subappendix][section] \starttext \startappendices \appendix{one} \subappendix{one.one} \appendix{two} \subappendix{two.one} \stopappendices \stoptext hm, looks like startappendices has no proper reset list

Re: [NTG-context] \setuplabeltext [appendix=Appendix ] broken mkiv

2010-02-16 Thread Hans Hagen
On 16-2-2010 22:39, Mojca Miklavec wrote: While you keep Hans and others busy, here's another thing that puzzled me: \definehead[appendix][chapter] \definehead[subappendix][section] \starttext \startappendices \appendix{one} \subappendix{one.one} \appendix{two} \subappendix{two.one}

[NTG-context] \setuplabeltext [appendix=Appendix ] broken mkiv

2010-02-15 Thread Alan BRASLAU
1. Setting the labeltext appendix=Appendix with \startappendices is broken in mkiv; somewhat works in mkii. What am I doing wrong? 2. How to set the label correctly in the TOC? Alan Minimal example \setuplabeltext [chapter=Chapter ] % with trailing space; blank by default \setuplabeltext

[NTG-context] \setuplabeltext[chapter=Chapter ] (or mkiv document structure/TOC)

2010-01-20 Thread Alan BRASLAU
] % do not reset parts and chapters \setuphead [part] [sectionresetset=default, placehead=yes, conversion=Romannumerals] \setuphead [chapter,section,subsection] [placehead=yes,sectionsegments=2:100] % % table of contents % \setuplabeltext [chapter=Chapter

[NTG-context] setuplabeltext bug ?

2006-07-27 Thread Steffen Wolfrum
Hi, the label is killed when changing new (de) german to old (deo) german: \mainlanguage[de]%de=new, deo=old \starttext \setuplabeltext[de][chapter=Chapter] \chapter{Text} \stoptext Right? Steffen ___ ntg-context mailing list ntg-context

Re: [NTG-context] setuplabeltext bug ?

2006-07-27 Thread Steffen Wolfrum
the latest). Taco \mainlanguage[de]%de=new, deo=old \starttext \setuplabeltext[de][chapter=Chapter] \chapter{Text} \stoptext Right? Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] setuplabeltext bug ?

2006-07-27 Thread Taco Hoekwater
Steffen Wolfrum wrote: ConTeXt ver: 2006.07.22 18:35 ... that's the current beta that i-installer offers. Steffen I have 2006.07.24 but I doubt that is causing the problem. Did you try \setuplabeltext[deo], by chance ? Because that certainly does not work. Taco

Re: [NTG-context] setuplabeltext bug ?

2006-07-27 Thread Steffen Wolfrum
This was my thread about: I tried \setuplabeltext[deo] and was wondering why it doesn't work. How should someone know that it doesn't work?! Steffen Am 27.07.2006 um 13:15 schrieb Taco Hoekwater: Steffen Wolfrum wrote: ConTeXt ver: 2006.07.22 18:35 ... that's the current beta that i

Re: [NTG-context] setuplabeltext bug ?

2006-07-27 Thread Taco Hoekwater
Steffen Wolfrum wrote: This was my thread about: I tried \setuplabeltext[deo] and was wondering why it doesn't work. How should someone know that it doesn't work?! Frankly, I don't know where this is documented. But it doesnt work because deo is a descendant of de, thanks

Re: [NTG-context] setuplabeltext bug ?

2006-07-27 Thread Thomas A. Schmitz
On Jul 27, 2006, at 3:23 PM, Taco Hoekwater wrote: no (norwegian) - nl Today the Netherlands, tomorrow the world ;-) Thomas ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] Page Numbers in TOC; setuplabeltext

2006-06-01 Thread Neal Lester
1) Is there a way to suppress the display of Appendix page numbers in a TOC while retaining alternative=c for Chapters? I got the effect I wanted by hijacking subsubsection and subsubsubsection. Is there a way to change the subsubsubsection numbers to letters? Thanks, Neal

Re: [NTG-context] Page Numbers in TOC; setuplabeltext

2006-06-01 Thread Aditya Mahajan
On Thu, 1 Jun 2006, Neal Lester wrote: Is there a way to change the subsubsubsection numbers to letters? \setupsection[section-6][bodypartconversion=Character] should do the trick section-1 corresponds to part, section-2 to chapter, and so on. Aditya

[NTG-context] Page Numbers in TOC; setuplabeltext

2006-05-31 Thread Neal Lester
numbers). Unfortunately, setuplabeltext doesn't seem to work on my newly defined head. I've tried all manner of variations like: \definelist [myappendixlist] \setuplist [myappendixlist] [pagenumber=no,alternative=b,label=yes,conversion=Character] \definehead[myappendix][title] \def\appendixlabel#1

Re: [NTG-context] Page Numbers in TOC; setuplabeltext

2006-05-31 Thread Neal Lester
\definelist [myappendixlist] \setuplist [myappendixlist] [pagenumber=no,alternative=b,label=yes,conversion=Character] \definehead[myappendix][title] \def\appendixlabel#1#2{Appendix #1: #2} \setuphead[myappendix][command=\appendixlabel] % \setuplabeltext [en][myappendix=Appendix~] \newcounter

Re: [NTG-context] feature request: \setuplabeltext with ~

2005-06-10 Thread Peter Münster
On Mon, 6 Jun 2005, Peter Münster wrote: it would be nice, to have by default always a ~ at the end of the label-text instead of the normal space. Example: \setuplabeltext [\s!de] [\v!figure=Abbildung~] instead of \setuplabeltext [\s!de] [\v!figure=Abbildung ] Hello Hans, I've just seen

[NTG-context] feature request: \setuplabeltext with ~

2005-06-06 Thread Peter Münster
Hello, it would be nice, to have by default always a ~ at the end of the label-text instead of the normal space. Example: \setuplabeltext [\s!de] [\v!figure=Abbildung~] instead of \setuplabeltext [\s!de] [\v!figure=Abbildung ] Greetings, Peter -- http://pmrb.free.fr/contact