[NTG-context] Cellspacing like in HTML-Tables?

2014-04-09 Thread jaheinen
Thanx Wolfgang, that was new to me.

But what I need is spacing betwern the cells ... every cell has its own frame 
with spacing between the frames.

Janis___
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] another issue with PDF bookmarks

2014-04-09 Thread Andreas Schneider
On 08.04.2014 16:20, Pablo Rodriguez wrote:
 Dear list,

 I have a sample that shows an issue with PDF bookmarks:

 \setupinteraction[state=start]
 \placebookmarks[chapter]
 \setupheadertexts[chapter]
 \starttext
 \completecontent

 \chapter{Footnote\footnote{Only in bookmarks}}

 \stoptext

 Sorry, but I don’t know why the footnote is removed in the table of
 contents and in the header, but it isn‘t in the bookmark.

 Am I missing something?

 Many thanks for your help,


 Pablo
That probably has to do with expansion (a detailed explanation may be
given by a (Con)TeX(t) Guru :-)).

I think the best fix is to use the MkIV title mechanism (start... stop...)
http://wiki.contextgarden.net/Titles#New_MkIV_Sectioning

That way you can do:
\startchapter[title={Footnote\footnote{Only where appropriate}},
bookmark={No Footnote}]
...
\stopchapter

-- 
Best Regards,
Andreas



signature.asc
Description: OpenPGP 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
___

Re: [NTG-context] another issue with PDF bookmarks

2014-04-09 Thread Pablo Rodriguez
On 04/09/2014 08:29 PM, Andreas Schneider wrote:
 On 08.04.2014 16:20, Pablo Rodriguez wrote:
 I have a sample that shows an issue with PDF bookmarks:
 [...]
 Sorry, but I don’t know why the footnote is removed in the table of
 contents and in the header, but it isn‘t in the bookmark.

 That probably has to do with expansion (a detailed explanation may be
 given by a (Con)TeX(t) Guru :-)).
 
 I think the best fix is to use the MkIV title mechanism (start... stop...)
 http://wiki.contextgarden.net/Titles#New_MkIV_Sectioning
 
 That way you can do:
 \startchapter[title={Footnote\footnote{Only where appropriate}},
 bookmark={No Footnote}]
 ...
 \stopchapter

Many thanks for your reply, Andreas.

This is a way to avoid the problem.
F
rom the user’s perspective, I cannot see the reason why \footnote isn’t
removed from the PDF bookmark automatically. It makes the same sense as
in headers and ToC.

Sorry, but I’m trying to explain ConTeXt to others. And I have a hard
time when I cannot see the reason for what can be seen as glitches.

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] another issue with PDF bookmarks

2014-04-09 Thread Aditya Mahajan

On Wed, 9 Apr 2014, Pablo Rodriguez wrote:


On 04/09/2014 08:29 PM, Andreas Schneider wrote:

On 08.04.2014 16:20, Pablo Rodriguez wrote:

I have a sample that shows an issue with PDF bookmarks:
[...]
Sorry, but I don’t know why the footnote is removed in the table of
contents and in the header, but it isn‘t in the bookmark.


That probably has to do with expansion (a detailed explanation may be
given by a (Con)TeX(t) Guru :-)).

I think the best fix is to use the MkIV title mechanism (start... stop...)
http://wiki.contextgarden.net/Titles#New_MkIV_Sectioning

That way you can do:
\startchapter[title={Footnote\footnote{Only where appropriate}},
bookmark={No Footnote}]
...
\stopchapter


Many thanks for your reply, Andreas.

This is a way to avoid the problem.
F
rom the user’s perspective, I cannot see the reason why \footnote isn’t
removed from the PDF bookmark automatically. It makes the same sense as
in headers and ToC.


One possibility is to add:

\appendtoks \let\footnote \gobbleoneargument \to \everysimplifycommands

to your style.

Perhaps this should be added to the definition of definenote.

Aditya___
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] another issue with PDF bookmarks

2014-04-09 Thread Aditya Mahajan

On Wed, 9 Apr 2014, Aditya Mahajan wrote:


One possibility is to add:

\appendtoks \let\footnote \gobbleoneargument \to \everysimplifycommands

to your style.

Perhaps this should be added to the definition of definenote.


Hmm... simplifycommands needs an overhaul:


From typo-del.mkiv:


\appendtoks
\def\quotation#1{#1}%
\def\quote#1{'#1'}%
\to \everysimplifycommands

and from buff-ver.mkiv:

\appendtoks
\def\type#1{\letterbackslash\checkedstrippedcsname#1}% or maybe 
detokenize

\def\tex #1{\letterbackslash#1}%
\to \everysimplifycommands


The simplification of \type assumes that a user will always use 
\type{\command} and gives the wrong result for \type{text} and fails for 
\type{text\undefined}.


The simplification of \quote and \quotation should not be hardcoded, but 
rather be a part of \definedelimitedtext.


Apart from notes and delimited text, are there other commands that need to 
be simplified for bookmarks, etc?


Aditya

___
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] Linenumbering

2014-04-09 Thread MANUEL GONZALEZ SUAREZ
Hello everyone.

I give a small example:

\setuppagenumbering [alternative=doublesided]

\setuplinenumbering[location=outer, step=5, method=page,

style=\tfxx, align=left, distance=1em, width=0.4em]



\starttext

\section{First section}

\startlinenumbering



text text text

\stoplinenumbering

\section{Second section}

\startlinenumbering



text text text

\stoplinenumbering

\stoptext

The problem is that although appears the option [method = page], numbering 
begins at the beginning of each section. I would like the title of the section 
does not appear as numbered line but continue after the title the above 
numbering, e.e.:



\startlinenumbering

\section{First section} no numbered line

Numbered line (1)

Numbered line (2)

\section{Second section} no numbered line

Numbered line (3)

Numbered line (4)

...

\stoplinenumbering



Thanks very much?

___
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] Sanja C.

2014-04-09 Thread Sanja C.
http://finanzaseuropa.com/ejqsxgg/ephtuiwsrrgpejutvmayxomjllruts.vjzhlvdy___
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
___