[NTG-context] Distance between the header and the title in ConTeXt's enumerations

2015-02-19 Thread Joas Yannick
> You can set the distance between them with the „titledistance” key.

Many thanks, it works.
Wondrous.
___
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] head stopper and hang

2015-02-19 Thread Pablo Rodriguez
Dear list,

I have the following sample:

\setuplabeltext[subsection=Activity~]
\setuphead[subsection][sectionsegments=subsection]
\setuplist[subsection][width=fit, stopper={: }]
\setuplabeltext[section=Area~]
\setuphead[section][hang=broad, stopper={· }]

\starttext
\completecontent
\dorecurse{5}{\section{Important issue \recurselevel}
\dorecurse{5}{\subsection{Important warning \recurselevel}}}
\stoptext

I don’t know why stopper works in \setuplist, but it doesn’t in
\setuphead. What am I missing here?

Doesn’t hang in \setuphead do the same as width in \setuplist? Or which
would be the option that achieves the same in \setuphead?

Many thanks for your help,


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
___

Re: [NTG-context] removing layers in empty pages

2015-02-19 Thread Pablo Rodriguez
On 02/19/2015 06:28 AM, Wolfgang Schuster wrote:
>> Am 18.02.2015 um 22:32 schrieb Pablo Rodriguez:
>> [...]
>> How can I remove layers from empty pages?
>>
>> I know there is a "state=stop", but I don’t know how to link this to
>> empty pages.
> 
> Use \page[yes,blank,right] to move to a new right page, the blank keyword
> disbles backgrounds and layers are placed as a background.

Many thanks for your reply. Wolfgang.

It works like charm. And I just discovered that it also removes headers
and footers.

Many thanks for your help,


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
___

Re: [NTG-context] Distance between the header and the title in ConTeXt's enumerations

2015-02-19 Thread Wolfgang Schuster

> Am 19.02.2015 um 13:02 schrieb Joas Yannick :
> 
> Dear everyone,
> 
> I have defined in ConTeXt an enumeration for definitions:
> 
> \defineenumeration[definition][theorem][
> text={Definition},
> prefix=chapter,
> way=bychapter,
> right=.,
> titleleft=(,
> titleright=.),
> distance=0.5em,
> headstyle=\ss,
> title=yes,
> titlestyle=\ss,
> alternative=serried,
> width=broad,
> indentnext=no]
It is recommended to present a working minimal example, i.e. a document which 
includes some content and produces a pdf output.
> I would like to set the distance between the header, i.e. "Defintion 
> [numberOfTheDefintion]", and the title thereof to 0.5em (just like I set with 
> the distance key the distance between the title and the text of the 
> definition).
> 

You can set the distance between them with the „titledistance” key.

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
___

[NTG-context] Distance between the header and the title in ConTeXt's enumerations

2015-02-19 Thread Joas Yannick
Dear everyone,

I have defined in ConTeXt an enumeration for definitions:

\defineenumeration[definition][theorem][
text={Definition},
prefix=chapter,
way=bychapter,
right=.,
titleleft=(,
titleright=.),
distance=0.5em,
headstyle=\ss,
title=yes,
titlestyle=\ss,
alternative=serried,
width=broad,
indentnext=no]

I would like to set the distance between the header, i.e. "Defintion
[numberOfTheDefintion]", and the title thereof to 0.5em (just like I set
with the distance key the distance between the title and the text of the
definition).

Thank you,

Wondrous (username in tex.stackexchange)
___
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] Epub format Was: Re: Context to epub: itemize

2015-02-19 Thread Keith Schultz
Hi Hans,

I have been playing with the on using LaTeX and later LuaLaTeX
for create epub or ebook. Though I have not got around to.


The idea was to set enviorments, macros and commands that would depending
on a switch that would output the need HTML and epub structure or
call the normal *TeX ones.

In ConTeXt maybe the mode-system could be used.
Like I said I have not investigated deeply, yet.

regards
Keith.
 
> Am 18.02.2015 um 17:54 schrieb Hans Hagen :
> 
> On 2/17/2015 10:01 PM, Keith Schultz wrote:
>> 
>>> 
>>> Context outputs three varants: regular xml, xhtml, and stupified xhtml
>>> with div/class tagging. The last one is supposed to work on all
>>> devices as it doesn't demands anything beyond css.
>> If that is the case it is not very useful for a decent workflow. There
>> would be to much to
>> tweak to make good looking output.
> 
> i'm not sure what you have in mind but context is a typesetting system and as 
> such cannot produce an epub simply because epub is a blob of xml (html) with 
> a css packages in a zip
> 

___
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] Blank space between \subsection & columns (related to: XML processing & columns & (almost) empty pages)

2015-02-19 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

I found a "more minimal" example which produces unwanted blank space between 
\subsection and columns:


% nofruns=1

\starttext
  \dorecurse{5}{
\subsection{T}
\startcolumns[n=4,balance=yes]
  \input knuth
\stopcolumns
}
\stoptext


The blank space appears on pg. 2 (subsection #4) - the head is not bound to the 
following columns.

Why is there the blank space?
How to avoid it?

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

Cols.mkiv
Description: Binary data


Cols.pdf
Description: Adobe PDF document
___
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
___