Worth just quickly noting that the default for \part is placehead=no. You
need to explicitly set placehead=yes for it to actually output the heading.
See https://wiki.contextgarden.net/Command/_section#Parts
On Sun, 24 Oct 2021 at 00:02, Bruce Horrocks via ntg-context <
ntg-context@ntg.nl> wrote:
Thank you for this, that's the first time this stuff has made any sense to
me.
On Sat, 30 Oct 2021 at 20:22, Henning Hraban Ramm via ntg-context <
ntg-context@ntg.nl> wrote:
> I finally reworked the wiki page https://wiki.contextgarden.net/PDF_Boxes
> and also extended https://wiki.contextgarden.
You could try using \writebetweenlist hooked into \setuphead[chapter]?
Something like (untested):
\setuphead[chapter][before={\writebetweenlist[figure][location=here]{\blank}}]
(Sorry, can't currently test this.)
Duncan
On Thu, 31 Mar 2022 at 06:31, Werner Schmidt via ntg-context <
ntg-context@
You should be able to change the space above and below a float with the
spacebefore and spaceafter keys to \setupfloat. I think the default value
is big for each, but you can override that with null. Something like
\setupfloat[figure][spacebefore=,spaceafter=]
Hope that helps.
Duncan
On Thu, 28
I have a big set of existing XML books (held in a derivative of DocBook)
which I'm looking to start processing directly with ConTeXt. (Up to now I
have a system which converts the XML into ConTeXt code which is then
processed, but this is inefficient and lots of the code is now unsupported.)
I've
Apologies, there are two rogue * in the lxml.preprocessor code, but even
when they are removed it doesn't work.
On Mon, 2 May 2022 at 08:19, Duncan Hothersall wrote:
> I have a big set of existing XML books (held in a derivative of DocBook)
> which I'm looking to start processing directly with C
tive}
>
>
>
>
>
>
>
>
>
>
>
> Best,
>
> Denis
>
>
>
> *Von:* Maier, Denis Christian (UB)
> *Gesendet:* Montag, 2. Mai 2022 09:45
> *An:* 'mailing list for ConTeXt users'
> *Cc:* Duncan Hothersa
e learned that you can just use arbitrary context code in xml:
>>
>>
>>
>> \def\xmltexdirective#1#2{\doif{#1}{command}{#2}}
>>
>>
>>
>> \xmlinstalldirective{tex}{xmltexdirective}
>>
>>
>>
>>
>>
>>
Hi.
I'm processing an XML table and need to set a row span. Because we use a
variant of the CALS table model, spans are defined by an attribute saying
how many *additional* rows should be spanned, as opposed to how many *in
total*. So to translate this into TABLE \bTD[nr=X] syntax I need to add 1.
s here too. Thanks again.
Duncan
On Thu, 5 May 2022 at 08:21, Taco Hoekwater wrote:
>
>
> > On 4 May 2022, at 22:10, Duncan Hothersall via ntg-context <
> ntg-context@ntg.nl> wrote:
> >
> > Hi.
> >
> > I'm processing an XML table and need to set a
I found this unanswered question on the list from November 2020 and find
today that I have the same question. How can one handle elements with the
same name but in different namespaces? How should the different
\startxmlsetups commands be written?
Thanks.
Duncan
On Mon, 16 Nov 2020 at 13:37, Chr
st]
>
>xmlns:o="NameSpaceO">
> text text
>
> \stopbuffer
> \xmlprocessbuffer{demo}{test}{}
> \stoptext
>
> > On 23 May 2022, at 09:07, Duncan Hothersall via ntg-context <
> ntg-context@ntg.nl> wrote:
> >
> > I found this un
This feels like a really stupid question but I can't find an answer to it
anywhere.
When processing an XML file directly with ConTeXt, i.e.
using \startxmlsetups rules, how can I make use of the MathML module for
the MathML content in my XML source? Should I include a specific piece of
code with a
Answering my own question - the rules in x-mathml.mkxl/.lmt assume *only*
an mml: namespace on MathML elements. Having built my current project on
the basis of the examples in the XML in mkiv manual, I had two layers of
namespaces in addition to that. Redoing the mappings for the MathML
elements re
Have you tried overprint=yes? I have that in old files which used to work
under mkii. I must admit I haven't had the need to use overprinting since
then, but I do recall that come colour handling wasn't ported across to
mkiv or later.
Duncan
On Wed, 9 Nov 2022 at 16:12, Henning Hraban Ramm via nt
Hi Thomas.
I'm not sure about the code, sorry, but I do know that an XML document
can't have two IDs of the same value. Typically you would use a linkend
attribute on the element which is referencing an id (in this case the
topics, I think).
Probably doesn't help with your problem, but it's likel
I can't test right now but would something like
\setuphead[Day][sectionsegments=Day:Month:Year]
help?
Duncan
On Sat, 31 Dec 2022 at 17:24, Henning Hraban Ramm via ntg-context <
ntg-context@ntg.nl> wrote:
> A happy new year to everyone!
>
> I’m playing with some examples of section numbering.
17 matches
Mail list logo