[NTG-context] Re: [ page setup ]

2025-01-26 Thread garulfo
in particular \startsection for example breaks the mecanism \setuppapersize [A4] \setupheader [state=empty, no] \usetypescript[ibmplex] \setupbodyfont[ibmplex, serif, 11pt] % \setupinterlinespace[14pt] % LET DEFAULT \setuplayout[% backspace=10mm, topspace=20mm, header=0mm,

[NTG-context] Re: [ page setup ]

2025-01-26 Thread garulfo
A proposal based on lmt_parshape, \startshapetext, and \getshapetext. Be sure to use \endgraf to break the line ==> it probably work only if you stay in the same par. % 8<--- \setuppapersize [A4] \setupheader [state=empty, no] \usetypescript[ibmplex] \setupbodyfont[ibmplex, serif, 11pt] % \setu

[NTG-context] Re: [ page setup ]

2025-01-19 Thread vm via ntg-context
On 19/01/2025 21:43, Mikael Sundqvist wrote: If you are in the middle of a paragraph at the page break where the width changes, it will  not work. ok, so the \definelayout will not work for defining alternate (odd/even) narrow, (odd/even) wide pages. Is there an different route? e.g. manu

[NTG-context] Re: [ page setup ]

2025-01-19 Thread Mikael Sundqvist
If you are in the middle of a paragraph at the page break where the width changes, it will not work. Den sön 19 jan. 2025 21:40vm via ntg-context skrev: > > > On 19/01/2025 20:38, Henning Hraban Ramm wrote: > > \definelayout[one][width=118mm] > > \definelayout[two][width=178mm] > > > > and then

[NTG-context] Re: [ page setup ]

2025-01-19 Thread vm via ntg-context
On 19/01/2025 20:38, Henning Hraban Ramm wrote: \definelayout[one][width=118mm] \definelayout[two][width=178mm] and then activate them for pages like \definelayout[1,2,5,6][one] \definelayout[4,5,7,8][two] my current lmtx seems to ignore the \definelayout what am i missing? 8<--- \set

[NTG-context] Re: [ page setup ]

2025-01-19 Thread vm via ntg-context
On 19/01/2025 20:38, Henning Hraban Ramm wrote: You can define different layouts like \definelayout[one][width=118mm] \definelayout[two][width=178mm] and then activate them for pages like \definelayout[1,2,5,6][one] \definelayout[4,5,7,8][two] That helps indeed, Thank you! .F _

[NTG-context] Re: [ page setup ]

2025-01-19 Thread Henning Hraban Ramm
Am 19.01.25 um 19:07 schrieb vm via ntg-context: What would be the simple preferred way to define a document having not just odd and even pages but also alternating width is sets of two. e.g. two pages with width 118 mm followed by two pages of 178 mm followed by two pages with width 118 mm, .

[NTG-context] [ page setup ]

2025-01-19 Thread vm via ntg-context
What would be the simple preferred way to define a document having not just odd and even pages but also alternating width is sets of two. e.g. two pages with width 118 mm followed by two pages of 178 mm followed by two pages with width 118 mm, ... all hints appreciated .Floris _

[NTG-context] Re: digits / units setup

2024-08-25 Thread Wolfgang Schuster
. Seems to be a problem of my environment. In a minimal example, \setupunit changes \unit, \setdigitmode changes \digits. The \digits mechanism was never extended to provide a basic setup mechanism which means you have to use the \set... commands to change the output. Wolfgang

[NTG-context] Re: digits / units setup

2024-08-24 Thread Henning Hraban Ramm
Next try: Apparently, \setupunit affects only \unit, for \digits you still need \setdigitmode (and \setdigitorder). Is this intentional? Also, \spaceddigits works only with decimal point input and doesn’t react to any of the above settings, while \unit and \digits expect me to insert a thousan

[NTG-context] Re: digits / units setup

2024-08-24 Thread Henning Hraban Ramm
Am 24.08.24 um 20:38 schrieb Henning Hraban Ramm: According to docs, \setupunit[method=3] should change the rendering of numbers in \unit{10,123.99 mm} or \digits{10,123.99} to “10\,123,99”, but it doesn’t. \setdigitmode{3} works, though. Seems to be a problem of my environment. In a mini

[NTG-context] digits / units setup

2024-08-24 Thread Henning Hraban Ramm
According to docs, \setupunit[method=3] should change the rendering of numbers in \unit{10,123.99 mm} or \digits{10,123.99} to “10\,123,99”, but it doesn’t. \setdigitmode{3} works, though. Hraban ___ If your que

[NTG-context] Re: Playing with math font setup

2024-05-21 Thread Hans Hagen
On 5/21/2024 4:40 PM, Ali Ali wrote: Hi, hope everyone's doing well! Is it possible to setup math font so that all the basic ascii characters (i.e. a..zA..Z0..9) glyphs are substituted with current serif (or sans) font. I tried playing with fallback thing but it didn't got me anyw

[NTG-context] Playing with math font setup

2024-05-21 Thread Ali Ali
Hi, hope everyone's doing well! Is it possible to setup math font so that all the basic ascii characters (i.e. a..zA..Z0..9) glyphs are substituted with current serif (or sans) font. I tried playing with fallback thing but it didn't got me anywhere! e.g. $x$ will use the 'x'

[NTG-context] Re: Combine lua and btx setup, was: Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-25 Thread Gerion Entrup
I solved it, although it's kinda hacky. I'm pretty sure that publications.citevariants.short is not meant to be called directly. Do you know why `context.getdetail(dataset, tag, "author")` does not work in render_cite? It always returns nil. ``` \setupinteraction[state=start] \startbuffer[test

[NTG-context] Combine lua and btx setup, was: Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-23 Thread Gerion Entrup
Here is a solution for the first part of my question. This is based on https://www.mail-archive.com/ntg-context@ntg.nl/msg101156.html and try and error based on publ-imp-aps.mkvi and publ-imp-apa.mkvi: It display now the citation _and_ numbering labels in the short form: ``` \setupinteraction[stat

[NTG-context] Re: MP setup for a progress bar

2023-07-05 Thread Aditya Mahajan
On Tue, 4 Jul 2023, Henning Hraban Ramm wrote: > Thanks to Taco, Robbert and Jules for their work! > > > I used the downtime to setup a presentation style with a progress bar in the > footer. But I get the same (first page) graphics on all pages, and the footer > background

[NTG-context] Re: MP setup for a progress bar

2023-07-05 Thread Henning Hraban Ramm
Am 04.07.23 um 22:53 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 04.07.2023 um 22:24: I used the downtime to setup a presentation style with a progress bar in the footer. But I get the same (first page) graphics on all pages, and the footer background appears under the text

[NTG-context] Re: MP setup for a progress bar

2023-07-04 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 04.07.2023 um 22:24: Thanks to Taco, Robbert and Jules for their work! I used the downtime to setup a presentation style with a progress bar in the footer. But I get the same (first page) graphics on all pages, and the footer background appears under the text

[NTG-context] MP setup for a progress bar

2023-07-04 Thread Henning Hraban Ramm
Thanks to Taco, Robbert and Jules for their work! I used the downtime to setup a presentation style with a progress bar in the footer. But I get the same (first page) graphics on all pages, and the footer background appears under the text area as well as under the margins. * I thought

Re: [NTG-context] parameters of (setup)externalfigure, conversions etc.

2022-08-12 Thread Henning Hraban Ramm via ntg-context
Am 11.08.22 um 15:51 schrieb Henning Hraban Ramm via ntg-context: Hi Hans, yesterday you told me about the image conversions in grph-con.lua, and I tried to find out how to use them. Up to know I only knew "mp" for SVG images. I found I can use "gray.pdf" or "cmyk.pdf" to convert an image (J

[NTG-context] parameters of (setup)externalfigure, conversions etc.

2022-08-11 Thread Henning Hraban Ramm via ntg-context
Hi Hans, yesterday you told me about the image conversions in grph-con.lua, and I tried to find out how to use them. Up to know I only knew "mp" for SVG images. I found I can use "gray.pdf" or "cmyk.pdf" to convert an image (JPG or PNG) to grayscale/CMYK, but the resolution isn’t used for do

Re: [NTG-context] How to setup a headertext in a doublesided document in a cld?

2022-07-20 Thread Willi Egger via ntg-context
which is split over two pages. Now on the even page there is no header. So the question is how to convince cld to setup the header when the table is split …. I attach my “minimal” example, which shows the problem. Kind regards Willi test.tex Description: Binary data > On 18 Jul 2022, at 22

Re: [NTG-context] How to setup a headertext in a doublesided document in a cld?

2022-07-18 Thread Wolfgang Schuster via ntg-context
Willi Egger via ntg-context schrieb am 16.07.2022 um 17:03: Hello! I tried to setup a headertext in a context-lua-document. — No problem for the singlesided version, however hoe to pass the info for a double sided version? Unfortunately the cld-mkiv manual contains an example for a singlesided

[NTG-context] How to setup a headertext in a doublesided document in a cld?

2022-07-16 Thread Willi Egger via ntg-context
Hello! I tried to setup a headertext in a context-lua-document. — No problem for the singlesided version, however hoe to pass the info for a double sided version? Unfortunately the cld-mkiv manual contains an example for a singlesided document. It ried context.setupheadertexts({ function

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

2021-12-15 Thread Jeong Dal via ntg-context
Dear Jan-Erik, Thank you for sharing your code. It will be very helpful for me. I hope that my problem is solved soon. Thank you again. Best regards, Dalyoung ___ If your question is of interest to others as well

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

2021-12-15 Thread Nicola via ntg-context
On 2021-12-14, Jeong Dal via ntg-context wrote: > Although you have explained about the way out of my problem, > I am still in the problem. I am maintaining the ConTeXt plugin for Vim, and I also use MacVim: feel free to contact me off list to help you iron out your issues (email in the source co

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

2021-12-14 Thread Jan-Erik Hägglöf via ntg-context
> > Best regards, > > Dalyoung > >> 2021. 12. 14. 오전 8:56, ntg-context-requ...@ntg.nl 작성: >> >> Send ntg-context mailing list submissions to >> ntg-context@ntg.nl >> >> To subscribe or unsubscribe via the World Wide Web, visit >>

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

2021-12-14 Thread Jeong Dal via ntg-context
th subject or body 'help' to > ntg-context-requ...@ntg.nl > > You can reach the person managing the list at > ntg-context-ow...@ntg.nl > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of ntg-context digest

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

2021-12-14 Thread Nicola via ntg-context
On 2021-12-13, Jeong Dal via ntg-context wrote: > Dear John, Nicola, > > I created a file context.vim under the folder ~/.vim/after/ftplugin/ which > contains > > map > :w:!ConTeXt > let g:context_mtxrun = 'PATH=$HOME/ConTeXtLM/tex/texmf-osx-64/bin:$PATH > mtxrun' > let g:tex_flavor = "context"

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

2021-12-13 Thread Jan-Erik Hägglöf via ntg-context
let g:context_mtxrun = 'PATH=$HOME/context/context-osx-64/tex/texmf-osx-64/bin:$PATH mtxrun' nnoremap å :ConTeXt nnoremap ö :call tex#preview() nnoremap ä \ :call tex#goto_texshop(expand("%:p"), line('.'), col('.'), 1, 1) Here is my snippet from my personal context.vim file I see that you

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

2021-12-13 Thread Jeong Dal via ntg-context
Dear John, Nicola, I created a file context.vim under the folder ~/.vim/after/ftplugin/ which contains map > :w:!ConTeXt let g:context_mtxrun = 'PATH=$HOME/ConTeXtLM/tex/texmf-osx-64/bin:$PATH mtxrun' let g:tex_flavor = "context" The result is 1. using “:ConTeXt” issued an error message: “E4

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

2021-12-13 Thread Jeong Dal via ntg-context
Dear John, Nicola, Thank you for your help. I have to check the wiki carefully first. I’ll do what you said and report it later. Thank you again. Best regards, Dalyoung ___ If your question is of interest to other

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

2021-12-12 Thread Nicola via ntg-context
On 2021-12-11, Jeong Dal via ntg-context wrote: > Hi, > > Recently, I have a problem to use vscode, so I tried MacVim for ConTeXt. > It worked fine. But it uses context in TeXLive instead of using it in > ConTeXtLMTX. > I’d like to use LMTX which is installed in ~/ConTeXtLM/tex/... > > How to red

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

2021-12-12 Thread John Kitzmiller via ntg-context
> > How to redirect the path for ConTeXt in MacVim? > I put this in .vimrc: map :w :!context % and $PATH directs "context" to the right place: /Users/kitz/lmtx/tex/texmf-osx-64/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin To open the .pdf: :!open -a %r.pdf ___

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

2021-12-11 Thread Jeong Dal via ntg-context
Hi, Recently, I have a problem to use vscode, so I tried MacVim for ConTeXt. It worked fine. But it uses context in TeXLive instead of using it in ConTeXtLMTX. I’d like to use LMTX which is installed in ~/ConTeXtLM/tex/... How to redirect the path for ConTeXt in MacVim? Thank you. Best regards

Re: [NTG-context] SyncTeX setup

2021-11-01 Thread Hans Hagen via ntg-context
On 10/31/2021 11:31 AM, Henning Hraban Ramm via ntg-context wrote: Hi, has anyone a working SyncTeX setup with ConTeXt LMTX for anything else than TeXshop? With LaTeX, it works for me with Skim (+ Atom/Textadept/TeXworks) and TeXstudio. And in TeXshop we got our own parser. But can we expect

[NTG-context] SyncTeX setup

2021-10-31 Thread Henning Hraban Ramm via ntg-context
Hi, has anyone a working SyncTeX setup with ConTeXt LMTX for anything else than TeXshop? With LaTeX, it works for me with Skim (+ Atom/Textadept/TeXworks) and TeXstudio. And in TeXshop we got our own parser. But can we expect others to adapt to our “superior” SyncTeX format? (I don’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
been doing years ago (but that book did not have parts and was done in mkii) The modification of \chapter and \part setups with before= and after= never worked in the \component setup in LMTX. Creating a separate command to run immediately before a \chapter or \part, as suggested by Bruce, was

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-25 Thread Bruce Horrocks via ntg-context
netext >> [chapterfooter] % name >> [footer]% vertical location >> [pagenumber]% content >> >> \setuphead >> [chapter] >> [header=empty, >>footer=chapterfooter] >> >> \starttext >> >> \dorecurse{4} >> {\ex

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
[header=empty, >footer=chapterfooter] > > \starttext > > \dorecurse{4} > {\expanded{\chapter{Chapter \recurselevel}} >\dorecurse{10}{\samplefile{lorem}}} > > \stoptext > > Wolfgang Yes, this works in a simple setup. But it doesn’t work in mine with my LHS-q

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Wolfgang Schuster via ntg-context
Gerben Wierda via ntg-context schrieb am 24.10.2021 um 15:42: My double-sided layout starts each chapter on a right page with a quote on the opposing left page. I’d like to move the page number of that right page to the footer, but haven’t been able to find how to do this is the documentation.

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
I attempted this: \page[right] \setupheadertexts[] \setupfootertexts[pagenumber] \setupfooter[text][after={\setupfootertexts[]\setupheadertexts[pagenumber]}] but that does not work. This definitely moves the page numbers to the footer. Gerben Wierda (LinkedIn

[NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
My double-sided layout starts each chapter on a right page with a quote on the opposing left page. I’d like to move the page number of that right page to the footer, but haven’t been able to find how to do this is the documentation. How can I do this? Example: \setuplayout[location=doublesided

Re: [NTG-context] My setup almost works

2021-10-23 Thread Pablo Rodriguez via ntg-context
On 10/23/21 6:09 PM, Gerben Wierda wrote: > [...] Replying a private to the list, since it could be useful for (future?) reference. > This works, except: > - Parts are not mentioned in the table of contents. If I use > \completecontent, I do not get the abstracts Well, don’t use \completecontent

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread Jan U. Hasecke
Am 25.06.21 um 12:36 schrieb denis.ma...@unibe.ch: but you'll perhaps have to put the stuff inside a hbox first \definehbox[pagenumber][12.5mm] \setupfootertexts [] [{\getmarking[chapter]}\hboxpagenumber{\hfill\pagenumber}] [\hboxpagenumber{\pagenumber\hfill}{\getmarking[pa

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread Jan U. Hasecke
Hi Denis, Am 25.06.21 um 09:50 schrieb denis.ma...@unibe.ch: Or, for more complex footers/headers you can use: \setupfootertexts [left on odd page] % out [right on odd page] % in [right on even page] % in [left on even page] % out In fact it is something like this \setupf

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread Wolfgang Schuster
denis.ma...@unibe.ch schrieb am 25.06.2021 um 12:36: but you'll perhaps have to put the stuff inside a hbox first \definehbox[pagenumber][12.5mm] \setupfootertexts [] [{\getmarking[chapter]}\hboxpagenumber{\hfill\pagenumber}] [\hboxpagenumber{\pagenumber\hfill}{\getmarking[

[NTG-context] Align in setup header/footer

2021-06-25 Thread Jan U. Hasecke
Dear all, while finetuning a layout I would like to change the align in setupfootertext to right align or outer align as it is a doublesided layout. The default is afaics to align to the middle of the two pages. I would like to change this but there is no align key in setupfooter. TIA juh

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread denis.maier
achricht- > Von: Maier, Denis Christian (UB) > Gesendet: Freitag, 25. Juni 2021 12:31 > An: ntg-context@ntg.nl > Betreff: AW: [NTG-context] Align in setup header/footer > > You can use \hfill > > > -Ursprüngliche Nachricht- > > Von: ntg-context Im Auftrag von

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread denis.maier
You can use \hfill > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Jan U. Hasecke > Gesendet: Freitag, 25. Juni 2021 12:23 > An: ntg-context@ntg.nl > Betreff: Re: [NTG-context] Align in setup header/footer > > > Hi Denis, > > Am 25.0

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread denis.maier
: ntg-context@ntg.nl > Betreff: Re: [NTG-context] Align in setup header/footer > > Hi, > > what do you have in the footer? > > Page numers? > Then you can just use: > \setuppagenumbering > [alternative=doublesided, > location={footer,right}]

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread denis.maier
t: Freitag, 25. Juni 2021 09:25 > An: mailing list for ConTeXt users > Betreff: [NTG-context] Align in setup header/footer > > > Dear all, > > while finetuning a layout I would like to change the align in setupfootertext > to > right align or outer align as it is a doubl

Re: [NTG-context] Setup output name from within ConTeXt document

2021-06-23 Thread Hans Hagen
On 6/23/2021 4:57 PM, Pablo Rodriguez wrote: On 6/23/21 9:26 AM, Hans Hagen wrote: On 6/22/2021 1:55 PM, Pascal Pascali wrote: Dear ConTeXt community, Is it possible to set the file name of the output from within the document? [...] \startluacode luatex.wrapup( function() os.r

Re: [NTG-context] Setup output name from within ConTeXt document

2021-06-23 Thread Pablo Rodriguez
On 6/23/21 9:26 AM, Hans Hagen wrote: > On 6/22/2021 1:55 PM, Pascal Pascali wrote: >> Dear ConTeXt community, >> >> Is it possible to set the file name of the output from within the document? > [...] > \startluacode > luatex.wrapup( > function() > os.remove("new.pdf") > os.r

Re: [NTG-context] Setup output name from within ConTeXt document

2021-06-23 Thread Hans Hagen
On 6/22/2021 1:55 PM, Pascal Pascali wrote: Dear ConTeXt community, Is it possible to set the file name of the output from within the document? I can do it on the command line by adding --result="CustomName.pdf", but I'd need to do it according to certain variables in the content of the file it

Re: [NTG-context] Setup output name from within ConTeXt document

2021-06-22 Thread Wolfgang Schuster
Pascal Pascali schrieb am 22.06.2021 um 13:55: Dear ConTeXt community, Is it possible to set the file name of the output from within the document? I can do it on the command line by adding --result="CustomName.pdf", but I'd need to do it according to certain variables in the content of the file

[NTG-context] Setup output name from within ConTeXt document

2021-06-22 Thread Pascal Pascali
Dear ConTeXt community, Is it possible to set the file name of the output from within the document? I can do it on the command line by adding --result="CustomName.pdf", but I'd need to do it according to certain variables in the content of the file itself... Setupinteraction[title="CustomName.pd

Re: [NTG-context] setup parameter problem

2021-06-07 Thread Hans Hagen
On 6/7/2021 6:17 PM, Hans van der Meer wrote: The code below seems ok in \startsection[title=] but not when I program the parameter collection with \def\setupparameters{\getparameters[prefix]} In that case even [title={enclosed value}] crashes with error message: Use of \doMacro doesn't match it

[NTG-context] setup parameter problem

2021-06-07 Thread Hans van der Meer
The code below seems ok in \startsection[title=] but not when I program the parameter collection with \def\setupparameters{\getparameters[prefix]} In that case even [title={enclosed value}] crashes with error message: Use of \doMacro doesn't match its definition. Obviously I am missing something

Re: [NTG-context] \processassignmentlist inside a \setup... or related

2021-04-20 Thread Hans Hagen
On 4/20/2021 1:28 PM, Jairo A. del Rio wrote: Oh, that's nice, but the \setupsomething part is still missing, i.e. I still want to be able to invoke \somethingparameter{...}. My question is about merging two tasks in one in a better way than the one I proposed, if possible. Thanks for the help.

Re: [NTG-context] \processassignmentlist inside a \setup... or related

2021-04-20 Thread Jairo A. del Rio
Oh, that's nice, but the \setupsomething part is still missing, i.e. I still want to be able to invoke \somethingparameter{...}. My question is about merging two tasks in one in a better way than the one I proposed, if possible. Thanks for the help. Jairo El mar, 20 de abr. de 2021 a la(s) 02:00,

Re: [NTG-context] \processassignmentlist inside a \setup... or related

2021-04-20 Thread Hans Hagen
On 4/20/2021 4:23 AM, Jairo A. del Rio wrote: Hi, list! I hope my example shows clearly enough what I intend to do: \startluacode userdata = userdata or {} userdata.mydata = {} local function registermydata(data,...) table.insert(userdata.mydata, data) end interfaces.implement{ name = "

[NTG-context] \processassignmentlist inside a \setup... or related

2021-04-19 Thread Jairo A. del Rio
Hi, list! I hope my example shows clearly enough what I intend to do: \startluacode userdata = userdata or {} userdata.mydata = {} local function registermydata(data,...) table.insert(userdata.mydata, data) end interfaces.implement{ name = "registermydata", arguments = "2 strings", acti

[NTG-context] Bug in lmtx or wrong setup?

2020-06-09 Thread Jan U. Hasecke
Hi all, I encountered a very strange problem. I want to have section headlines expanding the whole textarea, but the following copy text of the section shall be typeset in columns. I have this setup and it works fine. \setuphead [section] [ insidesection=\startcolumns, aftersection

[NTG-context] Setup left, right, between entries in custom cite of multiple references

2020-06-06 Thread Mike O'Connor
I'm trying to customise \cite and unable to get inbetween= to appear between entries in a multi-ref citation. My own customisations via a copy of publ-imp-apa.mkvi and .lua have this problem, so in case it was due to my customisation I went back to solid ground — the Chemistry example, pp. 70-7

Re: [NTG-context] [ibmplex setup script]

2020-05-03 Thread Wolfgang Schuster
Floris van Manen schrieb am 03.05.2020 um 18:24: I noticed that the same font test with the same lmtx versions on two different linux machines with the same ibmplex fonts installed, return a different rendering for the bold-italic. That is only one produces the italics, the other doesn't. I gues

Re: [NTG-context] [ibmplex setup script]

2020-05-03 Thread Floris van Manen
I noticed that the same font test with the same lmtx versions on two different linux machines with the same ibmplex fonts installed, return a different rendering for the bold-italic. That is only one produces the italics, the other doesn't. I guess that is an example of true software magic, or yet

Re: [NTG-context] [ibmplex setup script]

2020-05-03 Thread Henning Hraban Ramm
in there are the typescripts for all the weights. And there’s actually a bug in the setup for light-bolditalic: \edefinefontsynonym [\typescriptprefix{\typescriptone}\s!Bold] [\s!file:\typescriptprefix{n:plex\typescriptone}-light] [\s!features=\typescriptprefix{f:pl

Re: [NTG-context] [ibmplex setup script]

2020-05-03 Thread Floris van Manen
Hello Wolfgang, On 03-05-2020 10:49, Wolfgang Schuster wrote: > % Load IBM Plex with the regular width > > % \setupbodyfont[ibmplex] > > % Load IBM Plex with the thin width > > %\setupbodyfont[ibmplex-thin] A quick follow-up question. Apparently the thin/bold/italics combination does not wo

Re: [NTG-context] [ibmplex setup script]

2020-05-03 Thread Floris van Manen
Thank you Wolfgang! Your example works as intended. I really get lost in the font definition files, as it is difficult to understand which variable point to what other definition. Is there a (simple) picture where the scripts are annotated with arrows, to know which variable points to where? All

Re: [NTG-context] [ibmplex setup script]

2020-05-03 Thread Wolfgang Schuster
Plex with the thin width %\setupbodyfont[ibmplex-thin] % Custom setup with regular for serif and sans serif % but thin as default for monospaced \definetypeface [ibmplex] [rm] [serif] [ibmplex] [default] \definetypeface [ibmplex] [ss] [sans] [ibmplex] [default] \definetypeface [ibmplex

[NTG-context] [ibmplex setup script]

2020-05-02 Thread Floris van Manen
At present the ibmplexmonothin font is seen by the mtxrun script mtxrun --script fonts --list --all --pattern=ibmplexmonothin* identifier familynamefontnamefilename subfont instances ibmplexmonothin ibmplexmono ibmplexmonothin /home/vm/.local/share/f

Re: [NTG-context] Project setup query

2020-04-30 Thread Henning Hraban Ramm
Hi Alan! > Am 30.04.2020 um 15:07 schrieb Alan Bowen : > > Is there a way to identify the TEX root for each of the common files (in > Directory02) so that > the file will be processed when I process any one of the prd files in > Directory01? > > I have tried > % !TEX root=../prd_\mystring.tex

[NTG-context] Project setup query

2020-04-30 Thread Alan Bowen
This is a minor issue—to which I expect the answer will be simple, something I should know by now but do not. I am just trying to see if I can streamline a working directory. In Directory01, I have a number of prd_NameXX.tex files as well as a Directory02 which contains .tex files that are to be

Re: [NTG-context] New installation setup

2020-04-19 Thread Hans Hagen
On 4/19/2020 12:44 PM, Henning Hraban Ramm wrote: Am 19.04.2020 um 11:57 schrieb Hans Hagen : As a side note: a while ago mojca and i discussed the future repository and installation setup which will use github repositories (1) - context (including luametatex sources) (2) - binaries (for

Re: [NTG-context] New installation setup (was: Cannot build plain format)

2020-04-19 Thread Henning Hraban Ramm
> Am 19.04.2020 um 11:57 schrieb Hans Hagen : > As a side note: a while ago mojca and i discussed the future repository and > installation setup which will use github repositories > > (1) - context (including luametatex sources) > (2) - binaries (for a subset of platforms)

Re: [NTG-context] Global \setup has no effect while ad-hoc setting does

2020-02-13 Thread Henri Menke
On 2/14/20 6:30 PM, Wolfgang Schuster wrote: > On Fri, 14 Feb 2020 02:21:03 +0100 > Exp wrote: > >> Dear list, >> >> I want to prevent an overfull hbox caused by an inline typing by making the >> alignment very tolerant, but it didn't work: >> >> ``` >> \setupframedtext[ >> width=broad, >>

Re: [NTG-context] Global \setup has no effect while ad-hoc setting does

2020-02-13 Thread Wolfgang Schuster
On Fri, 14 Feb 2020 02:21:03 +0100 Exp wrote: > Dear list, > > I want to prevent an overfull hbox caused by an inline typing by making the > alignment very tolerant, but it didn't work: > > ``` > \setupframedtext[ > width=broad, > align={verytolerant, stretch} You need a command at the end

[NTG-context] Global \setup has no effect while ad-hoc setting does

2020-02-13 Thread Exp
Dear list, I want to prevent an overfull hbox caused by an inline typing by making the alignment very tolerant, but it didn't work: ``` \setupframedtext[ width=broad, align={verytolerant, stretch} ] \starttext \startframedtext%[align={verytolerant, stretch}] xx. x xx- xx

Re: [NTG-context] fancy chapter setup

2020-01-13 Thread Wolfgang Schuster
on and the \page command in my setup, the header text changed too early. \definedataset[chapter] \startsetups[chapter:leftpage]     \page[left]     \doglobal\increment\ChapterData     \doifsomething{\datasetvariable{chapter}{\ChapterData}{subtitle}}     {     \starttabulate  

Re: [NTG-context] fancy chapter setup

2020-01-13 Thread Henning Hraban Ramm
ut ugly. I would really like to set those quotes and image > names in the chapter command. Finally I used the after parameter and needed to define different section commands for chapters with and without epigraph (i.e. starting on a left or right page). When I had that distinction and

Re: [NTG-context] fancy chapter setup

2020-01-12 Thread Henning Hraban Ramm
Since the structureuservariables of a section aren’t defined in that section’s "before", I would need a macro or buffer to define the contents of that epigraph page, like this: \def\PreImg{Dummy} \startsetups FancyChapter \setupheadertexts[][][][] \doifelsebuffer{Quote}{ \doifoddpageel

Re: [NTG-context] fancy chapter setup

2020-01-12 Thread Henning Hraban Ramm
> Am 2020-01-11 um 19:49 schrieb Rik Kabel : > For what it is worth, here is how I address this. This lets me place > epigraphs on the facing verso of a chapter, or under the section title, and > set lettrines and first line treatment for chapters. I set page numbers in a > separate overlay to

Re: [NTG-context] fancy chapter setup

2020-01-11 Thread Henning Hraban Ramm
> Am 2020-01-11 um 19:49 schrieb Rik Kabel : > For what it is worth, here is how I address this. This lets me place > epigraphs on the facing verso of a chapter, or under the section title, and > set lettrines and first line treatment for chapters. I set page numbers in a > separate overlay to

Re: [NTG-context] fancy chapter setup

2020-01-11 Thread Rik Kabel
On 1/11/2020 10:04, Henning Hraban Ramm wrote: Hi all, I’m trying to setup a book layout where each chapter begins with a quote and an image on the left page, followed by title and text start on the right page. While the quote & image thing works, I can’t get the title on the right

[NTG-context] fancy chapter setup

2020-01-11 Thread Henning Hraban Ramm
Hi all, I’m trying to setup a book layout where each chapter begins with a quote and an image on the left page, followed by title and text start on the right page. While the quote & image thing works, I can’t get the title on the right page, ConTeXt always puts it right of the image, eve

[NTG-context] setup according to total numbers

2019-11-20 Thread Pablo Rodriguez
Hi Hans, this is related to a previous message (https://mailman.ntg.nl/pipermail/ntg-context/2019/096253.html). I don’t know how hard could to implement them, but it would be useful to be able to setup xtables and lists based on the total number of columns, rows and items. Some cases would be

Re: [NTG-context] is it useful to use the option "--fonts=all" when running first-setup-sh?

2019-06-25 Thread Andres Conrado
Tank you very much Pablo. I'll try that. They are proper latex fonts, tho, so I'm no sure that will do. I also have a background i humanities and book design, but I'm now making math books, go figure. It's very interesting from a typographic point of view. Now I'm more interested in seeing what ha

Re: [NTG-context] is it useful to use the option "--fonts=all" when running first-setup-sh?

2019-06-25 Thread Pablo Rodriguez
On 6/23/19 10:53 PM, Andres Conrado wrote: > Thanks, Pablo. I am assuming I need to have Utopia installed in my usual > font folder. I tried with Erewhon (I have otf files for that) and it > works. Thank you. > > In a related note, is there any reasonable way to use the latex math > font /Math Time

Re: [NTG-context] is it useful to use the option "--fonts=all" when running first-setup-sh?

2019-06-22 Thread Pablo Rodriguez
On 6/20/19 10:39 PM, Andres Conrado Montoya wrote: > As the subject says. I've been experimenting with having a by-project > context folder, so I can have a "frozen" version for each project. I see > there's an option to install more fonts (including utopia, useful for a > project I'm working on).

[NTG-context] is it useful to use the option "--fonts=all" when running first-setup-sh?

2019-06-20 Thread Andres Conrado Montoya
As the subject says. I've been experimenting with having a by-project context folder, so I can have a "frozen" version for each project. I see there's an option to install more fonts (including utopia, useful for a project I'm working on). However, I have no idea how to use these fonts. Are they av

Re: [NTG-context] Setup typing indent next

2019-01-10 Thread Hans Åberg
gt;>> \setupindenting[yes,medium] >>> >>> \setuptyping[indentnext=auto] >> Thanks! It is not listed at >> https://wiki.contextgarden.net/Command/setuptyping > > Look into setup-en.pdf for a (nearly) complete list of all key/values. It is there. Perhaps the web-pages mi

Re: [NTG-context] Setup typing indent next

2019-01-10 Thread Wolfgang Schuster
otherwise. Are you looking for the auto option of the indentnext key? \setupindenting[yes,medium] \setuptyping[indentnext=auto] Thanks! It is not listed at https://wiki.contextgarden.net/Command/setuptyping Look into setup-en.pdf for a (nearly) complete list of all key/values. Wolfgang

Re: [NTG-context] Setup typing indent next

2019-01-10 Thread Hans Åberg
> On 10 Jan 2019, at 22:14, Wolfgang Schuster > wrote: > > Hans Åberg schrieb am 10.01.19 um 22:04: >> There seems to be no option for \setuptyping[indentnext=...] following the >> TeX convention to indent new paragraphs, as followed by a blank row, but not >> otherwise. > > Are you looking

Re: [NTG-context] Setup typing indent next

2019-01-10 Thread Wolfgang Schuster
Hans Åberg schrieb am 10.01.19 um 22:04: There seems to be no option for \setuptyping[indentnext=...] following the TeX convention to indent new paragraphs, as followed by a blank row, but not otherwise. Are you looking for the auto option of the indentnext key? \setupindenting[yes,medium]

[NTG-context] Setup typing indent next

2019-01-10 Thread Hans Åberg
There seems to be no option for \setuptyping[indentnext=...] following the TeX convention to indent new paragraphs, as followed by a blank row, but not otherwise. ___ If your question is of interest to others as wel

Re: [NTG-context] commands manual (setup-en.pdf) organized by topic

2018-12-06 Thread Hans Hagen
ptions) or instances So what I would often need is a How-to-read-the-setup-en-pdf. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands

Re: [NTG-context] commands manual (setup-en.pdf) organized by topic

2018-12-05 Thread Jan U. Hasecke
? So what I would often need is a How-to-read-the-setup-en-pdf. A Happy St Nicholas' Day juh ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.

Re: [NTG-context] commands manual (setup-en.pdf) organized by topic

2018-12-05 Thread Wolfgang Schuster
files are organized by topic, is it possible to generate a manual with the same contents of setup-en.pdf, but sorted by topic, and then alphabetically? I've seen there's a module for the manual creation (tex/texmf-context/tex/context/modules/mkiv/x-setups-basics.mkiv), but i can't se

  1   2   3   4   5   6   >