Re: [NTG-context] Indentation problem inside enumeration

2020-01-02 Thread Mikael P. Sundqvist
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,

Re: [NTG-context] Quotation dash issues with semantic markup

2019-12-30 Thread Hans Hagen
=~\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

Re: [NTG-context] How to use in Metafun, a function defined in Lua

2019-12-28 Thread Hans Hagen
)} $=\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

[NTG-context] How to use in Metafun, a function defined in Lua

2019-12-28 Thread Otared Kavian
)} \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

[NTG-context] new beta

2019-12-27 Thread Hans Hagen
#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

Re: [NTG-context] Style for captions

2019-12-18 Thread Otared Kavian
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

[NTG-context] Style for captions

2019-12-18 Thread Otared Kavian
(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

[NTG-context] Indentation problem inside enumeration

2019-12-16 Thread Mikael P. Sundqvist
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

Re: [NTG-context] LMTX Tagging and overlay

2019-12-15 Thread Otared Kavian
footer=0.5in, >> bottom=0.25in, >> backspace=1.1in] >> \definepapersize [octavo] >> [width=6in, >> height=9in] >> \setuppagenumbering [location=] >> \set

Re: [NTG-context] LMTX Tagging and overlay

2019-12-15 Thread Rik Kabel
=] \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

[NTG-context] LMTXL Tagging and overlay

2019-12-10 Thread Rik Kabel
[octavo] [width=6in,   height=9in] \setuppagenumbering  [location=] \setuppapersize  [octavo] \setupbodyfont   [Termes,10pt] \starttext \starttitle  [title={N aa aaa }] \startsubject    [title={B

Re: [NTG-context] problem with a new installation of LMTX

2019-12-08 Thread Richard Mahoney | Indica et Buddhica
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

[NTG-context] Suppress blank page in asymmetrical multicolumn layout

2019-12-06 Thread Thangalin
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}

Re: [NTG-context] Indenting number in TOC, particular numbering scheme, and other questions

2019-12-04 Thread Daniel Haid
]},before={\blank[big]},sectionstopper=.] \setuphead[subsection][sectionsegments=subsection] \setuphead[subsubsection][sectionsegments=subsubsection,sectionstopper=] \setuphead[subsubsubsection][sectionsegments=subsubsubsection] \starttext \startchapter[title={Chapter}] \startsection[title={Section

[NTG-context] Indenting number in TOC, particular numbering scheme, and other questions

2019-12-02 Thread Daniel Haid
subsubsection, subsubsubsection, subsubsubsubsection, subsubsubsubsubsection, subsubsubsubsubsubsection, subsubsubsubsubsubsubsection},alternative=c] \starttext \placecontent \startA[title={First level}] \startI[title={Second level}] \startS[title={Third level}] \startSS

[NTG-context] Fwd: Re: Spurious newlines at beginning of startstop pair

2019-11-28 Thread denis . maier . lists
rtstop [cslreferences] [ > before={% > \setupnarrower[left=\cslhangindent] > \startnarrower[left]% > \setupindenting[-\leftskip,yes,first]% > \indentation% >}, >after=\stopnarrower, > ] > > \starttext >

Re: [NTG-context] Spurious newlines at beginning of startstop pair

2019-11-27 Thread Hans Hagen
[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

[NTG-context] Spurious newlines at beginning of startstop pair

2019-11-27 Thread Denis Maier
,first]%         \indentation%       },       after=\stopnarrower,     ] \starttext \section{Some title} \input ward \section{References} \startcslreferences \dorecurse{10}{\dorecurse{10}{This is a Test. }\par} \stopcslreferences \stoptext

Re: [NTG-context] Abstracting styles

2019-11-27 Thread Hans Hagen
] [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

Re: [NTG-context] ConTeXt: specify a path to font in \definefontfamily

2019-11-20 Thread Krešimir Cindrić
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

Re: [NTG-context] ConTeXt: specify a path to font in \definefontfamily

2019-11-20 Thread Hans Hagen
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

Re: [NTG-context] Cross references to column numbers

2019-11-15 Thread Taco Hoekwater
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. >>>>>> >>&

Re: [NTG-context] Cross references to column numbers

2019-11-15 Thread Oliver von Criegern
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

Re: [NTG-context] Referencing equation, missing dot

2019-11-14 Thread Hans Hagen
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

[NTG-context] Referencing equation, missing dot

2019-11-13 Thread Mikael P. Sundqvist
=)] \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

Re: [NTG-context] Cross references to column numbers

2019-11-12 Thread Oliver von Criegern
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

Re: [NTG-context] How to sort list of sections?

2019-11-08 Thread Rik Kabel
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

Re: [NTG-context] How to sort list of sections?

2019-11-08 Thread Hans Hagen
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

Re: [NTG-context] How to sort list of sections?

2019-11-07 Thread jdh
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

Re: [NTG-context] How to sort list of sections?

2019-11-07 Thread Kerry Sainsbury
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,

Re: [NTG-context] How to sort list of sections?

2019-11-07 Thread Hans Hagen
... \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

[NTG-context] How to sort list of sections?

2019-11-06 Thread Kerry Sainsbury
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

Re: [NTG-context] Formatting in the toc

2019-11-04 Thread Henning Hraban Ramm
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

Re: [NTG-context] \setuppagenumbering doublesided generates blank pages

2019-10-30 Thread Wolfgang Schuster
,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

[NTG-context] \setuppagenumbering doublesided generates blank pages

2019-10-30 Thread Kerry Sainsbury
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

Re: [NTG-context] Images run into each other when using side floats

2019-10-30 Thread Marco Patzer
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

Re: [NTG-context] Images run into each other when using side floats

2019-10-30 Thread Wolfgang Schuster
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

Re: [NTG-context] Images run into each other when using side floats

2019-10-30 Thread Marco Patzer
the > > side figure frame. How to prevent this? > > > > \setupfloat [figure] [default=left] > > > > \starttext > > \samplefile{knuth} > > > > \startplacefigure [title=Foo] > >\framed [width=5cm, height=5cm]{} > > \stopplacefigure > >

Re: [NTG-context] Images run into each other when using side floats

2019-10-30 Thread Wolfgang Schuster
] [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

Re: [NTG-context] Images run into each other when using side floats

2019-10-30 Thread Aditya Mahajan
} \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

[NTG-context] Images run into each other when using side floats

2019-10-30 Thread Marco Patzer
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

[NTG-context] Problem with the bottom line of a header

2019-10-22 Thread Fabrice Couvreur
] \setupheadertexts [{\startframed [headerframed] [foregroundstyle=bold,background=framewithshadow] \getvariable{headertext}{title} n\high{o}\,\getvariable{headertext}{number} \stopframed}] \setupheadertexts [{\startframed [headerframed] [align=flushleft

[NTG-context] Unexpected symbol with Enumeration

2019-10-15 Thread Fabrice Couvreur
}, 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

Re: [NTG-context] List of Symbols/Abbreviations/Glosses with more then two entries

2019-10-11 Thread Thomas Welter
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

Re: [NTG-context] Unexpected behavior of subsection labels

2019-10-06 Thread Wolfgang Schuster
[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

[NTG-context] Unexpected behavior of subsection labels

2019-10-06 Thread Jairo A. del Rio
[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

Re: [NTG-context] Column sets (span) & unwanted vertical gap

2019-10-01 Thread Wolfgang Schuster
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

[NTG-context] Column sets (span) & unwanted vertical gap

2019-10-01 Thread Procházka Lukáš Ing .
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

Re: [NTG-context] About \textrule [ ]

2019-10-01 Thread Fabrice Couvreur
ried, > inbetween=, > > Best wishes, > Taco > > > Thank you. > > Fabrice > > > > \setuptextrules[width=0.5cm] > > > > \define[1]\ProprieteHeadcommand > > {\textrule[top]{#1}} > > > > \defineenumeration > > [propriete]

Re: [NTG-context] About \textrule [ ]

2019-10-01 Thread Taco Hoekwater
Headcommand > {\textrule[top]{#1}} > > \defineenumeration > [propriete] > [text=Propriété, >title=yes, >headstyle={bold}, >alternative=serried, >style=italic, >number=no, >headcommand=\ProprieteHeadcommand, >numbercomma

Re: [NTG-context] About \textrule [ ]

2019-10-01 Thread Otared Kavian
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

[NTG-context] About \textrule [ ]

2019-10-01 Thread Fabrice Couvreur
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

Re: [NTG-context] Custom Footertext

2019-09-30 Thread Pablo Rodriguez
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" >

Re: [NTG-context] Custom Footertext

2019-09-29 Thread Jeroen
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

[NTG-context] poem as a sidefloat

2019-09-25 Thread Henning Hraban Ramm
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, %

Re: [NTG-context] odd processing error with latest standalone

2019-09-19 Thread Alan Bowen
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

Re: [NTG-context] odd processing error with latest standalone

2019-09-18 Thread Otared Kavian
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

[NTG-context] odd processing error with latest standalone

2019-09-18 Thread Alan Bowen
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}]

Re: [NTG-context] Biblatex \crossref equivalent in bibliographies

2019-09-15 Thread Aditya Mahajan
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

Re: [NTG-context] expansion problem: random location

2019-09-13 Thread Wolfgang Schuster
=.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

[NTG-context] expansion problem: random location

2019-09-13 Thread Henning Hraban Ramm
() 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

Re: [NTG-context] Cross references to column numbers

2019-09-10 Thread Oliver von Criegern
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

Re: [NTG-context] Cross references to column numbers

2019-09-10 Thread Hans Hagen
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

Re: [NTG-context] Problem of displaying a date with a macro

2019-09-09 Thread Hans Hagen
gt; >  \definecolor[ColorA][0.8(white)] > > >  \startsetups [headertext] > >    \setupheadertexts >      [{\startframed [headerframed] >      [foregroundstyle=bold,background=framewithshadow] >      \getvariable{headertext}{title}

Re: [NTG-context] Problem of displaying a date with a macro

2019-09-09 Thread Fabrice Couvreur
t] > > > >\setupheadertexts > > [{\startframed [headerframed] > > [foregroundstyle=bold,background=framewithshadow] > > \getvariable{headertext}{title} > > n\high{o}\,\getvariable{headertext}{number} > > \stopframed}] >

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Otared Kavian
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

[NTG-context] Biblatex \crossref equivalent in bibliographies

2019-09-04 Thread Damien Thiriet
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

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Wolfgang Schuster
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

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Hans Hagen
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

Re: [NTG-context] standardmakeup and pages

2019-08-29 Thread Henning Hraban Ramm
> 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

Re: [NTG-context] standardmakeup and pages

2019-08-29 Thread 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] \definemakeup[imprint][align=top,page=no] \starttext \startmakeup[title-page] bastard

Re: [NTG-context] standardmakeup and pages

2019-08-29 Thread mf
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

[NTG-context] standardmakeup and pages

2019-08-29 Thread Henning Hraban Ramm
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

Re: [NTG-context] Problem of displaying a date with a macro

2019-08-28 Thread Aditya Mahajan
] \setupheadertexts [{\startframed [headerframed] [foregroundstyle=bold,background=framewithshadow] \getvariable{headertext}{title} n\high{o}\,\getvariable{headertext}{number} \stopframed}] \setupheadertexts [{\startframed [headerframed] [align=flushleft,foregroundstyle

[NTG-context] Problem of displaying a date with a macro

2019-08-28 Thread Fabrice Couvreur
] [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

Re: [NTG-context] Frame with shadow for header

2019-08-27 Thread Mikael P. Sundqvist
eaderframed] > [frame=off, > height=fit, > width=fit] > > \definecolor[ColorA][0.8(white)] > > > \startsetups [headertext] > > \setupheadertexts > [{\startframed [headerframed] > [foregroundstyle=bold,background=color,backgr

Re: [NTG-context] Frame with shadow for header

2019-08-27 Thread Fabrice Couvreur
] [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

Re: [NTG-context] Cross referencing by using \useexternaldoument

2019-08-18 Thread Wolfgang Schuster
}, }, ["paragraph"]={ { 0, 0 }, }, ["realpage"]={ { 4 }, }, ["subpage"]={ { 4 }, }, ["table"]={ { 0, 0 }, }, ["textnote:note"]={ { 0 }, }, ["userpage"]={ { 4 }, }, } if not utilitydat

[NTG-context] about SimpleSlides

2019-07-30 Thread Atsuhito Kohda
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

[NTG-context] consecutive full stops in "num" bib style after "et al"

2019-07-29 Thread Sanjoy Mahajan
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

[NTG-context] about SimpleSlide

2019-07-29 Thread Atsuhito Kohda
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,

Re: [NTG-context] Override MathML formula label

2019-07-29 Thread Duncan Hothersall
ef\mmlformulatitle{\xmlatt{#1}{title}} > \doifsomethingelse {\mmlformulalabel\mmlformulatitle} { > > \startplaceformula[reference=\mmlformulalabel,title=\mmlformulatitle] > \startformula > \xmlfirst{#1}{/mml:math} > \stop

Re: [NTG-context] Override MathML formula label

2019-07-28 Thread Hans Hagen
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

[NTG-context] Using \currentreferencenumber triggers “has a hidden number” in log file

2019-07-18 Thread Marco Patzer
\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

[NTG-context] Split extreme tables across tables

2019-07-10 Thread Thangalin
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

Re: [NTG-context] Typesetting Markdown – Part 5: Interpolation

2019-07-09 Thread Thangalin
> 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

Re: [NTG-context] Typesetting Markdown – Part 5: Interpolation

2019-07-08 Thread Andres Conrado
- >Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl >

Re: [NTG-context] problems with images, layers and crop marks

2019-07-08 Thread Hans Hagen
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

[NTG-context] problems with images, layers and crop marks

2019-07-07 Thread Henning Hraban Ramm
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

Re: [NTG-context] Strange behavior in somewhat complex layout (again)

2019-06-27 Thread Wolfgang Schuster
\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

[NTG-context] Strange behavior in somewhat complex layout (again)

2019-06-27 Thread Andres Conrado Montoya
prevChapterTitle, currentChapterTitle; prevChapterTitle := ""; currentChapterTitle := ""; \stopMPinclusions \startuseMPgraphic{page:background} StartPage; currentChapterTitle := "\namedstructurevariable{chapter}{title}"; if currentCh

[NTG-context] Strange behavior in somewhat complex layout

2019-06-23 Thread Andres Conrado Montoya
apterTitle := ""; \stopMPinclusions \startuseMPgraphic{page:background} StartPage; currentChapterTitle := "\namedstructurevariable{chapter}{title}"; if currentChapterTitle <> prevChapterTitle : fill (topboundary Page -- cycle) enlar

Re: [NTG-context] Tagged blocks

2019-06-19 Thread Wolfgang Schuster
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

[NTG-context] Tagged blocks

2019-06-18 Thread Jan Willem Flamma
,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

Re: [NTG-context] background color, was: CMYK Color profile

2019-06-02 Thread Benjamin Koppe
gt; \definelayout [3] [thirdandfourth] > \definelayout [4] [thirdandfourth] > \definelayout [5] [fifthandsixth] > \definelayout [6] [fifthandsixth] > > > %% Some setups > \setupmakeup [doublesided=no] > \setuptolerance [verytolerant] > > > %% We want to see

Re: [NTG-context] background color, was: CMYK Color profile

2019-05-31 Thread Benjamin Koppe
! \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

Re: [NTG-context] Typesetting Markdown -- Part 2

2019-05-30 Thread Thangalin
> > 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

Re: [NTG-context] Typesetting Markdown -- Part 2

2019-05-30 Thread Hans Hagen
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

Re: [NTG-context] Wiki update

2019-05-30 Thread Procházka Lukáš Ing .
(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

[NTG-context] Extend figure to margin, or extend figure from margin to text

2019-05-29 Thread Zhichu
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

<    11   12   13   14   15   16   17   18   19   20   >