Re: [NTG-context] How to place text before a table inside a column environment

2021-07-22 Thread Henning Hraban Ramm
> > appears on the first table page; whereas two columns resume on subsequent > > pages. I have attached a mwe where you can use --mode=title to invoke the > > broken columns. > > > > Any advice on h

Re: [NTG-context] How to place text before a table inside a column environment

2021-07-22 Thread Michael Guravage
gt; works as advertised. However, if I place any text before the column > environment, the columns break. More clearly stated, only one column > appears on the first table page; whereas two columns resume on subsequent > pages. I have attached a mwe where you can use --mode=title to invok

Re: [NTG-context] How to place text before a table inside a column environment

2021-07-22 Thread Henning Hraban Ramm
nment; which > works as advertised. However, if I place any text before the column > environment, the columns break. More clearly stated, only one column appears > on the first table page; whereas two columns resume on subsequent pages. I > have attached a mwe where you can us

[NTG-context] How to place text before a table inside a column environment

2021-07-22 Thread Michael Guravage
attached a mwe where you can use --mode=title to invoke the broken columns. Any advice on how to place text above the columns environment would be gratefully received. With kind regards, Michael \startsetups[tablesettings] \setupTABLE[c][1][style=\tfc, color=darkred, align=left] \setupTABLE[c

[NTG-context] Getting the local float reference within a float and reuse (?) it later (\somelocalfloat?)

2021-07-22 Thread Benjamin Buchmuller
pic]{Topic} \startplacefigure [ title={Awesome figure. Image credits in \about[sec:credits].}, reference=fig:awesome, ] \begincredits \in{Figure}[fig:awesome] in \in{Section}[sec:topic] was not created by me. \endcredits \stopplacefigure \section[sec:credits]{Appendix} \usebloc

Re: [NTG-context] languages

2021-07-18 Thread Wolfgang Schuster
Hans van der Meer schrieb am 18.07.2021 um 16:39: Here is something I think that should be added to the documentation. /In the ConTeXt garden (page Command/mainlanguage) the description is:/ mainlanguage Set the language of auto-generated language elements, like the title of the table

Re: [NTG-context] (no subject)

2021-07-18 Thread Wolfgang Schuster
T. Kurt Bond schrieb am 17.07.2021 um 08:38: I have the following file: \setupfloat[table][default=nonumber] \starttext \section[title={Tables without force}] Here is a table without a caption, unforced. \startplacetable[location=none]   \bTABLE   \bTR\bTD r1c1

Re: [NTG-context] (no subject)

2021-07-18 Thread Pablo Rodriguez
On 7/17/21 8:38 AM, T. Kurt Bond wrote: > I have the following file: > > \setupfloat[table][default=nonumber] > > \starttext > \startplacetable[title={Table With A Caption},location=force] > \bTABLE > \bTR\bTD r2c1 \eTD\bTD r2c2\eTD\eTR > \e

[NTG-context] languages

2021-07-18 Thread Hans van der Meer
Here is something I think that should be added to the documentation. In the ConTeXt garden (page Command/mainlanguage) the description is: mainlanguage Set the language of auto-generated language elements, like the title of the table of contents or the appendix. On the Command/language page

Re: [NTG-context] Moving the old book-structure to a recent ConTeXt

2021-07-18 Thread Wolfgang Schuster
but it's also possible to load it before them. There are reasons for both positions and when you choose one you should keep it for all files. 4. \startdocument In my product file I added a document-environment, while it isn't necessary in this case it provides a nice hook to insert a title page

Re: [NTG-context] Header for a book

2021-07-13 Thread Wolfgang Schuster
. the title of the chapter should not appear in the body of the text. Thanks for your help. Fabrice [...] You can use the following example as a start. \definefont [ChapterNumberStyle] [Sans*default,uppercasing sa 1.5] \definefont [ChapterTextStyle] [SansBold*default sa 2.2

[NTG-context] Problem with chapter numbering

2021-07-13 Thread Fabrice Couvreur
] \starttext \startchapter [title={La récurrence}] \startsection[title={Le principe de récurrence}] \input knuth \stopsection \startsection[title={Le raisonement par récurrence}] \input knuth \stopsection \startsection[title={Récurrences fortes}] \input knuth \stopsection

Re: [NTG-context] Header for a book

2021-07-13 Thread Fabrice Couvreur
\def\processheadnumber#1% {\getmarking[chapternumber]} \setuphead [chapter] [style=\bfd, align={flushleft,broad}, numbercommand=\processheadnumber, command=\HeadTitle] \starttext \startchapter [title={La récurrence}] \startsection[title={Le principe de récurrence

[NTG-context] Header for a book

2021-07-12 Thread Fabrice Couvreur
Hi, For my book, the header for each chapter should be like the attached image. I don't know if I am using the best method, but the result looks like what I want. Nevertheless, I am having some problems : 1. the header appears on each page ; 2. the title of the chapter should not appear

Re: [NTG-context] Missing symb-imp-was.mkiv ?

2021-07-10 Thread Hans Hagen
selt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - %D \module %D [ file=symb-was, %Dversion=2005.10.15, %D title=\CONTEXT\ Symbol Libraries, %D subtitle=Roland Waldi'

Re: [NTG-context] Ampersand in \unprotect fails in LMTX

2021-07-09 Thread Wolfgang Schuster
lmtx (better) Apparently not only author. Also title, subtitle, … \starttext \unprotect \setupinteraction [\c!author=\detokenize{Foo & Bar}] \protect That works as well. but why unprotect and not just \setupinteraction [author={Foo & Bar}] That's just an MWE to demonstrate

Re: [NTG-context] Ampersand in \unprotect fails in LMTX

2021-07-09 Thread Marco Patzer
not only author. Also title, subtitle, … > \starttext > > \unprotect >\setupinteraction > [\c!author=\detokenize{Foo & Bar}] > \protect That works as well. > but why unprotect and not just > > \setupinteraction >[author={Foo & Bar}] That's jus

Re: [NTG-context] TikZ in buffers: My struggle with \definestartstop

2021-07-08 Thread Gavin
]% Lots of setup can go here! \startTEXpage \starttikzpicture \stopbuffer \startbuffer[stoptikz] \stoptikzpicture \stopTEXpage \stopbuffer \define[2]\marginTikZ{ \startplacefigure[location=margin, reference=fig:#1, title={#2}] \typesetbuffer[starttikz,#1,stoptikz

Re: [NTG-context] TikZ in buffers: My struggle with \definestartstop

2021-07-08 Thread Hans Hagen
ffer[BlueCircle] \draw [thick,blue] (0,0) circle (1.5cm)node{Ti{\it k}Z!}; \stopbuffer \startplacefigure[location=margin,reference=fig:BlueCircle,title={Example A.}] \typesetbuffer[starttikz,BlueCircle,stoptikz] \stopplacefigure \startplacefigure[location=margin,reference=fig:BlueCircle,t

Re: [NTG-context] Footer

2021-07-06 Thread Fabrice Couvreur
hapter" ; > > on the odd pages at the bottom and on the right : the title of the > > chapter, a line vertical and page number. > > Thanks for your help. > > Fabrice > > > > \setupfootertexts > > [{\getmarking[chapter]}] > > [{\pagenumber}]

Re: [NTG-context] Footer

2021-07-05 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 05.07.2021 um 19:49: Hi, I have to write a book : on the even pages at the bottom and on the left : the page number, a vertical line and the number of the chapter preceded by the text "Chapter" ; on the odd pages at the bottom and on the right :

[NTG-context] Footer

2021-07-05 Thread Fabrice Couvreur
Hi, I have to write a book : on the even pages at the bottom and on the left : the page number, a vertical line and the number of the chapter preceded by the text "Chapter" ; on the odd pages at the bottom and on the right : the title of the chapter, a line vertical and page numb

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

2021-07-02 Thread denis.maier
  \expanded{\dodoStartEndnote[#1][{\rawcountervalue[userpage]}]} > \stoptexdefinition > > \starttexdefinition dodoStartEndnote [#1][#2] >   \startendnote[#1] >     \marking[notePage]{#2}\removeunwantedspaces > \stoptexdefinition > > \starttexdefinition endnoteChapter >  

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

2021-06-30 Thread Rik Kabel
[userpage]}]} \stoptexdefinition \starttexdefinition dodoStartEndnote [#1][#2]   \startendnote[#1]     \marking[notePage]{#2}\removeunwantedspaces \stoptexdefinition \starttexdefinition endnoteChapter   \startchapter    [title=Notes] \setupheadertexts[{\it\getmarking[part]}][\setups{noteHeadingsText

Re: [NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread Ágoston Volcz
example.tex ``` \startbuffer[example] @book{book, author = {First Last}, title = {Title}, subtitle = {Subtitle}, publisher = {Publisher}, address = {City}, year = {2021} } \stopbuffer \usebtxdataset[example.buffer] \usebtxdefinitions[deu] \starttext \cite[entry][book] \cite[authortitle][book

Re: [NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread Alan Braslau
btx:deu:list:book {\sc \btxflush{author}}\btxcolon \btxflush{title} \btxdoif{subtitle}{\btxperiod\btxflush{subtitle}}\btxperiod \btxflush{address}\btxcolon \btxflush{publisher} \btxflush{year} \btxdoif{series}{ (\btxflush{series} \btxflush{volume})}\btxperiod \stopsetups ``` In the setup and definition

[NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread Ágoston Volcz
rtitle] \startsetups btx:deu:list:book {\sc \btxflush{author}}\btxcolon \btxflush{title} \btxdoif{subtitle}{\btxperiod\btxflush{subtitle}}\btxperiod \btxflush{address}\btxcolon \btxflush{publisher} \btxflush{year} \btxdoif{series}{ (\btxflush{series} \btxflush{volume})}\btxperiod \stopsetups ``` In the

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

2021-06-30 Thread denis.maier
ndet:* Donnerstag, 24. Juni 2021 13:05 > > *An:* ntg-context@ntg.nl > > *Betreff:* [NTG-context] Heading for endnotes / grouped by chapter > endnotes > > > > Hi, > > > > I have two questions regarding endnotes: > > > > 1. Is there a way to add

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

2021-06-29 Thread Hans Hagen
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 the wiki and the mailing list, and I’ve found two relevant questions, but no answers. https://www.mail-archive.com/ntg-context

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

2021-06-29 Thread denis.maier
by chapter endnotes 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

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

2021-06-28 Thread denis.maier
\starttext \blank[force,3*line,depth] \myframed{Lorem ipsum dolor sit amet consectetur adipisicing elit Lorem ipsum dolor sit amet consectetur adipisicing elit} asdfasdf \page \blank[force,3*line,depth] \startsection [title=Lorem ipsum dolor sit amet consectetur adipisicing elit Lorem

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

2021-06-27 Thread denis.maier
> \starttext > > \blank[force,3*line,depth] > > %\begingroup% < removed > %\BigFont % < removed > \myframed{Lorem ipsum dolor sit amet consectetur adipisicing elit Lorem > ipsum dolo

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

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