Re: [NTG-context] something's wrong with arranging
Am 01.04.2011 um 21:25 schrieb Willi Egger: > Hi Thomas, > > that is precisely what I detected and mailed to the list some days ago. The > issue was discussed at the Dante meeting in Bremen. It appears that it could > have to do with the changes Hans made in connection with the paper-setup > discussion held on the list recently. Some of the default values in the > setuplayout were changed then. You’re wrong, the problem has nothing to do with the changes for the \setuppapersize command. The real reason for the wrong output comes from the file scrn-pag.mkvi, which wasn’t present in your old installation. \unprotect \let\scrn_canvas_synchronize\scrn_canvas_synchronize_simple \protect %\setuppapersize[A5][A4,landscape] %\setuparranging[2UP] \setuppapersize[A5][A3] \setuparranging[1*4] \starttext \dorecurse{8}{\input knuth\page} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Need help with \setuphead and spacing
On 2011-04-02 Wolfgang Schuster wrote: > > Am 02.04.2011 um 13:59 schrieb Marco: > > \setuphead [chapter,section] [command=\myseccmd] > > \def\myseccmd#1#2{\hbox to .75cm{#1}#2} > > \setuphead[chapter,section][numberwidth=0.75cm] You read the source, cheater! ;) Marco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Need help with \setuphead and spacing
Am 02.04.2011 um 13:59 schrieb Marco: > On 2011-04-02 Nicola wrote: > >> 2) I need (sub)section titles indented by .75cm, regardless of the section >> number, so that in: >> >> 1 First Section >> 1.1First Subsection >> 100Another Section Title >> 100.1 Another subsection >> > > \setuphead [chapter,section] [command=\myseccmd] > \def\myseccmd#1#2{\hbox to .75cm{#1}#2} \setuphead[chapter,section][numberwidth=0.75cm] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Need help with \setuphead and spacing
On Sat, Apr 2, 2011 at 3:30 PM, Nicola wrote: > In article <20110402135950.0a07eef4@glyph>, Marco wrote: > >> On 2011-04-02 Nicola wrote: >> >> > 1) I need to shift the title 12pt below the top margin. >> > This is my command now: >> > >> > \definefont[TitleStyle][SerifBold at 14pt] >> > \setuphead[title][ >> > style=TitleStyle, >> > align=middle, >> > textstyle=WORD, >> >> before={\blank[12pt,force]}, >> >> > after={\blank[3pt]} >> > ] >> > >> > But 'before' does not seem to have any effect. My document starts with >> > \starttext\title{...}. >> > >> > 2) I need (sub)section titles indented by .75cm, regardless of the section >> > number, so that in: >> > >> > 1 First Section >> > 1.1 First Subsection >> > 100 Another Section Title >> > 100.1 Another subsection >> > >> >> \setuphead [chapter,section] [command=\myseccmd] >> \def\myseccmd#1#2{\hbox to .75cm{#1}#2} > > That works great! > > I must say that, looking backwards, the choice of using ConTeXt for my paper > (as > opposed to LaTeX) has turned out to be a winning one, although at the > beginning > I was a little afraid of using a typesetting system that is still under active > development. With the help of the people from this list I have been able to > easily solve many layout and typographical challenges (at least, challenges > for > me). So, thank you! Currently there are few examples on typesetting math with mkiv; maybe you can wikify someone from your paper ? -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Need help with \setuphead and spacing
In article <20110402135950.0a07eef4@glyph>, Marco wrote: > On 2011-04-02 Nicola wrote: > > > 1) I need to shift the title 12pt below the top margin. > > This is my command now: > > > > \definefont[TitleStyle][SerifBold at 14pt] > > \setuphead[title][ > >style=TitleStyle, > >align=middle, > >textstyle=WORD, > > before={\blank[12pt,force]}, > > >after={\blank[3pt]} > > ] > > > > But 'before' does not seem to have any effect. My document starts with > > \starttext\title{...}. > > > > 2) I need (sub)section titles indented by .75cm, regardless of the section > > number, so that in: > > > > 1 First Section > > 1.1First Subsection > > 100Another Section Title > > 100.1 Another subsection > > > > \setuphead [chapter,section] [command=\myseccmd] > \def\myseccmd#1#2{\hbox to .75cm{#1}#2} That works great! I must say that, looking backwards, the choice of using ConTeXt for my paper (as opposed to LaTeX) has turned out to be a winning one, although at the beginning I was a little afraid of using a typesetting system that is still under active development. With the help of the people from this list I have been able to easily solve many layout and typographical challenges (at least, challenges for me). So, thank you! Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Need help with \setuphead and spacing
On 2011-04-02 Nicola wrote: > 1) I need to shift the title 12pt below the top margin. > This is my command now: > > \definefont[TitleStyle][SerifBold at 14pt] > \setuphead[title][ >style=TitleStyle, >align=middle, >textstyle=WORD, before={\blank[12pt,force]}, >after={\blank[3pt]} > ] > > But 'before' does not seem to have any effect. My document starts with > \starttext\title{...}. > > 2) I need (sub)section titles indented by .75cm, regardless of the section > number, so that in: > > 1 First Section > 1.1First Subsection > 100Another Section Title > 100.1 Another subsection > \setuphead [chapter,section] [command=\myseccmd] \def\myseccmd#1#2{\hbox to .75cm{#1}#2} Marco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Need help with \setuphead and spacing
Hi, I still have a couple of requests from a publisher, which I do not know how to fulfill: 1) I need to shift the title 12pt below the top margin. This is my command now: \definefont[TitleStyle][SerifBold at 14pt] \setuphead[title][ style=TitleStyle, align=middle, textstyle=WORD, before={\blank[12pt]}, after={\blank[3pt]} ] But 'before' does not seem to have any effect. My document starts with \starttext\title{...}. 2) I need (sub)section titles indented by .75cm, regardless of the section number, so that in: 1 First Section 1.1First Subsection 100Another Section Title 100.1 Another subsection the section titles are aligned. I have tried to use the 'distance' option, but that seems to set the distance between the section number and the section title. I am stuck with these, so any help would greatly be appreciated. I am using MKIV 2011.02.25 22:03 to compile. Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___