ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Non-linebreaking \setup[head|paragraph]
@ 2010-12-21 15:39 Procházka Lukáš Ing. - Pontex s. r. o.
  2010-12-21 16:36 ` Wolfgang Schuster
  2010-12-21 18:10 ` Hans Hagen
  0 siblings, 2 replies; 5+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2010-12-21 15:39 UTC (permalink / raw)
  To: ConTeXt

[-- Attachment #1: Type: text/plain, Size: 856 bytes --]

Hello,

I'd like to \define or \setuphead or \setupparagraph (or \setup<what?>) 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:LPr@pontex.cz]
Pontex s. r. o.      [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

[-- Attachment #2: Head4Par.gif --]
[-- Type: image/gif, Size: 39314 bytes --]

[-- Attachment #3: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Non-linebreaking \setup[head|paragraph]
  2010-12-21 15:39 Non-linebreaking \setup[head|paragraph] Procházka Lukáš Ing. - Pontex s. r. o.
@ 2010-12-21 16:36 ` Wolfgang Schuster
  2010-12-21 17:21   ` Procházka Lukáš Ing. - Pontex s. r. o.
  2010-12-21 18:10 ` Hans Hagen
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2010-12-21 16:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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 \setup<what?>) 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Non-linebreaking \setup[head|paragraph]
  2010-12-21 16:36 ` Wolfgang Schuster
@ 2010-12-21 17:21   ` Procházka Lukáš Ing. - Pontex s. r. o.
  2010-12-21 19:06     ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2010-12-21 17:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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.wolfgang@googlemail.com> wrote:

>> I'd like to \define or \setuphead or \setupparagraph (or \setup<what?>) a command which would produce the similar thing as the native LaTeX \paragraph{name} does.
>
> \setuphead[...][alternative=text]
>
> Wolfgang


-- 
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o.      [mailto:pontex@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Non-linebreaking \setup[head|paragraph]
  2010-12-21 15:39 Non-linebreaking \setup[head|paragraph] Procházka Lukáš Ing. - Pontex s. r. o.
  2010-12-21 16:36 ` Wolfgang Schuster
@ 2010-12-21 18:10 ` Hans Hagen
  1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2010-12-21 18:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 \setup<what?>)
> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Non-linebreaking \setup[head|paragraph]
  2010-12-21 17:21   ` Procházka Lukáš Ing. - Pontex s. r. o.
@ 2010-12-21 19:06     ` Wolfgang Schuster
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2010-12-21 19:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-12-21 19:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-21 15:39 Non-linebreaking \setup[head|paragraph] Procházka Lukáš Ing. - Pontex s. r. o.
2010-12-21 16:36 ` Wolfgang Schuster
2010-12-21 17:21   ` Procházka Lukáš Ing. - Pontex s. r. o.
2010-12-21 19:06     ` Wolfgang Schuster
2010-12-21 18:10 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).