[NTG-context] numbered exercises

2021-08-24 Thread Henning Hraban Ramm via ntg-context
, % ?? ] \starttext \startExercise[title={Something to do},reference=ex:something] This can have several paragraphs and maybe images etc. \stopExercise \stoptext Hraban ___ If your question is of interest to ot

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-08-22 Thread Joey McCollum via ntg-context
xamples.ref.txt > . > > Like you say, some parts are tricky. SBL uses "entry"-style citations by > default and doesn't seem to make use of other common alternatives (such as > "authoryear"). I can think of some existing alternatives that might get > used in s

[NTG-context] Adjustment for header and footer

2021-08-22 Thread Fabrice Couvreur via ntg-context
]}}] \startsetups [headertext] \setupheadertexts [{ \startframed [headerframed] [foregroundstyle=TextStyle,align=middle] \getvariable{headertext}{location}\\ Spécialité mathématiques\\ \getvariable{headertext}{title} n\high{\tfxx

Re: [NTG-context] Using Lua to format lecture titles

2021-08-17 Thread Wolfgang Schuster via ntg-context
noib3 via ntg-context schrieb am 17.08.2021 um 16:43: I'm trying to create a new lecture environment starting from the base section. I'd like its title to be `Lecture : ` if a title is provided, and `Lecture ` if it isn't. This title should also be reported in the left fo

[NTG-context] Using Lua to format lecture titles

2021-08-17 Thread noib3 via ntg-context
I'm trying to create a new lecture environment starting from the base section. I'd like its title to be `Lecture : ` if a title is provided, and `Lecture ` if it isn't. This title should also be reported in the left footer and in the table of contents. This is the cod

Re: [NTG-context] Strange behavior of a macro

2021-08-16 Thread Hans Hagen via ntg-context
def\N{\math{\mathbb{N}}\autoinsertnextspace} \defineenumeration    [test]    [title=yes,     text={Test},     style=italic] \starttext \N \starttest \m{\forall n \in \N} \stoptest \stoptext tex error       > tex error on line 64 in file ./terminale_suites_2.tex: Use of \N doesn

[NTG-context] Strange behavior of a macro

2021-08-16 Thread Fabrice Couvreur via ntg-context
[test] [title=yes, text={Test}, style=italic] \starttext \N \starttest \m{\forall n \in \N} \stoptest \stoptext tex error > tex error on line 64 in file ./terminale_suites_2.tex: Use of \N doesn't match its definition Soient \u, \v deux suites dé

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-16 Thread Fabrice Couvreur via ntg-context
pter, do > > you have the fancy layout or not? > > > > It would make sense that the fancy chapter doesn’t appear only compiling > > a chapter. I guess there is no \startbodymatter...\stopbodymatter > > wrapping it. > > > > Another approach would be: > >

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Wolfgang Schuster via ntg-context
. Another approach would be: [...] Setting values for \title is a way to avoid the chapter setup for the table of contents etc. but there is a way to set values which are used only when you process a component file. To make it work one has to load the environment file after \startcomponent

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Fabrice Couvreur via ntg-context
textcommand=\groupedcommand{\blank[medium]}{}, > numbercolor=darkgray, > textstyle=ChapterTextStyle, > numberstyle=ChapterNumberStyle, > before=\startChapterFrame, > after=\stopChapterFrame, > header=high] > > \setuphead > [title] > [header=empty,

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Pablo Rodriguez via ntg-context
[align=flushright, textcommand=\groupedcommand{\blank[medium]}{}, numbercolor=darkgray, textstyle=ChapterTextStyle, numberstyle=ChapterNumberStyle, before=\startChapterFrame, after=\stopChapterFrame, header=high] \setuphead [title] [header=empty, align=, textc

[NTG-context] space before section titles sometimes disappears in grid mode

2021-08-12 Thread Henning Hraban Ramm via ntg-context
E.g. in CG journal, there are usually 3 blank lines before a section title. Most of it is single column and without grid, no problem there. But some articles use columnsets and are therefore in grid mode. Sometimes the space before the section title disappears completely, so that it is glued to

Re: [NTG-context] JavaScript in multimedia PDF

2021-08-11 Thread Michal Vlasák via ntg-context
= pdfconstant("Screen"), P = pdfreference(pdfpagereference(page)), A = a, -- needed in order to make the annotation clickable (i.e. don't bark) +T = pdfunicode(label), -- title (for JS) Border = bs,

Re: [NTG-context] Harvard bibliography style

2021-08-10 Thread Thomas A. Schmitz via ntg-context
ace}] So instead of inbetween=\btxcomma, you could try inbetween=\btxspace > 2. Articles in bibliography > > I need te remove de parenthesis in year and add single quotes in the > article title. > > The standard are: > Surname of the author(s) of the article, Initials

Re: [NTG-context] Harvard bibliography style

2021-08-10 Thread Jorge Manuel via ntg-context
I need to remove the comma between de name and year. For example, the APA standard produces (Alan, 2021) I want (Alan 2021). 2. Articles in bibliography      I need te remove de parenthesis in year and add single quotes in the article title. The standard are: Surname of the author(s

[NTG-context] Both pdfinfo & exiftool have trouble with 1.0.4 but works with 1.0.3

2021-08-09 Thread Ramkumar KB via ntg-context
-context | current version: 2020.09.20 23:02 *pdfinfo (from Poppler)* ~/TeX$ pdfinfo Hello-world_1.0.4.pdf Syntax Error: Missing 'endstream' or incorrect stream length Syntax Error: Missing 'endstream' or incorrect stream length Title: Hello world! Subje

[NTG-context] footnote interaction in titles

2021-08-09 Thread Adam Reviczky via ntg-context
Hi, I probably shouldn't use footnotes within titles, but I am misusing the title elements for a quick interview style document (I use them in the ToC). One thing I have noticed is that interaction style (color and styles) are not applied in the footnote and footnote numbering. Is that a

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-08-09 Thread Joey McCollum via ntg-context
uch as "authoryear"). I can think of some existing alternatives that might get used in specific cases (e.g., "author", "title"), but the recommended shorthand has the form "shortauthor, shorttitle" (i.e., the last name(s) of the author(s) only, followed by a com

[NTG-context] Short forms and abbreviations in bibliography

2021-08-07 Thread Joey McCollum via ntg-context
BibTeX-style bibliographic entry @book{Blau2010, author = {Joshua Blau}, title = {Phonology and Morphology of Biblical Hebrew}, shorttitle = {Phonology}, series = {Linguistic Studies in Ancient West Semitic}, shortseries = {LSAWS}, volume = {2}, location = {Winona

Re: [NTG-context] Setting a heading text on its own page with \setuphead

2021-08-07 Thread Joey McCollum via ntg-context
il.com> wrote: > Joey McCollum via ntg-context schrieb am 06.08.2021 um 19:12: > > Hi, > > > > I'd like to define my own class of heading derived from the "part" > > heading; in the MWE below, it's called "MyPart". I'd like this heading > &g

[NTG-context] Rotating pages

2021-08-07 Thread Jeroen via ntg-context
[ A4,landscape] \setuppagenumbering[ location={footer,center}] \setbreakpoints[compound] \starttext \startsection[title={MyTitle},ref={apx}] \dorecurse{10}{\input zapf\par} \stopsection \stoptext \stopbuffer \savebuffer[list=apx, file=apx.tex] \starttext \startbodymatter

Re: [NTG-context] Setting a heading text on its own page with \setuphead

2021-08-07 Thread Wolfgang Schuster via ntg-context
Joey McCollum via ntg-context schrieb am 06.08.2021 um 19:12: Hi, I'd like to define my own class of heading derived from the "part" heading; in the MWE below, it's called "MyPart". I'd like this heading to have the following features: * Its title shoul

Re: [NTG-context] Setting a heading text on its own page with \setuphead

2021-08-06 Thread Joey McCollum via ntg-context
t;part" > > heading; in the MWE below, it's called "MyPart". > > Hi Joey, > > these are options for \setuphead[part] (MyPart in your case): > > > I'd like this heading to have the following features: > > > > * Its title should appear in

Re: [NTG-context] Setting a heading text on its own page with \setuphead

2021-08-06 Thread Pablo Rodriguez via ntg-context
ase): > I'd like this heading to have the following features: > > * Its title should appear in the ToC, but its number should never be > printed in the ToC or in the text. number=no. > * It should always start on an odd page. This is the default for \setuphead[part] (onl

[NTG-context] Setting a heading text on its own page with \setuphead

2021-08-06 Thread Joey McCollum via ntg-context
Hi, I'd like to define my own class of heading derived from the "part" heading; in the MWE below, it's called "MyPart". I'd like this heading to have the following features: - Its title should appear in the ToC, but its number should never be printed

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-08-06 Thread Jeroen via ntg-context
tion] [page={yes}] \usetypescript[pagella] \setupbodyfont[pagella,18pt] \setupbodyfontenvironment[ 28pt][ % For body d=36pt, % For title a=12pt, % For author & date ] \setuptype[style=medium] \setuptyping[typing][bodyfont=16pt] \setupwhitespace[medium] \setbreakpoints[compound] \se

Re: [NTG-context] issue with footnote in TOC

2021-08-05 Thread Pablo Rodriguez via ntg-context
On 8/5/21 11:58 PM, Hans Hagen via ntg-context wrote: > On 8/5/2021 4:34 PM, Pablo Rodriguez via ntg-context wrote: >> \starttext >>\completecontent >>\chapter{Chapter Title\footnote{With footnote}} >>\stoptext > > fixed in next beta (different escapi

Re: [NTG-context] issue with footnote in TOC

2021-08-05 Thread Hans Hagen via ntg-context
On 8/5/2021 4:34 PM, Pablo Rodriguez via ntg-context wrote: \starttext \completecontent \chapter{Chapter Title\footnote{With footnote}} \stoptext fixed in next beta (different escaping

[NTG-context] issue with footnote in TOC

2021-08-05 Thread Pablo Rodriguez via ntg-context
Dear list, compiling the following sample with current latest (2021.08.04 17:51): \starttext \completecontent \chapter{Chapter Title\footnote{With footnote}} \stoptext The entry in the TOC for the chapter seems to have problems with the footnote command (backslash seems to be

[NTG-context] using a red frame as an overlay

2021-08-02 Thread Jeong Dal via ntg-context
with title %%% \startuseMPgraphic{redFrame} picture p ; numeric o ; path a, b ; pair c ; p := textext.rt(\MPstring{FrameText}) ; o := BodyFontSize ; a := unitsquare xyscaled (OverlayWidth,OverlayHeight) ; p := p shifted (2o,OverlayHeight-ypart center p) ; drawoptions (withpen pencircle scaled 1pt with

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-07-31 Thread Jeroen via ntg-context
, bottomspace=20mm] \setuppagenumbering[ location={footer,center}] \setuphead [section] [page={yes}] \usetypescript[pagella] \setupbodyfont[pagella,18pt] \setupbodyfontenvironment[ 28pt][ % For body d=36pt, % For title a=12pt, % For author & date ] \setuptype[style=me

Re: [NTG-context] ligature exceptions

2021-07-28 Thread Hans Hagen via ntg-context
if trace_replacements then report_replacement("enabling replacement handler") end enabled = true end end texsetattribute(a_replacements,n) end -- interface implement { name = "setreplacements", ac

Re: [NTG-context] Adobe Acrobat accessibility criteria

2021-07-28 Thread Hans Hagen via ntg-context
PDF/A <https://wiki.contextgarden.net/PDF/A>: --- \setupinteraction[title=MyTitle,state=start] \setupinteractionscreen[option={title}] \setupbackend[ format={pdf/a-1a:2005}, profile={default_cmyk.icc,default_rgb.icc,default_gray.icc}, intent=ISO coated v2 300\letterpercent\spac

Re: [NTG-context] Question about \groupedcommand{}{}

2021-07-28 Thread Fabrice Couvreur via ntg-context
with a dot both with a title > > and without title. How to do ? > > Thanks > > Fabrice > > > > [...] > > > You can create simple dummy environments to test the parameters. > > \defineenumeration >[grouptest] >[title=yes, >

Re: [NTG-context] Adobe Acrobat accessibility criteria

2021-07-27 Thread Connor P. Jackson via ntg-context
F/A>: --- \setupinteraction[title=MyTitle,state=start] \setupinteractionscreen[option={title}] \setupbackend[ format={pdf/a-1a:2005}, profile={default_cmyk.icc,default_rgb.icc,default_gray.icc}, intent=ISO coated v2 300\letterpercent\space (ECI)] %% Tagged PDF %% method=auto ==> defaul

Re: [NTG-context] Question about \groupedcommand{}{}

2021-07-27 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 27.07.2021 um 18:57: Hi, The name of the environment must always end with a dot both with a title and without title. How to do ? Thanks Fabrice [...] You can create simple dummy environments to test the parameters. \defineenumeration

[NTG-context] Question about \groupedcommand{}{}

2021-07-27 Thread Fabrice Couvreur via ntg-context
Hi, The name of the environment must always end with a dot both with a title and without title. How to do ? Thanks Fabrice \setupenumerations [before={\blank}, after={\blank}, alternative=serried, title=yes, titleleft={(}, titleright={)}, titlestyle=normal, titlecommand

[NTG-context] Adjust the length of a frame

2021-07-27 Thread Fabrice Couvreur via ntg-context
, background=color, backgroundcolor=lightgray, foregroundcolor=, foregroundstyle=] \setupenumerations [before={\blank}, after={\blank}, alternative=top, title=yes, titleleft={}, titleright={}, titlestyle=bold, width=broad] \defineenumeration [exercice] [text=Exercice

Re: [NTG-context] Adjust the length of a frame

2021-07-27 Thread Fabrice Couvreur via ntg-context
foregroundstyle=] > > > \setupenumerations > [before={\blank}, >after={\blank}, >alternative=top, >title=yes, >titleleft={}, >titleright={}, >titlestyle=bold, >width=broad] > > \defineenumeration >[exercice]

Re: [NTG-context] Adobe Acrobat accessibility criteria

2021-07-27 Thread Hans Hagen via ntg-context
veraPDF validator, but Adobe Acrobat’s Accessibility Checker has three qualms with ConTeXt-produced documents: 1. The document is configured to display the file name rather than the title in the top of the window (DisplayDocTitle == True is what I think is required). See here <ht

[NTG-context] Adobe Acrobat accessibility criteria

2021-07-26 Thread Connor P. Jackson via ntg-context
qualms with ConTeXt-produced documents: 1. The document is configured to display the file name rather than the title in the top of the window (DisplayDocTitle == True is what I think is required). See here <https://www.w3.org/TR/WCAG20-TECHS/PDF18.html>. 2. "Tagged Annotat

[NTG-context] Texte source 30 / 5000 Résultats de traduction Adjust the length of a frame

2021-07-26 Thread Fabrice Couvreur via ntg-context
] [frame=off, width=fit, align=flushleft, location=low, background=color, backgroundcolor=lightgray, foregroundcolor=, foregroundstyle=] \setupenumerations [before={\blank}, after={\blank}, alternative=top, title=yes, titleleft={}, titleright

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

2021-07-22 Thread Michael Guravage
.07.2021 um 11:52 schrieb Michael Guravage < > gurav...@literatesolutions.com>: > > > > > > I have created a table and placed it inside a columns environment; > which works as advertised. However, if I place any text before the column > environment, the columns br

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

2021-07-22 Thread Henning Hraban Ramm
umn > > 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

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

2021-07-22 Thread Michael Guravage
ich > 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 invo

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 use --

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

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

Re: [NTG-context] Header for a book

2021-07-13 Thread Wolfgang Schuster
e ; 2. 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 s

[NTG-context] Problem with chapter numbering

2021-07-13 Thread Fabrice Couvreur
\HeadTitle] \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 \s

Re: [NTG-context] Header for a book

2021-07-13 Thread Fabrice Couvreur
anded\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écur

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

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

2021-07-10 Thread Hans Hagen
061 GH Hasselt | 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=Rol

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

2021-07-09 Thread Wolfgang Schuster
system in 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

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

2021-07-09 Thread Marco Patzer
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}]

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
artbuffer[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:BlueCir

Re: [NTG-context] Footer

2021-07-06 Thread Fabrice Couvreur
quot; ; > > 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 : the ti

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

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

2021-07-02 Thread denis.maier
gt;   \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
ive=authortitle] \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 `

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

2021-06-30 Thread Ágoston Volcz
[deu] [authorconversion=normalshort, alternative=authortitle] \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}{ (\btxfl

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 a headi

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-co

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
hleft,] \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 consectetu

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

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

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

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

2021-06-26 Thread Garulfo
ing elit 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 adi

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)
t;width=\textwidth, >frame=off, >rulethickness=0pt, >offset=0pt, >loffset=-0pt, >before=, >location=top, >align=flushleft,]] > >

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
*line,depth] \startsection [title=Lorem ipsum dolor sit amet consectetur adipisicing elit Lorem ipsum dolor sit amet consectetur adipisicing elit] asdf \stopsection \sto

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
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. 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
ent of 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
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 name

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

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

Re: [NTG-context] dictionary example

2021-06-12 Thread jbf
ct titles where 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 fo

Re: [NTG-context] dictionary example

2021-06-12 Thread jbf
ow 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

Re: [NTG-context] dictionary example

2021-06-12 Thread Wolfgang Schuster
where 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 fo

[NTG-context] dictionary example

2021-06-12 Thread jbf
ied, width=fit] \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={Ter

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

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

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

2021-06-06 Thread Steffen Wolfrum
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.

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-04 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

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