[NTG-context] Non-linebreaking \setup[head|paragraph]

2010-12-21 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

I'd like to \define or \setuphead or \setupparagraph (or \setupwhat?) a 
command which would produce the similar thing as the native LaTeX \paragraph{name} 
does.

This command should sublevel the \subsubsection (so it would generate numbers 
when being used), it would have an extra space after it and it would not produce the 
line-break.

An example of its use is in the attached .gif (screenshot of a document created by LaTeX); I'm 
trying to generate the *4.2.3.1  Stavební jámy*  Hladina ... (originally produced by 
the code \paragraph{Stavební jámy} Hladina ... by LaTeX).

How to achieve this in Ctx?

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 244 062 238
Fax: +420 244 461 038attachment: Head4Par.gif___
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] Non-linebreaking \setup[head|paragraph]

2010-12-21 Thread Wolfgang Schuster

Am 21.12.2010 um 16:39 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:

 Hello,
 
 I'd like to \define or \setuphead or \setupparagraph (or \setupwhat?) a 
 command which would produce the similar thing as the native LaTeX 
 \paragraph{name} does.
 
 This command should sublevel the \subsubsection (so it would generate 
 numbers when being used), it would have an extra space after it and it would 
 not produce the line-break.
 
 An example of its use is in the attached .gif (screenshot of a document 
 created by LaTeX); I'm trying to generate the *4.2.3.1  Stavební jámy*  
 Hladina ... (originally produced by the code \paragraph{Stavební jámy} 
 Hladina ... by LaTeX).
 
 How to achieve this in Ctx?

\setuphead[...][alternative=text]

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] Non-linebreaking \setup[head|paragraph]

2010-12-21 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Thanks, Wolfgang, it works fine.

BTW: Is there a place ([source] file) where to find the default 'after' and 
'before' commands for \part, \chapter, \section etc.?

And also the default Ctx spacing before/after these heads?

Lukas


On Tue, 21 Dec 2010 17:36:18 +0100, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:


I'd like to \define or \setuphead or \setupparagraph (or \setupwhat?) a 
command which would produce the similar thing as the native LaTeX \paragraph{name} 
does.


\setuphead[...][alternative=text]

Wolfgang



--
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 244 062 238
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] Non-linebreaking \setup[head|paragraph]

2010-12-21 Thread Hans Hagen

On 21-12-2010 4:39, Procházka Lukáš Ing. - Pontex s. r. o. wrote:

Hello,

I'd like to \define or \setuphead or \setupparagraph (or \setupwhat?)
a command which would produce the similar thing as the native LaTeX
\paragraph{name} does.

This command should sublevel the \subsubsection (so it would generate
numbers when being used), it would have an extra space after it and it
would not produce the line-break.

An example of its use is in the attached .gif (screenshot of a document
created by LaTeX); I'm trying to generate the *4.2.3.1 Stavební jámy*
Hladina ... (originally produced by the code \paragraph{Stavební jámy}
Hladina ... by LaTeX).

How to achieve this in Ctx?


\definehead[paragraph][subsubsection]
\setuphead[paragraph] [alternative=text,style=bold]

\chapter{Chapter} \section{Section} \subsection{SubSection}

\paragraph{paragraph} \input tufte


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] Non-linebreaking \setup[head|paragraph]

2010-12-21 Thread Wolfgang Schuster

Am 21.12.2010 um 18:21 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:

 Thanks, Wolfgang, it works fine.
 
 BTW: Is there a place ([source] file) where to find the default 'after' and 
 'before' commands for \part, \chapter, \section etc.?

For MkIV you can find the defaults in strc-def.mkiv.

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
___