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

[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
: \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 differences

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
the 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
` % 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.buffer] % Setup

[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
} >> \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 >> wrote: >>

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

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

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

2021-10-06 Thread Joey McCollum via ntg-context
hand} { > > \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 synonyms list

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
rm. 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 \placelistofabbreviations wit

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

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

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

2021-10-02 Thread Gavin via ntg-context
fers 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 two buffer

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

2021-09-28 Thread jbf via ntg-context
tg-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 marginalisation But I would li

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

2021-09-28 Thread jbf via ntg-context
? 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: Introduction:

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
=smallcaps] > \definefontsynonym [Schola] [name:texgyreschola-regular] [features=smallcaps] > > \definefont [chapterTitle] [Squar at 18pt] > \definefont [anotherTitle] [Schola at 18pt] > > \starttext > {\chapterTitle A Chapter Title} > \par > {\anotherTitle A Chapter Title}

[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
{\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, please add

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

[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

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'; metadata

Re: [NTG-context] update

2021-09-13 Thread Hans Hagen via ntg-context
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 examples, but th

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

2021-09-13 Thread Bruce Horrocks via ntg-context
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 fashi

Re: [NTG-context] update

2021-09-13 Thread Henning Hraban Ramm via ntg-context
phenationmode "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 supposed to underst

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

2021-09-12 Thread Christian Dekant via ntg-context
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. 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 \insertpag

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

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

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

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

[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

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
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
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
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 prefixstarter is the int

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

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

2021-08-25 Thread Wolfgang Schuster via ntg-context
} \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 some one-off title page

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

2021-08-25 Thread Bruce Horrocks via ntg-context
ery 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
acetable 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: > &

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

[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

[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
\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 others as well, please

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

2021-08-22 Thread Joey McCollum via ntg-context
gt; . > > 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 specific cases (e.g., &quo

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

[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 code I have so far

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

2021-08-16 Thread Hans Hagen via ntg-context
{\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't match

[NTG-context] Strange behavior of a macro

2021-08-16 Thread Fabrice Couvreur via ntg-context
] [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éfinies sur

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
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
it. 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

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

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! Subject:A ConTeXt

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

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

2021-08-09 Thread Joey McCollum via ntg-context
ear"). 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 comma and a shortened f

[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
e: > 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 featu

[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 should appear in the

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