Re: [NTG-context] Soft-hyphen in Antykwa.

2021-06-26 Thread Rik Kabel
=start] \setupbodyfont [libertinus,12pt] \starttext \startchapter[title=Testing Antykwa Torunska Condensed breaks] \input klein \startsection [title=Abracadabra] \input knuth \stopsection \stopchapter \stoptext

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-26 Thread Garulfo
lit Lorem ipsum dolor sit amet consectetur adipisicing elit} %\endgroup % < removed asdfasdf \page \blank[force,3*line,depth] \startsection [title=Lorem ipsum dolor sit amet consectetur adipisicing elit Lorem ipsum dolor sit amet consectetur adipisic

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-26 Thread Garulfo
force,3*line,depth] \startsection [title=Lorem ipsum dolor sit amet consectetur adipisicing elit Lorem ipsum dolor sit amet consectetur adipisicing elit] asdf \stopsection \stoptext Le 25/06/2021 à 12:30, denis.ma...@unibe.ch a écrit : Hi, I have some text in a larger font where the

Re: [NTG-context] ntg-context Digest, Vol 204, Issue 76

2021-06-26 Thread Kirkham, Robin (Mineral Resources, Clayton)
width=\textwidth, >frame=off, >rulethickness=0pt, >offset=0pt, >loffset=-0pt, >before=, >location=top, >align=flushleft,]] > > \starttext >

Re: [NTG-context] injectors not working in LMTX?

2021-06-25 Thread Hans Hagen
[register][3][\column] \setinjector[list][2][{\blank[3*big]}] \starttext \placelist[section][criterium=text] \blank[3*big] \placeregister[index][criterium=text] \page \startsection[title=Alpha] first \index{first} \startsection[title

[NTG-context] First line of larger font paragraph on grid

2021-06-25 Thread denis.maier
,depth] \startsection [title=Lorem ipsum dolor sit amet consectetur adipisicing elit Lorem ipsum dolor sit amet consectetur adipisicing elit] asdf \stopsection \stoptext

Re: [NTG-context] injectors not working in LMTX?

2021-06-24 Thread Rik Kabel
][{\blank[3*big]}] \starttext \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

[NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-24 Thread denis.maier
Hi, I have two questions regarding endnotes: 1. Is there a way to add a heading automatically to the endnotes placed with \placenotes[endnote]? 2. I reset the endnote number at each part. Is there a way to insert the title of the corresponding part heading to the endnotes? I have searched

Re: [NTG-context] LMTX, BIdi, full paragraph, and spurious empty line

2021-06-23 Thread Rik Kabel
ucture of Scientific     Revolutions}. Chicago, IL: University of Chicago Press.     Weinreich, Max. 1945. “Der YIVO un di problemen fun undzer     tsayt (דער ייִוואָ און די פּראָבלעמען פֿון אונדזער צײַט).”     {\em YIVO Bleter} 25 (1): 3--18. The title is translated as

Re: [NTG-context] LMTX, BIdi, full paragraph, and spurious empty line

2021-06-23 Thread Hans Hagen
    Kuhn, Thomas S. 1962. {\em The Structure of Scientific     Revolutions}. Chicago, IL: University of Chicago Press.     Weinreich, Max. 1945. “Der YIVO un di problemen fun undzer     tsayt (דער ייִוואָ און די פּראָבלעמען פֿון אונדזער צײַט).”     {\em YIVO Bleter} 25 (1): 3--18.

Re: [NTG-context] Setup output name from within ConTeXt document

2021-06-23 Thread Hans Hagen
f the file itself... Setupinteraction[title="CustomName.pdf"] will just set the internal pdf name, not the file system name. Thank you for your help! assuming that your run file is old.tex: \startluacode luatex.wrapup( function() os.remove("new.pdf")

Re: [NTG-context] Setup output name from within ConTeXt document

2021-06-22 Thread Wolfgang Schuster
he content of the file itself... You can set a different name at the first line of your document, e.g. % result="newfilename" but this is only a alternative to the result-argument on the command line. Setupinteraction[title="CustomName.pdf"] will just set the internal pdf n

[NTG-context] Setup output name from within ConTeXt document

2021-06-22 Thread Pascal Pascali
Dear ConTeXt community, Is it possible to set the file name of the output from within the document? I can do it on the command line by adding --result="CustomName.pdf", but I'd need to do it according to certain variables in the content of the file itself... Setupinterac

[NTG-context] LMTX, BIdi, full paragraph, and spurious empty line

2021-06-21 Thread Rik Kabel
evolutions}. Chicago, IL: University of Chicago Press.     Weinreich, Max. 1945. “Der YIVO un di problemen fun undzer     tsayt (דער ייִוואָ און די פּראָבלעמען פֿון אונדזער צײַט).”     {\em YIVO Bleter} 25 (1): 3--18. The title is translated as     {\em The YIVO and the problems of our time}

Re: [NTG-context] dictionary example

2021-06-13 Thread jbf
*big], if there is a way I can change that default behaviour just for that particular head, then I can solve my problem. Is there such a possibility? \definehead[mysubject][subject] and then set up mysubject differently \startmysubject[title={}]  etc Hans

Re: [NTG-context] dictionary example

2021-06-13 Thread Hans Hagen
? \definehead[mysubject][subject] and then set up mysubject differently \startmysubject[title={}] etc Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt

Re: [NTG-context] dictionary example

2021-06-12 Thread jbf
you omit the title. Omitting the title for a heading doesn't mean no space is inserted, to change this you can use the 'placehead=hidden' setting but I guess your goal is to add a mark entry for each description. Wolfgang

Re: [NTG-context] dictionary example

2021-06-12 Thread jbf
on from the other. I'm obviously not doing things right! If someone has already set up a dictionary and has a model they could share I'd be grateful. I'm attaching a screenshot of the result from the code below. The gaps between the entries are the subsubject titles where you omit the title

Re: [NTG-context] dictionary example

2021-06-12 Thread Wolfgang Schuster
the title. Omitting the title for a heading doesn't mean no space is inserted, to change this you can use the 'placehead=hidden' setting but I guess your goal is to add a mark entry for each description. Wolfgang

[NTG-context] dictionary example

2021-06-12 Thread jbf
] \starttext \startsubject[title={A}] \startsubsubject[marking={Term 1}] \startcolumns \startdes{term 1}1. bla. 2. bla bla 3. bla bla bla. {\em adjective}. \textbullet\hskip 2pt \input weisman \rightarrow {\bf something else}. \stopdes \stopsubsubject \startsubsubject[marking={Term 2}] \startdes

Re: [NTG-context] setup parameter problem

2021-06-07 Thread Hans Hagen
On 6/7/2021 6:17 PM, Hans van der Meer wrote: The code below seems ok in \startsection[title=] but not when I program the parameter collection with \def\setupparameters{\getparameters[prefix]} In that case even [title={enclosed value}] crashes with error message: Use of \doMacro doesn't match

[NTG-context] setup parameter problem

2021-06-07 Thread Hans van der Meer
The code below seems ok in \startsection[title=] but not when I program the parameter collection with \def\setupparameters{\getparameters[prefix]} In that case even [title={enclosed value}] crashes with error message: Use of \doMacro doesn't match its definition. Obviously I am missing something

Re: [NTG-context] where to break a long header

2021-06-06 Thread Steffen Wolfrum
@ub.unibe.ch schrieb am 05.06.2021 um 08:16: >> \startsection[title={A very \\ long title},list={A very long title}] > > Be careful with spaces before and after \\. In the table of contents \\ is > converted to a space and in the worst case you get three spaces instead of > one. >

Re: [NTG-context] where to break a long header

2021-06-05 Thread Wolfgang Schuster
denis.ma...@ub.unibe.ch schrieb am 05.06.2021 um 08:16: \startsection[title={A very \\ long title},list={A very long title}] Be careful with spaces before and after \\. In the table of contents \\ is converted to a space and in the worst case you get three spaces instead of one. \starttext

Re: [NTG-context] where to break a long header

2021-06-05 Thread Sandra Snan
Thank you so much! That was awesome! That was the missing puzzle piece: the book is now perfect! writes: > \startsection[title={A very \\ long title},list={A very long title}] > > Von: ntg-context im Auftrag von Sandra Snan > > Gesen

Re: [NTG-context] where to break a long header

2021-06-05 Thread denis.maier
\startsection[title={A very \\ long title},list={A very long title}] Von: ntg-context im Auftrag von Sandra Snan Gesendet: Samstag, 5. Juni 2021 07:59:33 An: ntg-context@ntg.nl Betreff: [NTG-context] where to break a long header I had an unsually long

Re: [NTG-context] Converting footnotes to endnotes

2021-06-03 Thread Idris Samawi Hamid ادريس سماوي حامد
On Thu, 03 Jun 2021 14:17:15 -0600, Wolfgang Schuster wrote: \setupnote [footnote] [location=none] That did the trick; many thanks! == \setupnote [footnote] [location=none] \starttext \startsection[title={},reference={}] \input ward \startfootnote \input ward

[NTG-context] Converting footnotes to endnotes

2021-06-03 Thread Idris Samawi Hamid ادريس سماوي حامد
=bychapter] \starttext \startsection[title={},reference={}] \input ward \startfootnote \input ward \stopfootnote{} \input ward \startfootnote \input ward \stopfootnote{} \stopsection \startsection[title={},reference={}] \input ward \startfootnote \input ward \stopfootnote{} \input ward

Re: [NTG-context] chapter number sought

2021-05-30 Thread Hans van der Meer
estions/134474/context-part-chapter-section-and-subsection-names> > ? > > \starttext > \startchapter[title={First chapter}] > \structurenumber\ - \structuretitle > \stopchapter > \stoptext > > Although getmarking is probably what you're really after: > \getmark

Re: [NTG-context] chapter number sought

2021-05-30 Thread Adam Reviczky
Hi Hans, Does this help: https://tex.stackexchange.com/questions/134474/context-part-chapter-section-and-subsection-names ? \starttext \startchapter[title={First chapter}] \structurenumber\ - \structuretitle \stopchapter \stoptext Although getmarking is probably what you're really after

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-28 Thread Rik Kabel
ference lists or bibliographies I can imagine circumstances where it might be desirable to suppress one or more of the publisher, the date, the author, and the title. Consider a reference list of works by one author -- there is no need to state the author name in each entry. Similarly a list of

Re: [NTG-context] no leavevmode

2021-05-28 Thread Hans Hagen
that \leavevmode? \startsubsection[title=TEST] \hbox{abc} def\crlf ghi jkl xyz \stopsubsection first of all, context never uses (and used) \leavevmode and that is for a good reason anyway, adding any mode change command automatically will somehow interfere, \starttext \def\MyTitle#1{\blank{\bf#1

[NTG-context] no leavevmode

2021-05-27 Thread Hans van der Meer
an implicite switch to horizontal mode. I can imagine that this behaviour could be confusing for users not well versed in the different behaviour of the horizontal and vertical modes. Therefore my question: Wouldn't it be wise to implement that \leavevmode? \startsubsection[title=TEST] \hbox{abc} def

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-27 Thread Nicola
r rather, it is a side-effect of the intended >> >> behavior. >> >> >> >> If you add an editor ("editor={Baz, Bar}") you will get something >> >> like: >> >> >> >> Foo, B. (1983). Title of the paper. In B. Baz (Ed.),

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-25 Thread Alan Braslau
t;> > >> If you add an editor ("editor={Baz, Bar}") you will get something > >> like: > >> > >> Foo, B. (1983). Title of the paper. In B. Baz (Ed.), > >> /Booktitle/. Author. > >> > >> And if you then ad

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-24 Thread Rik Kabel
On 5/24/2021 22:12, Alan Braslau wrote: On Mon, 24 May 2021 17:53:49 -0400 Rik Kabel wrote: This is intended. Or rather, it is a side-effect of the intended behavior. If you add an editor ("editor={Baz, Bar}") you will get something like: Foo, B. (1983). Title of the paper.

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-24 Thread Alan Braslau
On Mon, 24 May 2021 17:53:49 -0400 Rik Kabel wrote: > This is intended. Or rather, it is a side-effect of the intended > behavior. > > If you add an editor ("editor={Baz, Bar}") you will get something > like: > > Foo, B. (1983). Title of the pap

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-24 Thread Rik Kabel
On 5/24/2021 16:28, Nicola wrote: I don't know if this is restricted to inproceedings entries, but consider the following test.bib: @inproceedings{Foo:1983, author = {Foo, Bar}, booktitle = {Booktitle}, pages = {34--39}, title = {Title of the paper

[NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-24 Thread Nicola
I don't know if this is restricted to inproceedings entries, but consider the following test.bib: @inproceedings{Foo:1983, author = {Foo, Bar}, booktitle = {Booktitle}, pages = {34--39}, title = {Title of the paper}, year = {1983} } When this is typeset

Re: [NTG-context] Hand Style Sketching in Metapost

2021-05-20 Thread Aditya Mahajan
. Aditya hatch.pdf Description: Adobe PDF document hatch.tex Description: TeX document %D \module %D [ file=mp-sketch.mp %Dversion=2021.05.13 %D title=\CONTEXT\ \METAPOST\ graphics, %D subtitle=Sketch drawing, %D author=Aditya Mahajan, %D date=\curren

Re: [NTG-context] Chapternumber and chaptertitle in footer

2021-05-16 Thread Wolfgang Schuster
this with the chapternumber \setupfootertexts   [chapternumber]   [\pagenumber] \starttext \input{tufte} \stoptext Use \getmarking to access the title and number for the chapter. \setupfootertexts [{\getmarking[chapternumber]\ -- \getmarking[chapter]}] [pagenumber] \starttext \chapter{Tufte} \input

Re: [NTG-context] Fuzzy lines

2021-05-13 Thread Aditya Mahajan
mize each segment. Aditya%D \module %D [ file=mp-sketch.mp %Dversion=2021.05.13 %D title=\CONTEXT\ \METAPOST\ graphics, %D subtitle=Sketch drawing, %D author=Aditya Mahajan, %D date=\currentdate, %D copyright={Aditya Mahajan}] %D This metapost

Re: [NTG-context] Fuzzy lines

2021-05-13 Thread Aditya Mahajan
istake. It may be interesting to rewrite these macros using the new key-value interface for metapost, so that something like this works: \sketchdraw[amount=3bp, passes=5, transparency=yes] fullsquare scaled 1cm withcolor red; test.pdf Description: Adobe PDF document test.tex Descriptio

Re: [NTG-context] simpleslides gives 'input stack overflow'

2021-05-09 Thread Adam Reviczky
efault' > metapost> loading 'metafun' as > '/usr/share/texmf/metapost/context/base/mpiv/metafun.mpiv' using method > 'default' > metapost> initializing number mode 'scaled' > input stack overflow > mtx-context | fatal error: return code: 256 > > MWE from

[NTG-context] simpleslides gives 'input stack overflow'

2021-05-09 Thread Adam Reviczky
emodule[simpleslides][style=Boxed] \setupTitle[title={Title of the presentation},author={Name of authors},date={Date of presentation}] \starttext \placeTitle \SlideTitle{The first slide} Write whatever you want. \SlideTitle{The second slide} Continue writing. \stoptext Does that mean the simpleslides module ha

Re: [NTG-context] very long hanging caption

2021-05-07 Thread Hans Hagen
]}} \placefloatcaption[figure][title={\input ward \input ward }] \stophanging \stoptext Thanks, Jano On Sun, May 2, 2021 at 6:10 PM Jano Kula <mailto:jano.k...@gmail.com>> wrote: Dear list, having images with very long captions I'd like captions to be wrapped around the figures

Re: [NTG-context] very long hanging caption

2021-05-07 Thread Jano Kula
ghthanging] > > \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
={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, Jano

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
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 \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
> > /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 spa

[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 rega

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 co

Re: [NTG-context] Markdown module in LMTX

2021-03-28 Thread Christoph Reller
nymore. > > > > 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
n 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}] > \startplacefigure[titl

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[subt

[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
\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} \startplaceformula

[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] \stopplacefigure >

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
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 also pushes the page number line

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread Wolfgang Schuster
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't want. I

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread Bruce Horrocks
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

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread jbf
]\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 \doifnot

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    author

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 wi

[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 requir

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 \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}']} % \stopsubsubject \stopxmlsetups \s

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
[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. > > m

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

2021-02-28 Thread a badin
: 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.xml,css

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

2021-02-24 Thread Christoph Hintermüller
se..."]:33> (...tail calls...) 58 \definemathcommand[ld][nolop]{\mfunction{ld}} 59 \setupcaption[lefthangingfigure][width=\textwidth,align=figure] 60 \setupheadtext[content=Inhalt] 61 %\traceexternalfilters 62 \enabletrackers[export.*] 63 64 \starttext 65

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 reference

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 à

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