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] How do I add cyrillic to my typescript/document?

2020-05-03 Thread Pablo Rodriguez
y case, http://www.pragma-ade.com/general/qrcs/setup-en.pdf#search=%22definefontfallback%22 explains the syntax of the first option (sorry, but I only use the \definefontfamily approach). Just in case it helps, Pablo -- http://

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] module article-basic interferes with \definebodyfont?

2020-05-01 Thread Hans Hagen
ContextGarden vond ik voora l mkii zaken die niet meer geldig/juist zijn. er is een dikke font manual en verder is er wolfgangs module (met documentatie, ook op de wiki) maar meestal is een font setup vrij simple: ik zelf pak gewoon een type-imp-* file, copieer wat regels en vul dan de font file namen

Re: [NTG-context] module article-basic interferes with \definebodyfont?

2020-05-01 Thread Gerben Wierda
[mono] [modern] [default] >> \definetypeface [optima] [mm] [math] [optima] [default] >> \setupbodyfont [optima] >> As I now understand it, I have now defined the typescript for sans, but >> created a setup that sans is the fallback. I have also defined rm, tt and mm >> explicitly. >

Re: [NTG-context] module article-basic interferes with \definebodyfont?

2020-05-01 Thread Wolfgang Schuster
] [optima] [default] \definetypeface [optima] [tt] [mono] [modern] [default] \definetypeface [optima] [mm] [math] [optima] [default] \setupbodyfont [optima] As I now understand it, I have now defined the typescript for sans, but created a setup that sans is the fallback. I have also defined rm,

Re: [NTG-context] module article-basic interferes with \definebodyfont?

2020-05-01 Thread Gerben Wierda
optima] [default] \definetypeface [optima] [rm] [serif] [optima] [default] \definetypeface [optima] [tt] [mono] [modern] [default] \definetypeface [optima] [mm] [math] [optima] [default] \setupbodyfont [optima] As I now understand it, I have now defined the typescript for sans, but created a setup th

Re: [NTG-context] module article-basic interferes with \definebodyfont?

2020-05-01 Thread Wolfgang Schuster
] As I now understand it, I have now defined the typescript for sans, but created a setup that sans is the fallback. I have also defined rm, tt and mm explicitly. This does not work because you have no serif or math typescripts for optima (\starttypescript [serif] [optima]) defined. Wolfgang

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] image across 2 page spread

2020-04-30 Thread Hans Hagen
for the right-hand page, since there it extends to the outer edge, not the inner edge! The .7\paperheight was to provide room for the caption. But all in all, this is no solution! If it is any help, the setup dimensions for the book are US Digest: \definepapersize   [ACN][width=5.5in,height=8.5in

Re: [NTG-context] image across 2 page spread

2020-04-29 Thread Thangalin
e! The .7\paperheight was to provide room for the caption. But all in all, > this is no solution! > > If it is any help, the setup dimensions for the book are US Digest: > > \definepapersize > [ACN][width=5.5in,height=8.5in] % w140mm x h216mm > > I then looked up ho

[NTG-context] image across 2 page spread

2020-04-29 Thread jbf
there it extends to the outer edge, not the inner edge! The .7\paperheight was to provide room for the caption. But all in all, this is no solution! If it is any help, the setup dimensions for the book are US Digest: \definepapersize   [ACN][width=5.5in,height=8.5in] %  w140mm x h216mm I then looked up how

Re: [NTG-context] Right-to-left pagecolumns and markings in ConTeXt

2020-04-29 Thread Joey McCollum
xt demonstrates the same behavior: > > > > ``` > > %Create a new markset to use: > > \definemarking[TestMark] > > %Setup header to reflect top and bottom marks: > > \setupheadertexts[top: {\fetchmark[TestMark][top]}][bottom: > > {\fetchmark[TestMark][bottom]}

Re: [NTG-context] Right-to-left pagecolumns and markings in ConTeXt

2020-04-29 Thread Hans Hagen
be the top mark of the right column. I've observed this behavior using text in an actual right-to-left language, but the following minimal (non-)working example with an English sample text demonstrates the same behavior: ``` %Create a new markset to use: \definemarking[TestMark] %Setup header

[NTG-context] Right-to-left pagecolumns and markings in ConTeXt

2020-04-28 Thread Joey McCollum
this behavior using text in an actual right-to-left language, but the following minimal (non-)working example with an English sample text demonstrates the same behavior: ``` %Create a new markset to use: \definemarking[TestMark] %Setup header to reflect top and bottom marks: \setupheadertexts[top

[NTG-context] Unicode normalization and Hebrew in ConTeXt

2020-04-28 Thread Joey McCollum
pointed Hebrew correctly when the characters are in the typographically recommended order, but not when they are in Unicode canonical order: ``` %Setup Hebrew text font: \definefontfeature[f:pointedhebrew][default][ ccmp=yes, mark=yes, script=hebr ] \definefontfamily[hebrew] [rm] [SBL

Re: [NTG-context] simple way to change value of 'x' in \tfx?

2020-04-27 Thread Wolfgang Schuster
jbf schrieb am 27.04.2020 um 09:14: I have the following setup currently, involving: \definefontfamily[mainface][rm][texgyrepagella][tf=file:texgyrepagella-regular.otf] \definetypeface [mainface] [rm] [serif] [pagella] [default] or see below \setupbodyfont[mainface,11pt

[NTG-context] simple way to change value of 'x' in \tfx?

2020-04-27 Thread jbf
I have the following setup currently, involving: \definefontfamily[mainface][rm][texgyrepagella][tf=file:texgyrepagella-regular.otf] \setupbodyfont[mainface,11pt] \setupbodyfontenvironment[default]  [em=italic] \setupdelimitedtext[blockquote][style=\tfx, before={\blank\setupinterlinespace[line

[NTG-context] \framed[align=] with a 'maxwidth' instead of a width? Or get the size of a \frame returned to lua without typesetting it in a document?

2020-04-26 Thread Gerben Wierda
Setup: TeX file Contains ctxlua{} call lua function reads XML file and calls context() statements, it puts out a \startMPpage METAPOST statements Of which some are textext(\framed[align, so

Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-26 Thread Benjamin Buchmuller
020, at 12:14, Benjamin Buchmuller > wrote: > > Hi Hraban, > > Thanks for the hint (and the proper fontfamily setup), I have forced reload > ten times now from various accounts; the issue persists unfortunately. > > This might confirm Taco‘s notion that there is some bug

Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-24 Thread Taco Hoekwater
See this link: https://wiki.contextgarden.net/Mac_Installation In particular, you need this set of shell commands from that page: mkdir $HOME/context cd $HOME/context rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh --modules=all --engine=luatex but we

Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-24 Thread Benjamin Buchmuller
Hi Hraban, Thanks for the hint (and the proper fontfamily setup), I have forced reload ten times now from various accounts; the issue persists unfortunately. This might confirm Taco‘s notion that there is some bug lmtx. I’m running macOS Catalina too, but as it worked with the standalone

Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-24 Thread Henning Hraban Ramm
eavy > /System/Library/Fonts/HelveticaNeueDeskInterface.ttc 10 > helveticaneuethinitalic helveticaneue > helveticaneuethinitalic /System/Library/Fonts/HelveticaNeue.ttc >14 If the subfont is not listed, ConTeXt/mtxrun couldn’t find it and won’t find it

Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-24 Thread Benjamin Buchmuller
Neue] \setupbodyfont[mainface, 12pt, sans] I get the light oblique variant instead of the regular one. I have tried to fix this via a \definefontfamily[mainface][ss][Helvetica Neue][tf=style:normal] but apparently I understand too little about this setup altogether … Thanks already for any

[NTG-context] mtxrun fontloader in recent standalone

2020-04-22 Thread Benjamin Buchmuller
][ss][Helvetica Neue] \setupbodyfont[mainface, 12pt, sans] I get the light oblique variant instead of the regular one. I have tried to fix this via a \definefontfamily[mainface][ss][Helvetica Neue][tf=style:normal] but apparently I understand too little about this setup altogether … Thanks

Re: [NTG-context] TOC- removing Contents 0

2020-04-22 Thread Pablo Rodriguez
ts  0 > > In fact the ToC appears on page 1, but regardless of the page it is > appearing on, is there a way I can prevent that line from being produced > as part of the ToC? I assume it would be something I need to do in the > following setup: > > \setupcombinedlist >

Re: [NTG-context] [OBORONA-SPAM] Re: lmtx & lohit-devanagari fonts

2020-04-22 Thread Saša Janiška
t; but otherwise why do you use such unusual shell? Why not bash or zsh? Because it's Friendly Interactive SHell requring minimum setup and providing almost the same features as e.g. zsh, even more. Take a look: https://fishshell.com/ > As you see, its value is semicolon separated paths. Yes,

Re: [NTG-context] [OBORONA-SPAM] Re: lmtx & lohit-devanagari fonts

2020-04-22 Thread Vladimir Lomov
nface] [ss] [Noto Sans Devanagari] >[range={devanagari,devanagariextended}, > features=devanagari-two] > \definefontfamily [mainface] [ss] [Noto Sans] > \setupbodyfont[mainface] > \starttext > ध्यायतो विषयान्पुंसः सङ्गस्तेषूपजायते । > सङ्गात्सञ्जायते कामः कामात्क्रोधोऽभिजाय

Re: [NTG-context] TOC- removing Contents 0

2020-04-22 Thread Henning Hraban Ramm
he ToC: > > Contents 0 > > In fact the ToC appears on page 1, but regardless of the page it is appearing > on, is there a way I can prevent that line from being produced as part of the > ToC? I assume it would be something I need to do in the following setup: > &g

Re: [NTG-context] lmtx & lohit-devanagari fonts

2020-04-21 Thread Saša Janiška
t it fails: $ context t.tex mtxrun | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua' Do I need to setup some other envvar as it is suggested in the link posted by Wolfgang? Sincerely, Gour -- As a blazing fire turns firewood to ashes, O Arjuna, so does the f

[NTG-context] TOC- removing Contents 0

2020-04-21 Thread jbf
of the page it is appearing on, is there a way I can prevent that line from being produced as part of the ToC? I assume it would be something I need to do in the following setup: \setupcombinedlist   [content]   [list={chapter,section,title,subject,subsection}] \setuplist[chapter][style=normal

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] Cannot build plain format

2020-04-19 Thread Hans Hagen
the future repository and installation setup which will use github repositories (1) - context (including luametatex sources) (2) - binaries (for a subset of platforms) (3) - resources (like fonts and such) (4) - modules (stable ones pushed from the main garden repos) but we simply didn't find time

Re: [NTG-context] Question: Are there any ConTeXt aware scientific pulishers yet

2020-04-16 Thread denis . maier . lists
irst issue should > >> appear soon.) However, we do not accept ConTeXt sources as we use jats xml > >> as our production format. (Actually, I don't expect any of our authors is > >> using ConTeXt.) > > > > Interesting. Is ConTeXt handling Hebrew well? > heb

Re: [NTG-context] Question: Are there any ConTeXt aware scientific pulishers yet

2020-04-16 Thread Hans Hagen
Hebrew well? hebrew is not that complex to handle so context should handle it okay (assuming a proper font setup) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt

Re: [NTG-context] Using command line values in a TeX document; writing a script?

2020-04-15 Thread r . ermers
t; somewhere?) reads the XML, extracts a name (e.g. ‘foo’) from it, creates >>>>> a .tex file (e.g. ‘foo.tex’), produces a .pdf file from that .tex file >>>>> (e.g. ‘foo.pdf'). >>>> When processing XML, I normally use >>>> >>>&g

Re: [NTG-context] Using command line values in a TeX document; writing a script?

2020-04-15 Thread Gerben Wierda
ua code (using a ’script’ >>>> somewhere?) reads the XML, extracts a name (e.g. ‘foo’) from it, creates a >>>> .tex file (e.g. ‘foo.tex’), produces a .pdf file from that .tex file (e.g. >>>> ‘foo.pdf'). >>> When processing XML, I normally use &

Re: [NTG-context] Using command line values in a TeX document; writing a script?

2020-04-15 Thread Wolfgang Schuster
normally use context —environment=whatever.tex file.xml with whatever.tex being a mix of tex and lua to setup and process the XML directly, perhaps including other XML files as needed. But this means that the whatever.tex file needs to exist beforehand and the result is whatever.pdf I want

Re: [NTG-context] Using command line values in a TeX document; writing a script?

2020-04-15 Thread Gerben Wierda
le from that .tex file (e.g. >> ‘foo.pdf'). > > When processing XML, I normally use > > context —environment=whatever.tex file.xml > > with whatever.tex being a mix of tex and lua to setup and process the XML > directly, > perhaps including other XML files as needed

Re: [NTG-context] Using command line values in a TeX document; writing a script?

2020-04-14 Thread Taco Hoekwater
environment=whatever.tex file.xml with whatever.tex being a mix of tex and lua to setup and process the XML directly, perhaps including other XML files as needed. But when you need to extract stuff and rename files, a Makefile or shell script comes more n

Re: [NTG-context] fun with frames and tables

2020-04-13 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 13.04.2020 um 14:07: Hi, after I re-setup my computer (harddisk got tired...) I’m now trying to update my old Midgard RPG character sheet (https://github.com/fiee/ConTeXt/tree/master/midgard) and run into some problems that I don’t understand while trying

[NTG-context] font troubles in MkIV

2020-04-13 Thread Henning Hraban Ramm
Hi again, as I had to re-setup my computer, I installed all my TeX project fonts in subdirectories of texmf-fonts/fonts/. Most of them are found after one or two forced update runs, strangely not all of them, and ConTeXt won’t load them in the most cases. If I move the same font files to one

[NTG-context] fun with frames and tables

2020-04-13 Thread Henning Hraban Ramm
Hi, after I re-setup my computer (harddisk got tired...) I’m now trying to update my old Midgard RPG character sheet (https://github.com/fiee/ConTeXt/tree/master/midgard) and run into some problems that I don’t understand while trying to fill one page with several tables. Here’s a quite

Re: [NTG-context] Fwd: Using Lua files in project structure

2020-04-06 Thread Jairo A. del Rio
ns. Although it is not recommended in > ConTeXt, > > some of them are really necessary to me. > > I didn't try to completely debug what is going wrong in your setup, but > here is a simpler way to achieve the same result. I am using components > because (i) it works and (ii) I

Re: [NTG-context] Fwd: Using Lua files in project structure

2020-04-06 Thread Aditya Mahajan
d different commands and combinations, all of them useless. As a side note, I'm porting some TikZ functions. Although it is not recommended in ConTeXt, some of them are really necessary to me. I didn't try to completely debug what is going wrong in your setup, but here is a simpler way to achieve the sam

Re: [NTG-context] \setupinteraction[style=...] supersedes manual text style for \note

2020-04-02 Thread Pablo Rodriguez
On 4/2/20 12:30 PM, Benjamin Buchmuller wrote: > Hi Pablo, > > thanks, this works. :) I will see if I can add this information in > the wiki at some point. > > Is there any way to figure out which styles are inherited or taken > from which setup in general? Hi Benjamin, m

Re: [NTG-context] Space around comma in math mode

2020-03-29 Thread Wolfgang Schuster
w n schrieb am 29.03.2020 um 16:10: That works, great Just curious, is this setup described on the Context Wiki, or on the mailing list ? https://wiki.contextgarden.net/Command/setupmathematics#Syntax PS. The wiki has a search function. Wolfgang

Re: [NTG-context] Space around comma in math mode

2020-03-29 Thread w n
That works, great Just curious, is this setup described on the Context Wiki, or on the mailing list ? Thanks for the help On Sun, Mar 29, 2020 at 3:28 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > w n schrieb am 29.03.2020 um 15:20: > > Hi, > > > &g

Re: [NTG-context] Changing default rule thickness (globally)

2020-03-28 Thread Wolfgang Schuster
documentation (http://www.pragma-ade.nl/general/qrcs/setup-en.pdf), I see that I would need to basically change this for [...] (And for \setupbackgrounds for [top header text footer bottom].) I’m sure there is a more elegant way to do this. But how? You can use \setuplinewidth[] to change the default

Re: [NTG-context] Changing default rule thickness (globally)

2020-03-25 Thread Wolfgang Schuster
Benjamin Buchmuller schrieb am 25.03.2020 um 09:27: Hi! I would like to change the rule thickness that is used by default in ConTeXt. However, from the command documentation (http://www.pragma-ade.nl/general/qrcs/setup-en.pdf), I see that I would need to basically change

[NTG-context] Changing default rule thickness (globally)

2020-03-25 Thread Benjamin Buchmuller
Hi! I would like to change the rule thickness that is used by default in ConTeXt. However, from the command documentation (http://www.pragma-ade.nl/general/qrcs/setup-en.pdf), I see that I would need to basically change this for \basegrid[rulethickness=...] \setupbar[rulethickness

Re: [NTG-context] Can I share METAPOST vardefs over multiple pages?

2020-03-16 Thread Aditya Mahajan
)--(333.000,-273.000); draw p;path p; p := (393.000,-253.000)--(393.000,-180.000); draw p;;; endfig ; % end graphic This apparently is tried to get run through METAPOST separately and that clearly doesn’t work, because ApplicationComponentLogo isn’t defined. This is the result of the followin

Re: [NTG-context] Can I share METAPOST vardefs over multiple pages?

2020-03-16 Thread Gerben Wierda
= (393.000,-253.000)--(393.000,-180.000); draw p;;; endfig ; % end graphic This apparently is tried to get run through METAPOST separately and that clearly doesn’t work, because ApplicationComponentLogo isn’t defined. This is the result of the following setup: \starttext \startMPdefini

[NTG-context] update lmtx / luametatex 2.05

2020-03-10 Thread Hans Hagen
confident that when the source gets into the distribution, which depends on the upcoming repository setup and should not interfere with the tl code freeze, users can compile themselves, something that can contribute to a more comfortable feeling of independence of complex and large compilation

Re: [NTG-context] ePub issues: XML structure

2020-03-04 Thread Hans Hagen
chapter setup. Any hints which setting could cause the re-ordering? (And I use \startchapter … \stopchapter of course.) personally id i'd want an export i'd use a mode where i turn off all kind of fancy formatting at some time i might even split off the export in the sense that when enabled some

[NTG-context] ePub issues: XML structure

2020-03-03 Thread Henning Hraban Ramm
catch the contents, don’t you think? I’ll come up with a MWE; don’t know if I’ll manage to reproduce the title/contents mixup though. The other book’s export is ok within the same project. It uses the same environment, but a slightly differing chapter setup. Any hints which setting could cause

Re: [NTG-context] Quick question about dual output pdf and epub

2020-03-03 Thread Rik Kabel
Instructions for creating the .epub from the export are contained in the log file. On 3/3/2020 15:58, Hans van der Meer wrote: I followed your advice and added the setup: You need \setupbackend[export=yes] in your document. This, however, does not result in an .epub file but an export

Re: [NTG-context] Quick question about dual output pdf and epub

2020-03-03 Thread Wolfgang Schuster
On Tue, 3 Mar 2020 21:58:16 +0100 Hans van der Meer wrote: > I followed your advice and added the setup: > > > You need > > \setupbackend[export=yes] > > in your document. > > This, however, does not result in an .epub file but an export directory > contai

Re: [NTG-context] Quick question about dual output pdf and epub

2020-03-03 Thread Hans van der Meer
I followed your advice and added the setup: > You need > \setupbackend[export=yes] > in your document. This, however, does not result in an .epub file but an export directory containing an html and xhtml file (only partially conformant to the equivalent pdf). Can I get t

Re: [NTG-context] Quick question about dual output pdf and epub

2020-03-03 Thread Wolfgang Schuster
et without > that mode. You need \setupbackend[export=yes] in your document. When you put the setup above in a "epub" mode you create a epub-document only when you enable the mode which is recommended because it can have side effects for the normal PDF. To avoid these side effects make a

Re: [NTG-context] Quick question about dual output pdf and epub

2020-03-03 Thread Hans van der Meer
10.02 12:53 MKIV beta fmt: 2019.10.2 I am doing something wrong here? dr. Hans van der Meer > On 28 Feb 2020, at 12:07, Hans Hagen wrote: > > On 2/28/2020 11:48 AM, Christoph Hintermüller wrote: >> Hi >> Hust not to miss something or mess up every thing. >> Can i

Re: [NTG-context] Indenting lists

2020-02-29 Thread Henning Hraban Ramm
> Am 2020-02-29 um 21:39 schrieb Yves Cloutier : > > How does one indent lists to have the same indentation as paragraphs (ex: > \small). > > It should apply to all lists, and so I assume I would need to use > > \setup Have a look at https://wiki.contex

[NTG-context] Indenting lists

2020-02-29 Thread Yves Cloutier
Hello, How does one indent lists to have the same indentation as paragraphs (ex: \small). It should apply to all lists, and so I assume I would need to use \setup > The documentation is a bit thin on how I would do this. Any pointers would be appreciated! Regards,

Re: [NTG-context] Quick question about dual output pdf and epub

2020-02-28 Thread Henning Hraban Ramm
> Am 2020-02-28 um 12:07 schrieb Hans Hagen : > > On 2/28/2020 11:48 AM, Christoph Hintermüller wrote: >> Hi >> Hust not to miss something or mess up every thing. >> Can i setup my document preamble such that i can without any switching >> create pdf and epub

Re: [NTG-context] Quick question about dual output pdf and epub

2020-02-28 Thread Hans Hagen
On 2/28/2020 11:48 AM, Christoph Hintermüller wrote: Hi Hust not to miss something or mess up every thing. Can i setup my document preamble such that i can without any switching create pdf and epub output at the same time. Want to provide my lecture notes in pdf and epub format. In other words

Re: [NTG-context] Quick question about dual output pdf and epub

2020-02-28 Thread Hans Hagen
On 2/28/2020 11:48 AM, Christoph Hintermüller wrote: Hi Hust not to miss something or mess up every thing. Can i setup my document preamble such that i can without any switching create pdf and epub output at the same time. Want to provide my lecture notes in pdf and epub format. In other words

[NTG-context] Quick question about dual output pdf and epub

2020-02-28 Thread Christoph Hintermüller
Hi Hust not to miss something or mess up every thing. Can i setup my document preamble such that i can without any switching create pdf and epub output at the same time. Want to provide my lecture notes in pdf and epub format. In other words does it have any side effects on pdf output, if i put

Re: [NTG-context] Problem with \setuparranging

2020-02-27 Thread context
Hello, thanks for explanation - so I'll look for another approach. Best regards, Lukas On 2020-02-26 22:36, Willi Egger wrote: When looking at your setup, then it appears, that you start arranging two times. This is not how arranging works. — Context will first compile the whole document

Re: [NTG-context] Problem with \setuparranging

2020-02-26 Thread Willi Egger
When looking at your setup, then it appears, that you start arranging two times. This is not how arranging works. — Context will first compile the whole document as single pages and only after all is ok, it will loop over the pages and arrange them. So it is not possible to mix e.g. A4 portrait

Re: [NTG-context] Chapter in header, but not on title page

2020-02-16 Thread Henning Hraban Ramm
age. >> Since I’d like to keep the page number in the header on these pages, >> I can’t use header=empty. >> What’s the right setup for me? > > Hi Hraban, > > I think this is what you intend: >\definetext[chapter-first][header][][pagenumber] > >\setuphe

Re: [NTG-context] zip downloads / mirror

2020-02-16 Thread Philipp Gesang
fying. I’ve set up the mirror so the “beta” branch will be continued from “latest”. > > PS: I’m out of the loop; is the mirror actually still needed or > > is there an official repo now? > Mojca is working on a repository setup for sources (what we have now but > also includi

Re: [NTG-context] Chapter in header, but not on title page

2020-02-15 Thread Pablo Rodriguez
an’t use header=empty. > What’s the right setup for me? Hi Hraban, I think this is what you intend: \usemodule[visual] \setuppagenumbering[alternative=doublesided, location=] \setupheadertexts[chapter][pagenumber][pagenumber][chapter] \definetext[chapter-first][he

[NTG-context] Chapter in header, but not on title page

2020-02-15 Thread Henning Hraban Ramm
I guess I’m stupid. I’d like to have my chapter title in the header on right pages, but not on the first page of a chapter, that always is a right page. Since I’d like to keep the page number in the header on these pages, I can’t use header=empty. What’s the right setup for me? (In the MWE

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] zip downloads / mirror

2020-02-09 Thread Hans Hagen
? Mojca is working on a repository setup for sources (what we have now but also including luametatex sources), installation (including binaries taken from the compile farm), extras (like modules taken from the garden repository) so at some point we can make those official. Till then it's nice

Re: [NTG-context] How to approach a ConTeXt language server?

2020-02-05 Thread Hans Hagen
(how do I do this?) 2. I’d need a way to get all available commands with their signatures into Lua. I assume this is done here, but how? http://www.pragma-ade.nl/general/qrcs/setup-en.pdf 3. Optimally, for hover information and completion, I’d want some help/doc text for each command

Re: [NTG-context] How to approach a ConTeXt language server?

2020-02-05 Thread Philipp A.
how do I do this?) > > • I’d need a way to get all available commands with their > signatures into Lua. I assume this is done here, but how? > http://www.pragma-ade.nl/general/qrcs/setup-en.pdf > > Look for the interface files i-*.xml > > > • Optima

Re: [NTG-context] How to approach a ConTeXt language server?

2020-02-04 Thread Henning Hraban Ramm
en I’d make context load the project without compiling it to a PDF > but make it execute some Lua (how do I do this?) > • I’d need a way to get all available commands with their signatures > into Lua. I assume this is done here, but how? > http://www.pragma-ade.nl/general/qrcs/setup

[NTG-context] How to approach a ConTeXt language server?

2020-02-04 Thread Philipp A.
available commands with their signatures into Lua. I assume this is done here, but how? http://www.pragma-ade.nl/general/qrcs/setup-en.pdf 3. Optimally, for hover information and completion, I’d want some help/doc text for each command that has some. Is there a way to get it? 4

[NTG-context] New to metapost, could use some help with first steps

2020-02-02 Thread Gerben Wierda
Hans was so kind to help me with a setup for some generated output. I am trying to understand every line of his example so I can expand on his exmaple to make it fully functional. In his example there is: context('draw textext("\\framed[frame=off,offset=5bp,align={middle,lohi,verytol

Re: [NTG-context] columnset issues

2020-01-26 Thread Henning Hraban Ramm
Another set of columnset issues: columnset areas (1) In the columnsets manual, there’s a type key or a second optional parameter to \definecolumnsetarea that’s actually missing (commented code in page-cst.mkiv). The manual doesn’t explain the setup keys; I assume x/nx is in columns, y/ny

Re: [NTG-context] alignment parameters

2020-01-19 Thread Wolfgang Schuster
;>> (would use also hz and hanging, if they don’t interfere), > >>>> but in a few cases I still get section titles that are much wider than > >>>> the text column. > >>> > >>> align={flushleft,broad,nothyphenated} > >> > >

[NTG-context] columnset issues

2020-01-19 Thread Henning Hraban Ramm
Hi again. I use columnsets and wanted to setup my section titles to have one blank line before and none after them. If I use before={\blank[line]}, I sometimes don’t get that blank line. If I use \blank in my section command, I get it always, but also if the section starts on top of a column

Re: [NTG-context] alignment parameters

2020-01-19 Thread Henning Hraban Ramm
tles that are much wider than the >>>> text column. >>> >>> align={flushleft,broad,nothyphenated} >> >> Thank you, but unfortunately it makes no difference. > > You have to provide a minimal example. I know. My project setup is just so extensive, and

Re: [NTG-context] Quotation dash issues with semantic markup

2020-01-17 Thread Wolfgang Schuster
at doesn't work in the standard font(s): [\char"2015]. \stopsection \stoptext I bet that Wolfgang has the answers to the speech setup so I'll do the font part. It's possible to use leaders to remove multiple dashes and also dashes at the end of a paragraph but this will only work for th

Re: [NTG-context] Hyphenation LuaTeX

2020-01-17 Thread Thomas A. Schmitz
ht pattern without that setup. No, since the patterns for Spanish and Greek are utf8, they can co-exist, there's no need to mark the Greek passages. The module simplefonts is obsolete since 2013. Yes, that's right. I get both Spanish and Greek hyphenation in a test file: \mainl

Re: [NTG-context] Hyphenation LuaTeX

2020-01-17 Thread Henning Hraban Ramm
> Am 2020-01-17 um 13:04 schrieb MANUEL GONZALEZ SUAREZ > : > > Thanks very much, but if the module simplefonts is obsolete, What should I > indicate in the preamble to write with both languages? Your font setup should be good without trying to load that module (that doesn

Re: [NTG-context] Hyphenation LuaTeX

2020-01-17 Thread Henning Hraban Ramm
d the source, but don’t trust me on this. When you mark your Greek passages with {\agr ἡ Ἑλληνικὴ γλῶσσα} (or \language[agr] instead of \agr), you should get the right pattern without that setup. The module simplefonts is obsolete since 2013. Greetlings, Hraban --- https://www.fiee.net http://w

[NTG-context] Impacts Project: Two-Page Spread

2020-01-14 Thread Thangalin
s.pdf If you'd like a hard-copy, please sign up at: https://impacts.to/ The document is written in pandoc-flavoured markdown. ConTeXt, TeX, and Lua code are used to accomplish various stylish feats: * Page setup (bleed, margins, text safe zones) * Override page flushing for columnsets * Timeline

Re: [NTG-context] ConTeXt support for Atom

2020-01-14 Thread Henning Hraban Ramm
same basic editor as vscode? If so, the context distribution > contains grammars that you can look at. The framework is the same, but the editor component is completely different, and so is the package/plugin setup. I tried vscodium only shortly, it might become a perspective, but I’m used to

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

<    5   6   7   8   9   10   11   12   13   14   >