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

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

[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

[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

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

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

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

2021-12-14 Thread Jan-Erik Hägglöf via ntg-context
t; Send ntg-context mailing list submissions to >> ntg-context@ntg.nl >> >> To subscribe or unsubscribe via the World Wide Web, visit >> https://mailman.ntg.nl/mailman/listinfo/ntg-context >> or, via email, send a message with subject or body 'help' to >&g

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

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:

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

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

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

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

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:

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

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}]

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

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}]

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

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
-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
eitag, 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 doubleside

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()

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") >

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

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

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

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

[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

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)

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

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

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

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

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

2020-05-03 Thread Henning Hraban Ramm
-thin 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

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?

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

2020-05-03 Thread Wolfgang Schuster
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] [tt

[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

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

[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

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

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

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

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,

[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

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

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

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

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
, but not 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

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

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

2018-12-06 Thread Hans Hagen
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 tel: 038

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

2018-12-05 Thread Jan U. Hasecke
colon? 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.nl /

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

2018-12-05 Thread Wolfgang Schuster
hose 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 see options for a

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

2018-12-05 Thread mf
t 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 see options for a different sorting of comma

Re: [NTG-context] Table of contents setup

2018-08-30 Thread Wolfgang Schuster
of the font. \setuplist[...][textstyle=...] Secondly I would like to have the page numbers all in the same size, irrespective from the level. Thirdly, I would love to adapt the distance between the leader-dots to a bigger size. How to do that? Create your own leaders setup with the \definefiller

[NTG-context] Table of contents setup

2018-08-30 Thread Willi Egger
Hello, I am busy to typeset a book with Maguntia.ttf. I should prepare the TOC with leaders. However how can I get ConTeXT to use the same leader-size on all levels which need leaders? As in the given example the leaders are adapted to the size of the font. Secondly I would like to have the

Re: [NTG-context] xtables setup

2018-07-29 Thread Henning Hraban Ramm
Am 2018-07-29 um 17:30 schrieb Pablo Rodriguez : > On 07/29/2018 11:28 AM, Henning Hraban Ramm wrote: >> Hello again, >> I’m trying xtables for the first time. >> >> Is it possible to setup defined rows/columns like with natural tables, e.g. >> for a header, lik

Re: [NTG-context] xtables setup

2018-07-29 Thread Pablo Rodriguez
On 07/29/2018 01:19 PM, Hans Hagen wrote: > On 7/29/2018 11:28 AM, Henning Hraban Ramm wrote: >> Hello again, >> I’m trying xtables for the first time. >> >> Is it possible to setup defined rows/columns like with natural tables, e.g. >> for a header, like in m

Re: [NTG-context] xtables setup

2018-07-29 Thread Pablo Rodriguez
On 07/29/2018 11:28 AM, Henning Hraban Ramm wrote: > Hello again, > I’m trying xtables for the first time. > > Is it possible to setup defined rows/columns like with natural tables, e.g. > for a header, like in my example? > The commented lines below are wrong. Is there anoth

Re: [NTG-context] xtables setup

2018-07-29 Thread Henning Hraban Ramm
Am 2018-07-29 um 13:19 schrieb Hans Hagen : > On 7/29/2018 11:28 AM, Henning Hraban Ramm wrote: >> Hello again, >> I’m trying xtables for the first time. >> Is it possible to setup defined rows/columns like with natural tables, e.g. >> for a header, like in my exam

Re: [NTG-context] xtables setup

2018-07-29 Thread Hans Hagen
On 7/29/2018 11:28 AM, Henning Hraban Ramm wrote: Hello again, I’m trying xtables for the first time. Is it possible to setup defined rows/columns like with natural tables, e.g. for a header, like in my example? The commented lines below are wrong. Is there another way? Did you read

[NTG-context] xtables setup

2018-07-29 Thread Henning Hraban Ramm
Hello again, I’m trying xtables for the first time. Is it possible to setup defined rows/columns like with natural tables, e.g. for a header, like in my example? The commented lines below are wrong. Is there another way? \definextable[headtable] % table with repeated head \setupxtable

Re: [NTG-context] How to setup the footnote number in local footnotes

2018-03-26 Thread Idris Samawi Hamid ادريس سماوي حامد
eral to 2. 3) Uncommenting the line % \startlocalfootnotes[n=2] doesn't work, although it is mentioned here: http://wiki.contextgarden.net/Command/startlocalfootnotes So that must be for MKII.. Check setup-en.pdf for valid arguments in MkIV. There are no options for \startlocalfootnotes and there i

Re: [NTG-context] How to setup the footnote number in local footnotes

2018-03-25 Thread Wolfgang Schuster
d here: http://wiki.contextgarden.net/Command/startlocalfootnotes So that must be for MKII.. Check setup-en.pdf for valid arguments in MkIV. There are no options for \startlocalfootnotes and there is no command such as \setuplocalfootnotes. So how does one setup a conversion (or manual num

Re: [NTG-context] How to setup the footnote number in local footnotes

2018-03-25 Thread Idris Samawi Hamid ادريس سماوي حامد
.net/Command/startlocalfootnotes So that must be for MKII.. Check setup-en.pdf for valid arguments in MkIV. There are no options for \startlocalfootnotes and there is no command such as \setuplocalfootnotes. So how does one setup a conversion (or manual numbering) for localfootnotes? Idris -- Idris

Re: [NTG-context] How to setup the footnote number in local footnotes

2018-03-25 Thread Wolfgang Schuster
define a conversion that sets the footnote numeral to 2. 3) Uncommenting the line % \startlocalfootnotes[n=2] doesn't work, although it is mentioned here: http://wiki.contextgarden.net/Command/startlocalfootnotes So that must be for MKII.. Check setup-en.pdf for valid arguments in MkIV. Wo

[NTG-context] How to setup the footnote number in local footnotes

2018-03-25 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Consider the following: == \starttext \startframedtext[width=fit,frame=off,offset=0pt] % \startlocalfootnotes[n=2] \startlocalfootnotes \input ward \startfootnote \input ward \stopfootnote \placelocalfootnotes \stoplocalfootnotes \stopframedtext \stoptext ==

Re: [NTG-context] chapter setup with subtitle in margin

2018-01-25 Thread Henning Hraban Ramm
Am 2018-01-25 um 08:10 schrieb Mikael P. Sundqvist : > I think you can get rid of that horizontal space by adding "offset=overlay" > to the framed environment used in your \ChapterCmd. Thank you so much! That helped. Greetlings, Hraban --- http://www.fiee.net

  1   2   3   4   5   >