Dear Hans,
On 04/07/2016 06:31 PM, Hans Hagen wrote:
\def\currentsectioncountervalue
{\clf_depthnumber\numexpr\thenamedheadlevel\currenthead\relax}
%def\previoussectioncountervalue{\clf_depthnumber\numexpr\thenamedheadlevel\currenthead+\minusone\relax}
On 4/7/2016 8:28 AM, Zhichu Chen wrote:
If I understand correctly, the "continue=yes" key prevents a new page
generated by a lower-level structure, e.g., section, following a
higher-level structure, e.g., chapter.
Then why the checking is so complex in strc-sec.mkiv:
On 4/7/2016 5:42 AM, Zhichu Chen wrote:
Hi,
I found the empty line is due to the definition of
\strc_rendering_place_head_empty in strc-ren.mkiv:
\unexpanded\def\strc_rendering_place_head_empty
{\hbox \headreferenceattributes {\getheadsyncs}}
The
On 4/7/2016 8:28 AM, Zhichu Chen wrote:
PS: irrelevant to my problem, but I just wish ConTeXt to be perfect. So:
1, line 1060, file strc-sec.mkiv:
\global\setfalse\c_strc_rendering_continue
shouldn't this line be "\global\setfalse\c_strc_rendering_continuous"?
yes (but it's not used anywhere)
If I understand correctly, the "continue=yes" key prevents a new page
generated by a lower-level structure, e.g., section, following a
higher-level structure, e.g., chapter.
Then why the checking is so complex in strc-sec.mkiv:
==
Hi,
I found the empty line is due to the definition of
\strc_rendering_place_head_empty in strc-ren.mkiv:
\unexpanded\def\strc_rendering_place_head_empty
{\hbox \headreferenceattributes {\getheadsyncs}}
The definition in strc-sec.mkiv works fine
Dear Hans and Wolfgang,
The following code generates a pdf that I cannot understand.
1. Although "placehead" is set to "no," the \part macro still makes an empty
line.
2. The first \chapter does not open a new page, but if we switch the first
\title