Re: [NTG-context] very long hanging caption

2021-05-07 Thread Jano Kula
on=righthanging] > > \startbuffer[caption] > \dorecurse{60}{very long caption } > \stopbuffer > > \starttext > \startplacefigure[title={\getbuffer[caption]}] > \externalfigure[cow][height=40mm,width=80mm] > \stopplacefigure > \stoptext > > Thank you, > Jano >

[NTG-context] very long hanging caption

2021-05-02 Thread Jano Kula
align={nothyphenated,flushleft}, distance=4mm, location=righthanging] \startbuffer[caption] \dorecurse{60}{very long caption } \stopbuffer \starttext \startplacefigure[title={\getbuffer[caption]}] \externalfigure[cow][height=40mm,width=80mm] \stopplacefigure \stoptext Thank you,

Re: [NTG-context] ToC filler dots/leaders not aligned in LMTX

2021-04-23 Thread Hans Hagen
the same behaviour: the leading dots are not aligned. Compiling the same document with MkIV leads to correct alignment of the filler dots in both instances. Here is an MWE: \setuplistalternative[c][width=2em] \starttext \completecontent[alternative=c] \chapter{Short title} Lorem ipsum

[NTG-context] ToC filler dots/leaders not aligned in LMTX

2021-04-23 Thread Schister, Roman
aligned. Compiling the same document with MkIV leads to correct alignment of the filler dots in both instances. Here is an MWE: \setuplistalternative[c][width=2em] \starttext \completecontent[alternative=c] \chapter{Short title} Lorem ipsum \hskip.5em\gleaders\hbox to .5\emwidth{\hss.\hss

Re: [NTG-context] No space between \cite and next word.

2021-04-18 Thread Mikael Sundqvist
t; > /Mikael > > > > \startbuffer[mybib] > > @article{a, > >author = {An Author}, > >title = {A title}, > >year = {2021}, > > } > > \stopbuffer > > > > \usebtxdefinitions[apa] > > \usebtxdataset[mybib.buffe

Re: [NTG-context] No space between \cite and next word.

2021-04-18 Thread Hans Hagen
@article{a, author = {An Author}, title = {A title}, year = {2021}, } \stopbuffer \usebtxdefinitions[apa] \usebtxdataset[mybib.buffer] \starttext Text \cite[a] text. \placelistofpublications \stoptext Wolfgang and I agreed upon the following commands keeping spaces

[NTG-context] Macro to write a letter with \ mathscript{}

2021-04-17 Thread Fabrice Couvreur
\setupbodyfont[modern] \setupenumerations [before={}, after={\blank}, alternative=serried, number=no, title=yes, titleleft={(}, titleright={)}, prefix=yes, prefixsegments=chapter, way=bychapter, titlestyle=bold, width=broad] \defineenumeration [definition

Re: [NTG-context] register for biblical citations

2021-04-16 Thread jbf
You are correct on both counts; it is not quite random (just not what I was looking for😁 ) and yes, the abbreviated book title needs to be in the mix as well, just in case it also ends up throwing things out. But, as you can see subsequently, each contribution is making things clearer (for me

Re: [NTG-context] register for biblical citations

2021-04-16 Thread r . ermers
It seems that the items are actually not randomly listed. It appears to me that the list is sorted on the chapter number, and then the verse number. The abbreviated book title is not involved in this sorting order, which it should be. Robert > Op 16 apr. 2021, om 12:22 heeft jbf

[NTG-context] No space between \cite and next word.

2021-04-16 Thread Mikael Sundqvist
Hi, I think there has been some change recently. Is it on purpose that there is no space after the \cite. Look how the parenthesis that ends the citation and the word "text" are set without space inbetween. /Mikael \startbuffer[mybib] @article{a, author = {An Author}, title

[NTG-context] Alignment with an enumeration

2021-04-12 Thread Fabrice Couvreur
Hi, Is it possible that the first item is on the baseline of the definition environment title ? Thank you. Fabrice \define\ItemCommand {\hskip\zeropoint\relax\autoinsertnextspace} \setupitemgroup [itemize] [color=darkred, style=bold, distance=\spaceamount] \setupitemgroup

Re: [NTG-context] Hyphenation patterns

2021-04-09 Thread Arthur Rosendahl
les. I see that my self-appointed title is catching on, nice :-) Unfortunately the patterns are just as likely to contain errors as anything else, and in this particular case we’ll probably never know for sure, because the original hyphenated word list was never published (all the word lists f

Re: [NTG-context] Suppressing headers and footers on blank pages before pagebreak at the end of a chapter.

2021-04-07 Thread Wolfgang Schuster
from pre-computer times. You have to change the argument of the page-setting for chapters. \setuppagenumbering [alternative=doublesided] \setuphead [chapter] [page={yes,header,footer,right}] \starttext \startchapter[title=Knuth] \dorecurse{10}{\samplefile{knuth}} \stopchapter

[NTG-context] issue field in bibliography

2021-03-29 Thread Damien Thiriet
sur… » (I don't know exactly how to translate it in English. Something like "an overview of…") so quoting it makes only sense if the issue is named, at best after the title or the number. I thought issue may do it. Am I right? Or would be comment a better place? Best

Re: [NTG-context] issue field in bibliography

2021-03-29 Thread Thomas A. Schmitz
e the main article is always named « Le point sur… » (I don't know exactly how to translate it in English. Something like "an overview of…") so quoting it makes only sense if the issue is named, at best after the title or the number. I thought issue may do it. Am I right? Or would be comm

Re: [NTG-context] Markdown module in LMTX

2021-03-28 Thread Christoph Reller
gt; work anymore. > > > > MWE: > > > > ConTeXt file: > > -- 8< -- > > \usemodule[markdown] > > \starttext > > \processmarkdownfile{file.md} > > \stoptext > > -- 8< -- > >

Re: [NTG-context] Table disappears in floatcombination

2021-03-28 Thread Christoph Reller
> \setupcaptions[ >> > >number=no, %<- comment and table appears >> > >align=flushright] >> > > \starttext >> > > \startplacecombination[title=Combination] >> > >\startfloatcombination >> >

[NTG-context] injectors not working in LMTX?

2021-03-25 Thread Pablo Rodriguez
\placelist[section][criterium=text] \blank[3*big] \placeregister[index][criterium=text] \page \startsection[title=Alpha] first \index{first} \startsection[title=Beta] second \index{second} \startsection[title=Gamma] third \index{third} \startsection[title=Delta] fourth \index

Re: [NTG-context] PDF custom properties

2021-03-25 Thread Alan Bowen
(under Document Info or Document Properties) as: > > > > Editor (not Author) editors names > > > > Title title of work > > Subtitle (not Subject)the subtitle of the work > > Subject

Re: [NTG-context] PDF custom properties

2021-03-24 Thread Pablo Rodriguez
t; Editor (not Author)                   editors names                     >            > Title                                         title of work > Subtitle (not Subject)                the subtitle of the work  > Subject                                     th

Re: [NTG-context] Formulanumbers in margin

2021-03-23 Thread Adam Reviczky
ue as I can perfectly place text with \inmargin > directly, just not with the numbercommand. > > MWE: > > \starttext > \setuplayout[margin=2cm, leftmargin=2cm, rightmargin=2cm] > > \showframe > \showlayout > > \setupcaption[figure][location={rightmargin}] > \startp

Re: [NTG-context] PDF custom properties

2021-03-23 Thread Alan Bowen
Hi, Pablo— My inquiry concerns the possibility of getting *custom* properties that I could specify using \setupinteraction in a way that would output in the PDF file (under Document Info or Document Properties) as: Editor (not Author) editors names Title

Re: [NTG-context] PDF custom properties

2021-03-23 Thread Pablo Rodriguez
On 3/23/21 8:25 PM, Alan Bowen wrote: > I should like to set the PDf properties so that the Document Info panel has > Editor ... > Title ... > Subtitle ... > Subject ... > Keyword > > The problem is that currently  > \setupinteraction[subtitle=text,] goes to Su

[NTG-context] PDF custom properties

2021-03-23 Thread Alan Bowen
I should like to set the PDf properties so that the Document Info panel has Editor ... Title ... Subtitle ... Subject ... Keyword The problem is that currently \setupinteraction[subtitle=text,] goes to Subject and that there are no keys to get output labelled Subject or Editor. I have

Re: [NTG-context] Formulanumbers in margin

2021-03-21 Thread Adam Reviczky
showlayout \setupcaption[figure][location={rightmargin}] \startplacefigure[title=Cow] \externalfigure[cow] \stopplacefigure \define[1]\MyFormulaNumber{\inleftmargin{#1}} \setupformula[numbercommand=\MyFormulaNumber] \inleftmargin{Left Margin Text} \inrightmargin{Right Margin Text} \startpl

[NTG-context] Formulanumbers in margin

2021-03-21 Thread Adam Reviczky
[title=Cow] \externalfigure[cow] \stopplacefigure % this makes the formulanumber disappear % \setupformulas[location={rightmargin}] \startplaceformula[reference=eq1,location={rightmargin}] \startformula c^2 = a^2 + b^2 \stopformula \stopplaceformula \stoptext But the setupformulas will make the number

Re: [NTG-context] Formula numbering including all prefix segments

2021-03-21 Thread Adam Reviczky
gt; > \starttext > > \setupcaption[figure][way=bytext,prefixsegments=1:*] > > \setupformulas[way=bytext,prefixsegments=1:*] > > \startsection[title=Section] > > \startsubsection[title=SubSection] > > \startplacefigure[list=cow] \externalfigure[cow] \stopplacefigur

Re: [NTG-context] Formula numbering including all prefix segments

2021-03-21 Thread Hans Hagen
,prefixsegments=1:*] \setupformulas[way=bytext,prefixsegments=1:*] \startsection[title=Section] \startsubsection[title=SubSection] \startplacefigure[list=cow] \externalfigure[cow] \stopplacefigure \startplaceformula[reference=eq1] \startformula c^2 = a^2 + b^2 \stopformula \stopplaceformula \stopsubsection

[NTG-context] Formula numbering including all prefix segments

2021-03-20 Thread Adam Reviczky
,prefixsegments=1:*] \startsection[title=Section] \startsubsection[title=SubSection] \startplacefigure[list=cow] \externalfigure[cow] \stopplacefigure \startplaceformula[reference=eq1] \startformula c^2 = a^2 + b^2 \stopformula \stopplaceformula \stopsubsection \stopsection \placelistoffigures[criterium=all

[NTG-context] (no subject)

2021-03-20 Thread Adam Reviczky
,prefixsegments=1:*] \startsection[title=Section] \startsubsection[title=SubSection] \startplacefigure[list=cow] \externalfigure[cow] \stopplacefigure \startplaceformula[reference=eq1] \startformula c^2 = a^2 + b^2 \stopformula \stopplaceformula \stopsubsection \stopsection \placelistoffigures[criterium=all

Re: [NTG-context] placenamedformula in placelist (MKII vs MKIV/LMTX)

2021-03-17 Thread Adam Reviczky
Hi, Or would it be possible to just add a "list=" option to placeformula similar to placefigure? (although that might conflict with the combination of "title=") All I am really after is to label or name numbered formulas in the placelist. --- \starttext % 1 This i

[NTG-context] Multiple Layouts

2021-03-13 Thread Jeroen
=doublesided] \setupheadertexts [] \setupfooter [style=\it] \setupfootertexts [{Footer Title} \hfill \pagenumber] \definemakeup [titlepage] [align=left] \definemakeup [copyrightpage] \setupmakeup [copyrightpage] [align={right,bottom}, top=\vfill, pagestate=stop, style

[NTG-context] (no subject)

2021-03-13 Thread Jeroen
=doublesided] \setupheadertexts [] \setupfooter [style=\it] \setupfootertexts [{Footer Title} \hfill \pagenumber] \definemakeup [titlepage] [align=left] \definemakeup [copyrightpage] \setupmakeup [copyrightpage] [align={right,bottom}, top=\vfill, pagestate=stop, style

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread jbf
just can't seem to get a definition that gives me a result like Chapter title author . page number the \startalignment approach with flushleft would not give me the indentation obviously, and middle does not work for what I need, and either of them als

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread Wolfgang Schuster
apter title    author . page number the \startalignment approach with flushleft would not give me the indentation obviously, and middle does not work for what I need, and either of them also pushes the page number line down onto the next line, which I don'

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread Bruce Horrocks
o get a > definition that gives me a result like > > Chapter title >author . page number > > the \startalignment approach with flushleft would not give me the indentation > obviously, and middle does not work for what I need, and eith

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread jbf
ine[1]\SectionTocEntry{% #1\crlf% title \-\ \hskip .5cm\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}% } Julian On 12/3/21 9:04 am, Bruce Horrocks wrote: On 11 Mar 2021, at 02:20, jbf wrote: Hi list, I have: \define[1]\SectionTocEntry{% #1\crlf% title \do

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread jbf
flushleft, middle etc. and not what I need this time, which is a precise indentation feature like .5cm. I suppose my real problem is not being sufficiently au fait with how definitions work. I just can't seem to get a definition that gives me a result like Chapter title    a

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread Bruce Horrocks
> On 11 Mar 2021, at 02:20, jbf wrote: > > Hi list, > > I have: > > \define[1]\SectionTocEntry{% > #1\crlf% title > \doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}% > } > > which successfully gives me a ToC with: >

[NTG-context] margin in TocEntry definition

2021-03-10 Thread jbf
Hi list, I have: \define[1]\SectionTocEntry{% #1\crlf% title \doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}%   } which successfully gives me a ToC with: Chapter title Author name But I want the author name indented by .5cm and do not know how to use

Re: [NTG-context] Write to tuc file

2021-03-07 Thread Pablo Rodriguez
On 3/6/21 2:35 PM, Hans Hagen wrote: > On 3/6/2021 1:56 PM, Pablo Rodriguez wrote: >> [...] >> The select style could generate from start-identifier and >> stop-identifier, the result "identifier.pdf". > \startchapter[reference=whatever,title=foo] > \stopchapt

Re: [NTG-context] Write to tuc file

2021-03-06 Thread Hans Hagen
could generate from start-identifier and stop-identifier, the result "identifier.pdf". \startchapter[reference=whatever,title=foo] \stopchapter \startchapter[reference=moreover,title=oof] \stopchapter and --pages=whatever,moreover will give you the info you need to call context --extra=c

Re: [NTG-context] conditional formatting, checking the context (SOLVED)

2021-03-06 Thread Pablo Rodriguez
for the delayed reply, Hraban. If only bookmarks are affected, you only have to preroll them: \enabledirectives[references.bookmarks.preroll] \setupinteraction[state=start] \placebookmarks[chapter,title] \starttext \chapter{This {\bf and} That} \stoptext And this is only required

Re: [NTG-context] Center a text (Metafun)

2021-03-06 Thread Hans Hagen
On 3/6/2021 11:17 AM, Fabrice Couvreur wrote: Hi Hans, Some time ago, you offered this code to respond to a specific request from me. I used this code again and wanted to know if it was possible for the title "Algorithm" to be automatically centered based on the content. Thank

Re: [NTG-context] Center a text (Metafun)

2021-03-06 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 06.03.2021 um 11:17: Hi Hans, Some time ago, you offered this code to respond to a specific request from me. I used this code again and wanted to know if it was possible for the title "Algorithm" to be automatically centered based on the content. Thank y

[NTG-context] Center a text (Metafun)

2021-03-06 Thread Fabrice Couvreur
Hi Hans, Some time ago, you offered this code to respond to a specific request from me. I used this code again and wanted to know if it was possible for the title "Algorithm" to be automatically centered based on the content. Thank you Fabrice \definecolor[MyBlue][c=0.2 , m=0.03, y=0.

[NTG-context] conditional formatting, checking the context (SOLVED)

2021-03-05 Thread Henning Hraban Ramm
is always the same for all, I’d like to check within the \SPECIAL macro if we’re within the chapter title or within a list or bookmarks. In preparing the MWE and this message I found a solution with the *chapter system mode. Wanted to share anyway ;) Hraban \define[1]\SPECIAL{\doifmodeelse

Re: [NTG-context] Genealogy and context

2021-03-03 Thread Hans Hagen
} \NC \NR \BC surname \NC \xmlfirst{#1}{name/surname/text()} \NC \NR \BC gender \NC \xmlfirst{#1}{gender} \NC \NR \stoptabulate \stopxmlsetups \startxmlsetups xml:childref % \startsubsubject[title=Child] \xmlfirst{main}{/database/people/person[@handle='\xmlatt{#1}{hlink}']}

Re: [NTG-context] Bug report: \setupbackend corrupts bibliography rendering

2021-02-28 Thread Hans Hagen
On 2/28/2021 11:42 AM, a badin wrote: % \setupbackend[export=example.xml,css=example.css] \usebtxdataset[default][ref.bib] \starttext \cite[Arrow][Arrow] \placelistofpublications \stoptext my ref.bib file: @ARTICLE{Arrow,   author = {Andrej Arrow},   title = {The Font Name Mess},   journal

Re: [NTG-context] Bug report: \setupbackend corrupts bibliography rendering

2021-02-28 Thread a badin
yarticle: [author: Andrej Arrow] [journal: MAPS] > [keywords: context] [pages: 2-8] [title: The Font Name Mess] [volume: 40] > [year: 2010] > > If I remove or comment that entry out, then the bibliography renders OK > (copy from pdf): 1 A. Arrow, “The Font Name Mess”, *MAPS *40, 2-8, 2010. &

[NTG-context] Bug report: \setupbackend corrupts bibliography rendering

2021-02-28 Thread a badin
urnal: MAPS] [keywords: context] [pages: 2-8] [title: The Font Name Mess] [volume: 40] [year: 2010] If I remove or comment that entry out, then the bibliography renders OK (copy from pdf): 1 A. Arrow, “The Font Name Mess”, *MAPS *40, 2-8, 2010. my .tex source is: % \setupbackend[export=example.xm

Re: [NTG-context] Help figuring why long document stops short in xml export

2021-02-24 Thread Christoph Hintermüller
."]:13> (...tail calls...) [string "/usr/local/tex/texmf-context/tex/context/base..."]:34: in function <[string "/usr/local/tex/texmf- context/tex/context/base..."]:33> (...tail calls...) 58 \definemathcommand[ld][nolop]{\mfunction{ld}} 59

Re: [NTG-context] Arbitrary equation tags... again

2021-02-23 Thread Jairo A. del Rio
I found a workaround for anyone interested: \setupinteraction[state=start,focus=standard] \starttext \startplaceformula[title=$\alpha$,reference=alpha] \startformula 1 + 1 = 2 \stopformula \stopplaceformula \dorecurse{20}{\samplefile{knuth}} I'm in \in{$\alpha$}[alpha] %so the refe

Re: [NTG-context] Questions for eTABLE

2021-02-23 Thread Alain Delmotte
Hi! Thanks for your rapid answer. Thanks Wolfgang, in the example you did send me I overlooked the difference between the title line and the rest. Thanks also for the explanation about right and left. -- Alain Le 22/02/2021 à

Re: [NTG-context] Arbitrary equation tags... again

2021-02-22 Thread Jairo A. del Rio
Hi again. The following doesn't work (the tag is missing): \startTEXpage[offset=2bp] \startplaceformula[title=A,reference=alpha] \startformula 1 + 1 = 2 \stopformula \stopplaceformula I'm in \in[alpha] \stopTEXpage Jairo El lun, 22 de feb. de 2021 a la(s) 09:00, Ja

Re: [NTG-context] Arbitrary equation tags... again

2021-02-22 Thread Jairo A. del Rio
hat nilled at the user level and only use it deep down. It was > never meant as user command. > > > I imagine some things have changed in 2021 and I hope a better solution > > is feasible nowadays. > > \startTEXpage[offset=2bp] > \star

Re: [NTG-context] Arbitrary equation tags... again

2021-02-22 Thread Hans Hagen
lled at the user level and only use it deep down. It was never meant as user command. I imagine some things have changed in 2021 and I hope a better solution is feasible nowadays. \startTEXpage[offset=2bp] \startplaceformula[title=A] \startformula 1 + 1 = 2 \stopformula \sto

[NTG-context] issue with references

2021-02-19 Thread Pablo Rodriguez
told in \getreference[number][sec]. \getreference[title][sec].\\ As told in \in[sec]. \about[sec]. \stopTEXpage \stoptext \getreference[number] doesn’t follow \setupreferencestructureprefix. I don’t know whether this is intended, but I think it might be a bug. Many thanks for your help, Pablo

Re: [NTG-context] Centered list of authors in ToC

2021-02-09 Thread jbf
Thanks for the alternative. Also gives me further ideas, especially regarding placement of the \startalignment Julian On 10/2/21 8:11 am, Hans Hagen wrote: On 2/9/2021 9:50 PM, jbf wrote: Resolved! \define[1]\SectionTocEntry{% #1\crlf% title \startalignment[middle]\doifnot

Re: [NTG-context] Centered list of authors in ToC

2021-02-09 Thread Hans Hagen
On 2/9/2021 9:50 PM, jbf wrote: Resolved! \define[1]\SectionTocEntry{% #1\crlf% title \startalignment[middle]\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}% \stopalignment} You need to move the \startalignment into the test (you don't want en empt

Re: [NTG-context] Centered list of authors in ToC

2021-02-09 Thread jbf
Resolved! \define[1]\SectionTocEntry{% #1\crlf% title \startalignment[middle]\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}% \stopalignment} Julian On 9/2/21 9:02 pm, mf wrote: Il 09/02/21 10:49, jbf ha scritto: I wonder if someone can assist me with the

Re: [NTG-context] Centered list of authors in ToC

2021-02-09 Thread jbf
definition, but it has no effect if I do it as follows: \define[1]\SectionTocEntry{% #1\crlf% title \doifnot{\startalignment[middle]\structurelistuservariable{author}}{}{\structurelistuservariable{author}}% \stopalignment} and if I do it as: \define[1]\SectionTocEntry{% #1\crlf% title

Re: [NTG-context] Centered list of authors in ToC

2021-02-09 Thread mf
Il 09/02/21 10:49, jbf ha scritto: I wonder if someone can assist me with the final step in a complicated Table of Contents where all items in the ToC are centred (except page numbers which continue to be on the right). Beneath each chapter title is a list of authors (Yes, there can be up to

[NTG-context] Centered list of authors in ToC

2021-02-09 Thread jbf
I wonder if someone can assist me with the final step in a complicated Table of Contents where all items in the ToC are centred (except page numbers which continue to be on the right). Beneath each chapter title is a list of authors (Yes, there can be up to four authors per chapter!) I can

Re: [NTG-context] composing commands

2021-02-07 Thread Hans Hagen
ommands are not used at all: \starttext \startbuffer[bib] @article{test, title = {\"Articl\`e \O n\k{e}}, author = {Th\^omas}, year = {2001}, } \stopbuffer \usebtxdataset[bib.buffer] \ctxlua{inspect(publications.datasets.default.luadata.test)} \placebtxrendering[method=dat

[NTG-context] [Solved] Fwd: lmtx-20210118 | Corruption with rotated floats

2021-02-01 Thread Richard Mahoney
rotate the title of the table). The last really stable version of LMTX, which I'm finding that I'm constantly returning to as my default, is lmtx-20200920. This error has been occurring for some time now, and unfortunately, while I would like to keep up the recent releases of LMTX, it is ess

Re: [NTG-context] Bib support broken in lmtx

2021-01-30 Thread Philipp A.
aset=default] >>> \usebtxdefinitions[apa] >>> >>> \starttext >>> >>> \cite[authoryear][angerer2016] >>> >>> %\placelistofpublications[default][method=dataset] >>> >>> \stoptext >>> >>> test.bib: >

Re: [NTG-context] Markdown module in LMTX

2021-01-29 Thread J Huisman
> \processmarkdownfile{file.md} > \stoptext > -- 8< -- > > file.md: > -- 8< -- > Title > = > > Here comes a paragraph text. > -- 8< -

Re: [NTG-context] possible problem with MPinstance or MPinclusions? works in 20200920 but not in the current 20210124 ...

2021-01-26 Thread Rudd, Kevin
sna.edu> On Jan 26, 2021, at 12:00, Hans Hagen mailto:j.ha...@xs4all.nl>> wrote: On 1/26/2021 1:19 PM, Rudd, Kevin wrote: Hi--- I have a number of included figures that work in 20200920 but not in the current 20210124 version. There's a project structure that s

Re: [NTG-context] possible problem with MPinstance or MPinclusions? works in 20200920 but not in the current 20210124 ...

2021-01-26 Thread Rudd, Kevin
, Kevin wrote: Hi--- I have a number of included figures that work in 20200920 but not in the current 20210124 version. There's a project structure that sets everything up but after that they are input as a figure: \startplacefigure[title={NS Hierarchy},

Re: [NTG-context] possible problem with MPinstance or MPinclusions? works in 20200920 but not in the current 20210124 ...

2021-01-26 Thread Hans Hagen
On 1/26/2021 1:19 PM, Rudd, Kevin wrote: Hi--- I have a number of included figures that work in 20200920 but not in the current 20210124 version. There's a project structure that sets everything up but after that they are input as a figure:             \startplacefigure[title={NS Hier

[NTG-context] possible problem with MPinstance or MPinclusions? works in 20200920 but not in the current 20210124 ...

2021-01-26 Thread Rudd, Kevin
Hi--- I have a number of included figures that work in 20200920 but not in the current 20210124 version. There's a project structure that sets everything up but after that they are input as a figure: \startplacefigure[title={NS Hierarchy}, refe

[NTG-context] lmtx-20210118 | Corruption with rotated floats

2021-01-23 Thread Richard Mahoney
[here] ... \framed[orientation=90] (although one looses the ability to rotate the title of the table). The last really stable version of LMTX, which I'm finding that I'm constantly returning to as my default, is lmtx-20200920. This error has been occurring for some time now, and unfor

Re: [NTG-context] [startstop]

2021-01-22 Thread Jairo A. del Rio
ut it doesn't create > new environment commands. > > \defineuserdata >[zzz] >[alternative=zzz, > after={\blank[10mm]}] > > \defineuserdataalternative[zzz][renderingsetup=userdata:zzz] > > \startsetups[userdata:zzz] > \hrule >

Re: [NTG-context] [startstop]

2021-01-22 Thread Wolfgang Schuster
][renderingsetup=userdata:zzz] \startsetups[userdata:zzz] \hrule \doifsomething{\userdataparameter{title}} {\bold{\strut\userdataparameter{title}} \blank} \strut\getuserdata \stopsetups \starttext \startuserdata[zzz] \input weisman \stopuserdata \startuserdata[zzz][title=W

Re: [NTG-context] running head for TOC

2021-01-19 Thread jbf
ing Hraban Ramm wrote: Am 19.01.2021 um 05:55 schrieb jbf : I have a very long Table of Contents (runs across five pages) and the author would like the running head on recto pages for this to be 'Table of Contents'. I am using the following to create the TOC head: \definehead

Re: [NTG-context] running head for TOC

2021-01-19 Thread Henning Hraban Ramm
gt; > \definehead > [tochead] > [title] > > \starttochead[title={Table of Contents}] > \setupheader[state=start] > \placecombinedlist[content] > \stoptochead > > And I use the following to set up the headertexts for the book as a whole: > > \setupheadertexts &

[NTG-context] running head for TOC

2021-01-18 Thread jbf
I have a very long Table of Contents (runs across five pages) and the author would like the running head on recto pages for this to be 'Table of Contents'. I am using the following to create the TOC head: \definehead   [tochead]   [title] \starttochead[title={Table of Contents}] \s

Re: [NTG-context] expansion of xml userdata

2021-01-17 Thread Wolfgang Schuster
Jano Kula schrieb am 17.01.2021 um 21:22: Hello to everybody! \setuphead[section][expansion=yes] expands xml reference to the actual content in TUC file: \xmlatt {xml:name::4}{title} → First section for titles & bookmarks. The same is not true for userdata (mkiv & mkxl). Do you kno

[NTG-context] expansion of xml userdata

2021-01-17 Thread Jano Kula
Hello to everybody! \setuphead[section][expansion=yes] expands xml reference to the actual content in TUC file: \xmlatt {xml:name::4}{title} → First section for titles & bookmarks. The same is not true for userdata (mkiv & mkxl). Do you know how to force expansion of userdata? MWE

[NTG-context] Markdown module in LMTX

2021-01-10 Thread Christoph Reller
tarttext \processmarkdownfile{file.md} \stoptext -- 8< -- file.md: -- 8< -- Title = Here comes a paragraph text. -- 8< -- Are there plans to add and update thi

Re: [NTG-context] Continued chapter numbers

2021-01-06 Thread jbf
rs I need chapter numbers to continue sequentially across several parts. At the moment, when Part 2 begins, it begins with Chapter 1 once more, while it should be (in continued sequence) Chapter 4. I know that I can achieve the desired result by including ownnumber=4, so: \startchapter[title={My ch

Re: [NTG-context] Continued chapter numbers

2021-01-06 Thread denis.maier
numbers > > I need chapter numbers to continue sequentially across several parts. At the > moment, when Part 2 begins, it begins with Chapter 1 once more, while it > should be (in continued sequence) Chapter 4. > > I know that I can achieve the desired result by including ownnumbe

[NTG-context] Continued chapter numbers

2021-01-06 Thread jbf
I need chapter numbers to continue sequentially across several parts. At the moment, when Part 2 begins, it begins with Chapter 1 once more, while it should be (in continued sequence) Chapter 4. I know that I can achieve the desired result by including ownnumber=4, so: \startchapter[title={My

Re: [NTG-context] Part label and chapter numbers

2021-01-04 Thread jbf
rence, or put another way, at least it stops things from throwing an error, but the result I get is not 'Section 1. My title' but simply '1. My  title'. Here's what an MWE with the code I posted looks like: \setuphead [part] [placehead=yes, bodypartlabel=pa

Re: [NTG-context] Part label and chapter numbers

2021-01-04 Thread Marco Patzer
x27;re more likely to get a response. > Of the three issues below, only the first is not resolved, meaning > that part=Section\nobreakspace does not make any difference, or put > another way, at least it stops things from throwing an error, but the > result I get is not 'Section 1.

Re: [NTG-context] Bib support broken in lmtx

2021-01-03 Thread Philipp A.
> \usebtxdefinitions[apa] >> >> \starttext >> >> \cite[authoryear][angerer2016] >> >> %\placelistofpublications[default][method=dataset] >> >> \stoptext >> >> test.bib: >> @Article{ angerer2016, >> author = {Angerer, Philipp an

[NTG-context] blank pages bug [pagecolumns]

2021-01-01 Thread Johann Birnick
Hi there, I noticed a bug when using pagecolumns. If there is a title on the right column, a blank page gets added at the end of the document. For example \starttext \startpagecolumns[n=2] \title{lorem} \title{ipsum

[NTG-context] Text editor support via Digestif

2020-12-31 Thread Augusto Stoffel
s the usual IDE features: completion (of commands, keyword arguments, references, citations), go to definition, find references, document outline, etc. Among the fancier features is fuzzy-matching, so you can, say, find a citation by typing parts of the title or author names (and get away with

Re: [NTG-context] Title in enumeration not working?

2020-12-30 Thread Mikael Sundqvist
Hi, Thanks for the fix, Hans (version 2020.12.30 16:45 looks fine!) /Mikael On Mon, Dec 21, 2020 at 3:11 PM Otared Kavian wrote: > Hi Mikael, > > Indeed you are right about the fact that > > \startexample[title={Title}] > ... > \stopexample > > > is more lo

Re: [NTG-context] Table disappears in floatcombination

2020-12-26 Thread Christoph Reller
appears > >align=flushright] > > \starttext > > \startplacecombination[title=Combination] > >\startfloatcombination > > \startplacetable%[title=Table] %<- uncomment and table appears > >\bTABLE \bTR \bTD Cell \eTD \eTR \eTABLE > &

Re: [NTG-context] Bib support broken in lmtx

2020-12-26 Thread Philipp A.
dataset] > > \stoptext > > test.bib: > @Article{ angerer2016, > author = {Angerer, Philipp and Haghverdi, Laleh and B{\"{u}}ttner, Maren > and Theis, Fabian J and Marr, Carsten and Buettner, Florian}, > doi = {10.1093/bioinformatics/btv715}, > issn = {14602059}, > jo

Re: [NTG-context] Table disappears in floatcombination

2020-12-26 Thread Hans Hagen
On 12/25/2020 9:47 PM, Christoph Reller wrote: Hi, Consider the following MWE: \definefloat[combination][figure] \setupcaptions[   number=no, %<- comment and table appears   align=flushright] \starttext \startplacecombination[title=Combination]   \startfloatcombination     \startplaceta

[NTG-context] Table disappears in floatcombination

2020-12-25 Thread Christoph Reller
Hi, Consider the following MWE: \definefloat[combination][figure] \setupcaptions[ number=no, %<- comment and table appears align=flushright] \starttext \startplacecombination[title=Combination] \startfloatcombination \startplacetable%[title=Table] %<- uncomment and table a

Re: [NTG-context] Alternative for selector in LMTX for different heading and reference texts for descriptions

2020-12-25 Thread Christoph Reller
; >>> \definedescription[desc] >>> \starttext >>> \startdesc[title={Long title},reference=foo,referencetext={Short >>> Title}] >>> \input jojomayer >>> \stopdesc >>> \about[foo] >>> \stoptext >>> >>&g

Re: [NTG-context] Bib support broken in lmtx

2020-12-25 Thread denis.maier
language = {en}, number = {8}, pages = {1241--1243}, title = {{Destiny: Diffusion maps for large-scale single-cell data in R}}, url = {http://bioinformatics.oxfordjournals.org/lookup/doi/10.1093/bioinformatics/btv715 files/103/Angerer et al. - 2016 - destiny diffusion maps for large-scale single-c

[NTG-context] Bib support broken in lmtx

2020-12-25 Thread Philipp A.
= {8}, pages = {1241--1243}, title = {{Destiny: Diffusion maps for large-scale single-cell data in R}}, url = { http://bioinformatics.oxfordjournals.org/lookup/doi/10.1093/bioinformatics/btv715 files/103/Angerer et al. - 2016 - destiny diffusion maps for large-scale single-cel.pdf}, volume = {32},

Re: [NTG-context] efficiently scaling fonts

2020-12-24 Thread Pablo Rodriguez
][style=\bfe] \dostepwiserecurse {10} {2020} {10} { \title{Here we go #1!} \start \glyphxscale#1\relax \glyphyscale#1\relax \setupinterlinespace \samplefile{ward}% \start \bf \samplefile{ward}% \glyphxscale\numexpr(#

[NTG-context] efficiently scaling fonts

2020-12-24 Thread Hans Hagen
\definescaledfont[bfe][xscale=2000,yscale=6000,style=bf] \setuphead[chapter][style=\bfe] \dostepwiserecurse {10} {2020} {10} { \title{Here we go #1!} \start \glyphxscale#1\relax \glyphyscale#1\relax \setupinterlinespace \samplefile{ward}% \start \bf \samplefile

[NTG-context] issue with \cite in ConTeXt ver: 2020.12.22 22:14 LMTX fmt: 2020.12.22

2020-12-22 Thread Alan Bowen
\cite no longer works as expected MWE: \startsetups[tightspace] \spaceskip 0.5\interwordspace plus.5\interwordstretch minus \interwordshrink \stopsetups \def\dostartbibitem[#1][#2]% {\doifsomethingelse{#2}% {\startBibItem[reference={#1},title={#2}]}% {\startBibItem[reference={#1},title={#1

<    6   7   8   9   10   11   12   13   14   15   >