Re: [NTG-context] Critical Editions?

2022-01-08 Thread Jean-Pierre Delange via ntg-context
hg/context-mirror/commits/ wiki : http://contextgarden.net ___ begin:vcard fn:Jean-Pierre Delange n:Delange;Jean-Pierre org;quoted-printable:Acad=C3=A9mie de Versailles email;internet:adeiman...@free.fr ti

[NTG-context] descriptions with long titles

2022-01-08 Thread Henning Hraban Ramm via ntg-context
Hi again, I tried to use a description for a list of organizations with partly long titles. * title and description should both use linebreaking (works) * title should have a fixed width (doesn’t work) * description should run beside a multi-line title, without a gap (doesn’t work) Is this

Re: [NTG-context] Fallback fails for Linux Libertine O to Junicode over private area, debugging?

2022-01-07 Thread Hans Hagen via ntg-context
-%D \module %D [ file=type-junicode, %D version=2011.09.18, %Dtitle=\CONTEXT\ Typescript Macros, %D subtitle=Junicode Font Definitions, %D author=Wolfgang Schuster, %D date=\currentdate, %Dcopyright=Wolfgang Schuster, %D license=GNU

Re: [NTG-context] Critical Editions?

2022-01-06 Thread Jean-Pierre Delange via ntg-context
his own style sheet which give a PDF output, but Dunod publisher has (for example) build since 15 years an external working flow on a distant (and private server) : the Word text is revised with Word tags (title, chapter, etc.) and send to a server which automatically apply some XML, LateX

Re: [NTG-context] how to place getmarking[title] in header instead of getmarking[chapter]

2022-01-04 Thread fv leung via ntg-context
can use this for the header: \setupheadertexts [text] [{\namedstructurevariable{chapter}{title}}] [] [] [{\namedstructurevariable{chapter}{title}}] juh via ntg-context 於 2022年1月5日 週三 上午12:28寫道: > Hi all, > > I know how to put the current chapter in the header. > > But how can

[NTG-context] how to place getmarking[title] in header instead of getmarking[chapter]

2022-01-04 Thread juh via ntg-context
Hi all, I know how to put the current chapter in the header. But how can I also put the value of \starttitle in the header. In this mwe the \starttitle command does not modify the header. Is it possible to do something like: \getmarking[chapter or title] I cannot include \setmarking

Re: [NTG-context] Resetcounter in custom enumeration environment

2022-01-04 Thread Jan-Erik Hägglöf via ntg-context
y=bysubject] >> and ConTeXt will automatically restart the number at every new subject >> block. > > In this case you would have something like : > > \startexercise[title={Exercises}] >\startuppgift > first exercise >\stopuppgift > >\start

Re: [NTG-context] Resetcounter in custom enumeration environment

2022-01-03 Thread kauśika via ntg-context
u can simply do > \setupenumeration[uppgift] > [alternative=left, > width=1cm, > text=, > after={\blank[2*big]}, > way=bysubject] > and ConTeXt will automatically restart the number at every new subject > block. In this case you would have something like : \startexercis

Re: [NTG-context] How to make \def accept block or buffer as part of (long) command argument

2022-01-02 Thread Benjamin Buchmuller via ntg-context
2/2022 2:14 PM, Benjamin Buchmuller wrote: >> Thanks, Hans, for the answer, but I'm not sure if I get the point. >> While this is possible in ConTeXt: >> \startsection[title={My Title}] >> \beginMyBlock >> bla bla >> \endMyBlock >> \stopsection >> The fo

Re: [NTG-context] How to make \def accept block or buffer as part of (long) command argument

2022-01-02 Thread Hans Hagen via ntg-context
On 1/2/2022 2:14 PM, Benjamin Buchmuller wrote: Thanks, Hans, for the answer, but I'm not sure if I get the point. While this is possible in ConTeXt: \startsection[title={My Title}] \beginMyBlock bla bla \endMyBlock \stopsection The following won't work (end of file error): \star

Re: [NTG-context] How to make \def accept block or buffer as part of (long) command argument

2022-01-02 Thread Benjamin Buchmuller via ntg-context
Thanks, Hans, for the answer, but I'm not sure if I get the point. While this is possible in ConTeXt: \startsection[title={My Title}] \beginMyBlock bla bla \endMyBlock \stopsection The following won't work (end of file error): \startMyCommand[optional={Maybe}] \beginMyBlo

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

2022-01-01 Thread jbf via ntg-context
,A,] then adding the numberconversionset=myconversion 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,numbe

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

2022-01-01 Thread Jairo A. del Rio via ntg-context
> Like this? \setuplabeltext[chapter={Study~,}] \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
align=flushleft, > style=\bfb] > > \definenote[someothername] > > \setupnote >[someothername] >[rule=off] > > \setupnotation >[someothername] >[numberconversion=set 2] > > \setupnotation >[alternative=left, > hang=fi

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

2022-01-01 Thread Wolfgang Schuster via ntg-context
\setupnotation [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}][auth

[NTG-context] \thanks inside author in section

2022-01-01 Thread Youssef Cherem via ntg-context
\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\structurelistu

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

2022-01-01 Thread Hans Hagen via ntg-context
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

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

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
[range=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

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

2021-12-31 Thread Wolfgang Schuster via ntg-context
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 in

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{TOCNumberLab

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

2021-12-30 Thread kauśika via ntg-context
\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&qu

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

[NTG-context] \thanks inside author in section

2021-12-29 Thread Youssef Cherem via ntg-context
any option that 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{subtitl

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

2021-12-26 Thread Joey McCollum via ntg-context
fault 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} } \stopb

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

2021-12-25 Thread Joey McCollum via ntg-context
cording to the manual, I can suppress 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 comp

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

2021-12-25 Thread Joey McCollum via ntg-context
ned control sequence \doifendswithpunctelse" > > 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 Mex

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

2021-12-25 Thread Joel via ntg-context
n 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} Ne

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

2021-12-24 Thread Joey McCollum via ntg-context
} > > The problem with this last example, is 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. > > \usemodu

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

2021-12-24 Thread Denis Maier via ntg-context
ich 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

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

2021-12-24 Thread Joey McCollum via ntg-context
}][]{clark1989} >> >> After much trial 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 >> pa

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

2021-12-24 Thread Joey McCollum via ntg-context
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] > > @Article{na2006, > title={Volcanoes \word{of} New Mexico}, > year={2006}, > journal={New Mexico Earth Ma

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

2021-12-24 Thread Joel via ntg-context
s my minimum working 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} G

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]

[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

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

2021-12-21 Thread Joey McCollum via ntg-context
(4) Finally, the actual bibliographic entry in \placelistofpublications > 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.&qu

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

2021-12-21 Thread Joel via ntg-context
t, 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 authors. Any help would be greatly apprecia

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 approaches

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 \ifc

Re: [NTG-context] Title for tabulate

2021-12-16 Thread Benjamin Buchmuller via ntg-context
ut any >> 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) fami

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

2021-12-14 Thread Jan-Erik Hägglöf via ntg-context
n; charset="utf-8"; Format="flowed" >> >> Hi, >> >> This works here: >> >> \usemodule[circuitikz] >> >> \starttext >>\startcircuitikz >>\draw (0,2) to[I] (2,2); >>\stopcircuitikz >>\startcircui

Re: [NTG-context] Title for tabulate

2021-12-14 Thread Hans Hagen via ntg-context
s 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. So, in one file I can define all styles (which the end-user would not need to see)

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

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

2021-12-14 Thread Jeong Dal via ntg-context
can you check if we load enough? We really need to 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 >

Re: [NTG-context] circuitikz module seems broken

2021-12-13 Thread Hans Hagen via ntg-context
n | PRAGMA 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 titl

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

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

2021-12-08 Thread Joey McCollum 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 performance

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

2021-12-06 Thread Hans Hagen via ntg-context
Hans Hagen | PRAGMA 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, %

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

2021-12-03 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-circuitikz, %D version=2021.12.03, %D

[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
tries: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-es

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

2021-11-30 Thread Marco Patzer via ntg-context
| fatal error: 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 \stopte

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 F

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
ulate [ 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 \sto

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

2021-11-27 Thread Joey McCollum via ntg-context
e Clementine Homilies* 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

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
iento] \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

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

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 %\startbackm

[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\sto

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

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 though

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

[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

[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 \stopplacef

[NTG-context] Neovim and ConTeXt

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

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': /U

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
artsection [     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 \s

[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:n

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

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

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 itse

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 t

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 \lim

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

Re: [NTG-context] repeat layer recto pages

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

Re: [NTG-context] repeat layer recto pages

2021-11-09 Thread Pablo Rodriguez via ntg-context
tter > > \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, vo

[NTG-context] repeat layer recto pages

2021-11-08 Thread jbf via ntg-context
itted 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]     {\externalf

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

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 s

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

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