* three long-standing issues
@ 2014-04-06 16:53 Pablo Rodriguez
2014-04-07 11:23 ` Hans Hagen
0 siblings, 1 reply; 5+ messages in thread
From: Pablo Rodriguez @ 2014-04-06 16:53 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hans,
the following sample shows three long-standing issues with ConTeXt (I’m
afraid they might be bugs):
\definestructureconversionset[chapternumbers][0,I,a,n,g][n]
\setupheads[sectionconversionset=chapternumbers]
\setupsectionblock[bodypart][page=no]
\setupheadertexts[chapter]
\setupinteraction[state=start]
\placebookmarks[chapter]
\starttext
\chapter{\TeX}
\input knuth\par
\startfrontmatter
\dorecurse{5}{\chapter{Front matter}
\input zapf\par}
\stopfrontmatter
\startbodymatter
\dorecurse{5}{\chapter{Body matter}
\input zapf\par}
\stopbodymatter
\stoptext
1. PDF bookmarks don’t contain Roman capital numerals (as I think they
should).
2. \setupsectionblock[...][page=no] causes the last page in bodypart to
have its header removed.
3. \chapter{\TeX} causes bookmarks from bodymatter to be located before
bookmarks from frontmatter.
I have tested this file against ConTeXt from TeX Live 2013 (2013.05.28
00:36), ConTeXt Suite stable (2014.01.03 00:40), and latest beta
(2014.04.06 13:09).
Except issue 3 and ConTeXt from TeX Live 2013, all three versions suffer
from these issues.
Could you fix these issues?
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: three long-standing issues
2014-04-06 16:53 three long-standing issues Pablo Rodriguez
@ 2014-04-07 11:23 ` Hans Hagen
2014-04-07 16:34 ` Pablo Rodriguez
0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2014-04-07 11:23 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 4/6/2014 6:53 PM, Pablo Rodriguez wrote:
> Hans,
>
> the following sample shows three long-standing issues with ConTeXt (I’m
> afraid they might be bugs):
>
> \definestructureconversionset[chapternumbers][0,I,a,n,g][n]
> \setupheads[sectionconversionset=chapternumbers]
> \setupsectionblock[bodypart][page=no]
> \setupheadertexts[chapter]
> \setupinteraction[state=start]
> \placebookmarks[chapter]
> \starttext
> \chapter{\TeX}
> \input knuth\par
>
> \startfrontmatter
> \dorecurse{5}{\chapter{Front matter}
> \input zapf\par}
> \stopfrontmatter
>
> \startbodymatter
> \dorecurse{5}{\chapter{Body matter}
> \input zapf\par}
> \stopbodymatter
> \stoptext
>
> 1. PDF bookmarks don’t contain Roman capital numerals (as I think they
> should).
be verbose :
\definestructureconversionset[chapternumbers][0,Romannumerals,a,n,g][n]
> 2. \setupsectionblock[...][page=no] causes the last page in bodypart to
> have its header removed.
make sure not have a \page someplace (as the last setting applies till a
page has been flushed)
> 3. \chapter{\TeX} causes bookmarks from bodymatter to be located before
> bookmarks from frontmatter.
wrap the first chapters in some sectionblock too ... i could do more
extensive checking in bookmark construction but a messy structure is
kind of asking for troubles
> I have tested this file against ConTeXt from TeX Live 2013 (2013.05.28
> 00:36), ConTeXt Suite stable (2014.01.03 00:40), and latest beta
> (2014.04.06 13:09).
>
> Except issue 3 and ConTeXt from TeX Live 2013, all three versions suffer
> from these issues.
>
> Could you fix these issues?
>
> Many thanks for your help,
>
>
> Pablo
>
--
-----------------------------------------------------------------
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: three long-standing issues
2014-04-07 11:23 ` Hans Hagen
@ 2014-04-07 16:34 ` Pablo Rodriguez
2014-04-07 16:49 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Pablo Rodriguez @ 2014-04-07 16:34 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 04/07/2014 01:23 PM, Hans Hagen wrote:
> On 4/6/2014 6:53 PM, Pablo Rodriguez wrote:
>> [...]
Many thanks for your help, Hans.
>> 2. \setupsectionblock[...][page=no] causes the last page in bodypart to
>> have its header removed.
>
> make sure not have a \page someplace (as the last setting applies till a
> page has been flushed)
Sorry, I’m afraid I don’t get it.
There was no \page in my original code. I thought that replacing
\chapter with \section would display the header in all pages (since
\chapter introduces a page break), but it doesn’t.
\setupsectionblock[bodypart][page=no]
\setupheadertexts[section]
\starttext
\startbodymatter
\dorecurse{50}{\section{Body matter}
\input zapf\par}
\stopbodymatter
\stoptext
Sorry, which would be the right way to fix the sample above? (And if
that makes a difference, which would be the right way to fix it, if
\section were replaced with \chapter.)
Sorry for the questions, but I don’t have a clue on how to do it.
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: three long-standing issues
2014-04-07 16:34 ` Pablo Rodriguez
@ 2014-04-07 16:49 ` Wolfgang Schuster
2014-04-07 17:10 ` Pablo Rodriguez
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2014-04-07 16:49 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 07.04.2014 um 18:34 schrieb Pablo Rodriguez <oinos@gmx.es>:
> On 04/07/2014 01:23 PM, Hans Hagen wrote:
>> On 4/6/2014 6:53 PM, Pablo Rodriguez wrote:
>>> [...]
>
> Many thanks for your help, Hans.
>
>>> 2. \setupsectionblock[...][page=no] causes the last page in bodypart to
>>> have its header removed.
>>
>> make sure not have a \page someplace (as the last setting applies till a
>> page has been flushed)
>
> Sorry, I’m afraid I don’t get it.
>
> There was no \page in my original code. I thought that replacing
> \chapter with \section would display the header in all pages (since
> \chapter introduces a page break), but it doesn’t.
>
> \setupsectionblock[bodypart][page=no]
> \setupheadertexts[section]
> \starttext
>
> \startbodymatter
> \dorecurse{50}{\section{Body matter}
> \input zapf\par}
> \stopbodymatter
> \stoptext
>
> Sorry, which would be the right way to fix the sample above? (And if
> that makes a difference, which would be the right way to fix it, if
> \section were replaced with \chapter.)
>
> Sorry for the questions, but I don’t have a clue on how to do it.
Try this: \setupsectionblock[bodypart][page=no,after=\page]
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:[~2014-04-07 17:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-06 16:53 three long-standing issues Pablo Rodriguez
2014-04-07 11:23 ` Hans Hagen
2014-04-07 16:34 ` Pablo Rodriguez
2014-04-07 16:49 ` Wolfgang Schuster
2014-04-07 17:10 ` Pablo Rodriguez
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).