Re: [NTG-context] Getting ONE, TWO... for chapters

2022-01-01 Thread jbf via ntg-context
ersion to \setuphead. There must be a simple way to achieve the desire result, and to be honest I'm wondering why WORD does not work? Any thoughts? Like this? \setuplabeltext[chapter={Study~,}] \setuphead[chapter][conversion=words,numberstyle=\WORDS] \starttext \startchapter[title=Feliz año

Re: [NTG-context] Getting ONE, TWO... for chapters

2022-01-01 Thread Jairo A. del Rio via ntg-context
}] \setuphead[chapter][conversion=words,numberstyle=\WORDS] \starttext \startchapter[title=Feliz año nuevo!] \input{tufte} \stopchapter \stoptext I hope it helps. Happy new year! Jairo Julian > > > ___ >

Re: [NTG-context] \thanks inside author in section

2022-01-01 Thread Youssef Cherem via ntg-context
, > style=\bfb] > > \definenote[someothername] > > \setupnote >[someothername] >[rule=off] > > \setupnotation >[someothername] >[numberconversion=set 2] > > \setupnotation >[alternative=left, >hang=fit, > i

Re: [NTG-context] \thanks inside author in section

2022-01-01 Thread Wolfgang Schuster via ntg-context
[alternative=left, hang=fit, indenting={yes,small}, indentnext=yes] \setupinteraction [state=start, color=, contrastcolor=] \starttext \subject{Grande lista de autores} \placecontent[alternative=c] \startsection[title={Whatever}][author={A. Uthor

[NTG-context] \thanks inside author in section

2022-01-01 Thread Youssef Cherem via ntg-context
ction][ textcommand=\SectionTocEntry, after=\blank, ] \define[1]\SectionTocEntry{% \doifnot{\rawstructurelistuservariable{author}}{} {\start \it \structurelistuservariable{author}\stop\space-- \crlf}% #1% title \doifnot{\rawstructurelistuservariable{subtitle}}{} {\crlf\structurelistuservariable{sub

Re: [NTG-context] [MetaFun] Trying to understand outlinetext, 'stretch' effect and \kerncharacters

2022-01-01 Thread Hans Hagen via ntg-context
s follows to produce a stylized 'title' head: \setupMPtext{TitleText}{% \starteffect[stretch]\bfc\namedstructurevariable{title}{title}\stopeffect} \useMPgraphic{TitleGraphic} low level pdf magic ... so not done in mp [colors "titlefg" and "titleoutline" are set using \define

Re: [NTG-context] Asking context to switch to a different font for a single character in many places

2022-01-01 Thread kauśika via ntg-context
On Saturday, January 1, 2022 1:37:49 PM IST Ajith R wrote: > This doesn't print the open box. If I remove the definefontfamily > command or define font family using only Latin Modern, open box is > printed, but not the title. > > What am I missing? Try with the following: \defin

Re: [NTG-context] Asking context to switch to a different font for a single character in many places

2022-01-01 Thread Ajith R via ntg-context
ange=controlpictures,force=yes] \definefontfamily [mainfont] [rm] [RIT-Rachana] [features=malayalam-two] \setupbodyfont [mainfont] \starttext \title{മലയാളലിപികളുടെ ആവൃത്തി നിർണ്ണയം} ␣ \stoptext This doesn't print the open box. If I remove the definefontfamily co

Re: [NTG-context] Two questions on enumerations/indentation

2021-12-31 Thread Wolfgang Schuster via ntg-context
and apply a formatting to the counter with a processor. I do not get the head indented with your code. The serried alternative disables paragraph indentation before the title. You solution is one possible method, another one is to put the title in a \framed block and change the left margin

Re: [NTG-context] Table of Contents Header?

2021-12-30 Thread kauśika via ntg-context
clabel][toclabel][\TOCLabel] \setupsynonyms[toclabel][textstyle=\sc] \toclabel{TOCNumberLabel}{Chapter} \toclabel{TOCTitleLabel}{Title} \toclabel{TOCPageLabel}{Page} Then compute the width of the chapter-number and page-number labels \setwidthof\TOCLabel{TOCNumbe

Re: [NTG-context] [MetaFun] Trying to understand outlinetext, 'stretch' effect and \kerncharacters

2021-12-30 Thread kauśika via ntg-context
gt; \stopuseMPgraphic > > which I tried to use as follows to produce a stylized 'title' head: > > \setupMPtext{TitleText}{% > \starteffect[stretch]\bfc\namedstructurevariable{title}{title}\stopeffect} > \useMPgraphic{TitleGraphic} > > [colors "titlefg" and

[NTG-context] [MetaFun] Trying to understand outlinetext, 'stretch' effect and \kerncharacters

2021-12-30 Thread kauśika via ntg-context
Dear list, I have the following graphic \startuseMPgraphic{TitleGraphic} draw outlinetext.b (\MPstring{TitleText}) (withcolor "titlefg") (withcolor "titleoutline"); \stopuseMPgraphic which I tried to use as follows to produce a stylized 'title' head: \s

[NTG-context] \thanks inside author in section

2021-12-29 Thread Youssef Cherem via ntg-context
t does this? \setuplist[section][ textcommand=\SectionTocEntry, after=\blank, ] \define[1]\SectionTocEntry{% \doifnot{\rawstructurelistuservariable{author}}{} {\start \it \structurelistuservariable{author}\stop\space-- \crlf}% #1% title \doifnot{\rawstructurelistuservariable{subtitle}}{} {\crlf\st

Re: [NTG-context] Why are endnotes not working with ConTeXt-SBL?

2021-12-26 Thread Joey McCollum via ntg-context
btx rendering, I get the same error: ``` \startbuffer [bib] @Book{clark1989, author = {Clark, William}, title = {Railroads \word{and} railroad towns \word{in} New Mexico}, publisher = {New Mexico Magazine}, year = {1989}, address = {Albuquerque, New Mexico}, isbn = {9780937206126} } \stopbuffer

Re: [NTG-context] Why are endnotes not working with ConTeXt-SBL?

2021-12-25 Thread Joey McCollum via ntg-context
the placement of footnotes using >> two lines of code. I've added these to my minimal working code, placing >> \setupnote[footnote][location=none] >> in the header and \placenotes[footnote] where I want the endnotes to >> appear. It complains this error: >> >> "Und

Re: [NTG-context] Why are endnotes not working with ConTeXt-SBL?

2021-12-25 Thread Joey McCollum via ntg-context
fendswithpunctelse" > > What did I do wrong? > > --Joel > > Code follows: > > \usemodule[publ-imp-sbl] > \startbuffer [bib] > > @Article{na2006, > title={Volcanoes \word{of} New Mexico}, > year={2006}, > journal={New Mexico Earth Matters}, >

[NTG-context] Why are endnotes not working with ConTeXt-SBL?

2021-12-25 Thread Joel via ntg-context
] in the header and \placenotes[footnote] where I want the endnotes to appear. It complains this error: "Undefined control sequence \doifendswithpunctelse" What did I do wrong? --Joel Code follows: \usemodule[publ-imp-sbl] \startbuffer [bib] @Article{na2006, title={Volcanoes \word{of} New Mex

Re: [NTG-context] Why are back-to-back \autocite commands not working in ConTeXt-SBL?

2021-12-24 Thread Joey McCollum via ntg-context
if my citations appear within the > paragraph, then I end up with a paragraph break in the wrong place! > > Here is my minimum working example, which won't compile unless I add a > blank line between the two citations. > > \usemodule[publ-imp-sbl] > \startbuffer [bib] > > @Art

Re: [NTG-context] Why are back-to-back \autocite commands not working in ConTeXt-SBL?

2021-12-24 Thread Denis Maier via ntg-context
n the two citations. \usemodule[publ-imp-sbl] \startbuffer [bib] @Article{na2006, title={Volcanoes \word{of} New Mexico}, year={2006}, journal={New Mexico Earth Matters}, publisher={New

Re: [NTG-context] Why are back-to-back \autocite commands not working in ConTeXt-SBL?

2021-12-24 Thread Joey McCollum via ntg-context
and error, I found this will compile: >> >> \autocite[{\loc[2]}][]{na2006} >> >> \autocite[{\loc[2]}][]{clark1989} >> >> The problem with this last example, is if my citations appear within the >> paragraph, then I end up with a paragraph break i

Re: [NTG-context] Why are back-to-back \autocite commands not working in ConTeXt-SBL?

2021-12-24 Thread Joey McCollum via ntg-context
mpile unless I add a > blank line between the two citations. > > \usemodule[publ-imp-sbl] > \startbuffer [bib] > > @Article{na2006, > title={Volcanoes \word{of} New Mexico}, > year={2006}, > journal={New Mexico Earth Matters}, > publisher={New Mexico Bureau \word{of} Geo

[NTG-context] Why are back-to-back \autocite commands not working in ConTeXt-SBL?

2021-12-24 Thread Joel via ntg-context
example, which won't compile unless I add a blank line between the two citations. \usemodule[publ-imp-sbl] \startbuffer [bib] @Article{na2006, title={Volcanoes \word{of} New Mexico}, year={2006}, journal={New Mexico Earth Matters}, publisher={New Mexico Bureau \word{of} Geology \word{and} Mineral

Re: [NTG-context] No pagebreak before chapter

2021-12-23 Thread Rik Kabel via ntg-context
On 2021-12-23 14:15, juh via ntg-context wrote: Dear all, if I don't want pagebreaks before a chapter, I can do this: \setuphead [chapter,title] [style=\tfb, align=center, number=no, after=, page=no, sectionsegments=chapter, header=empty] In my

[NTG-context] No pagebreak before chapter

2021-12-23 Thread juh via ntg-context
Dear all, if I don't want pagebreaks before a chapter, I can do this: \setuphead [chapter,title] [style=\tfb, align=center, number=no, after=, page=no, sectionsegments=chapter, header=empty] In my project this does not work. All chapters start on a new

Re: [NTG-context] Displaying names in Chicago-Turabian "note" style

2021-12-21 Thread Joey McCollum via ntg-context
ofpublications > uses a strange format, with the first author listed as Last + First order, > all subsequent authors in First + Last order, such as "Burns, Anna, Robert > Smith, and Judith Green.", meanwhile "et al." is never used in the > bibliography, even if there are 100

[NTG-context] Displaying names in Chicago-Turabian "note" style

2021-12-21 Thread Joel via ntg-context
thor listed as Last + First order, all subsequent authors in First + Last order, such as "Burns, Anna, Robert Smith, and Judith Green.", meanwhile "et al." is never used in the bibliography, even if there are 100 authors. Any help would be greatly appreciated! --Joel Minimal

Re: [NTG-context] Title for tabulate

2021-12-17 Thread Hans Hagen via ntg-context
On 12/17/2021 8:25 AM, Benjamin Buchmuller wrote: Yes, this works! Thanks! I'll try to add a section on the Wiki. Is there a reason why the second approach works while the other doesn't? expansion etc so just stick to what works Hans

Re: [NTG-context] Title for tabulate

2021-12-16 Thread Benjamin Buchmuller via ntg-context
Yes, this works! Thanks! I'll try to add a section on the Wiki. Is there a reason why the second approach works while the other doesn't? > On Dec 16, 2021, at 12:46, Hans Hagen wrote: > > On 12/16/2021 11:39 AM, Benjamin Buchmuller wrote: >> Thanks again, Hans, for all the different

Re: [NTG-context] Title for tabulate

2021-12-16 Thread Hans Hagen via ntg-context
On 12/16/2021 11:39 AM, Benjamin Buchmuller wrote: Thanks again, Hans, for all the different approaches, very instructive! However, after playing around a bit, I do have a question that I can't work out: \getdummyparameters[headtitle=,#1] \ifempty{\dummyparameter{headtitle}} can you try

Re: [NTG-context] Title for tabulate

2021-12-16 Thread Benjamin Buchmuller via ntg-context
;> hints to improve the answer are welcome.) I wanted to use this argument for >> an easy specification of, well, a title for a "recipe". The advantage is >> that all information is held together and it's easy to use for people who >> are not (too) familiar with ConTeXt. &

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-14 Thread Jan-Erik Hägglöf via ntg-context
t >>\startcircuitikz >>\draw (0,2) to[I] (2,2); >>\stopcircuitikz >>\startcircuitikz >>\draw (0,2) to[I] (2,2); >>\stopcircuitikz >> \stoptext >> >> with the attached. Make sure to put it in the regular context base pa

Re: [NTG-context] Title for tabulate

2021-12-14 Thread Hans Hagen via ntg-context
for an easy specification of, well, a title for a "recipe". The advantage is that all information is held together and it's easy to use for people who are not (too) familiar with ConTeXt. So, in one file I can define all styles (which the end-user would not need to see): \definetabul

Re: [NTG-context] Title for tabulate

2021-12-14 Thread Benjamin Buchmuller via ntg-context
Hi! I'd like to follow up on a problem that Denis came across recently with the titles argument in tabulate. (It's more a solution than a question, but any hints to improve the answer are welcome.) I wanted to use this argument for an easy specification of, well, a title for a "r

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-14 Thread Jeong Dal via ntg-context
o get rid of > all these (kind of strange) t-* modules that somehow ended up in tikz > and it's way easier and robust to occasionally add something needed to > m-tikz than to try to catch hard-to-locate-and-fix stuff in the tikz > distribution. If needed we can apply runtime patches too.

Re: [NTG-context] circuitikz module seems broken

2021-12-13 Thread Hans Hagen via ntg-context
ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -%D \module %D [ file=m-tikz, %Dversion=2021.07.12, %D title=\CONTEXT

Re: [NTG-context] Defining new float types fails in LMTX

2021-12-10 Thread Marco Patzer via ntg-context
ure [title=Foo] \framed{Foo} \stopplacefigure \startplacefoo [title=Bar] \framed{Bar} \stopplacefoo \stoptext Marco ___ If your question is of interest to others as well, please add an entry to the W

Re: [NTG-context] Initial release of SBL bibliographic rendering and biblio wishlist

2021-12-10 Thread J Huisman via ntg-context
normal > order, an author-title sort order for bibliographic entries, support for > shorthands/abbreviations, support for Citation Style Language locators, and > support for biblatex-style citation macros that intelligently move > punctuation that follows them). While optimizations for perf

[NTG-context] Initial release of SBL bibliographic rendering and biblio wishlist

2021-12-08 Thread Joey McCollum via ntg-context
in normal order, an author-title sort order for bibliographic entries, support for shorthands/abbreviations, support for Citation Style Language locators, and support for biblatex-style citation macros that intelligently move punctuation that follows them). While optimizations for performance

Re: [NTG-context] [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-06 Thread Hans Hagen via ntg-context
asselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -%D \module %D [ file=m-tikz, %Dversion=2021.07.12, %D title=\CONTEXT\ Extra Modules, %D subtitle=TIKZ suppo

Re: [NTG-context] [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-03 Thread Hans Hagen via ntg-context
dderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -%D \module %D [ file=m-circuitikz, %Dversion=2021.12.03, %D title=\CONTEXT\ Extr

[NTG-context] xml processing errors after latest upgrade

2021-12-01 Thread Denis Maier via ntg-context
Hi, the latest update may have introduced problems for xml processing : For a document I could convert with version 2021.10.24 21:45 without problems gives me now this error : % ... structure > sectioning > title @ level 2 : 0.0 -> \documentvariable {tit

Re: [NTG-context] new upload

2021-12-01 Thread Hans Hagen via ntg-context
:3={infinitamente}] \setregisterentry [Russian] [entries:1={сборник}, entries:2={n. masc.}, entries:3={colección, compilación, compendio}] \setregisterentry [Russian] [entries:1={неравенство}, entries:2={n. neutr.}, entries:3={desigualdad}] \starttext \starttitle[title=Ruso-español

[NTG-context] Defining new float types fails in LMTX

2021-11-30 Thread Marco Patzer via ntg-context
: return code: 256 \setupfloat [figure] [default=bottom] %% fails %% [default=top] %% works \definefloat [foo] [foos] [figure] \starttext \startplacefigure [title=Foo] \framed{Foo} \stopplacefigure \startplacefoo [title=Bar] \framed{Bar} \stopplacefoo \stoptext Marco LMTX

Re: [NTG-context] Title for tabulate

2021-11-30 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Sonntag, 28. November 2021 14:26 > An: Maier, Denis Christian (UB) ; ntg- > cont...@ntg.nl > Betreff: Re: AW: [NTG-context] Title for tabulate > > On 11/28/2021 1:22 PM, denis.ma...@unibe.ch wrote: >

[NTG-context] Bad linebreak in figure caption

2021-11-29 Thread Marco Patzer via ntg-context
Hi! The caption "FOO" runs into the right figure's caption: \setuplayout [width=18.4cm] \setuptolerance [verytolerant, stretch] %% even with stretch \starttext \startplacefigure \startfloatcombination \startplacefigure [title=Unexpectedly unnecessary FOO-BA

Re: [NTG-context] Title for tabulate

2021-11-28 Thread Hans Hagen via ntg-context
On 11/28/2021 1:22 PM, denis.ma...@unibe.ch wrote: -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Hans Hagen via ntg-context Gesendet: Sonntag, 28. November 2021 12:40 An: Denis Maier via ntg-context Cc: Hans Hagen Betreff: Re: [NTG-context] Title for tabulate On 11/28

Re: [NTG-context] Title for tabulate

2021-11-28 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Hans Hagen > via ntg-context > Gesendet: Sonntag, 28. November 2021 12:40 > An: Denis Maier via ntg-context > Cc: Hans Hagen > Betreff: Re: [NTG-context] Title for tabulate > > On 11/28/2021 9

Re: [NTG-context] Title for tabulate

2021-11-28 Thread Hans Hagen via ntg-context
On 11/28/2021 9:15 AM, Denis Maier via ntg-context wrote: A couple of questions : - Is it possible to have the title be typeset only once? I.e., it should not repeat on each page. why not just use \subsubsubject{

[NTG-context] Title for tabulate

2021-11-28 Thread Denis Maier via ntg-context
[ header=text, split=yes, title={Fenchurch St. Paul}, ] \starttabulate[|p|p|] \dorecurse{6}{ \NC Bells: \NC Tin tan din dan bim bam bom bo \NC\NR \HL \NC Name: \NC Tailor Paul \NC \NR \HL } \stoptabulate \stoptext

Re: [NTG-context] Checking for a Unicode prefix of a Unicode string

2021-11-27 Thread Joey McCollum via ntg-context
milies* 1.3 (*ANF *8:223) for further details. or ``` \cite[lefttext={See},loctext={\loc[p=8]},righttext={; but there are also contradictory statements, e.g. \loc[p=12].}][Doe:Title] ``` to get See Doe, *Title*, 8; but there are also contradictory statements, e.g. 12. The main problem is dete

Re: [NTG-context] Concerning dictionaries. glossaries and related in ConTeXt

2021-11-26 Thread Hans Hagen via ntg-context
. masc., meaning={colección, compilación, compendio}] \Ruso [word=неравенство, category=n. neutr., meaning=desigualdad] \starttitle[title=Ruso-español] \placeRussian \stoptitle \stoptext ___ I

Re: [NTG-context] Concerning dictionaries. glossaries and related in ConTeXt

2021-11-26 Thread Hans Hagen via ntg-context
] \Ruso     [word=бесконечно,      category=adv.,      meaning=infinitamente] \Ruso     [word=сборник,      category=n. masc.,      meaning={colección, compilación, compendio}] \Ruso     [word=неравенство,      category=n. neutr.,      meaning=desigualdad] \starttext \starttitle[title=Ruso

[NTG-context] Concerning dictionaries. glossaries and related in ConTeXt

2021-11-26 Thread Jairo A. del Rio via ntg-context
, category=n. masc., meaning={colección, compilación, compendio}] \Ruso [word=неравенство, category=n. neutr., meaning=desigualdad] \starttext \starttitle[title=Ruso-español] \placeRussian \stoptitle \stoptitle \stoptext Reading the manuals, I find that the publication mechanism

Re: [NTG-context] Backmatter preventing section numbers from appearing

2021-11-25 Thread Hans Hagen via ntg-context
On 11/25/2021 10:50 AM, A A via ntg-context wrote: Dear All, I've noticed that the mere presence of backmatter prevents my sections from being numbered. Consider the following: /\starttext \startsection[   title={Create Serverless Applications}, ] blablabla \stopsection %\startbackmatter

[NTG-context] Backmatter preventing section numbers from appearing

2021-11-25 Thread A A via ntg-context
Dear All, I've noticed that the mere presence of backmatter prevents my sections from being numbered. Consider the following: *\starttext\startsection[ title={Create Serverless Applications},]blablabla\stopsection%\startbackmatter % comment out%\stopbackmatter % comment out\stoptext

Re: [NTG-context] Automatic counting groupsuffix for subfigures

2021-11-25 Thread Hans Hagen via ntg-context
On 11/24/2021 10:19 AM, Marco Patzer via ntg-context wrote: Hi! I'd like to use subfigure numbering for floats. This works: \useMPlibrary [dum] \starttext \startplacefigure [location=none] \startfloatcombination [nx=2] \startplacefigure [title=Left, reference=ref:left, group=one

Re: [NTG-context] adjusting vertical space

2021-11-25 Thread jbf via ntg-context
result for a half-title page, but I need to reduce the vertical space between 'A JOURNEY' and 'from the' so that the 'h' of the 'the' is just touching the baseline of the 'R' in JOURNEY. At the moment there is some distance between them. I thought I could do this with \setupinterlinespace

Re: [NTG-context] adjusting vertical space

2021-11-25 Thread Henning Hraban Ramm via ntg-context
Am 25.11.21 um 00:06 schrieb jbf via ntg-context: The following MWE produces a passable result for a half-title page, but I need to reduce the vertical space between 'A JOURNEY' and 'from the' so that the 'h' of the 'the' is just touching the baseline of the 'R' in JOURNEY. At the moment

[NTG-context] adjusting vertical space

2021-11-24 Thread jbf via ntg-context
The following MWE produces a passable result for a half-title page, but I need to reduce the vertical space between 'A JOURNEY' and 'from the' so that the 'h' of the 'the' is just touching the baseline of the 'R' in JOURNEY. At the moment there is some distance between them. I thought I could

[NTG-context] Automatic counting groupsuffix for subfigures

2021-11-24 Thread Marco Patzer via ntg-context
Hi! I'd like to use subfigure numbering for floats. This works: \useMPlibrary [dum] \starttext \startplacefigure [location=none] \startfloatcombination [nx=2] \startplacefigure [title=Left, reference=ref:left, group=one, groupsuffix=a] \externalfigure \stopplacefigure

[NTG-context] Neovim and ConTeXt

2021-11-24 Thread Clint Grady via ntg-context
don't want to duplicate work if someone else has already done it. Clint [1]: https://wiki.contextgarden.net/index.php?title=Vim=toggle_view_desktop, bottom of page [2]: https://github.com/lervag/vimtex___ If your

Re: [NTG-context] Confusing interaction between \writetolist and bookmarks (bug?)

2021-11-22 Thread musa furber via ntg-context
kmarks and table of > > contents -- until I started using \writetolist to manually inject > > additional sections and subsections into their respective lists. The > > manually injected entries do show up (as I expected), but their > > corresponding PDF bookmarks get repeated (not

[NTG-context] Problem with \head inside \itemize

2021-11-22 Thread Jean-Philippe Rey via ntg-context
, JP Here is the minimal failing example : === \starttext \startitemize \head Title text \stopitemize \stoptext === and the corresponding log output : === resolvers | formats | executing runner 'run luametatex format': /Users/jprey

Re: [NTG-context] Confusing interaction between \writetolist and bookmarks (bug?)

2021-11-22 Thread Musa Furber via ntg-context
ng \writetolist to manually inject > additional sections and subsections into their respective lists. The > manually injected entries do show up (as I expected), but their > corresponding PDF bookmarks get repeated (not what I expected). you can probably best use \startsec

Re: [NTG-context] Confusing interaction between \writetolist and bookmarks (bug?)

2021-11-22 Thread Hans Hagen via ntg-context
do show up (as I expected), but their corresponding PDF bookmarks get repeated (not what I expected). you can probably best use \startsection[title={...},list={...},bookmark={...}] ... \stopsection

[NTG-context] Confusing interaction between \writetolist and bookmarks (bug?)

2021-11-22 Thread musa furber via ntg-context
get repeated (not what I expected). Here is a M(not)WD: ###begin \setupinteraction[state=start] \placebookmarks[chapter, section][chapter, section] \setupinteractionscreen[option=bookmark] \starttext \startfrontmatter \title{Contents} \placelist[chapter] \stopfrontmatter

Re: [NTG-context] Can't replicate a simple example in the wikipage

2021-11-15 Thread Wolfgang Schuster via ntg-context
[     title={New Section}     reference=sec:new,   ] This is a new-style section. \stopsection* * * However, my compiled pdf looks nothing like the example on the wiki. What am I doing wrong? Is there anything wrong with my ConTeXt settings? 1. You need \starttext at the begin and \stoptext

[NTG-context] Can't replicate a simple example in the wikipage

2021-11-15 Thread A A via ntg-context
Dear All, I'm trying to run one of the examples in the ConTeXt wiki page https://wiki.contextgarden.net/Titles Here's the code: *\setuppapersize[A5]\section[sec:old]{Old Section}This is an old-style \ConTeXt\ section.\startsection [title={New Section} reference=sec:new

Re: [NTG-context] \startbodymatter forcing new page in document

2021-11-15 Thread Wolfgang Schuster via ntg-context
Taco Hoekwater via ntg-context schrieb am 15.11.2021 um 15:28: On 15 Nov 2021, at 15:07, A A via ntg-context wrote: Dear All, The following code generates a title and some fake text: \setuppagenumbering[location=right] \usemodule[visual] \usebtxdataset[bibliography.bib] \starttext \title

Re: [NTG-context] \startbodymatter forcing new page in document

2021-11-15 Thread Taco Hoekwater via ntg-context
> On 15 Nov 2021, at 15:07, A A via ntg-context wrote: > > Dear All, > > The following code generates a title and some fake text: > > \setuppagenumbering[location=right] > > \usemodule[visual] > > \usebtxdataset[bibliography.bib] > \starttext &g

[NTG-context] \startbodymatter forcing new page in document

2021-11-15 Thread A A via ntg-context
Dear All, The following code generates a title and some fake text: *\setuppagenumbering[location=right]\usemodule[visual]\usebtxdataset[bibliography.bib]\starttext\title{test}\fakewords{1000}{1200}\stoptext* The following code does the same, but wraps the fakewords in a *bodymatter

Re: [NTG-context] issue importing metadata from PDF

2021-11-12 Thread Hans Hagen via ntg-context
On 11/12/2021 6:53 PM, Pablo Rodriguez via ntg-context wrote: Hans, I have a PDF document (which I didn’t generate) and it contains the following objects: 1 0 obj << /Title 272 0 R /Producer 273 0 R /Creator 274 0 R /CreationDate 275 0 R /ModDate 2

[NTG-context] issue importing metadata from PDF

2021-11-12 Thread Pablo Rodriguez via ntg-context
Hans, I have a PDF document (which I didn’t generate) and it contains the following objects: 1 0 obj << /Title 272 0 R /Producer 273 0 R /Creator 274 0 R /CreationDate 275 0 R /ModDate 275 0 R >> endobj 272 0 obj (This is an important title) endobj

Re: [NTG-context] Achieving the effect of \overset outside math mode

2021-11-11 Thread kauśika via ntg-context
On Friday, November 12, 2021 11:04:20 AM IST Wolfgang Schuster via ntg-context wrote: > Aditya Mahajan via ntg-context schrieb am 12.11.2021 um 05:45: > > On Fri, 12 Nov 2021, kauśika via ntg-context wrote: > >> Dear list, > >> > >> I don't have a MWE per s

Re: [NTG-context] Achieving the effect of \overset outside math mode

2021-11-11 Thread kauśika via ntg-context
On Friday, November 12, 2021 11:04:20 AM IST Wolfgang Schuster via ntg-context wrote: > Aditya Mahajan via ntg-context schrieb am 12.11.2021 um 05:45: > > On Fri, 12 Nov 2021, kauśika via ntg-context wrote: > >> Dear list, > >> > >> I don't have a MWE per s

Re: [NTG-context] Achieving the effect of \overset outside math mode

2021-11-11 Thread Wolfgang Schuster via ntg-context
Aditya Mahajan via ntg-context schrieb am 12.11.2021 um 05:45: On Fri, 12 Nov 2021, kauśika via ntg-context wrote: Dear list, I don't have a MWE per se, but as the title suggests, I want to be able to achieve the effect of \overset outside math mode. As I understand, \overset itself

Re: [NTG-context] Achieving the effect of \overset outside math mode

2021-11-11 Thread Aditya Mahajan via ntg-context
On Fri, 12 Nov 2021, kauśika via ntg-context wrote: > Dear list, > > I don't have a MWE per se, but as the title suggests, I want to be able to > achieve the effect of \overset outside math mode. As I understand, \overset > itself is implemented using \mathop and \limits.

[NTG-context] rule beneath chapter number

2021-11-11 Thread jbf via ntg-context
[chapter= ] \starttext \chapter[title={Chapter title}] \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman

Re: [NTG-context] Achieving the effect of \overset outside math mode

2021-11-11 Thread Rik Kabel via ntg-context
On 2021-11-11 21:47, kauśika via ntg-context wrote: Dear list, I don't have a MWE per se, but as the title suggests, I want to be able to achieve the effect of \overset outside math mode. As I understand, \overset itself is implemented using \mathop and \limits. Currently to achieve this I

Re: [NTG-context] Achieving the effect of \overset outside math mode

2021-11-11 Thread kauśika via ntg-context
On Friday, November 12, 2021 8:17:24 AM IST kauśika wrote: > Dear list, > > I don't have a MWE per se, but as the title suggests, I want to be able to > achieve the effect of \overset outside math mode. As I understand, \overset > itself is implemented using \mathop and \limits.

[NTG-context] Achieving the effect of \overset outside math mode

2021-11-11 Thread kauśika via ntg-context
Dear list, I don't have a MWE per se, but as the title suggests, I want to be able to achieve the effect of \overset outside math mode. As I understand, \overset itself is implemented using \mathop and \limits. Currently to achieve this I have defined some macros using \offset thus : \define

Re: [NTG-context] repeat layer recto pages

2021-11-09 Thread jbf via ntg-context
, this is what you want: \startsectionblockenvironment[bodypart] \setupbackgrounds [rightpage] [background=butterfly] \stopsectionblockenvironment \startbodymatter \setupbackgrounds  [rightpage]  [background=butterfly] \startchapter[title={Chapter title

Re: [NTG-context] repeat layer recto pages

2021-11-09 Thread Pablo Rodriguez via ntg-context
> > \setupbackgrounds >  [rightpage] >  [background=butterfly] > > \startchapter[title={Chapter title}] > \definelayer[butterfly] >     [x=0mm, y=0mm,repeat=yes,width=\paperwidth, height=\paperheight] > \setlayer[butterfly] >     [hoffset=.99\textwidth, voffset

[NTG-context] repeat layer recto pages

2021-11-08 Thread jbf via ntg-context
something). \startbodymatter \setupbackgrounds  [rightpage]  [background=butterfly] \startchapter[title={Chapter title}] \definelayer[butterfly]     [x=0mm, y=0mm,repeat=yes,width=\paperwidth, height=\paperheight] \setlayer[butterfly]     [hoffset=.99\textwidth, voffset=1cm]     {\externalfigure

Re: [NTG-context] Cannot access Lua function

2021-10-30 Thread Hans Hagen via ntg-context
, I want to (/used to) set the creator and producer in the following manner \startluacode local metadata = lpdf.getmetadata(); metadata['producer']='IKTS-VTR'; metadata['creator']='IKTS-VTR'; \stopluacode I was not able to do this using \setupinteraction, which I use to setup the title, subtitle

Re: [NTG-context] Cannot access Lua function

2021-10-30 Thread kauśika cittūr via ntg-context
set the creator and producer in the following manner \startluacode local metadata = lpdf.getmetadata(); metadata['producer']='IKTS-VTR'; metadata['creator']='IKTS-VTR'; \stopluacode I was not able to do this using \setupinteraction, which I use to setup the title, subtitle and author. T

[NTG-context] Solved: Book setup with LHS-side quotes before chapters/parts, header/footer issues, TOC, etc.

2021-10-26 Thread Gerben Wierda via ntg-context
. But that is not really a problem. And getting the part title somewhere more centred on its page is also left as an issue for later. Example file. In a project/component setup: everything before the \starttext goes into the environment file, the rest in the product file. %%% %%% Sections that have a LHS

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

2021-10-25 Thread Hans Hagen via ntg-context
f \date} >>  \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 cour

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

2021-10-25 Thread Hans Hagen via ntg-context
ver: 2021.10.24 21:45) LMTX: >> >>  \define\DraftOf   {Draft of \date} >>  \setupinteraction [date={\DraftOf}] > > Hi Rik, > > \setupinteraction[date=***] only accepts a date as input. > > Would it be possible t

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

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
and 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 ___

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

2021-10-24 Thread Wolfgang Schuster via ntg-context
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={PRAGMA ADE

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

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

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