ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Issues of export (structure bug)
Date: Mon, 24 Aug 2015 10:38:26 +0600	[thread overview]
Message-ID: <84ADFF19-08D0-4956-9AAD-2A8CEE2AACC1@fiee.net> (raw)
In-Reply-To: <55D75A28.7050802@wxs.nl>

Am 2015-08-21 um 23:04 schrieb Hans Hagen <pragma@wxs.nl>:

>> from
>> 
>> 
>> \startchapter[title=Something]
>> ...
>> \stopchapter
>> 
>> \startchapter[title={Something Else}]
>> ...
>> \stopchapter
>> 
>> 
>> I get in *—raw.xml:
>> 
>> ...
>> </sectioncontent>
>>    <sectiontitle>Something Else</sectiontitle>
>>    </section>
>>   <section detail="chapter" chain="chapter" level="2" implicit="4">
>>    <sectioncontent>
>> …
>> 
>> That means, the title of a section is at the end of the previous section. Pleeeeease fix!

Sorry, making a minimal example helps as usual.
My description was partly wrong: The section title is moved to the end of its own section.

It is caused by using a layer:

—
\setupbackend[export=yes]

\definelayer[satzspiegel][
	width=\textwidth,height=\textheight,
	location={left,bottom},
	x=\textwidth,y=0mm]

\starttext

\startchapter[title={Chapter Two}]

%\input tufte

	\setlayer[satzspiegel]{\externalfigure[koe]}
	\setupbackgrounds[text][background=satzspiegel]

\input tufte

\stopchapter

\stoptext

—

from that I get:

—
<document date="Mon Aug 24 10:32:56 2015" context="2015.08.21 19:57" version="0.34" xmlns:m="http://www.w3.org/1998/Math/MathML" file="structurebug" language="en">
 <metadata>
 </metadata>
 <section detail="chapter" chain="chapter" implicit="1" level="2">
  <sectioncontent>
   <image label="3.054cm" height="3.054cm" id="image-1" width="4.072cm" name="koe"></image>
We thrive in information ... from the goats.  </sectioncontent>
  <sectionnumber>1</sectionnumber>
   <sectiontitle>Chapter Two</sectiontitle>
  </section>
</document>
—

If I uncomment the first \input, the picture is still at the beginning of the chapter and its title at the end.



Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2015-08-24  4:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-17 11:56 Henning Hraban Ramm
2015-08-21 17:04 ` Hans Hagen
2015-08-24  4:38   ` Henning Hraban Ramm [this message]
2015-08-24  8:14     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=84ADFF19-08D0-4956-9AAD-2A8CEE2AACC1@fiee.net \
    --to=texml@fiee.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).