Re: [NTG-context] How to define a font with an effect as a font with \definefont

2020-05-23 Thread Pablo Rodriguez
On 5/23/20 8:06 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 23.05.2020 um 20:02: >> On 5/23/20 11:52 AM, Gerben Wierda wrote: >>> [] >>> Actually, my setup is Optima with Helvetica used for Cyrillic: >>> >>> \definefallbackfamily >

Re: [NTG-context] How to define a font with an effect as a font with \definefont

2020-05-23 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 23.05.2020 um 20:02: On 5/23/20 11:52 AM, Gerben Wierda wrote: [] Actually, my setup is Optima with Helvetica used for Cyrillic: \definefallbackfamily   [archimate]   [ss]   [Helvetica]   [preset=range:cyrillic,    tf=style:light,    it=style:lightoblique

Re: [NTG-context] How to define a font with an effect as a font with \definefont

2020-05-23 Thread Pablo Rodriguez
On 5/23/20 11:52 AM, Gerben Wierda wrote: > [] > Actually, my setup is Optima with Helvetica used for Cyrillic: > > \definefallbackfamily >   [archimate] >   [ss] >   [Helvetica] >   [preset=range:cyrillic, >    tf=style:light, >    it=style:lightoblique,

[NTG-context] How to define a font with an effect as a font with \definefont

2020-05-23 Thread Gerben Wierda
into a \definefont so I can use that instead. Actually, my setup is Optima with Helvetica used for Cyrillic: \definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, tf=style:light, it=style:lightoblique, bf=style:regular, bi=style:oblique, force=yes, rscale

Re: [NTG-context] Emoji color fonts not working on LMTX/Context MKIV

2020-05-20 Thread Jairo A. del Rio
gt; processing can be going on for a while fonts > svg conversion > processing 1829 pdf results fonts > svg conversion > there are no converted shapes, fix your setup fonts > svg conversion > svg conversion time 4.246 seconds In any event, LMTX prints only black and white emojis.

Re: [NTG-context] Styling of included buffers or files

2020-05-18 Thread Jan U. Hasecke
nehighlight > [BufferStyle] > [style=smallitalic, >color=blue] > > \startbuffer > \samplefile{knuth} > \stopbuffer > > \starttext > \samplefile{knuth} > \getbuffer > \samplefile{knuth} > > \stop

Re: [NTG-context] What does the exporter try to tell me.

2020-05-17 Thread Christoph Hintermüller
Hi [Inline Response to message by Christoph Hintermüller, So, 2020-05-17 18:32 +0200: Answers and comments below corresponding cited paragraphs.] > Hi > I'm trying to improove the T-vim module such that it is also working > properly in xml export setup. > > In the current Con

Re: [NTG-context] What is required to make \setuplayout work?

2020-05-17 Thread Wolfgang Schuster
] [backspace=5mm, topspace=5mm] \setuplayout [page] \showframe[text] \starttext \page[dummy] \stoptext Another even short setup is when you use the predefined tight layout which has a default value of 5mm for all margins. \setuplayout [tight] \showframe[text] \starttext \page[dummy] \stoptext

[NTG-context] What does the exporter try to tell me.

2020-05-17 Thread Christoph Hintermüller
Hi I'm trying to improove the T-vim module such that it is also working properly in xml export setup. In the current ConTeXt standalone the exporter tries to tell me something when reporting "possible paragraph mixup" at any character followoing the first paragraph. And no output fro

Re: [NTG-context] Custom color schemes in t-vim

2020-05-17 Thread Aditya Mahajan
. In one of my old documents, I had this command inside the colorscheme block: \setups{vim-minor-groups} Was that to achieve the same purpose? Yes. This setup maps the minor groups to preferred groups. 2. The wiki has no mention of \startcolorscheme... \stopcolorscheme or \setups

[NTG-context] left protruding quotations

2020-05-14 Thread Michael Guravage
When I start a paragraph with a \quote or a \quotation the left quotemark does not protrude, but when I use Unicode quotes it does. I would prefer to use the commands. Any suggestions on how I can achieve proper left protrusion without resorting to Unicode characters? Cheers, Michael % Setup

Re: [NTG-context] Retrieving original value of enviroment variable HOME

2020-05-11 Thread context
C:/Users/u×ivatel 2 nil 3 C:/Users/u×ivatel 4 C:/Users/u×ivatel I used first-setup.bat; inside: rsync -av --exclude 'rsync.exe' --exclude 'cygwin1.dll' --exclude 'cygiconv-2.dll' rsync://contextgarden.net/minimals/setup/mswin/bin/ bin - is "minimals&qu

Re: [NTG-context] Retrieving original value of enviroment variable HOME

2020-05-10 Thread context
"minimals", ["program"]="rsync", ["server"]="contextgarden.net::", }, }@echo off setlocal echo okay > ok.log ruby -e "File.delete('ok.log')" if not exist "ok.log" goto okay echo. echo You need to install Ruby first (i

Re: [NTG-context] how to interrupt doublesided in particular instance

2020-05-06 Thread jbf
chapter concluded or before \chapter{My new chapter}, but this command is ignored (and may well be the wrong command to achieve what I want). Is there a way to interrupt the setup so the new chapter in this case can start on the verso page? Create a new heading for chapters which can start

Re: [NTG-context] how to interrupt doublesided in particular instance

2020-05-06 Thread Rik Kabel
). Is there a way to interrupt the setup so the new chapter in this case can start on the verso page? Create a new heading for chapters which can start on left/right pages. \setuppagenumbering[alternative=doublesided] \definehead[mychapter][chapter] \setuphead[mychapter][page=yes] \starttext

Re: [NTG-context] how to interrupt doublesided in particular instance

2020-05-05 Thread jbf
the setup so the new chapter in this case can start on the verso page? Create a new heading for chapters which can start on left/right pages. \setuppagenumbering[alternative=doublesided] \definehead[mychapter][chapter] \setuphead[mychapter][page=yes] \starttext \chapter{Right page} \chapter

Re: [NTG-context] how to interrupt doublesided in particular instance

2020-05-05 Thread Wolfgang Schuster
). Is there a way to interrupt the setup so the new chapter in this case can start on the verso page? Create a new heading for chapters which can start on left/right pages. \setuppagenumbering[alternative=doublesided] \definehead[mychapter][chapter] \setuphead[mychapter][page=yes] \starttext

[NTG-context] how to interrupt doublesided in particular instance

2020-05-05 Thread jbf
on the recto side. I thought I might have been able to force that with \page[no] immediately after the previous chapter concluded or before \chapter{My new chapter}, but this command is ignored (and may well be the wrong command to achieve what I want). Is there a way to interrupt the setup

[NTG-context] ConTeXt version stuck at 2020.01.30

2020-05-05 Thread Marco Patzer
Hi! Has something changed regarding the installation/update procedure? ConTeXt seems to be stuck at 2020.01.30 and downloading the newest version results in that very version. Steps to reproduce: rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh

Re: [NTG-context] How do I add cyrillic to my typescript/document?

2020-05-04 Thread Pablo Rodriguez
t the ones explained for \definefallbackfamily. The values for the first and second groups should be the same, values for the third group should differ. Otherwise, glyph substition won’t take place (either the font family or typeface won’t match, or the fallback font won’t be actually a different on

Re: [NTG-context] How do I add cyrillic to my typescript/document?

2020-05-04 Thread Gerben Wierda
s in other languages which should be typeset in a font that can handle cyrillic. Helvetica is an option. So is dejavu. I still am totally in the dark how this works and what made the earlier setup find Optima but not find Helvetica. And I’m curious why this adaptation doesn’t work: \definefa

Re: [NTG-context] How do I add cyrillic to my typescript/document?

2020-05-03 Thread Vladimir Lomov
h texts properly. I doubt this may be what you >> intend. >> >> The way to get a fallback font would be (depending on which approach you >> use) \definefontfallback or \definefallbackfamily. >> >> A sample of the second option would read: >> >> \definef

Re: [NTG-context] How do I add cyrillic to my typescript/document?

2020-05-03 Thread Gerben Wierda
r \definefallbackfamily. > > A sample of the second option would read: > > \definefallbackfamily >[mainface] >[ss] >[FreeSans] >[preset=range:cyrillic, > force=yes] > > In any case, > http://www.pragma-ade.com/general/qrcs/setup-e

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

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