Re: [NTG-context] Failure to compile with new date code

2021-10-25 Thread Rik Kabel via ntg-context
\setupinteraction[date=***] only accepts a date as input. > > Would it be possible that it was subtitle or title any of the options > you used? we can of course accept anything but because these dates end up in d

Re: [NTG-context] Failure to compile with new date code

2021-10-25 Thread Hans Hagen via ntg-context
} \setupinteraction [date={\DraftOf}] Hi Rik, \setupinteraction[date=***] only accepts a date as input. Would it be possible that it was subtitle or title any of the options you used? we can of course accept anything but because these dates end up in different spots it gets hairy ... also it

Re: [NTG-context] Move the page number from header to footer on the current page only?

2021-10-25 Thread Wolfgang Schuster via ntg-context
Joseph Yoder} \stopbuffer \startchapter[title={One}] \dorecurse{5}{\input tufte \par \input knuth} \stopchapter \startchapter[title={Two}] \dorecurse{5}{\input tufte \par \input knuth} \stopchapter \stoptext Wolfgang

Re: [NTG-context] Failure to compile with new date code

2021-10-25 Thread Pablo Rodriguez via ntg-context
e={\DraftOf}] Hi Rik, \setupinteraction[date=***] only accepts a date as input. Would it be possible that it was subtitle or title any of the options you used? Just in case it helps, Pablo -- http://www.ousia.tk ___ I

Re: [NTG-context] some ConTeXt distribution's Fonts don't work

2021-10-24 Thread Wolfgang Schuster via ntg-context
th of them to test if everything works as expected. Wolfgang %D \module %D [ file=type-imp-kurier, %Dversion=2021.10.24, %D title=\CONTEXT\ Typescript Macros, %D subtitle=Kurier, %D author=Hans Hagen, %D date=\currentdate, %D copyright={

Re: [NTG-context] A book with sections

2021-10-24 Thread Duncan Hothersall via ntg-context
gt;> > >> You can use \part. > > > > Yes. Thanks. But that leads to additional questions: > > - how do I get the parts to show up in the table of contents? Because I > tried \part but it did not show up > > - how do I let chapters number on (not restart

Re: [NTG-context] A book with sections

2021-10-23 Thread Bruce Horrocks via ntg-context
stions: > - how do I get the parts to show up in the table of contents? Because I tried > \part but it did not show up > - how do I let chapters number on (not restart in each part, and not a x.y > number but simply ‘2. Chapter’ > - what is a good way to create actual RHS ‘title

Re: [NTG-context] My setup almost works

2021-10-23 Thread Pablo Rodriguez via ntg-context
numbering command \definestructureconversionset[sectionnumbers][R,n][n] the following definition \definestructureconversionset[appendix:sectionnumbers][R,Character][n] > I haven’t looked at getting the part title somewhere at 1/3 of the page > and horizontally centered yet. And the part title page shou

Re: [NTG-context] A book with sections

2021-10-23 Thread Pablo Rodriguez via ntg-context
> I tried \part but it did not show up > - how do I let chapters number on (not restart in each part, and not > a x.y number but simply ‘2. Chapter’ > - what is a good way to create actual RHS ‘title’ pages for each > chapter? > - how do I get parts to number with Roman numer

Re: [NTG-context] A book with sections

2021-10-23 Thread Wolfgang Schuster via ntg-context
oblem, do you have a example. - how do I let chapters number on (not restart in each part, and not a x.y number but simply ‘2. Chapter’ Use \defineresetset as shown below. - what is a good way to create actual RHS ‘title’ pages for each chapter? Use a doublesided layout. - how do I get par

Re: [NTG-context] A book with sections

2021-10-23 Thread Gerben Wierda via ntg-context
pters number on (not restart in each part, and not a x.y number but simply ‘2. Chapter’ - what is a good way to create actual RHS ‘title’ pages for each chapter? - how do I get parts to number with Roman numerals? Gerben > > Wolfgang > __

Re: [NTG-context] upload

2021-10-22 Thread Hans Hagen via ntg-context
with directives. The reason is that the fact that we can set the date (and traler) is only because it permits generating pdf files that can be compared. No date as a bad idea anyway. \setupinteraction[title=My Title] % \enabledirectives[backend.date=2034-06-07] \enabledirectives[backend.date=no

Re: [NTG-context] upload

2021-10-22 Thread Michal Vlasák via ntg-context
the fact > that we can set the date (and traler) is only because it permits > generating pdf files that can be compared. No date as a bad idea anyway. > > \setupinteraction[title=My Title] > % \enabledirectives[backend.date=2034-06-07] > \enabledirectives[backend.d

Re: [NTG-context] upload

2021-10-22 Thread Hans Hagen via ntg-context
with directives. The reason is that the fact that we can set the date (and traler) is only because it permits generating pdf files that can be compared. No date as a bad idea anyway. \setupinteraction[title=My Title] % \enabledirectives[backend.date=2034-06-07] Many thanks for the new version, Hans

Re: [NTG-context] upload

2021-10-21 Thread Mikael Sundqvist via ntg-context
n is that the fact > that we can set the date (and traler) is only because it permits > generating pdf files that can be compared. No date as a bad idea anyway. > > \setupinteraction[title=My Title] > % \enabledirectives[backend.date=2034-06-07] > \enabledirectives[

Re: [NTG-context] upload

2021-10-21 Thread Pablo Rodriguez via ntg-context
t > that we can set the date (and traler) is only because it permits > generating pdf files that can be compared. No date as a bad idea anyway. > > \setupinteraction[title=My Title] > % \enabledirectives[backend.date=2034-06-07] Many thanks for the new version, Hans. Is there a w

[NTG-context] upload

2021-10-21 Thread Hans Hagen via ntg-context
generating pdf files that can be compared. No date as a bad idea anyway. \setupinteraction[title=My Title] % \enabledirectives[backend.date=2034-06-07] \enabledirectives[backend.date=no] \enabledirectives[backend.trailerid=no] \starttext \startTEXpage \blackrule[height=1cm,depth=0cm,width=4cm,color

Re: [NTG-context] setting date in \setupinteraction

2021-10-19 Thread Michal Vlasák via ntg-context
d]), isn’t no simpler way to get ISO 8601 formatting > from doc.Info.ModDate than the following one? > > \starttext > \startluacode > function document.transfer_metadata(name) > local main_doc = lpdf.epdf.load(name) > context.setupinteraction{ t

Re: [NTG-context] setting date in \setupinteraction

2021-10-19 Thread Pablo Rodriguez via ntg-context
name) local main_doc = lpdf.epdf.load(name) context.setupinteraction{ title = main_doc.Info.Title } context.setupinteraction{ date = main_doc.Info.ModDate:sub(3,6) .. "-" .. main_doc.Info.ModDate:sub(7,8) .. "-" .. main_doc.Info.ModDate:sub(9,10) .. "T" .. ma

Re: [NTG-context] SVG not rendering correctly with LMTX and conversion=mp

2021-10-18 Thread mf via ntg-context
] \stoptext The axis labels, tick labels, and title are all incorrect. This file was generated with Matplotlib. If you open test.svg with Inkscape, ungroup and then save, you get a SVG that is typeset right with LMTX. Looking at the differences between the two SVGs, I can see that Inkscape

Re: [NTG-context] SVG not rendering correctly with LMTX and conversion=mp

2021-10-18 Thread Luis Montgomery via ntg-context
\stoptext > > > The axis labels, tick labels, and title are all incorrect. This file was > generated with Matplotlib. > > ___ > If your question is of interest to others as well, please add an entry to

Re: [NTG-context] SVG not rendering correctly with LMTX and conversion=mp

2021-10-18 Thread Hans Hagen via ntg-context
On 10/18/2021 5:15 PM, Jason Ross via ntg-context wrote: The following MWE fails to render the text in the attached SVG properly: \starttext \externalfigure[test.svg][conversion=mp] \stoptext The axis labels, tick labels, and title are all incorrect. This file was generated with Matplotlib

Re: [NTG-context] SVG not rendering correctly with LMTX and conversion=mp

2021-10-18 Thread Hans Hagen via ntg-context
On 10/18/2021 6:06 PM, mf via ntg-context wrote: Il 18/10/21 17:15, Jason Ross via ntg-context ha scritto: The following MWE fails to render the text in the attached SVG properly: \starttext \externalfigure[test.svg][conversion=mp] \stoptext The axis labels, tick labels, and title are all

Re: [NTG-context] SVG not rendering correctly with LMTX and conversion=mp

2021-10-18 Thread mf via ntg-context
perly: \starttext \externalfigure[test.svg][conversion=mp] \stoptext The axis labels, tick labels, and title are all incorrect. This file was generated with Matplotlib. If you open test.svg with Inkscape, ungroup and then save, you get a SVG that is typeset right with LMTX. Looking at the differ

Re: [NTG-context] SVG not rendering correctly with LMTX and conversion=mp

2021-10-18 Thread Hans Hagen via ntg-context
On 10/18/2021 6:06 PM, mf via ntg-context wrote: Il 18/10/21 17:15, Jason Ross via ntg-context ha scritto: The following MWE fails to render the text in the attached SVG properly: \starttext \externalfigure[test.svg][conversion=mp] \stoptext The axis labels, tick labels, and title are all

Re: [NTG-context] SVG not rendering correctly with LMTX and conversion=mp

2021-10-18 Thread mf via ntg-context
Il 18/10/21 17:15, Jason Ross via ntg-context ha scritto: The following MWE fails to render the text in the attached SVG properly: \starttext \externalfigure[test.svg][conversion=mp] \stoptext The axis labels, tick labels, and title are all incorrect. This file was generated with Matplotlib

Re: [NTG-context] SVG not rendering correctly with LMTX and conversion=mp

2021-10-18 Thread Luis Montgomery via ntg-context
properly: > > > \starttext > \externalfigure[test.svg][conversion=mp] > \stoptext > > > The axis labels, tick labels, and title are all incorrect. This file was > generated with Matplotlib. > > ___ >

[NTG-context] SVG not rendering correctly with LMTX and conversion=mp

2021-10-18 Thread Jason Ross via ntg-context
The following MWE fails to render the text in the attached SVG properly: \starttext \externalfigure[test.svg][conversion=mp] \stoptext The axis labels, tick labels, and title are all incorrect. This file was generated with Matplotlib

Re: [NTG-context] Compilation error with the new version of lmtx

2021-10-17 Thread Hans Hagen via ntg-context
       [location=]     \definefont       [ChapterTextStyle]       [SansBold*default sa 2.2]     \setuphead       [title]       [style=ChapterTextStyle,        align=flushright]     \setuplist        [chapter]        [style=bold,         alternative=b,         width=1em]     \setuplist

[NTG-context] Compilation error with the new version of lmtx

2021-10-16 Thread Fabrice Couvreur via ntg-context
sa 2.2] \setuphead [title] [style=ChapterTextStyle, align=flushright] \setuplist [chapter] [style=bold, alternative=b, width=1em] \setuplist [section] [margin=1em, width=1.75em] \setuplist [subsection

Re: [NTG-context] combination with lua

2021-10-12 Thread Adam Reviczky via ntg-context
low, but example 3 > >> using lua functions for combination and externalfigure is what I > >> wanted to use in the first place. > >> > >> MWE: > >> > >> \starttext > >> > >> \startluacode > >> > >> -- Comb

Re: [NTG-context] combination with lua

2021-10-12 Thread Wolfgang Schuster via ntg-context
correct result with examples 1 and 2 below, but example 3 using lua functions for combination and externalfigure is what I wanted to use in the first place. MWE: \starttext \startluacode -- Combination 1 context.startplacefigure({title = "Figure"}) context.startcombination({nx = &q

Re: [NTG-context] combination with lua

2021-10-12 Thread Hans Hagen via ntg-context
using lua functions for combination and externalfigure is what I wanted to use in the first place. MWE: \starttext \startluacode -- Combination 1 context.startplacefigure({title = "Figure"}) context.startcombination({nx = "2", ny = "2"}, "\\external

[NTG-context] Generating HTML

2021-10-11 Thread Hans Åberg via ntg-context
ot;, though. — html-test.tex — \definefontfamily [mainface][math][stix] \setupbodyfont[mainface,10pt] \setupinteraction[state=start, click=yes, focus=standard, color=darkblue] \setupbackend[export=yes] % Exporting HTML/XML \defineregister [index] \setupregister [index] [indi

Re: [NTG-context] Acrobat doesn’t read imported metadata

2021-10-11 Thread Pablo Rodriguez via ntg-context
On 10/10/21 6:51 PM, Hans Hagen via ntg-context wrote: > On 10/10/2021 5:46 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> Being the sample file https://pdf.ousia.tk/metadata.pdf, Acrobat cannot >> display the imported title or either the creation or modification d

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

2021-10-11 Thread Joey McCollum via ntg-context
er for it): ``` % Setup a minimal bibliography \startbuffer [bib] @book{Author1:2016, author={Author1}, title={Work1}, note={W1}, publisher={Publisher1}, year=2016, } @book{Author2:2015, author={Author2}, title={Work2}, publisher={Publisher2}, year=2015, } \stopbuffer \usebtxdataset [bib.bu

[NTG-context] combination with lua

2021-10-11 Thread Adam Reviczky via ntg-context
wanted to use in the first place. MWE: \starttext \startluacode -- Combination 1 context.startplacefigure({title = "Figure"}) context.startcombination({nx = "2", ny = "2"}, "\\externalfigure[cow][width=50mm]","Caption 1", "\\externalfigure[cow]

Re: [NTG-context] Acrobat doesn’t read imported metadata

2021-10-10 Thread Hans Hagen via ntg-context
On 10/10/2021 5:46 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following sample: \starttext \startluacode function document.transfer_metadata(name) local main_doc = lpdf.epdf.load(name) lpdf.addtoinfo("Title", lpdf.unicode(main_doc.

[NTG-context] Acrobat doesn’t read imported metadata

2021-10-10 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \startluacode function document.transfer_metadata(name) local main_doc = lpdf.epdf.load(name) lpdf.addtoinfo("Title", lpdf.unicode(main_doc.Info.Title), lpdf.string(main_doc.Info.Title)) lpdf.addtoinfo(&qu

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

2021-10-06 Thread Joey McCollum via ntg-context
topstyleandcolor >> } >> \btxcomma >> } >> \stoptexdefinition >> ``` >> >> Do I have to apply expansion control somewhere else or in some other way? >> >> Joey >> >> On Wed, Oct 6, 2021 at 2:35 PM Joey McCollum

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

2021-10-06 Thread Joey McCollum via ntg-context
eviation command in an \expanded command as follows: >> >> ``` >> \startsetups btx:sbl:cite:short >> ... >> \btxdoif {shorthand} { >> >> \expanded{\abbreviation[\currentbtxtag]{\btxflush{shorthand}}{\btxflush{title}}} >> } >> ... >> \stopse

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

2021-10-06 Thread Joey McCollum via ntg-context
oif {shorthand} { > > \expanded{\abbreviation[\currentbtxtag]{\btxflush{shorthand}}{\btxflush{title}}} > } > ... > \stopsetups > ``` > > It looks like passing the macro \currentbtxtag as the tag for the > abbreviation works fine. And if I redefine the abbreviations syn

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

2021-10-06 Thread Joey McCollum via ntg-context
All right, I think I see what I did wrong; I just needed to enclose the whole \abbreviation command in an \expanded command as follows: ``` \startsetups btx:sbl:cite:short ... \btxdoif {shorthand} { \expanded{\abbreviation[\currentbtxtag]{\btxflush{shorthand}}{\btxflush{title

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

2021-10-06 Thread Joey McCollum via ntg-context
orm. My first thought was that I could accomplish this with something like the following: ``` \startsetups btx:sbl:cite:short ... \btxdoif {shorthand} { \abbreviation[\currentbtxtag]{\btxflush{shorthand}}{\btxflush{title}} } ... \stopsetups ``` But even if I invoke \placelistofabbrevi

Re: [NTG-context] Addition of authortitle sorttype for bibliographies

2021-10-04 Thread Joey McCollum via ntg-context
lost, I've repeated the code below: ``` publications.sortmethods.authortitle = { sequence = { { field = "author",default = "", unknown = "" }, { field = "title", default = "", unknown = "&q

Re: [NTG-context] ConTeXt's equivalent of standalone class

2021-10-02 Thread Gavin via ntg-context
et the buffers to make the figures: \startbuffer[MyTikZFigure] % TikZ code here \stopbuffer \startplacefigure[reference=MyFig, title={This is the figure’s caption}] \typesetbuffer[starttikz, MyTikZFigure,stoptikz] \stopplacefigure Following a suggestion from Hans, I made

Re: [NTG-context] [External] special case of hskip...?

2021-09-28 Thread jbf via ntg-context
11:08 PM, jbf via ntg-context wrote: In just one instance I would like the following to work differently: \startchapter[title={Introduction\\Disability and marginalisation},list={Introduction:\crlf Disability and marginalisation}]. That gives me: Introduction: Disability and marginalisa

Re: [NTG-context] [External] special case of hskip...?

2021-09-28 Thread jbf via ntg-context
Isability”? Michael On Sep 28, 2021, at 11:08 PM, jbf via ntg-context wrote: In just one instance I would like the following to work differently: \startchapter[title={Introduction\\Disability and marginalisation},list={Introduction:\crlf Disability and marginalisation}]. That gives me: Intr

Re: [NTG-context] [External] special case of hskip...?

2021-09-28 Thread Rogers, Michael K via ntg-context
Can you stick "\phantom{Introduction:}" in front of “DIsability”? Michael > On Sep 28, 2021, at 11:08 PM, jbf via ntg-context wrote: > > In just one instance I would like the following to work differently: > > \startchapter[title={Introduction\\Disability and

[NTG-context] special case of hskip...?

2021-09-28 Thread jbf via ntg-context
In just one instance I would like the following to work differently: \startchapter[title={Introduction\\Disability and marginalisation},list={Introduction:\crlf Disability and marginalisation}]. That gives me: Introduction: Disability and marginalisation But I would like to have

Re: [NTG-context] Smallcaps not working with a font that claims to have it - how can I confirm? SOLVED

2021-09-20 Thread Bruce Horrocks via ntg-context
T-Regular] [features=smallcaps] > \definefontsynonym [Schola] [name:texgyreschola-regular] [features=smallcaps] > > \definefont [chapterTitle] [Squar at 18pt] > \definefont [anotherTitle] [Schola at 18pt] > > \starttext > {\chapterTitle A Chapter Title} > \par > {\anotherTit

[NTG-context] Smallcaps not working with a font that claims to have it - how can I confirm?

2021-09-20 Thread Bruce Horrocks via ntg-context
\starttext {\chapterTitle A Chapter Title} \par {\anotherTitle A Chapter Title} \stoptext Have I missed something or is it the font? — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well,

Re: [NTG-context] Addition of authortitle sorttype for bibliographies

2021-09-19 Thread Joey McCollum via ntg-context
= { sequence = { { field = "author",default = "", unknown = "" }, { field = "title", default = "", unknown = "" }, { field = "booktitle", default = "", unknown

[NTG-context] Addition of authortitle sorttype for bibliographies

2021-09-19 Thread Joey McCollum via ntg-context
tures and bug fixes. One issue was that SBL should order list entries by author and title. Thankfully, there is already an authordate sortmethod defined in publ-aut.lua (probably to support the Chicago rendering), so I was able to use it as a template for the following authortitle sort seq

[NTG-context] Acrobat doesn’t display some imported metadata

2021-09-19 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample to import metadata (title, author, subject, keywords and dates). \starttext \startluacode function document.transfer_metadata(name) local main_doc = lpdf.epdf.load(name) lpdf.addtocatalog("Lang", lpdf.unicode(main_doc.Ca

Re: [NTG-context] PDF metadata and pdfx keys

2021-09-15 Thread kauśika cittūr via ntg-context
cuments I use > >> \setupinteraction > >> > >> [ > >> > >> author={AuthorName}, > >> title={MyTitle}, > >> subtitle={MySubtitle}, > >> > >> ] > >> > >> to set the docum

Re: [NTG-context] PDF metadata and pdfx keys

2021-09-15 Thread Hans Hagen via ntg-context
On 9/15/2021 1:27 PM, kauśika cittūr via ntg-context wrote: On Wednesday, September 15, 2021 8:08:34 AM IST kauśika cittūr wrote: Dear all, In my documents I use \setupinteraction [ author={AuthorName}, title={MyTitle}, subtitle={MySubtitle}, ] to set the

Re: [NTG-context] PDF metadata and pdfx keys

2021-09-15 Thread kauśika cittūr via ntg-context
On Wednesday, September 15, 2021 8:08:34 AM IST kauśika cittūr wrote: > Dear all, > > In my documents I use > \setupinteraction > [ > author={AuthorName}, > title={MyTitle}, > subtitle={MySubtitle}, > ] > to set the document metada

[NTG-context] PDF metadata and pdfx keys

2021-09-14 Thread kauśika cittūr via ntg-context
Dear all, In my documents I use \setupinteraction [ author={AuthorName}, title={MyTitle}, subtitle={MySubtitle}, ] to set the document metadata. I also use \startluacode local metadata = lpdf.getmetadata(); metadata['producer']='author

Re: [NTG-context] update

2021-09-13 Thread Hans Hagen via ntg-context
rs that? I don’t know yet. It seems to start in the middle of a section title in the first chapter of my book. Oveefull boxes? The footnotes unfortunately became only worse so far – often they’re overprinted by the running text, even without columns or grid. I’ll try to come up with good e

Re: [NTG-context] Setting up the double pages of part beginnings

2021-09-13 Thread Bruce Horrocks via ntg-context
ekant via ntg-context schrieb am 10.09.2021 um 19:25: >>> Dear List, >>> >>> I am trying to set up double pages at the beginning of a new part in such a >>> way that: >>> - on an odd/right-hand page there will be number and the title typeset in >>>

Re: [NTG-context] update

2021-09-13 Thread Henning Hraban Ramm via ntg-context
>> hyphenationmode "79F3F, options "80, font <36: lmmono10-regular @ 10.0pt>, >> glyph U+70 p >> 4:10: >> \penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1] >> 1 >> Is this some debugging leftover or am I supp

Re: [NTG-context] Setting up the double pages of part beginnings

2021-09-12 Thread Christian Dekant via ntg-context
beginning of a new part in such a way that: - on an odd/right-hand page there will be number and the title typeset in some fashion, and - on the even/left-hand page there should be a full (printpaper)size image. https://www.mail-archive.com/ntg-context@ntg.nl/msg94581.html Wolfgang

Re: [NTG-context] read PDF metadata from other file

2021-09-11 Thread Pablo Rodriguez via ntg-context
_doc.Catalog.Lang)) lpdf.addtoinfo("Title", lpdf.unicode(main_doc.Info.Title)) lpdf.addtoinfo("Subject", lpdf.unicode(main_doc.Info.Subject)) lpdf.addtoinfo("Author", lpdf.unicode(main_doc.Info.Author)) lpdf.epdf.unload(name)

Re: [NTG-context] read PDF metadata from other file

2021-09-11 Thread Hans Hagen via ntg-context
On 9/11/2021 2:35 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following sample: \starttext \setupinteraction [state=start, title={\cldcontext{pdfe.open("b.pdf").Info.Title}}] \null \stoptext From a document composed with \insertpages,

[NTG-context] read PDF metadata from other file

2021-09-11 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \setupinteraction [state=start, title={\cldcontext{pdfe.open("b.pdf").Info.Title}}] \null \stoptext From a document composed with \insertpages, I need to transfer medatada. But I get the raw value "feff0061&quo

Re: [NTG-context] Setting up the double pages of part beginnings

2021-09-11 Thread Wolfgang Schuster via ntg-context
Christian Dekant via ntg-context schrieb am 10.09.2021 um 19:25: Dear List, I am trying to set up double pages at the beginning of a new part in such a way that: - on an odd/right-hand page there will be number and the title typeset in some fashion, and - on the even/left-hand page there

[NTG-context] Changing the style of author’s surname in a custom bibliographical style

2021-09-11 Thread Tomáš V via ntg-context
ation = {     name  = "iso690",     categories = { }, } local categories = specification.categories categories.book = {     required = { "title" },     optional = {"author"}, } return specification Thanks for your help, Tomáš ___

[NTG-context] Setting up the double pages of part beginnings

2021-09-10 Thread Christian Dekant via ntg-context
Dear List, I am trying to set up double pages at the beginning of a new part in such a way that: - on an odd/right-hand page there will be number and the title typeset in some fashion, and - on the even/left-hand page there should be a full (printpaper)size image. If the part title ends up on an

Re: [NTG-context] If you really absolutely need more capacity, you can ask a wizard to enlarge me

2021-09-10 Thread Marcus Vinicius Mesquita via ntg-context
2 AM Hans Hagen wrote: > >> On 9/9/2021 12:52 AM, Marcus Vinicius Mesquita via ntg-context wrote: >> > Dear list, >> > >> > In the MWE below, ConTeXt lmtx throws an error with the message in the >> > title: >> > >> > \starttext >>

Re: [NTG-context] If you really absolutely need more capacity, you can ask a wizard to enlarge me

2021-09-10 Thread Marcus Vinicius Mesquita via ntg-context
12:52 AM, Marcus Vinicius Mesquita via ntg-context wrote: > > Dear list, > > > > In the MWE below, ConTeXt lmtx throws an error with the message in the > > title: > > > > \starttext > > \startluacode > > > > local upperlimit = 9 > >

Re: [NTG-context] If you really absolutely need more capacity, you can ask a wizard to enlarge me

2021-09-09 Thread Hans Hagen via ntg-context
On 9/9/2021 12:52 AM, Marcus Vinicius Mesquita via ntg-context wrote: Dear list, In the MWE below, ConTeXt lmtx throws an error with the message in the title: \starttext \startluacode local upperlimit = 9 context.starttabulate({ "|l|l|l|" }) for i=1,upperlimit do context.NC

[NTG-context] If you really absolutely need more capacity, you can ask a wizard to enlarge me

2021-09-08 Thread Marcus Vinicius Mesquita via ntg-context
Dear list, In the MWE below, ConTeXt lmtx throws an error with the message in the title: \starttext \startluacode local upperlimit = 9 context.starttabulate({ "|l|l|l|" }) for i=1,upperlimit do context.NC() context("word 1") context.NC() context("word 2"

[NTG-context] prefixstarter in captions

2021-08-28 Thread Adam Reviczky via ntg-context
pecting "Figure C.1.S.1". MWE: \setupfloatcaption[figure][number=yes,way=bytext,prefix=yes,prefixstarter={C.},numberstarter={S.}] \starttext \startchapter[title={Cow}] \startplacefigure[title={Custom caption}] \externalfigure[cow] \stopplacefigure \stopchapter \stoptext Not sure whether prefixsta

Re: [NTG-context] Test for displaying a header

2021-08-28 Thread Wolfgang Schuster via ntg-context
Fabrice, there is difference between putting something on the first page regardless of the number of pages in your document or do something when your document contains only a single or more pages. When you have a header or title which is always placed on the first page (but not on the

Re: [NTG-context] Why does HerosBold give bold italic?

2021-08-25 Thread Wolfgang Schuster via ntg-context
over} \style[style={\switchtobodyfont[heros,14pt]\it}]{the lazy dog} \stoptext Thanks Wolfgang. I always get very confused when ConTeXt 'nearly' works and this was one of those times. Your \style example is interesting and I'll bear it in mind but at the moment I only need this for som

Re: [NTG-context] Why does HerosBold give bold italic?

2021-08-25 Thread Bruce Horrocks via ntg-context
get very confused when ConTeXt 'nearly' works and this was one of those times. Your \style example is interesting and I'll bear it in mind but at the moment I only need this for some one-off title page text rather than body text. — Bruce Horrocks Hampshire, UK __

Re: [NTG-context] Control of Titles appearing in \completelistoftables and \completelistoffigures

2021-08-25 Thread Richard Mahoney via ntg-context
table or \placefigure > > to control the Table of Figure Title appearing in: > > \completelistoftables and \completelistoffigures > > > At the moment one can do this for the output of: > > \completecontent > > with something such as the following: > > \start

Re: [NTG-context] TOC labeltext and no partlabel

2021-08-25 Thread Adam Reviczky via ntg-context
> > > > I have asked this question before, but now I cannot get it working again. > > > https://ntg-context.ntg.narkive.com/lvvdNOQz/the-appendices-envrionment-and-title-in-toc > > > > I want to set partlabels in my TOC but not in the document itself. > >

Re: [NTG-context] TOC labeltext and no partlabel

2021-08-25 Thread Wolfgang Schuster via ntg-context
Adam Reviczky via ntg-context schrieb am 25.08.2021 um 02:02: Hi, I have asked this question before, but now I cannot get it working again. https://ntg-context.ntg.narkive.com/lvvdNOQz/the-appendices-envrionment-and-title-in-toc I want to set partlabels in my TOC but not in the document itself

Re: [NTG-context] numbered exercises

2021-08-25 Thread Henning Hraban Ramm via ntg-context
Ramm via ntg-context schrieb am 24.08.2021 um 20:31: >>>> Hi, I’m typesetting a textbook that contains numbered and indented >>>> exercises. They must not float. >>>> >>>> Which structure should I use for them? There must be an easy answer, but I >>

Re: [NTG-context] Control of Titles appearing in \completelistoftables and \completelistoffigures

2021-08-25 Thread Taco Hoekwater via ntg-context
ome syntax that one can use in: > > \placetable or \placefigure > > to control the Table of Figure Title appearing in: > > \completelistoftables and \completelistoffigures > > > At the moment one can do this for the output of: > > \completecontent > >

[NTG-context] Control of Titles appearing in \completelistoftables and \completelistoffigures

2021-08-24 Thread Richard Mahoney via ntg-context
List, I've been wondering if there is some syntax that one can use in: \placetable or \placefigure to control the Table of Figure Title appearing in: \completelistoftables and \completelistoffigures At the moment one can do this for the output of: \completecontent with something su

[NTG-context] TOC labeltext and no partlabel

2021-08-24 Thread Adam Reviczky via ntg-context
Hi, I have asked this question before, but now I cannot get it working again. https://ntg-context.ntg.narkive.com/lvvdNOQz/the-appendices-envrionment-and-title-in-toc I want to set partlabels in my TOC but not in the document itself. The desired output would be: --- Contents Chapter 1 Bodypart

Re: [NTG-context] numbered exercises

2021-08-24 Thread Aditya Mahajan via ntg-context
at contains numbered and indented > >> exercises. They must not float. > >> > >> Which structure should I use for them? There must be an easy answer, but I > >> draw a blank. > > > > Use an enumeration. > > Thank you, but how can I define a ti

Re: [NTG-context] numbered exercises

2021-08-24 Thread Henning Hraban Ramm via ntg-context
Here’s what I have now (result attached): \define[1]\ÜbungNrCmd{\inmargin{\offset[y=3em]{\rotate[rotation=90]{\SectionFont #1 \defineenumeration[Übung][ text=Übung, title=yes, titleleft=, titleright=, titledistance=-1em, titlestyle=\SectionFont, %numberstyle=\SectionFont

Re: [NTG-context] numbered exercises

2021-08-24 Thread Henning Hraban Ramm via ntg-context
m via ntg-context schrieb am 24.08.2021 um 20:31: >>>> Hi, I’m typesetting a textbook that contains numbered and indented >>>> exercises. They must not float. >>>> >>>> Which structure should I use for them? There must be an easy answer, but I >&g

Re: [NTG-context] numbered exercises

2021-08-24 Thread Gavin via ntg-context
at contains numbered and indented >>> exercises. They must not float. >>> >>> Which structure should I use for them? There must be an easy answer, but I >>> draw a blank. >> >> Use an enumeration. > > Thank you, but how can I define a title/capt

Re: [NTG-context] numbered exercises

2021-08-24 Thread Wolfgang Schuster via ntg-context
not float. Which structure should I use for them? There must be an easy answer, but I draw a blank. Use an enumeration. Thank you, but how can I define a title/caption for the enumeration and its reference? \defineenumeration [Exercise] [text=Exercise, title=yes, titleleft

Re: [NTG-context] numbered exercises

2021-08-24 Thread Henning Hraban Ramm via ntg-context
hich structure should I use for them? There must be an easy answer, but I >> draw a blank. > > Use an enumeration. Thank you, but how can I define a title/caption for the enumeration and its reference? Hraban __

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

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