Re: [NTG-context] \setuphead for all existing sections
Hello, On Tue, 21 Apr 2015 00:38:18 +0200, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: The \setupheads command is only a synonym for \setuphead but there can be a difference between \setuphead[..,..=..,..] and \setuphead[section][..,..=..,..] Wolfgang confirmed: \setuphead[distance=2in] \starttext \section{Sec} \subsection{Subsec} \stoptext the code above doesn't change the section distance, either. Lukas -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pontex s. r. o. | mailto:pon...@pontex.cz | http://www.pontex.cz Bezová 1658 147 14 Praha 4 Tel: +420 241 096 751 Fax: +420 244 461 038 ___ 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] \setuphead for all existing sections
Am 21.04.2015 um 08:55 schrieb Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: Hello, On Tue, 21 Apr 2015 00:38:18 +0200, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: The \setupheads command is only a synonym for \setuphead but there can be a difference between \setuphead[..,..=..,..] and \setuphead[section][..,..=..,..] Wolfgang confirmed: \setuphead[distance=2in] \starttext \section{Sec} \subsection{Subsec} \stoptext the code above doesn't change the section distance, either. The global setting is ignored because part, chapter and section already have a preset value for the distance key which is used instead of the global value. The section below section (subsection, subsubsection etc.) ignore the global setting as well because subsection inherits the value from section. 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] \setuphead for all existing sections
Am 20.04.2015 um 20:43 schrieb Lukáš Procházka l...@pontex.cz: Hello Pablo, \setupheads doesn't work for this - see the test: \setupheads[distance=1in] \setuphead[subsection][distance=2in] \starttext \section{Sec} \subsection{Subsec} \stoptext Subsection has the specified distance of 1 in, whilst the section doesn't. Section was altered by \setupheads, whilst subsection by \setuphead. Wiki http://wiki.contextgarden.net/Command/setupheads http://wiki.contextgarden.net/Command/setupheads says that \setuphead has some more options than \setupheads. The \setupheads command is only a synonym for \setuphead but there can be a difference between \setuphead[..,..=..,..] and \setuphead[section][..,..=..,..] 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] \setuphead for all existing sections
Hello Pablo, \setupheads doesn't work for this - see the test: \setupheads[distance=1in] \setuphead[subsection][distance=2in] \starttext \section{Sec} \subsection{Subsec} \stoptext Subsection has the specified distance of 1 in, whilst the section doesn't. Section was altered by \setupheads, whilst subsection by \setuphead. Wiki http://wiki.contextgarden.net/Command/setupheads says that \setuphead has some more options than \setupheads. - I guess it would be nice that \setupheads handles the distance key, too. Best regards, Lukas On Fri, 17 Apr 2015 18:35:18 +0200, Pablo Rodriguez oi...@gmx.es wrote: On 04/17/2015 12:00 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, is there a way to affect (setup) all sections that have been defined, like: \setuphead[*][distance=1.5em] instead of: \setuphead[part,chapter,section,subsection,subsubsection][distance=1.5em] Hi Lukáš, \setupheads[distance=1.5em] should do the work. I hope it helps, Pablo -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pontex s. r. o. | mailto:pon...@pontex.cz | http://www.pontex.cz Bezová 1658 147 14 Praha 4 Tel: +420 241 096 751 Fax: +420 244 461 038 ___ 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] \setuphead for all existing sections
On 04/20/2015 08:43 PM, Lukáš Procházka wrote: Hello Pablo, \setupheads doesn't work for this - see the test: Hi Lukáš, sorry, I thought that the plural of \setup... had the same options than its singular form. My fault, since I was totally wrong. I agree that it would be useful to have the same options from \setuphead in \setupheads. Pablo \setupheads[distance=1in] \setuphead[subsection][distance=2in] \starttext \section{Sec} \subsection{Subsec} \stoptext Subsection has the specified distance of 1 in, whilst the section doesn't. Section was altered by \setupheads, whilst subsection by \setuphead. Wiki http://wiki.contextgarden.net/Command/setupheads says that \setuphead has some more options than \setupheads. - I guess it would be nice that \setupheads handles the distance key, too. Best regards, Lukas -- http://www.ousia.tk ___ 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] \setuphead for all existing sections
Hello, is there a way to affect (setup) all sections that have been defined, like: \setuphead[*][distance=1.5em] instead of: \setuphead[part,chapter,section,subsection,subsubsection][distance=1.5em] The latter way needs to know all section names; the former way allows to modify them all, without knowledge of their individual names. Best regards, Lukas -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pontex s. r. o. | mailto:pon...@pontex.cz | http://www.pontex.cz Bezová 1658 147 14 Praha 4 Tel: +420 241 096 751 Fax: +420 244 461 038 ___ 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] \setuphead for all existing sections
On 04/17/2015 12:00 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, is there a way to affect (setup) all sections that have been defined, like: \setuphead[*][distance=1.5em] instead of: \setuphead[part,chapter,section,subsection,subsubsection][distance=1.5em] Hi Lukáš, \setupheads[distance=1.5em] should do the work. I hope it helps, Pablo -- http://www.ousia.tk ___ 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 ___