Re: [NTG-context] option=tex in setuptyping causes the background to be drawn twice

2019-04-28 Thread Wolfgang Schuster
    [TexSnippet]     [DefaultSnippet] Wolfgang Aditya Mahajan schrieb am 28.04.2019 um 17:00: Hi, The following minimal example: \definetextbackground     [EXAMPLE]     [   location=paragraph, rulethickness=1pt,     leftoffset=5em,    rightoffset=0mm,     ] \setuptyping[option=tex

[NTG-context] option=tex in setuptyping causes the background to be drawn twice

2019-04-28 Thread Aditya Mahajan
Hi, The following minimal example: \definetextbackground [EXAMPLE] [ location=paragraph, rulethickness=1pt, leftoffset=5em, rightoffset=0mm, ] \setuptyping[option=tex, before=\startEXAMPLE, after=\stopEXAMPLE] \starttext \starttyping A = B + C

Re: [NTG-context] Breakable thin space in TeX

2019-03-29 Thread Hans Hagen
On 3/29/2019 11:48 AM, Huseyin Özoguz wrote: Dear list, I use \, as a non-breakable half-space. But which is it's breakable equivalent? I could not find it in the wiki or any TeX-Wiki. you can try \hsize1mm test\hairspace

[NTG-context] Breakable thin space in TeX

2019-03-29 Thread Huseyin Özoguz
Dear list, I use \, as a non-breakable half-space. But which is it's breakable equivalent? I could not find it in the wiki or any TeX-Wiki. Thank you. -- Huseyin Özoguz E-Mail: h.oezo...@mmnetz.de ___ If

Re: [NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-03-01 Thread Hans Hagen
ner: this is luatex, version 1.10.0 (tex live 2019) mkiv lua stats > control sequences: 53180 of 65536 + 10 mkiv lua stats > lua properties: engine: lua 5.3, used memory: 441 MB (ctx: 437 MB), hash chars: min(64,40), symbol mask: utf (τεχ) mkiv lua stats > runtime: 21.608 seconds, 2

Re: [NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-03-01 Thread luigi scarso
On Fri, Mar 1, 2019 at 12:01 PM Mojca Miklavec < mojca.miklavec.li...@gmail.com> wrote: > On Fri, 1 Mar 2019 at 08:50, luigi scarso wrote: > > > ( forget the time, it's a zero-optimized binary (fast to compile)) > > It takes even longer for me with the binary from the distribution. > I know, but

Re: [NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-03-01 Thread Mojca Miklavec
On Fri, 1 Mar 2019 at 08:50, luigi scarso wrote: > > $> context luatex > mkiv lua stats > used platform: linux-64, type: unix, binary subtree: > texmf-linux-64 > mkiv lua stats > used engine: luatex version 1.1 with functionality level > 7088, banner: this is luate

Re: [NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-02-28 Thread luigi scarso
On Fri, Mar 1, 2019 at 8:16 AM Mojca Miklavec < mojca.miklavec.li...@gmail.com> wrote: > On Fri, 1 Mar 2019 at 07:39, Mojca Miklavec wrote: > > On Fri, 1 Mar 2019 at 00:14, Henri Menke wrote: > > > > > > Dear list, > > > > > > I just install

Re: [NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-02-28 Thread Mojca Miklavec
On Fri, 1 Mar 2019 at 07:39, Mojca Miklavec wrote: > On Fri, 1 Mar 2019 at 00:14, Henri Menke wrote: > > > > Dear list, > > > > I just installed TeX Live 2019 pretest and running context --make fails with > , > The latest ConTeXt has just been included yesterda

Re: [NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-02-28 Thread Mojca Miklavec
On Fri, 1 Mar 2019 at 00:14, Henri Menke wrote: > > Dear list, > > I just installed TeX Live 2019 pretest and running context --make fails with , The latest ConTeXt has just been included yesterday and should be available since today (some time after the usual nightly update cca.

Re: [NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-02-28 Thread luigi scarso
On Fri, Mar 1, 2019 at 12:17 AM Henri Menke wrote: > Hm, it looks like the macro code hasn't been updated from 2018 yet, because > after fixing isfile it crashes when trying to load the old pdfe library. > > seems so. I have just tested luatex 1.10 against the latest zip and it's all ok. -- lui

Re: [NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-02-28 Thread Henri Menke
Hm, it looks like the macro code hasn't been updated from 2018 yet, because after fixing isfile it crashes when trying to load the old pdfe library. Cheers, Henri On 1/03/19 12:14 PM, Henri Menke wrote: > Dear list, > > I just installed TeX Live 2019 pretest and running contex

[NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-02-28 Thread Henri Menke
Dear list, I just installed TeX Live 2019 pretest and running context --make fails with error in callback: ...xlive/2019/texmf-dist/tex/context/base/mkiv/luat-cod.lua:194: attempt to call a nil value (upvalue 'isfile') This can easily be fixed by replacing in luat-cod.lua

[NTG-context] nice overview of tex

2019-01-09 Thread Floris van Manen
> There are two extensive historic articles on tex here: > > http://walden-family.com/ieee/texhistory.html > — … LuaTEX is perhaps the most recent fundamentally new development in the TEX world. YES ! ;-) .F signature.asc Description: Message signed with OpenPGP u

[NTG-context] nice overview of tex

2019-01-09 Thread Hans Hagen
Hi, There are two extensive historic articles on tex here: http://walden-family.com/ieee/texhistory.html -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The

Re: [NTG-context] (bug?) weird line break in firstlines-001.tex

2018-11-28 Thread Rik
On 11/28/2018 12:01, Pablo Rodriguez wrote: Dear list, the following code comes from firstlines-001.tex: \setupbodyfont [pagella] \setupfirstline [fancy] [n=3] \starttext \setupindenting[medium,yes] \setfirstline[fancy

[NTG-context] (bug?) weird line break in firstlines-001.tex

2018-11-28 Thread Pablo Rodriguez
Dear list, the following code comes from firstlines-001.tex: \setupbodyfont [pagella] \setupfirstline [fancy] [n=3] \starttext \setupindenting[medium,yes] \setfirstline[fancy] \input ward \par \stoptext I’m afraid that the

Re: [NTG-context] Grammar to parse TeX input?

2018-11-28 Thread Hans Hagen
On 11/28/2018 9:33 AM, Joseph Canedo wrote: I’d like to change some input to modify used font but only in parts of it, for example to implement having first line with different font. So basically if I have text with macros etc…: % firstlines-001.tex \setupbodyfont [pagella] \setupalign

Re: [NTG-context] Grammar to parse TeX input?

2018-11-28 Thread Joseph Canedo
y in context lua code, or elsewhere. Thanks De : Hans Hagen Envoyé le :mercredi 28 novembre 2018 09:04 À : Joseph Canedo; mailing list for ConTeXt users Objet :Re: [NTG-context] Grammar to parse TeX input? On 11/27/2018 11:00 PM, Joseph Canedo wrote: > I’ve tried context.processbuffer bu

Re: [NTG-context] Grammar to parse TeX input?

2018-11-28 Thread Hans Hagen
from the input so in principle you can start your input with a token scanner, but then you not only end up with lots of 'tokens' but also need to interpret them ... and that is actually what tex is quite effecient in and good at, so the question is: what do you want to achieve ... ther

Re: [NTG-context] Grammar to parse TeX input?

2018-11-27 Thread Joseph Canedo
 : mailing list for ConTeXt users; Joseph Canedo Objet :Re: [NTG-context] Grammar to parse TeX input? On 11/26/2018 3:19 PM, Joseph Canedo wrote: > \startluacode > > function zzz_function(text) > > - How to process ‘text’ to get bits which are macros, groups etc… ? > Eventually e

Re: [NTG-context] Grammar to parse TeX input?

2018-11-26 Thread Hans Hagen
On 11/26/2018 3:19 PM, Joseph Canedo wrote: \startluacode function zzz_function(text) - How to process ‘text’ to get bits which are macros, groups etc… ? Eventually expanded ? end \stopluacode \definebuffer[ZZZBuffer] \def\StartZZZ{\grabbufferdata[ZZZBuffer][StartZZZ][StopZZZ]} \def\Stop

[NTG-context] Grammar to parse TeX input?

2018-11-26 Thread Joseph Canedo
Dear list, I use a buffer to make some text processing. That text contains TeX macros etc… and I’d like to know if there is some feature in lua to parse the text to extract bits which macros, normal text etc… ? Thanks Best regards Joseph Example of pseudo MWE follows. \startluacode

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-05 Thread Wolfgang Schuster
Axel Kielhorn schrieb am 05.10.18 um 18:44: Am 05.10.2018 um 17:33 schrieb Wolfgang Schuster : I took a look at your example files and there a few things which can be improved. Product file: 1. You don’t need the actual name of the current file and use * instead 2. You can use brackets a

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-05 Thread Axel Kielhorn
> Am 05.10.2018 um 17:33 schrieb Wolfgang Schuster > : > > I took a look at your example files and there a few things which can be > improved. > > > Product file: > > 1. You don’t need the actual name of the current file and use * instead > > 2. You can use brackets as delimiters for the fi

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-05 Thread Wolfgang Schuster
Taco Hoekwater schrieb am 04.10.18 um 09:27: Hi, On 4 Oct 2018, at 08:47, Axel Kielhorn wrote: Hello, this is my second try to start with context and I can’t even do the first step. I’m planing to convert a large but simple document to context. The document consists of 3 Parts. Each part h

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-05 Thread Wolfgang Schuster
I took a look at your example files and there a few things which can be improved. Product file: 1. You don’t need the actual name of the current file and use * instead 2. You can use brackets as delimiters for the file name instead of a space after the name 3. In products you can put all c

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-05 Thread Henning Hraban Ramm
Am 2018-10-05 um 08:31 schrieb Axel Kielhorn : > How about offering a skeleton project for download? I’m offering a Python script that creates projects: https://github.com/fiee/tools/blob/master/contextproject.py This avoids renaming everything. In my bigger projects I use additional shell scrip

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-04 Thread Axel Kielhorn
> Am 04.10.2018 um 20:59 schrieb Henning Hraban Ramm : > > Am 2018-10-04 um 10:08 schrieb Axel Kielhorn : > >> Thus having the whole file inside \start{project|product|component} \stop… >> would be a good idea and consistent. > > That’s what I do. > Since I wrote that wiki page (some years ago

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-04 Thread Henning Hraban Ramm
Am 2018-10-04 um 10:08 schrieb Axel Kielhorn : > Thus having the whole file inside \start{project|product|component} \stop… > would be a good idea and consistent. That’s what I do. Since I wrote that wiki page (some years ago) I’ll change it. Greetlings, Hraban --- https://www.fiee.net http://

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-04 Thread Axel Kielhorn
> Am 04.10.2018 um 09:27 schrieb Taco Hoekwater : > >> According to my understanding I should be able to >> context c_01 to get one chapter >> context prd_A to get one product >> context project_ecm to get the whole book. > > Any whole book should be a product, and the Parts should just be compo

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-04 Thread Taco Hoekwater
Hi, > On 4 Oct 2018, at 08:47, Axel Kielhorn wrote: > > Hello, > > this is my second try to start with context and I can’t even do the first > step. > > I’m planing to convert a large but simple document to context. > The document consists of 3 Parts. > Each part has several chapters. > > Th

[NTG-context] Need help with project: TeX capacity exceeded

2018-10-03 Thread Axel Kielhorn
. According to my understanding I should be able to context c_01 to get one chapter context prd_A to get one product context project_ecm to get the whole book. The first two steps lead to circular inclusion and the TeX capacity error. The last step doesn’t load the products and creates no files. I

[NTG-context] tex-gyre fonts missing in 2018.07.02 14:39

2018-07-04 Thread Thomas A. Schmitz
Hi Hans, is it possible that you forgot to include the texgyre fonts in the latest beta? I just realized that the directory experimental/tex/texmf/fonts/opentype/public/tex-gyre is missing… (and my documents are in latin modern) All best Thomas

Re: [NTG-context] [SPAM] Kerning/italic correction problem with TeX Gyre Bonum font

2018-03-15 Thread Mikael P. Sundqvist
e font itself or if it is >>> ConTeXt. In any case, the test file below gives strange output (attached). >>> In particular the space/kerning after $f$ seems to be off. >>> >> >> the fonts have bad glyph dimensions that assume italics always to b

Re: [NTG-context] [SPAM] Kerning/italic correction problem with TeX Gyre Bonum font

2018-03-15 Thread Mikael P. Sundqvist
output (attached). >> In particular the space/kerning after $f$ seems to be off. >> > > the fonts have bad glyph dimensions that assume italics always to be > applied (as in traditional tex fonts) > > you can put this at the top of your file: > > \definefontfeatu

Re: [NTG-context] [SPAM] Kerning/italic correction problem with TeX Gyre Bonum font

2018-03-15 Thread Hans Hagen
e bad glyph dimensions that assume italics always to be applied (as in traditional tex fonts) you can put this at the top of your file: \definefontfeature[mathextra][collapseitalics=yes] awaiting fixed fonts (if they never get fixed we can consider applying this feature by default) Ulrike Fi

[NTG-context] Kerning/italic correction problem with TeX Gyre Bonum font

2018-03-10 Thread Mikael P. Sundqvist
Hi Hans and others! I don't know if this is a problem with the font itself or if it is ConTeXt. In any case, the test file below gives strange output (attached). In particular the space/kerning after $f$ seems to be off. Ulrike Fischer reminded me in the StackExchange chat that not so long time a

[NTG-context] tex error Argument of \titlecmd has an extra }

2018-03-06 Thread ????????
Dear list, I got a tex setting file env-plain.tex from Internet and reference it in project-openstack-source-analysis.tex, when I used the the command "context project-openstack-source-analysis", the result of output shows "tex error > tex error on line 19 in file /

Re: [NTG-context] Word and character count excluding TeX-directives

2018-01-16 Thread Rik Kabel
On 2018-01-16 09:26, Dr. Thomas Möbius wrote: \definestartstop     [abstract]     [style=bold,     after={\blank[big]}] \starttext \title{My title: example of a word and character count} {\strut\tfx Formal guidelines: word count of abstract: $x$, character count of main text: $x$, character cou

[NTG-context] Word and character count excluding TeX-directives

2018-01-16 Thread Dr . Thomas Möbius
To meet some formal guidelines, I need to provide a word count of my abstract and a character count of the main text, and a character count of all the text appearing in figure captions. Is this possible (maybe using some lua-magic)? Thank you! Thomas Minimal example: \definestartstop [a

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-27 Thread Christoph Reller
On Wed, 27 Dec 2017 19:53:58 +0100, Pablo Rodriguez wrote: > could you enable issues in your Bitbucket repository? Issues are enabled now. Cheers, Christoph ___ If your question is of interest to others as well, pleas

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-27 Thread Aditya Mahajan
l clutter your PWD with temp files. To avoid that, create a subdirectory called "output" and set \setupvimtyping[directory=output] Then all the temp files will be stored in the directory "output". test.tex Description: TeX document ___

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-27 Thread Pablo Rodriguez
On 12/21/2017 10:16 PM, Christoph Reller wrote: > > My module does not come in standard context. You have to download it > from https://bitbucket.org/philexander/context-highlight. If general > interest is high enough I can ask to > add it. Christoph, could you enable issues in your Bitbucket r

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-27 Thread Pablo Rodriguez
On 12/27/2017 02:14 AM, SteamedFish wrote: > You can try vim module. > > It supports all the formats that vim is able to support and it is a builtin > module. Aditya suggested this possibility to me in a previous message in this thread. But my sources are XML, so the minimal sample is more comp

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-26 Thread SteamedFish
You can try vim module. It supports all the formats that vim is able to support and it is a builtin module. \usemodule[t-vim] \definevimtyping [TEX] [syntax=context] \definevimtyping [XML] [syntax=xml] \definevimtyping [LUA] [syntax=lua] \starttext \startTEXpage[offset=2em] a \TEX\ inline

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-26 Thread Pablo Rodriguez
On 12/21/2017 10:53 PM, Aditya Mahajan wrote: > [...] > Can you post a minimal working example. I don't use XML so it is difficult > for me to understand how these commands are used in practice. Aditya, many thanks for your reply and your help. A minimal sample would be: \startbuffer[demo]

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-26 Thread Pablo Rodriguez
On 12/21/2017 10:16 PM, Christoph Reller wrote: > On Thu, 21 Dec 2017 21:16:45 +0100, Pablo Rodriguez wrote: >> [...] >> It is really a pity that it lacks TeX, since I’m focused on ConTeXt yet >> (after all, it would be a Spanish introduction to ConTeXt ;-)). XML will >

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-21 Thread Aditya Mahajan
t and \xmlinlineprettyprint gets the fuctionality for the other two commands. The commands are invoked in this way: \xmlinlineprettyprinttext{#1}{tex} \xmlprettyprinttext{#1}{lua} Maybe adapting \prettyprintbuffer and \inlineprettyprintbuffer to the t-vim module works fine. (But this code is all Greek to me.)

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-21 Thread Christoph Reller
t;> [...] >> Note that even partial XML is highlighted correctly. > > It is really a pity that it lacks TeX, since I’m focused on ConTeXt yet > (after all, it would be a Spanish introduction to ConTeXt ;-)). XML will > come later. Maybe, if I find the time, I will add TeX and

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-21 Thread Pablo Rodriguez
xmlprettyprinttext and \xmlinlineprettyprint gets the fuctionality for the other two commands. The commands are invoked in this way: \xmlinlineprettyprinttext{#1}{tex} \xmlprettyprinttext{#1}{lua} Maybe adapting \prettyprintbuffer and \inlineprettyprintbuffer to the t-vim module works fin

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-21 Thread Pablo Rodriguez
ks for your reply. Your module is really great fine. It supports both \setuptype and \setuptyping options. It is really a pity that it lacks TeX, since I’m focused on ConTeXt yet (after all, it would be a Spanish introduction to ConTeXt ;-)). XML will come later. I’m afraid that XML comments

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-21 Thread Pablo Rodriguez
On 12/20/2017 10:18 PM, Hans Hagen wrote: > On 12/20/2017 8:45 PM, Pablo Rodriguez wrote: >> [...] >> Would it be possible that there are two SnippetComments for all lexers: >> SnippetCommentMark and SnippetCommentText? > > very low priority ... there is some logic behind these that i don't want >

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-21 Thread Aditya Mahajan
should be as simple as subsituting \usemodule[vim] Many thanks for your reply, Aditya. My scenario is much more complex: I typeset XML (HTML4 or HTML5) generated from Markdown sources via pandoc. My commands are \xmlinlineprettyprinttext{#1}{tex} and \xmlprettyprinttext{#1}{tex}. I don’t remember

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-21 Thread Pablo Rodriguez
be as simple as subsituting > > \usemodule[vim] Many thanks for your reply, Aditya. My scenario is much more complex: I typeset XML (HTML4 or HTML5) generated from Markdown sources via pandoc. My commands are \xmlinlineprettyprinttext{#1}{tex} and \xmlprettyprinttext{#1}{tex}. I don’t remembe

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-21 Thread Christoph Reller
On Tue, Mon, 18 Dec 2017 23:50:09 +0100, Pablo Rodriguez wrote: > I have the following sample: > > \definetype[context][option=tex] > \definetype[lua][option=lua] > \starttext > \startTEXpage[offset=2em] > > a \TEX\ inline comment: \context{ag%be

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-20 Thread Hans Hagen
On 12/20/2017 8:45 PM, Pablo Rodriguez wrote: On 12/20/2017 12:53 PM, Hans Hagen wrote: On 12/18/2017 11:50 PM, Pablo Rodriguez wrote: [...] % Differs per lexer: \definestartstop [XmlSnippetComment] [color=, style=] I’m afraid that the scite module isn’t an option for me.

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-20 Thread Pablo Rodriguez
On 12/20/2017 12:53 PM, Hans Hagen wrote: > On 12/18/2017 11:50 PM, Pablo Rodriguez wrote: >> [...] > % Differs per lexer: > > \definestartstop > [XmlSnippetComment] > [color=, > style=] > >> I’m afraid that the scite module isn’t an option for me. > > Then you need to configure t

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-20 Thread Hans Hagen
On 12/18/2017 11:50 PM, Pablo Rodriguez wrote: Hans, sorry for insisting, but I really need this. I have the following sample: \definetype[context][option=tex] \definetype[lua][option=lua] \starttext \startTEXpage[offset=2em] a \TEX\ inline comment: \context{ag%befe

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-19 Thread Aditya Mahajan
On Tue, 19 Dec 2017, Pablo Rodriguez wrote: On 12/19/2017 08:26 PM, Aditya Mahajan wrote: On Mon, 18 Dec 2017, Pablo Rodriguez wrote: [...] Would it be possible that all comments in type and typing (at least, for Lua, XML and TeX) would have the same formatting for the whole comment contents

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-19 Thread Pablo Rodriguez
On 12/19/2017 08:26 PM, Aditya Mahajan wrote: > On Mon, 18 Dec 2017, Pablo Rodriguez wrote: >> [...] >> Would it be possible that all comments in type and typing (at least, for >> Lua, XML and TeX) would have the same formatting for the whole comment >> contents,

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-19 Thread Aditya Mahajan
On Mon, 18 Dec 2017, Pablo Rodriguez wrote: \definetype[context][option=tex] \definetype[lua][option=lua] \starttext \startTEXpage[offset=2em] a \TEX\ inline comment: \context{ag%befe} \Lua\ inline comment: \lua{agb --efe} \startTEX This is text. % a comment, not

[NTG-context] type and typing comments for TeX and Lua

2017-12-18 Thread Pablo Rodriguez
Hans, sorry for insisting, but I really need this. I have the following sample: \definetype[context][option=tex] \definetype[lua][option=lua] \starttext \startTEXpage[offset=2em] a \TEX\ inline comment: \context{ag%befe} \Lua\ inline comment: \lua{agb --efe

Re: [NTG-context] TikZ module not found (TeX Live problem?)

2017-06-21 Thread Gerion Entrup
formats/luatex/cont-en" > > > > --jobname="test-document" > > > > --lua="/home/gerion/.texlive/texmf-var/luatex- > > > > cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en.lui" > > > > --no-parse-first-l

Re: [NTG-context] TikZ module not found (TeX Live problem?)

2017-06-20 Thread Hans Hagen
781d0a9c2b8e28d/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./test-document.tex" --c:input="./test-document.tex" -- c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv" This is LuaTeX, Version 1.0.4 (TeX Live 2017) system comma

Re: [NTG-context] TikZ module not found (TeX Live problem?)

2017-06-20 Thread Gerion Entrup
1d0a9c2b8e28d/formats/luatex/cont-en.lui" > > > --no-parse-first-line > > > --c:currentrun=1 --c:fulljobname="./test-document.tex" > > > --c:input="./test-document.tex" -- > > > c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv&q

Re: [NTG-context] TikZ module not found (TeX Live problem?)

2017-06-20 Thread Gerion Entrup
nt" > > --lua="/home/gerion/.texlive/texmf-var/luatex- > > cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en.lui" > > --no-parse-first-line > > --c:currentrun=1 --c:fulljobname="./test-document.tex" > > --c:input="./te

Re: [NTG-context] TikZ module not found (TeX Live problem?)

2017-06-20 Thread Henri Menke
first-line > --c:currentrun=1 --c:fulljobname="./test-document.tex" > --c:input="./test-document.tex" -- > c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv" > This is LuaTeX, Version 1.0.4 (TeX Live 2017)  >  system commands enabled. > open source >

[NTG-context] TikZ module not found (TeX Live problem?)

2017-06-20 Thread Gerion Entrup
home/gerion/.texlive/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./test-document.tex" --c:input="./test-document.tex" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.

Re: [NTG-context] How to define a TeX logic function with a boolean returned from a Lua function and \edef fixed value

2017-01-18 Thread Hans Hagen
On 1/18/2017 4:29 PM, DesdeChaves wrote: Dear sirs, Is there a way to compare, in TeX environment, a value returned from a lua function with a TeX variable? Please see this code: \def\aleatorioValue{ \startlua local nu = math.random(1,10); if nu<5 return 1 else return 0 end \stop

[NTG-context] How to define a TeX logic function with a boolean returned from a Lua function and \edef fixed value

2017-01-18 Thread DesdeChaves
Dear sirs, Is there a way to compare, in TeX environment, a value returned from a lua function with a TeX variable? Please see this code: \def\aleatorioValue{ \startlua local nu = math.random(1,10); if nu<5 return 1 else return 0 end \stoplua } \edef\controlValue{1} \edef\inferior{Number

Re: [NTG-context] Becoming a TeX/ConTeXt poweruser

2016-10-19 Thread Jamie Macbeth
Will do.  Thanks! ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ad

Re: [NTG-context] Becoming a TeX/ConTeXt poweruser

2016-10-19 Thread Jamie Macbeth
Thank you Pablo and Hans for your answers on this!Jamie ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt

Re: [NTG-context] Becoming a TeX/ConTeXt poweruser

2016-10-17 Thread Hans Hagen
ratch. Can someone give me pointers on the best place to start? Then I can learn the code on my own (and not be a pest on this list :) ). If you want to go the hard way (it would be the impossible way for me :-)), tex/texmf-context/tex/context/base/mkiv/strc-itm.mkvi may be the file you are lo

Re: [NTG-context] Becoming a TeX/ConTeXt poweruser

2016-10-17 Thread Pablo Rodriguez
eone give me > pointers on the best place to start? Then I can learn the code on my > own (and not be a pest on this list :) ). If you want to go the hard way (it would be the impossible way for me :-)), tex/texmf-context/tex/context/base/mkiv/strc-itm.mkvi may be the file you are lo

[NTG-context] Becoming a TeX/ConTeXt poweruser

2016-10-16 Thread Jamie Macbeth
les embedded in tables, images inside tables, among other things.  I'm hoping to become a poweruser of TeX through ConTeXt and LuaTeX. >From what I've read on this list so far, knowledgeable members of the >community say that the key functionality to ConTeXt is in the "core

[NTG-context] TeX Live 2016 is available over the Internet and on DVD.

2016-06-05 Thread luigi scarso
http://tug.org/texlive/ -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http

Re: [NTG-context] TeX "matrix" command not working lately

2016-04-10 Thread
Am 10.04.2016 um 12:39 schrieb Pablo Rodriguez: On 04/10/2016 11:45 AM, L.S.-Soc&Gam wrote: [...] I checked my version and it is the very same as yours. Can you maybe give me the code that you tested, to create a matrix, so I can copy paste and test it? Because I entered a simple matrix again

Re: [NTG-context] TeX "matrix" command not working lately

2016-04-10 Thread Pablo Rodriguez
On 04/10/2016 11:45 AM, L.S.-Soc&Gam wrote: > [...] > I checked my version and it is the very same as yours. > Can you maybe give me the code that you tested, to create a matrix, so I > can copy paste and test it? > Because I entered a simple matrix again and still the finished pdf only > shows

Re: [NTG-context] TeX "matrix" command not working lately

2016-04-10 Thread
s/contextrev/ wiki : http://contextgarden.net ___ Hi Wolfgang, danke, your way works. Still I am a little bit confused why my previous (plain tex) matrix works for you guys but not for me, since it worked a few days ago. i hope that I am n

Re: [NTG-context] TeX "matrix" command not working lately

2016-04-10 Thread Wolfgang Schuster
L.S.-Soc&Gam 10. April 2016 um 02:33 Hi guys, i've already searched the mailing list for this but i still am having a problem while trying to create a matrix. my code looks like this: \startformula S=\left(*\matrix**{* \sigma_x *&* \tau_{xy} *&* \tau_{xz} *\cr*

Re: [NTG-context] TeX "matrix" command not working lately

2016-04-10 Thread
Am 10.04.2016 um 11:39 schrieb Pablo Rodriguez: On 04/10/2016 02:33 AM, L.S.-Soc&Gam wrote: Hi guys, i've already searched the mailing list for this but i still am having a problem while trying to create a matrix. my code looks like this: \startformula S=\left(*\matrix**{* \sigma_x *&* \t

Re: [NTG-context] TeX "matrix" command not working lately

2016-04-10 Thread Pablo Rodriguez
On 04/10/2016 02:33 AM, L.S.-Soc&Gam wrote: > Hi guys, > > i've already searched the mailing list for this but i still am having a > problem while trying to create a matrix. > my code looks like this: > > \startformula > S=\left(*\matrix**{* > \sigma_x *&* \tau_{xy} *&* \tau_{xz} *\cr* > \tau

[NTG-context] TeX "matrix" command not working since update

2016-04-09 Thread
Hi guys, i've already searched the mailing list for this but i still am having a problem while trying to create a matrix. my code looks like this: \startformula S=\left(*\matrix**{* \sigma_x *&* \tau_{xy} *&* \tau_{xz} *\cr* \tau_{yx} *&* \sigma_y *&* \tau_{yz} *\cr* \tau_{zx} *&* \tau

[NTG-context] TeX "matrix" command not working lately

2016-04-09 Thread
Hi guys, i've already searched the mailing list for this but i still am having a problem while trying to create a matrix. my code looks like this: \startformula S=\left(*\matrix**{* \sigma_x *&* \tau_{xy} *&* \tau_{xz} *\cr* \tau_{yx} *&* \sigma_y *&* \tau_{yz} *\cr* \tau_{zx} *&* \tau

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-19 Thread Hans Hagen
On 1/18/2016 10:45 PM, Thomas A. Schmitz wrote: On 01/18/2016 10:26 PM, Hans Hagen wrote: i already feared that ... ... i still wonder what happens in tuc files (roundtrip mess) beta coming Yep, this seems to be a somewhat difficult area. Was just preparing an example when yours arrived.

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Kate F
t so complex... >>>> >>>> >>>> >>>> are you sure? i've never seen that >>>> >>>> Hans >>> >>> >>> Yep! >>> >>> These are called "internal parsed entities". "Parsed&

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Kate F
n/>" >>>> >>>> Often I wish XML weren't so complex... >>> >>> >>> >>> are you sure? i've never seen that >>> >>> Hans >> >> >> Yep! >> >> These are called "internal pa

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Thomas A. Schmitz
On 01/18/2016 10:26 PM, Hans Hagen wrote: i already feared that ... ... i still wonder what happens in tuc files (roundtrip mess) beta coming Yep, this seems to be a somewhat difficult area. Was just preparing an example when yours arrived. The latest beta seems to be doing the right th

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Hans Hagen
On 1/18/2016 2:30 PM, Thomas A. Schmitz wrote: On 01/17/2016 07:24 PM, Hans Hagen wrote: it should work in the in beta now Hi Hans, now I have a problem :-) What should take precedence if an entity is both defined in the dtd and as a \xmltexentity? The way I see it, the latter: e.g., in the D

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Hans Hagen
ir own \xmltexentity specified, it's because they want that to be used instead. That would allow a user to do something specific for ConTeXt processing, but I don't have a good example for that. Personally I hope I can delete all my \xmltexentity calls now. of course that assumes that you d

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Hans Hagen
als with these correctly, which is what I've been using (xsltproc and friends) for my documents which use them. I generally trust libxml2 to get things right. I use these entities to centralise often-repeated fragments between documents, kind of like how you might use a primitive macro in TeX.

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Kate F
On 18 January 2016 at 20:07, Hans Hagen wrote: > On 1/18/2016 2:30 PM, Thomas A. Schmitz wrote: >> >> On 01/17/2016 07:24 PM, Hans Hagen wrote: >>> >>> it should work in the in beta now >> >> >> Hi Hans, >> >> now I have a problem :-) What should take precedence if an entity is > > > so you have a

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Kate F
ot;. "Parsed" requires that any tags *inside* the entity must be balanced, unlike in SGML entities. Sorry I can't find a clear explanation in the XML spec; it's a pretty confusing document. But here's some random person's slide illustrating an example: http://images.slide

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Hans Hagen
On 1/18/2016 2:30 PM, Thomas A. Schmitz wrote: On 01/17/2016 07:24 PM, Hans Hagen wrote: it should work in the in beta now Hi Hans, now I have a problem :-) What should take precedence if an entity is so you have an example ? both defined in the dtd and as a \xmltexentity? The way I see i

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Hans Hagen
On 1/18/2016 5:22 PM, Kate F wrote: On 18 January 2016 at 13:30, Thomas A. Schmitz wrote: On 01/17/2016 07:24 PM, Hans Hagen wrote: it should work in the in beta now Hi Hans, now I have a problem :-) What should take precedence if an entity is both defined in the dtd and as a \xmltexentit

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Kate F
On 18 January 2016 at 13:30, Thomas A. Schmitz wrote: > On 01/17/2016 07:24 PM, Hans Hagen wrote: >> >> it should work in the in beta now > > > Hi Hans, > > now I have a problem :-) What should take precedence if an entity is both > defined in the dtd and as a \xmltexentity? The way I see it, the

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Kate F
). I don't know why that comes out as U+FFFD actually, since if I type a literal non-breaking space character instead, the PDF comes out just as if I'd used ~ in TeX. Maybe that's a bug somewhere? In any case, I think that sometimes it is helpful to override entities specifically for Te

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Thomas A. Schmitz
On 01/17/2016 07:24 PM, Hans Hagen wrote: it should work in the in beta now Hi Hans, now I have a problem :-) What should take precedence if an entity is both defined in the dtd and as a \xmltexentity? The way I see it, the latter: e.g., in the DTD, I might declare something for use in a bro

Re: [NTG-context] TeX markup in \setupinteraction for PDF metadata fields

2016-01-17 Thread Wolfgang Schuster
Alan BRASLAU 17. Januar 2016 um 23:39 On Sun, 17 Jan 2016 20:09:56 +0100 Thanks, again, these are useful pointers. In conclusion, good practice could be (but would this work?): \startdocument [title=My title, metadata:title=\documentvariable{title}, author=Me, metada

<    1   2   3   4   5   6   7   8   9   10   >