[NTG-context] Hidden sections

2013-08-22 Thread Mikoláš Štrajt
Hello all,

We are writing a magazine with my friends and I am going to typeset it with 
ConTEXt. It works fine but I ran into the problem with heads.

In our magazine articles will be grouped in sections (e.g. poetry, short 
stories, programming). I need to hide section heads in text but to show them
in TOC and page headers. 

So there will be no „Poetry“ head in text but „Poetry“ will be shown in page
header and TOC.

Unfortunately, the trick from http://wiki.contextgarden.net/Titles#Flushing_
section_head_data_without_typesetting_them_in_the_text seems to not work for
me.

Thanks for help.

--

Mikoláš Štrajt
___
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] beta

2013-08-22 Thread Hans Hagen

Hi,

Some new magic in the beta ...

\setupbodyfont[pagella]

\starttext

\setupindenting[medium,yes]
\setupalign[tolerant]

\definefirstline
  [fancy]
  [alternative=line,
   color=darkred,
   style=\setfontfeature{smallcaps}]

\setfirstline[fancy] \input tufte  \par
\setfirstline[fancy] \input ward   \par
\setfirstline[fancy] \input knuth  \par
\setfirstline[fancy] \input bryson \page

\definefirstline
  [fancy]
  [alternative=word,
   color=darkblue,
   style=bold,
   n=2]

\setfirstline[fancy] \input tufte  \par
\setfirstline[fancy] \input ward   \par
\setfirstline[fancy] \input knuth  \par
\setfirstline[fancy] \input bryson \page

\stoptext

(Actually, it was rather old magic that I found back in an "early days 
of mkiv" file).


Hans

-
  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] Systems of equations in ConTeXt?

2013-08-22 Thread Marco Patzer
On 2013–08–22 Xan wrote:

> Simple question: what is the equivalent of:
> 
> \begin{equation*}
> \left\{ \begin{aligned}
> 2x - 2y = 0\\
> 4x - 2y = 2
> \end{aligned} \right.
> \end{equation*}
> 
> in ConTeXt?

\starttext
  \startformula
\startcases
  \NC 2x - 2y = 0 \NR
  \NC 4x - 2y = 2 \NR
\stopcases
  \stopformula
\stoptext

See http://dl.contextgarden.net/myway/mathalign.pdf

Marco


signature.asc
Description: Digital signature
___
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] Systems of equations in ConTeXt?

2013-08-22 Thread Xan
Hi,

Simple question: what is the equivalent of:

\begin{equation*}
\left\{ \begin{aligned}
2x - 2y = 0\\
4x - 2y = 2
\end{aligned} \right.
\end{equation*}

in ConTeXt?

I know mako aligned module, but I can't achive \left\{ and \right.

thanks in advance,
Xan.
___
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
___