ound
>
> then the second(?) paragraph of the second enumeration is not indented.
>
> Here is a small example (see what lines to comment to avoid the problem).
>
> %%%
> \defineenumeration[losning][
> text=Lösning,
> title=yes,
> alternative=serried,
> width=fit,
> number=no,
=~\endash,
rightsentence=~\endash]
\define\quotedash{\emdash\endash}
%\setupbackend[export=yes]
\starttext
\startsection[title=Introduction]
Any of you able to help me get my quotation dashes into line when
automatically
inserted by the semantic commands? I'm sure a number of you look
)}
$=\cldcontext{document.myfunction(2,355/113)} \sim 0$.
\startplacefigure[title={Nothing works\dots}]
\startMPcode{GridAxis}
numeric gu ; gu = 5mm ; % gu = graph unit
draw image (
draw function (1,"x","document.myfunction(2,x)", % <-- this does not
wor
)} \sim 0$.
\startplacefigure[title={Nothing works\dots}]
\startMPcode{GridAxis}
numeric gu ; gu = 5mm ; % gu = graph unit
draw image (
draw function (1,"x","document.myfunction(2,x)", % <-- this does not
work
% draw function (1,"x&q
#1 x x X\par}
\definedfont[Serif*TestC]\dorecurse{3}{#1 x x X\par}
\stoptext
---
2 hanging captions
---
% a follow up on HM request / WS discussion
\setupexternalfigures[location=default]
\setupcaption
Hi Wolfgang and Aditya,
Thanks for the explanations: the confusion for me came from the fact that I had
already use \tfa for a title containing inline maths, and could not imagine
that \tfx does not apply to inline maths. Is there reason for this difference?
That said the solution with style
(3^k*x)
end
return S
end
\stopluacode
\startplacefigure[title={The Weierstrass function $\sum_{k=0}^n
2^{-k}\cos(3^kx)$}]
\startMPcode{doublefun}
draw lmt_function [
xmin = 0, xmax = 4*355/113, xstep =.001,
ymin = -2, ymax = 2
what lines to comment to avoid the problem).
%%%
\defineenumeration[losning][
text=Lösning,
title=yes,
alternative=serried,
width=fit,
number=no,
headstyle={\em},
titlestyle=,
indentnext=no,% another way to get indentation is to comment this line
indenting={yes,medium},
]
\defineframedtext
footer=0.5in,
>> bottom=0.25in,
>> backspace=1.1in]
>> \definepapersize [octavo]
>> [width=6in,
>> height=9in]
>> \setuppagenumbering [location=]
>> \set
=]
\setuppapersize [octavo]
\setupbodyfont [Termes,10pt]
\starttext
\starttitle [title={N aa aaa }]
\startsubject [title={B}]
Faaa aaa {\em Naa Yaaa T} aa C 22, 9990 (
999):
\startnarrow [MidOneEm
[octavo]
[width=6in,
height=9in]
\setuppagenumbering [location=]
\setuppapersize [octavo]
\setupbodyfont [Termes,10pt]
\starttext
\starttitle [title={N aa aaa }]
\startsubject [title={B
lvers | resolving | remembering file 'mtx-t-mtx-contexts.lua' using hash 'lua::mtx-t-mtx-contexts.lua'
resolvers | resolving | remembered file 'mtx-t-mtx-context.lua'
resolvers | resolving | remembered file 'mtx-context.lua'
mtxrun | unknown script 'mtx-context.lua
r={\column},
]
\setuphead[subsubsection][
after={\blank[small]},
]
\starttext
\startsection[title={Section Title}]
\startsubsection[title={Subtitle}]
\dorecurse{2}{\input knuth}
\dorecurse{2}{%
\startsubsubsection[title={Subsubtitle}]
\dorecurse{1}{\input ward}
\dorecurse{2}{\input lorem}
]},before={\blank[big]},sectionstopper=.]
\setuphead[subsection][sectionsegments=subsection]
\setuphead[subsubsection][sectionsegments=subsubsection,sectionstopper=]
\setuphead[subsubsubsection][sectionsegments=subsubsubsection]
\starttext
\startchapter[title={Chapter}]
\startsection[title={Section
subsubsection,
subsubsubsection,
subsubsubsubsection,
subsubsubsubsubsection,
subsubsubsubsubsubsection,
subsubsubsubsubsubsubsection},alternative=c]
\starttext
\placecontent
\startA[title={First level}]
\startI[title={Second level}]
\startS[title={Third level}]
\startSS
rtstop [cslreferences] [
> before={%
> \setupnarrower[left=\cslhangindent]
> \startnarrower[left]%
> \setupindenting[-\leftskip,yes,first]%
> \indentation%
>},
>after=\stopnarrower,
> ]
>
> \starttext
>
[left]%
\setupindenting[-\leftskip,yes,first]%
\indentation%
},
after=\stopnarrower,
]
\starttext
\section{Some title}
\input ward
\section{References}
\startcslreferences
\dorecurse{10}{\dorecurse{10}{This is a Test. }\par}
\stopcslreferences
\stoptext
,first]%
\indentation%
},
after=\stopnarrower,
]
\starttext
\section{Some title}
\input ward
\section{References}
\startcslreferences
\dorecurse{10}{\dorecurse{10}{This is a Test. }\par}
\stopcslreferences
\stoptext
] [factor=0.12]
\definecharacterkerning [LittleMoreB] [factor=0.08]
\setuphead
[chapter]
[distance=2em,
style=\tfd,
textstyle={\smallcaps\setcharacterkerning[LittleMoreA]}]
\definehighlight
[emphasis]
[style={\setcharacterkerning[LittleMoreA]}]
\starttext
\startchapter[title=Something
ts/MyFont-It.otf, bf=file:./fonts/MyFont-Bd.otf,
> >
> bi=file:./fonts/MyFont-BdIt.otf]\setupbodyfont[mainface]\starttext\title{Hello,
>
> > world!}Hello World! \emph{Hi!}\stoptext|
> >
> > However, if I copy the |.otf| files into the same directory as the
> > |.te
not work, and reverts to the default font:
|\definefontfamily[mainface][serif][My Font][tf=file:./fonts/MyFont.otf,
it=file:./fonts/MyFont-It.otf, bf=file:./fonts/MyFont-Bd.otf,
bi=file:./fonts/MyFont-BdIt.otf]\setupbodyfont[mainface]\starttext\title{Hello,
world!}Hello World! \emph{Hi
mn
>>>>>> number (according to what I did in the header), I would also need to
>>>>>> know whether the target is in the left or in the right column, and I
>>>>>> can't see how I can get this information.
>>>>>>
>>&
rned, text to be added etc. to be configured
by options?
Because all these \in \at \about ... give back different things (a
title, a number, a range, a ...) and packaging all that in one macro
doens't make it cleaner so soon users will then wrap complex calls in
a macro of their own (which then
FILE
\definereferenceformat[eqref][left=(,right=)]
\starttext
\chapter[title=Foo]
\placeformula[eq:bar]
\startformula
1+1=2
\stopformula
We see in \eqref[eq:bar].
\stoptext
fixed in next beta
=)]
\starttext
\chapter[title=Foo]
\placeformula[eq:bar]
\startformula
1+1=2
\stopformula
We see in \eqref[eq:bar].
\stoptext
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist
different things (a
title, a number, a range, a ...) and packaging all that in one macro
doens't make it cleaner so soon users will then wrap complex calls in
a macro of their own (which then can clash with some existing name).
Also, the ref mechanism evolved over decades and we're not goin
On 11/7/2019 16:22, jdh wrote:
I get no difference using criterium=previous versus criterium=local.
Try this extended example to see the difference:
\setuphead[section][number=no]
\starttext
\startchapter[title=foo]
\placelist[section][criterium=local,order=title
st[section][criterium=previous,order=title]
you can wikify this ..
On Fri, 8 Nov 2019 at 04:52, Hans Hagen <mailto:j.ha...@xs4all.nl>> wrote:
On 11/7/2019 12:13 AM, Kerry Sainsbury wrote:
> Hi Folks,
>
> If sections are just lists, and lists can be sorted, how
nt
> you need to use
> "criterium=previous"
>
> \placelist[section][criterium=previous,order=title]
>
> On Fri, 8 Nov 2019 at 04:52, Hans Hagen wrote:
>
> On 11/7/2019 12:13 AM, Kerry Sainsbury wrote:
> > Hi Folks,
> >
> > If sec
Thanks Hans. For the sake of any future users who may have stumbled across
this post I want to point out that if you want the list of sections to
appear at the *end *of your document you need to use "criterium=previous"
\placelist[section][criterium=previous,order=title]
On Fri,
...
\setuphead[section][number=no]
\starttext
\startchapter[title=foo]
\placelist[section][criterium=local,order=title]
\startsection[title={Beta}] \input sapolsky \stopsection
\startsection[title={Alpha}] \input sapolsky \stopsection
\startsection[title={Gamma}] \input sapolsky
expect):
\placelist[section]
\blank
placelistofsorts (doesn't render anything. My guess was wrong)
\placelistofsorts[wahs]
Sections start here:
\startsection[title={Beta}]
Hello
\startsection[title={Alpha}]
World
\stoptext
Thank you for your time. I really appreciate it.
Kerry
I’d suggest to use something like (untested)
\startsubject[title={The Lord’s my Shepherd}][biblepart={Hymn 387}]
and
\setuphead[subject][command=\MyBibleSection]
\define[2]\MyBibleSection{{\bf #1}\hfill{\it\structureuservariable{biblepart}}}
You’d need to setup your ToC useing
,inmargin}]
\starttext
\startchapter[title={October 2000}]
Blah One
\stopchapter
\startchapter[title={November 2000}]
Blah Two
\stopchapter
\stoptext
This produces a PDF in TeXworks containing 4 pages:
* Page 1 with a header an 'October 2000' header and 'Blah One' content
* Page 2
Hi there,
I am a newbie, and have *seem* to have discovered that
\setuppagenumbering [alternative=doublesided] generates a blank page
between chapters.
\setupheadertexts[chapter]
\setuppagenumbering [alternative=doublesided,location={header,inmargin}]
\starttext
\startchapter[title={October
i!
> >>>
> >>> Some images run into each other when using floats. The following
> >>> example illustrates this. The second image (or frame) runs into
> >>> the side figure frame. How to prevent this?
> >>>
> >>> \setu
figure frame. How to prevent this?
\setupfloat [figure] [default=left]
\starttext
\samplefile{knuth}
\startplacefigure [title=Foo]
\framed [width=5cm, height=5cm]{}
\stopplacefigure
\samplefile{ward} \blank
Add:
\dontleavehmode
Thanks for the nudge in the right direction
the
> > side figure frame. How to prevent this?
> >
> > \setupfloat [figure] [default=left]
> >
> > \starttext
> > \samplefile{knuth}
> >
> > \startplacefigure [title=Foo]
> >\framed [width=5cm, height=5cm]{}
> > \stopplacefigure
> >
] [default=left]
\starttext
\samplefile{knuth}
\startplacefigure [title=Foo]
\framed [width=5cm, height=5cm]{}
\stopplacefigure
\samplefile{ward} \blank
Add:
\dontleavehmode
You need also \par or a blank line after the frame.
\dontleavehmode\framed [width=4cm, height=4cm]{}\par
Wolfgang
}
\startplacefigure [title=Foo]
\framed [width=5cm, height=5cm]{}
\stopplacefigure
\samplefile{ward} \blank
Add:
\dontleavehmode
\framed [width=4cm, height=4cm]{}
\samplefile{knuth}
\stoptext
context 2019.10.29 15:00
Aditya
Hi!
Some images run into each other when using floats. The following
example illustrates this. The second image (or frame) runs into the
side figure frame. How to prevent this?
\setupfloat [figure] [default=left]
\starttext
\samplefile{knuth}
\startplacefigure [title=Foo]
\framed
]
\setupheadertexts
[{\startframed [headerframed]
[foregroundstyle=bold,background=framewithshadow]
\getvariable{headertext}{title}
n\high{o}\,\getvariable{headertext}{number}
\stopframed}]
\setupheadertexts
[{\startframed [headerframed]
[align=flushleft
},
frame=off,
corner=00,
radius=0.5em,
width=10cm]
\definedescription
[Info]
[before=,
after=,
text=Vocabulaire,
title=no,
width=fit,
distance=0.5em,
headcommand=\FrameTitle,
alternative=serried]
\starttext
xt("Unit")
context.NC()
context.bf() context("Description")
context.NC()
context.FR()
context.HL()
function printlistitem(keyword, values)
context.NC()
context.startSymItem({reference="sym:"..keyword, title=values[1]})
context.math(values[1])
context.stopSymItem()
context.NC
[section]
\hfill
\llap{\userpagenumber}
\stopsetups
\startsetups[text left]
\rlap{\userpagenumber}
\hfill
\sc \getmarking[chapter]
\hfill
\llap{}
\stopsetups
\startfrontmatter
Hello
\completecontent
\stopfrontmatter
\startbodymatter
\startchapter[title=yay]
\startsection[title=wow]
\startsubsection
[section]
\hfill
\llap{\userpagenumber}
\stopsetups
\startsetups[text left]
\rlap{\userpagenumber}
\hfill
\sc \getmarking[chapter]
\hfill
\llap{}
\stopsetups
\startfrontmatter
Hello
\completecontent
\stopfrontmatter
\startbodymatter
\startchapter[title=yay]
\startsection[title=wow]
\startsubsection[title
Procházka Lukáš Ing. schrieb am 01.10.2019 um 14:51:
Hello,
the code bellow produces unwanted vertical gap between the bottom
border of the figure and the following title "A" in the first column
(marked by red arrows "<->" in the PDF attached).
Note
Hello,
the code bellow produces unwanted vertical gap between the bottom border of the figure and the following
title "A" in the first column (marked by red arrows "<->" in the PDF attached).
Note that in the second column there is no such gap.
I tried to play
ried,
> inbetween=,
>
> Best wishes,
> Taco
>
> > Thank you.
> > Fabrice
> >
> > \setuptextrules[width=0.5cm]
> >
> > \define[1]\ProprieteHeadcommand
> > {\textrule[top]{#1}}
> >
> > \defineenumeration
> > [propriete]
Headcommand
> {\textrule[top]{#1}}
>
> \defineenumeration
> [propriete]
> [text=Propriété,
>title=yes,
>headstyle={bold},
>alternative=serried,
>style=italic,
>number=no,
>headcommand=\ProprieteHeadcommand,
>numbercomma
you.
> Fabrice
>
> \setuptextrules[width=0.5cm]
>
> \define[1]\ProprieteHeadcommand
> {\textrule[top]{#1}}
>
> \defineenumeration
> [propriete]
> [text=Propriété,
>title=yes,
>headstyle={bold},
>alternative=serried,
>style=itali
Hello,
The top line is in the text, how to fix this problem ?
Thank you.
Fabrice
\setuptextrules[width=0.5cm]
\define[1]\ProprieteHeadcommand
{\textrule[top]{#1}}
\defineenumeration
[propriete]
[text=Propriété,
title=yes,
headstyle={bold},
alternative=serried,
style=italic
On 9/30/19 2:16 AM, Jeroen wrote:
> I have condensed it into a single document. The footer has in the right
> side the page numbering and at the left the "section". Both only start
> at the second page, which is good. I was wondering if the "section"
>
I have condensed it into a single document. The footer has in the right
side the page numbering and at the left the "section". Both only start at
the second page, which is good. I was wondering if the "section" could have
the "title" in front of it. The title always s
n’t within).
\starttext
\dorecurse{2}{\input knuth}
\startplacefloat[
title=none, % doesn’t work
numbering=no, % wrong
location=left,
width=.33\textwidth, % doesn’t work
style=\tt, % doesn’t work
background=color,backgroundcolor=cyan, % doesn’t work
]%
%\framed[
% width=.33\textwidth,
%
p \endgroup
> l.26 ]
>
>
> l.37 ]
>
>
> ...
> l.249 ...BHA_12-01_Plate01.pdf][width=.5\textwidth]{
> }
> 16
> 17 \def\ChapterSubTitle{The Hellenistic Horoscope}
> 18 \def\SubChapterNo{12.1}
> 19 \relax
> 20 \startBrillC
t; l.37 ]
>
> ...
> l.249 ...BHA_12-01_Plate01.pdf][width=.5\textwidth]{
> }
> 16
> 17 \def\ChapterSubTitle{The Hellenistic Horoscope}
> 18 \def\SubChapterNo{12.1}
> 19 \relax
> 20 \startBrillChapter[referen
twidth]{
}
16
17 \def\ChapterSubTitle{The Hellenistic Horoscope}
18 \def\SubChapterNo{12.1}
19 \relax
20 \startBrillChapter[reference=Ch12,
21 title={\vglue6pc{\ChapterNo}~\\
22 \ChapterTitle},
23 bookmark={12 Astral Divination and Natal Astrology}]
On Wed, 4 Sep 2019, Damien Thiriet wrote:
With biblatex I was using crossref to shorten my .bib files, as can be
seen in this MWE
@periodical{DebatMem2002,
title = {Le Débat},
number = {122},
langid = {french},
date = {2002}
}
@article{ChartiersurRicoeur2002,
author = {Roger
=.4\textwidth}
\startplacefigure[location={#1},title={#1 \fakewords{3}{20}}]
\externalfigure[place #1][width=\PicWidth,height=\dimexpr\textheight * \imgH /
10 \relax]
\stopplacefigure
}
Put the value of the random location in a macro.
\define[1]\Blindbild
{\edef\PicLocation{#1
()
context(locations[math.random(1,#locations)])
end
\stopluacode
\newdimen\PicWidth
\PicWidth=\textwidth
\define[1]\Blindbild{
\getrandomnumber\imgH{1}{9}
\PicWidth=\textwidth
\doif{#1}{left}{\PicWidth=.4\textwidth}
\doif{#1}{right}{\PicWidth=.4\textwidth}
\startplacefigure[location={#1},title={#1
nd headers to be
returned, text to be added etc. to be configured by options?
Because all these \in \at \about ... give back different things (a
title, a number, a range, a ...) and packaging all that in one macro
doens't make it cleaner so soon users will then wrap complex calls in
a macro of their
give back different things (a
title, a number, a range, a ...) and packaging all that in one macro
doens't make it cleaner so soon users will then wrap complex calls in a
macro of their own (which then can clash with some existing name).
Also, the ref mechanism evolved over decades and we're not goi
gt;
> \definecolor[ColorA][0.8(white)]
>
>
> \startsetups [headertext]
>
> \setupheadertexts
> [{\startframed [headerframed]
> [foregroundstyle=bold,background=framewithshadow]
> \getvariable{headertext}{title}
t]
> >
> >\setupheadertexts
> > [{\startframed [headerframed]
> > [foregroundstyle=bold,background=framewithshadow]
> > \getvariable{headertext}{title}
> > n\high{o}\,\getvariable{headertext}{number}
> > \stopframed}]
>
see a quick way out) ... esp these backgrounds are an old
>> mechanism (maybe i should alias it to textbackgrounds in lmtx)
>>
>> much better is to use this:
>>
>> \definetextbackground
>> [xx]
>> [location=paragraph]
>>
>> \startt
Hi,
With biblatex I was using crossref to shorten my .bib files, as can be
seen in this MWE
@periodical{DebatMem2002,
title = {Le Débat},
number = {122},
langid = {french},
date = {2002}
}
@article{ChartiersurRicoeur2002,
author = {Roger Chartier},
title = {Le
that instead? less page overflow too
(actually i should iontegrate some title line in that)
A limitation of textbackgrounds is the limited control over the vertical
space at page breaks.
With the old background mechanism you get the normal topoffset and
bottomoffset values
overflow too
(actually i should iontegrate some title line in that)
Hans
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69
> Am 2019-08-29 um 16:58 schrieb mf :
>
> \setuppagenumbering[
>alternative=doublesided,
> ]
>
> % use pagestate=start on both makeups only if you want the title page
> % to be the page 1 of the book
> \definemakeup[title-page][align=middle,doublesided=no]
Tha
\setuppagenumbering[
alternative=doublesided,
]
% use pagestate=start on both makeups only if you want the title page
% to be the page 1 of the book
\definemakeup[title-page][align=middle,doublesided=no]
\definemakeup[imprint][align=top,page=no]
\starttext
\startmakeup[title-page]
bastard
Il 29/08/19 16:33, Henning Hraban Ramm ha scritto:
\setuppagenumbering[
alternative=doublesided,
]
\starttext
\startstandardmakeup[align=center]
bastard title
\stopstandardmakeup
\startstandardmakeup[page=left]
\vfill
imprint
\stopstandardmakeup
\stoptext
\setuppagenumbering
Hi again,
in my books I often use \startstandardmakeup for the initial pages.
A typical use case is a bastard title (half-title) on the first page and the
copyright information (imprint) on the second, like in this MWE:
\setuppagenumbering[
alternative=doublesided,
]
\starttext
]
\setupheadertexts
[{\startframed [headerframed]
[foregroundstyle=bold,background=framewithshadow]
\getvariable{headertext}{title}
n\high{o}\,\getvariable{headertext}{number}
\stopframed}]
\setupheadertexts
[{\startframed [headerframed]
[align=flushleft,foregroundstyle
]
[foregroundstyle=bold,background=framewithshadow]
\getvariable{headertext}{title}
n\high{o}\,\getvariable{headertext}{number}
\stopframed}]
\setupheadertexts
[{\startframed [headerframed]
[align=flushleft,foregroundstyle=]
Lycée LA SALLE, Lille
eaderframed]
> [frame=off,
> height=fit,
> width=fit]
>
> \definecolor[ColorA][0.8(white)]
>
>
> \startsetups [headertext]
>
> \setupheadertexts
> [{\startframed [headerframed]
> [foregroundstyle=bold,background=color,backgr
]
[foregroundstyle=bold,background=color,backgroundcolor=ColorA]
\getvariable{headertext}{title}
n\high{o}\,\getvariable{headertext}{number}
\stopframed}]
\setupheadertexts
[{\startframed [headerframed]
[align=flushleft,foregroundstyle=]
Lycée LA SALLE, Lille
},
},
["paragraph"]={
{ 0, 0 },
},
["realpage"]={
{ 4 },
},
["subpage"]={
{ 4 },
},
["table"]={
{ 0, 0 },
},
["textnote:note"]={
{ 0 },
},
["userpage"]={
{ 4 },
},
}
if not utilitydat
old]
then it seems to work fine. But I suspect unconditional
definition is not good so I'd like to know the correct fix.
Another problem is with style Split. Browsing simpleslides.pdf,
I think date, author, title and page number should be displayed
on each slide but, in fact, we can't see them except p
s
% authoretaltext={ et al},
% artauthoretaltext={ et al},
Should these commented-in settings be the default for the "num" style
(because it'll always put one more full stop between the author list and
the title)?
Another workaround is never to use et al. But that idea failed when I
had to cite th
ems to work fine. But I suspect unconditional
definition is not good so I'd like to know the correct fix.
Another problem is with style Split. Browsing simpleslides.pdf,
date, author, title and page number would be displayed on each
slide but we can't see them in fact except page number.
It seems,
ef\mmlformulatitle{\xmlatt{#1}{title}}
> \doifsomethingelse {\mmlformulalabel\mmlformulatitle} {
>
> \startplaceformula[reference=\mmlformulalabel,title=\mmlformulatitle]
> \startformula
> \xmlfirst{#1}{/mml:math}
> \stop
f-sequence or
differently formatted number.
Thanks as ever for any help.
\usemodule[mathml]
\startxmlsetups mml:formula
\edef\mmlformulalabel{\xmlatt{#1}{label}}
\edef\mmlformulatitle{\xmlatt{#1}{title}}
\doifsomethingelse {\mmlformulalabel\mmlformulatitle} {
\startplaceformula
\currentreferencenumber\emptyreference
{Foo}{Bar}}%%
}
\setuphead
[section] [number=no]
\starttext
\startsection [title=Foo, reference=sec:foo]
\samplefile{knuth}
\stopsection
\foo[sec:foo]
\stoptext
Then check the log file for “has a hidden number”.
1) How to not trigger the log
The following document does not split across tables, which is a little
surprising:
\starttext
\startplacetable[title={Average Annual Temperatures}]
\startxtable
\startxtablehead[head]
\startxrow
\startxcell[align=middle,width={0.10\textwidth}] Year \stopxcell
\startxcell[align=middle,width={0.14
> course, you can always enable "otf.keepnames" if you need names like
>> > this.
>> >
>> > But I actually want to talk about another class of names: Look at
>> > "Udotbelow". This is IMHO a perfectly normal and useful name, but the
&g
-
>Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
>
for working with LaTeX, and my other
projects get less time.
Anyway, one of our authors finally submitted her final corrections, and
"of course" my ConTeXt setup that still worked well in May doesn’t
behave any more:
* stacked layers won’t work on the first page (there should be a
get less time.
Anyway, one of our authors finally submitted her final corrections,
and "of course" my ConTeXt setup that still worked well in May doesn’t
behave any more:
* stacked layers won’t work on the first page (there should be a title
bar above an image; it works on the
\startchapter
finished the previous page and removed the header line, when you insert
now the colored page the header setting is used for this page and one
the following page with the section title you get the unwanted header text.
Wolfgang
prevChapterTitle, currentChapterTitle;
prevChapterTitle := "";
currentChapterTitle := "";
\stopMPinclusions
\startuseMPgraphic{page:background}
StartPage;
currentChapterTitle := "\namedstructurevariable{chapter}{title}";
if currentCh
apterTitle := "";
\stopMPinclusions
\startuseMPgraphic{page:background}
StartPage;
currentChapterTitle := "\namedstructurevariable{chapter}{title}";
if currentChapterTitle <> prevChapterTitle :
fill (topboundary Page -- cycle)
enlar
can't exclude tagged blocks but
it's possible to extend the mechanism an apply a default tag to each
block which will allow selective output.
\startsection[title=Questions]
\useblocks[question][criterium=chapter]
\stopsection
\startsection[title=Answers]
\useblocks[answer][criterium=chapter
,way=bychapter]
\defineenumeration[answer] [location=margin,text=Answer]
\defineblock[question]
\defineblock[answer]
\hideblocks[question]
\hideblocks[answer]
\starttext
\startchapter[title=Chapter for regular questions]
\beginquestion
\startquestion
Normal question
\stopquestion
\endquestion
gt; \definelayout [3] [thirdandfourth]
> \definelayout [4] [thirdandfourth]
> \definelayout [5] [fifthandsixth]
> \definelayout [6] [fifthandsixth]
>
>
> %% Some setups
> \setupmakeup [doublesided=no]
> \setuptolerance [verytolerant]
>
>
> %% We want to see
!
\showframe
\setupbackgrounds[paper][background=color,backgroundcolor=blue]
\starttext
\starttitle[title={First page}]
\input lorem
\stoptitle
\starttitle[title={Second page}]
\input lorem
\stoptitle
\starttitle[title={Third page}]
\input lorem
\stoptitle
\starttitle[title
>
> sense to check all these mappings onto context, for instance I think
> that pandoc uses \section and such while in fact it should use
> \startsectionlevel[title={}] ... \stopsectionlevel so that one can embed
> documents in other documents.
>
https://github.com/jgm/pandoc
it could mean it
could be Pandoc's one, but not sure?
I don't know as I never use these coding methods. But it might make
sense to check all these mappings onto context, for instance I think
that pandoc uses \section and such while in fact it should use
\startsectionlevel[title
(generated automatically from ConTeXt definition)]]
==
section
And just now I can see that \section accepts syntax of the forms:
\section[MyRef]{My title}
\section[MyRef]{4.0}{My title}
\section[reference=MyRef,ownnumber=4.0,title={My title}]
So better for us if we
as the
figure and the part in the margin should not affect other marginal notes:
\showframe
\starttext
Hello\inright{Very very very long test notes.}, world!
\startplacefigure
[reference=fig:whatever,
title={Test figure.},
location=outer]
\hbox{%
\framed
1501 - 1600 of 7243 matches
Mail list logo