Re: [NTG-context] Cyrillic replacement for TeX Gyre Schola?

2013-08-23 Thread Marco Patzer
On 2013–08–20 Henning Hraban Ramm wrote: > Seems like I didn’t need Russian lyrics since the removal of > Cyrillic glyphs from TeX Gyre. But now I do. What would you do? Is > there an illegal "complete" version around, Many commercial fonts cover the Cyrillic range. Pick

[NTG-context] Cyrillic replacement for TeX Gyre Schola?

2013-08-19 Thread Henning Hraban Ramm
приве́т! My songbooks are typeset in TeX Gyre Schola (since Century Schoolbook is the default lyrics font of LilyPond, I like it and it’s very readable). Seems like I didn’t need Russian lyrics since the removal of Cyrillic glyphs from TeX Gyre. But now I do. What would you do? Is there an

Re: [NTG-context] INstalling the context version of TeX distro.

2013-07-19 Thread Pablo Rodríguez
On 19/07/13 20:51, john Culleton wrote: > [...] > Slight problem. The standard install assumes that one can get to the > internet from Windoze. I can't. WIn 7 refuses to talk to my obsolete > linksys router and the Linksys software disk doesn't work with Win XP or > Win 7. So is there a context zip

Re: [NTG-context] INstalling the context version of TeX distro.

2013-07-19 Thread john Culleton
On Wed, 17 Jul 2013 18:00:06 +0200 Sietse Brouwer wrote: > Hello John, > > Ah, I see everybody else has already linked you to > http://wiki.contextgarden.net/ConTeXt_Standalone#Windows > > I do apologize for the state of that page. Hans van der Meer sent me > (well, he sent it to Hans Hagen and

Re: [NTG-context] INstalling the context version of TeX distro.

2013-07-17 Thread Sietse Brouwer
Hello John, Ah, I see everybody else has already linked you to http://wiki.contextgarden.net/ConTeXt_Standalone#Windows I do apologize for the state of that page. Hans van der Meer sent me (well, he sent it to Hans Hagen and Hans H sent it to me) a much-improved draft of installation instructions

Re: [NTG-context] INstalling the context version of TeX distro.

2013-07-17 Thread Marco Patzer
On 2013–07–17 john Culleton wrote: > I downloaded the zip file and unzipped it. Now what? Unzip it and run first-setup.bat If you don't mind about a few MiB of space, run first-setup.bat --modules=all --fonts=all > Again I need install directions. If there is an up-to-date guide to > thi

Re: [NTG-context] INstalling the context version of TeX distro.

2013-07-17 Thread Wolfgang Schuster
Am 17.07.2013 um 17:45 schrieb john Culleton : > > Normally I just use TeXlive as my TeX distro for Context as well as > everything else. However I thought I would play with the Context > version for educational purposes. It is perhaps more up to date than > TeXlive 2013. >

[NTG-context] INstalling the context version of TeX distro.

2013-07-17 Thread john Culleton
Normally I just use TeXlive as my TeX distro for Context as well as everything else. However I thought I would play with the Context version for educational purposes. It is perhaps more up to date than TeXlive 2013. I downloaded the zip file and unzipped it. Now what? Also I copied the zip

Re: [NTG-context] Off-topic: Convert PDF to (Con/La)TeX

2013-05-15 Thread luigi scarso
7;m thinking about two alternatives: >> * libraries for reading like podofo and custom script for passing pdf >> context (text) to context commands >> * pass pdf to jpg, and apply http://detexify.kirelabs.org/classify.htmlfor >> passing to tex symbols. >> >>

Re: [NTG-context] Off-topic: Convert PDF to (Con/La)TeX

2013-05-15 Thread Xan
es anyone have got an experience on that? I'm thinking about two alternatives: * libraries for reading like podofo and custom script for passing pdf context (text) to context commands * pass pdf to jpg, and apply http://detexify.kirelabs.org/classify.html for passing

Re: [NTG-context] Processing URL with TeX macros

2013-05-15 Thread Jaroslav Hajtmar
seURL command. Is there possibilities put any TeX macro to first and second parameter? It was clear to me why this is about, but I need it for one application (in the cycle I change URL addresses). Why can you change the \def lines but not the \useURL settings, both are set at the begin of the doc

Re: [NTG-context] Processing URL with TeX macros

2013-05-15 Thread Wolfgang Schuster
Am 15.05.2013 um 09:23 schrieb Jaroslav Hajtmar : > Hello ConTeXist. > I would like get right URL, when I use \useURL command. > Is there possibilities put any TeX macro to first and second parameter? > It was clear to me why this is about, but I need it for one application (in &

[NTG-context] Processing URL with TeX macros

2013-05-15 Thread Jaroslav Hajtmar
Hello ConTeXist. I would like get right URL, when I use \useURL command. Is there possibilities put any TeX macro to first and second parameter? It was clear to me why this is about, but I need it for one application (in the cycle I change URL addresses). Thanx Jaroslav Hajtmar Here is my

Re: [NTG-context] Off-topic: Convert PDF to (Con/La)TeX

2013-05-13 Thread luigi scarso
natives: > * libraries for reading like podofo and custom script for passing pdf > context (text) to context commands > * pass pdf to jpg, and apply > http://detexify.kirelabs.org/**classify.html<http://detexify.kirelabs.org/classify.html>for > passing to tex symbols. > > For

[NTG-context] Off-topic: Convert PDF to (Con/La)TeX

2013-05-12 Thread Xan
g pdf context (text) to context commands * pass pdf to jpg, and apply http://detexify.kirelabs.org/classify.html for passing to tex symbols. For me it's vital to pass mathematical symbols like (\int) to tex symbol and not like utf-8 symbols. Thanks a lot, Xan. Note: pdf could be substitute for

Re: [NTG-context] Formulas in ConTeXt are different from those in plain TeX

2013-05-11 Thread Hans Hagen
On 5/11/2013 12:16 PM, Tim Li wrote: > Thanks, Hans, > > can you give me a small example or show me how to do that? I really > don't know how to do that. :-( see plain.tex and the tex book but you can bet on interference ... deep down, math in context is implemented in a rathe

Re: [NTG-context] Formulas in ConTeXt are different from those in plain TeX

2013-05-11 Thread Hans Hagen
On 5/11/2013 1:57 AM, Tim Li wrote: Hi, I have asked this question on tex.stackexchange.com http://tex.stackexchange.com/questions/113592/formulas-in-context-are-different-from-those-in-plain-tex/113609?noredirect=1#comment250549_113609 as the title said, formulas typeset by ConTeXt are

[NTG-context] Formulas in ConTeXt are different from those in plain TeX

2013-05-10 Thread Tim Li
Hi, I have asked this question on tex.stackexchange.com http://tex.stackexchange.com/questions/113592/formulas-in-context-are-different-from-those-in-plain-tex/113609?noredirect=1#comment250549_113609 as the title said, formulas typeset by ConTeXt are different from those by plain TeX. The

Re: [NTG-context] inclusion of tex code in xml context

2013-05-07 Thread Hans Hagen
: \startxmlsetups xmlcommon:mpgraphic Here I want to read the buffer and then call it up with \useMPgraphic{graphicname}{} \stopxmlsetups This works if I pack the graphic definition in the buffer inside a node and call \xmlprocessbuffer{tex}{\xmlatt{#1}{buffer}}{} where is a ConTeXt

[NTG-context] inclusion of tex code in xml context

2013-05-07 Thread Meer, H. van der
to read the buffer and then call it up with \useMPgraphic{graphicname}{} \stopxmlsetups This works if I pack the graphic definition in the buffer inside a node and call \xmlprocessbuffer{tex}{\xmlatt{#1}{buffer}}{} where is a ConTeXt processing setup. This actuallty works, but has the

Re: [NTG-context] texmf -> texmf-dist in TeX Live

2013-04-09 Thread Mojca Miklavec
On Mon, Apr 8, 2013 at 6:42 PM, Mojca Miklavec wrote: > Hi, > > TeX Live has switched from texmf to texmf-dist. Please let me know if > there will be any problems associated with that (like missing files in > distribution). I already spotted some problems. I'll try to fre

[NTG-context] texmf -> texmf-dist in TeX Live

2013-04-08 Thread Mojca Miklavec
Hi, TeX Live has switched from texmf to texmf-dist. Please let me know if there will be any problems associated with that (like missing files in distribution). Mojca ___ If your question is of interest to others as

Re: [NTG-context] TeX Live 2013 --- until when can we work on the man pages?

2013-04-05 Thread Hans Hagen
On 4/5/2013 2:57 PM, Sietse Brouwer wrote: I didn't get around to working on the man pages these past 2 weeks. Now, I just saw this timing plan on the TeX Live website: http://www.tug.org/texlive/ No hurry with that ... it's not like context users are using those pages frequent

Re: [NTG-context] TeX Live 2013 --- until when can we work on the man pages?

2013-04-05 Thread Mojca Miklavec
On Fri, Apr 5, 2013 at 2:57 PM, Sietse Brouwer wrote: > Hello all, > > I didn't get around to working on the man pages these past 2 weeks. > Now, I just saw this timing plan on the TeX Live website: > http://www.tug.org/texlive/ > > March 27: sources committed, builds be

Re: [NTG-context] TeX Live 2013 --- until when can we work on the man pages?

2013-04-05 Thread Arthur Reutenauer
> Does this mean any improvements to the man pages should be in on April > 8; or that you want them May 20; or has the deadline already passed > and are any improvements due next year? Mojca, perhaps you know this? The tlnet freeze means that there won't be any updates to TeX

[NTG-context] TeX Live 2013 --- until when can we work on the man pages?

2013-04-05 Thread Sietse Brouwer
Hello all, I didn't get around to working on the man pages these past 2 weeks. Now, I just saw this timing plan on the TeX Live website: http://www.tug.org/texlive/ March 27: sources committed, builds begin. April 8: tlnet (and TL'12) frozen, tlpretest starts, CTAN updates continue the

Re: [NTG-context] Representing TeX on the web [Off-topic]

2013-03-31 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sat, 30 Mar 2013 23:34:11 -0600, Arthur Reutenauer wrote: ^^ Time travel ;-) TEX On Sun, 31 Mar 2013 00:14:52 -0600, Khaled Hosny wrote: span.TEX {letter-spacing: -0.1em;} span.TEX span.E {left: -0.04em; position: relative;top: 0.5ex;} TEX On Sun, 31

Re: [NTG-context] Representing TeX on the web [Off-topic]

2013-03-31 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sat, 30 Mar 2013 23:34:11 -0600, Arthur Reutenauer wrote: Related: Is there any movement to have '\TeX' registered as a Unicode symbol? I really hope not. Why not? Best wishes Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort C

Re: [NTG-context] Representing TeX on the web [Off-topic]

2013-03-31 Thread Philipp Gesang
· > Dear gang, > > My apologies if the answers to the following are already well-known > and if I'm being completely clueless: > > What is the standard way of representing the symbol '\TeX' in html > and the like? I use margins to emulate kerns:

Re: [NTG-context] Representing TeX on the web [Off-topic]

2013-03-30 Thread Arthur Reutenauer
> > span.TEX {letter-spacing: -0.1em;} > span.TEX span.E {left: -0.04em; position: relative;top: 0.5ex;} > > > TEX Cute :-) Arthur ___ If your question is of interest to others a

Re: [NTG-context] Representing TeX on the web [Off-topic]

2013-03-30 Thread Khaled Hosny
On Sat, Mar 30, 2013 at 11:20:41PM -0600, Idris Samawi Hamid ادريس سماوي حامد wrote: > Dear gang, > > My apologies if the answers to the following are already well-known > and if I'm being completely clueless: > > What is the standard way of representing the symbol &

Re: [NTG-context] Representing TeX on the web [Off-topic]

2013-03-30 Thread Arthur Reutenauer
> What is the standard way of representing the symbol '\TeX' in html > and the like? I'm guessing the most common way is to simply write TeX in plain text, but if you want to be fancy, TEX would do -- at the risk of looking ugly. > Related: Is there any movement to hav

[NTG-context] Representing TeX on the web [Off-topic]

2013-03-30 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, My apologies if the answers to the following are already well-known and if I'm being completely clueless: What is the standard way of representing the symbol '\TeX' in html and the like? Related: Is there any movement to have '\TeX' registered as a U

Re: [NTG-context] TeX macro to MP variable

2013-03-17 Thread Marco Patzer
viously there are plenty of solutions to pass from TeX to MP. Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-cont

Re: [NTG-context] TeX macro to MP variable

2013-03-17 Thread Marco Patzer
On 2013–03–16 Aditya Mahajan wrote: > See the visualcounter module for an alternative way to pass values > from TeX to MP. I see, you create an initialisation graphic and include it where necessary. And it's local to the MP instance. Thanks for the pointer. Marco signature.asc

Re: [NTG-context] TeX macro to MP variable

2013-03-16 Thread Aditya Mahajan
visualcounter module for an alternative way to pass values from TeX to MP. Basically, I define a namespace and then just access the parameters at MP end using somvar := \parameter{...}; etc. Aditya ___ If your

Re: [NTG-context] TeX macro to MP variable

2013-03-16 Thread Hans Hagen
On 3/16/2013 4:07 PM, Marco Patzer wrote: Hi, I am looking for a way to assign the value of a TeX macro to an MP variable. However, this only works the first time, then the value is not updated any longer. Example: \startMPdefinitions size = \somesize ; \stopMPdefinitions

Re: [NTG-context] TeX macro to MP variable

2013-03-16 Thread Marco Patzer
On 2013–03–16 Wolfgang Schuster wrote: > http://www.ntg.nl/pipermail/ntg-context/2013/071538.html Well, I played with all possible environments, but there is no environment local to a particular MP instance which is re-read on every MP graphic. The only usable environment in this case is MPinitia

Re: [NTG-context] TeX macro to MP variable

2013-03-16 Thread Wolfgang Schuster
Am 16.03.2013 um 17:13 schrieb Marco Patzer : > On 2013–03–16 Thomas A. Schmitz wrote: > >> \setupMPvariables >>[mycircle] >>[diameter=\Circlediameter, >> ] > > MPvariables are local to a particular MP graphic. I need a way to > set the variables global to all MPgraphics of that MP inst

Re: [NTG-context] TeX macro to MP variable

2013-03-16 Thread Marco Patzer
On 2013–03–16 Thomas A. Schmitz wrote: > \setupMPvariables > [mycircle] > [diameter=\Circlediameter, > ] MPvariables are local to a particular MP graphic. I need a way to set the variables global to all MPgraphics of that MP instance. Marco signature.asc Description: Digital signature

Re: [NTG-context] TeX macro to MP variable

2013-03-16 Thread Marco Patzer
On 2013–03–16 Thomas A. Schmitz wrote: > I'm not quite sure if this is what you're looking for, but here is > an example how you could do this with \MPvars: > > \def\Circlediameter{15mm} > > \def\setupCircle#1[#2]% > {\getparameters[Circle][diameter=15mm,#2]} > > \setupMPvariables > [myci

Re: [NTG-context] TeX macro to MP variable

2013-03-16 Thread Thomas A. Schmitz
On 03/16/2013 04:07 PM, Marco Patzer wrote: Hi, I am looking for a way to assign the value of a TeX macro to an MP variable. However, this only works the first time, then the value is not updated any longer. Example: I'm not quite sure if this is what you're looking for, but

[NTG-context] TeX macro to MP variable

2013-03-16 Thread Marco Patzer
Hi, I am looking for a way to assign the value of a TeX macro to an MP variable. However, this only works the first time, then the value is not updated any longer. Example: \startMPdefinitions size = \somesize ; \stopMPdefinitions \startuseMPgraphic{alpha} fill unitcircle scaled size

Re: [NTG-context] TeX files in fonts/ directory

2012-11-19 Thread Hans Hagen
On 11/19/2012 2:08 AM, Aditya Mahajan wrote: Hi, I am using ConTeXt standalone. Normally I unzip or git clone the fonts that I regularly use in $HOME/texmf/fonts/opentype/data directory, since I assume that all the extra files in there will simply be ignored by TeX. However, I recently noticed

[NTG-context] TeX files in fonts/ directory

2012-11-18 Thread Aditya Mahajan
Hi, I am using ConTeXt standalone. Normally I unzip or git clone the fonts that I regularly use in $HOME/texmf/fonts/opentype/data directory, since I assume that all the extra files in there will simply be ignored by TeX. However, I recently noticed that MkIV finds a test.tex file from

Re: [NTG-context] Search path for .tex files (mkiv)

2012-10-30 Thread John Devereux
Marco Patzer writes: > 2012-10-30 John Devereux: > >> It looks like \usepath is the key to what I want, thank you. > > Yes, combine \usepath with the \startmodeset syntax that Wolfgang > suggested and you should have a clean solution. > >> I don't quite understand your overall structure. > > You'

Re: [NTG-context] Search path for .tex files (mkiv)

2012-10-30 Thread Marco Patzer
2012-10-30 John Devereux: > It looks like \usepath is the key to what I want, thank you. Yes, combine \usepath with the \startmodeset syntax that Wolfgang suggested and you should have a clean solution. > I don't quite understand your overall structure. You're right. Without file names it's har

Re: [NTG-context] Search path for .tex files (mkiv)

2012-10-30 Thread Wolfgang Schuster
Am 30.10.2012 um 17:24 schrieb John Devereux : > Marco Patzer writes: > >> 2012-10-30 John Devereux: >> >>> What is the correct way to set or modify the search path for tex files? >>> >>> I want to make it mode-dependent. For example, for figures

Re: [NTG-context] Search path for .tex files (mkiv)

2012-10-30 Thread John Devereux
Marco Patzer writes: > 2012-10-30 John Devereux: > >> What is the correct way to set or modify the search path for tex files? >> >> I want to make it mode-dependent. For example, for figures I have >> something like >> >> \doifmode{en} >> {\de

Re: [NTG-context] Search path for .tex files (mkiv)

2012-10-30 Thread Wolfgang Schuster
Am 30.10.2012 um 17:12 schrieb John Devereux : > Thank you Wolfgang, these "modesets" are neat. But it was primarily the > .tex file search path I was interested in, I have figures working > already, although your way is nicer. > > Is there something like \setuptexfil

Re: [NTG-context] Search path for .tex files (mkiv)

2012-10-30 Thread John Devereux
Wolfgang Schuster writes: > Am 30.10.2012 um 15:31 schrieb John Devereux : > >> >> Hi, >> >> What is the correct way to set or modify the search path for tex files? >> >> I want to make it mode-dependent. For example, for figures I have >&g

Re: [NTG-context] Search path for .tex files (mkiv)

2012-10-30 Thread Marco Patzer
2012-10-30 John Devereux: > What is the correct way to set or modify the search path for tex files? > > I want to make it mode-dependent. For example, for figures I have > something like > > \doifmode{en} > {\def\FigDirLanguage{fig/lang_en}\def\DocumentSuffix{EN}\mainlang

Re: [NTG-context] Search path for .tex files (mkiv)

2012-10-30 Thread Wolfgang Schuster
Am 30.10.2012 um 15:31 schrieb John Devereux : > > Hi, > > What is the correct way to set or modify the search path for tex files? > > I want to make it mode-dependent. For example, for figures I have > something like > > \doifmode{en} > {\def\FigDirLanguage{f

[NTG-context] Search path for .tex files (mkiv)

2012-10-30 Thread John Devereux
Hi, What is the correct way to set or modify the search path for tex files? I want to make it mode-dependent. For example, for figures I have something like \doifmode{en} {\def\FigDirLanguage{fig/lang_en}\def\DocumentSuffix{EN}\mainlanguage[en]} \doifmode{de} {\def\FigDirLanguage{fig/lang_de

Re: [NTG-context] verbatim text: \type, \tex and co.

2012-09-28 Thread Alan BRASLAU
On Fri, 28 Sep 2012 10:43:48 +0200 Hans Hagen wrote: > On 27-9-2012 22:49, Alan Braslau wrote: > > Hello, > > > > Can someone indicate how to typeset > > $L_{α+β}$ > > as verbatim text? > > (\arg{} doesn't help here...) > > > > Furthermore, I suppose that typesetting Greek characters verbatim > >

Re: [NTG-context] verbatim text: \type, \tex and co.

2012-09-28 Thread Hans Hagen
On 27-9-2012 22:49, Alan Braslau wrote: Hello, Can someone indicate how to typeset $L_{α+β}$ as verbatim text? (\arg{} doesn't help here...) Furthermore, I suppose that typesetting Greek characters verbatim depends also upon which \tt font is being used. \setupbodyfont[dejavu] \starttext \s

Re: [NTG-context] verbatim text: \type, \tex and co.

2012-09-27 Thread Aditya Mahajan
Can someone indicate how to typeset $L_{α+β}$ as verbatim text? (\arg{} doesn't help here...) Untested: \type{...} should work. (Definitely did work a couple of months ago). Furthermore, I suppose that typesetting Greek characters verbatim depends also upon which \tt font is being used. CM

[NTG-context] verbatim text: \type, \tex and co.

2012-09-27 Thread Alan Braslau
Hello, Can someone indicate how to typeset $L_{α+β}$ as verbatim text? (\arg{} doesn't help here...) Furthermore, I suppose that typesetting Greek characters verbatim depends also upon which \tt font is being used. Alan

Re: [NTG-context] TeX expansion within lua

2012-09-05 Thread Marco Patzer
On 2012-09-05 Hans Hagen wrote: Hi Hans, > you probably over code things Yes, that's not unlikely, I tend to do that (unintentional). > instead of storing you can pass the valus directly > > \def\largerthantextwidth#1% >{\cldcontext > {if \number\dimexpr#1 "is smaller" >

Re: [NTG-context] TeX expansion within lua

2012-09-05 Thread Hans Hagen
On 4-9-2012 19:40, Marco Patzer wrote: On 2012-09-04 Martin Schröder wrote: Hi Martin, http://tracker.luatex.org/view.php?id=682 It seems that I just hit a very hard to solve issue which needs not yet available support from the luatex side. Patricks solution seems not very practical and er

Re: [NTG-context] TeX expansion within lua

2012-09-04 Thread Marco Patzer
its or it prints the caption underneath the float if the float spans the margin as well (captions are in the margin by default in this layout). Most of the code is written in TeX and I don't feel it's necessary to rewrite it in Lua. I am more fluent in TeX than in Lua. In this case

Re: [NTG-context] TeX expansion within lua

2012-09-04 Thread Wolfgang Schuster
Am 04.09.2012 um 20:11 schrieb Marco Patzer : > On 2012-09-04 Wolfgang Schuster wrote: > >> Is there a good reason why you put \newdimen because dimen/count >> etc. registers should always be defined once. > > The definitions are not in a macro, they are defined at the top of > the file. I mes

Re: [NTG-context] TeX expansion within lua

2012-09-04 Thread Marco Patzer
On 2012-09-04 Wolfgang Schuster wrote: > Is there a good reason why you put \newdimen because dimen/count > etc. registers should always be defined once. The definitions are not in a macro, they are defined at the top of the file. I messed around while creating a minimal example. However, the pr

Re: [NTG-context] TeX expansion within lua

2012-09-04 Thread Wolfgang Schuster
Am 04.09.2012 um 19:40 schrieb Marco Patzer : > On 2012-09-04 Martin Schröder wrote: > > Hi Martin, > >> http://tracker.luatex.org/view.php?id=682 > > It seems that I just hit a very hard to solve issue which needs > not yet available support from the luatex side. > > Patricks solution seems

Re: [NTG-context] TeX expansion within lua

2012-09-04 Thread Marco Patzer
On 2012-09-04 Martin Schröder wrote: Hi Martin, > http://tracker.luatex.org/view.php?id=682 It seems that I just hit a very hard to solve issue which needs not yet available support from the luatex side. Patricks solution seems not very practical and error prone, so I settled with this ugly bu

Re: [NTG-context] TeX expansion within lua

2012-09-04 Thread Martin Schröder
2012/9/4 Marco Patzer : > I am just interested in a text string, not a box with typeset > material. I guess that's more difficult, since macros are expanded > and not just simply read. http://tracker.luatex.org/view.php?id=682 Best Martin ___

Re: [NTG-context] TeX expansion within lua

2012-09-04 Thread Marco Patzer
On 2012-09-04 Aditya Mahajan wrote: Hi Aditya, > Instead of > >context(tex.toks.mytoks) > > use > >context(function () context(tex.toks.mytoks) end) > > See the ConTeXt Lua Document manual for explanation. Thanks. This works indeed. But what to do in the following case? It's hard to

Re: [NTG-context] TeX expansion within lua

2012-09-04 Thread Aditya Mahajan
On Tue, 4 Sep 2012, Marco Patzer wrote: Hi, please have a look at the following example: \starttext \def\cmd{% \def\mymacro{Foobar} \newtoks\mytoks \mytoks={mytoks}} \startluacode context.cmd() context.mymacro() -- this fails -- context(tex.toks.mytoks) \stopluacode -- this works \st

[NTG-context] TeX expansion within lua

2012-09-04 Thread Marco Patzer
Hi, please have a look at the following example: \starttext \def\cmd{% \def\mymacro{Foobar} \newtoks\mytoks \mytoks={mytoks}} \startluacode context.cmd() context.mymacro() -- this fails -- context(tex.toks.mytoks) \stopluacode -- this works \startluacode context(tex.toks.mytoks

Re: [NTG-context] MP & TeX capacity exceeded

2012-09-02 Thread Procházka Lukáš
do context("draw (0,0) -- (5cm,5cm);") end context.stopMPcode() \stopluacode \stoptext I'm getting "TeX capacity exceeded" error. Where is that "Like" button? ;) Mojca PS: Weird enough, the code works for me on 64-bit LuaTeX un

Re: [NTG-context] MP & TeX capacity exceeded

2012-09-01 Thread Mojca Miklavec
do > context("draw (0,0) -- (5cm,5cm);") > end > context.stopMPcode() > \stopluacode > \stoptext > > > I'm getting "TeX capacity exceeded" error. Where is that "Like" button? ;) Mojca PS: Weird enough, the c

[NTG-context] MP & TeX capacity exceeded

2012-09-01 Thread Procházka Lukáš
\stoptext I'm getting "TeX capacity exceeded" error. So the question is - which parameter in which file to extend it? I found texmf.cnf and texmfcnf.lua, with many variables having "size" in its name; which is the proper one? Best regards, Lukas

Re: [NTG-context] Creating TeX dimensions and counters registers directly in Lua

2012-08-22 Thread Jaroslav Hajtmar
Hajtmar Dne 22.8.2012 14:12, Hans Hagen napsal(a): On 22-8-2012 13:24, Jaroslav Hajtmar wrote: Thank to Hans and Peter too. It works in context fine now. I would like realize this same in pure LuaTeX. I was primarily in the query for it to find Lua equivalent of TeX primitives \newdimen and

Re: [NTG-context] Creating TeX dimensions and counters registers directly in Lua

2012-08-22 Thread Hans Hagen
On 22-8-2012 13:24, Jaroslav Hajtmar wrote: Thank to Hans and Peter too. It works in context fine now. I would like realize this same in pure LuaTeX. I was primarily in the query for it to find Lua equivalent of TeX primitives \newdimen and \newcount (for direct creating new TeX registers) I

Re: [NTG-context] Creating TeX dimensions and counters registers directly in Lua

2012-08-22 Thread Jaroslav Hajtmar
Thank to Hans and Peter too. It works in context fine now. I would like realize this same in pure LuaTeX. I was primarily in the query for it to find Lua equivalent of TeX primitives \newdimen and \newcount (for direct creating new TeX registers) I could use something like "\dire

Re: [NTG-context] Creating TeX dimensions and counters registers directly in Lua

2012-08-22 Thread Peter Münster
On Wed, Aug 22 2012, Jaroslav Hajtmar wrote: > \ctxlua{myluadimension = number.topoints(1)} > \ctxlua{context(myluadimension)} \def\myluadimension{\ctxlua{context(myluadimension)}} ... \hbox to\myluadimension{X} -- Peter _

Re: [NTG-context] Creating TeX dimensions and counters registers directly in Lua

2012-08-22 Thread Hans Hagen
On 22-8-2012 11:09, Jaroslav Hajtmar wrote: Thanks Wolfgang for the reply, but I must have misunderstood. My point is, that TeX registers was subsequently visible and usable in TeX (eg for width or height of boxes, etc.) Eg. for example, \the\mydimension can see that this does not occur! In

Re: [NTG-context] Creating TeX dimensions and counters registers directly in Lua

2012-08-22 Thread Jaroslav Hajtmar
Thanks Wolfgang for the reply, but I must have misunderstood. My point is, that TeX registers was subsequently visible and usable in TeX (eg for width or height of boxes, etc.) Eg. for example, \the\mydimension can see that this does not occur! In addition, I solve the problem at LuaTEX, so

Re: [NTG-context] Creating TeX dimensions and counters registers directly in Lua

2012-08-22 Thread Wolfgang Schuster
Am 22.08.2012 um 09:19 schrieb Jaroslav Hajtmar : > Hello all, > Is it possible to create a new dimension ConTeXt register directly in Lua, or > I have to first create the ConTeXt dimensional register and then to > subsequently assign it a value? > > Here is example: > > \starttext >\newd

[NTG-context] Creating TeX dimensions and counters registers directly in Lua

2012-08-22 Thread Jaroslav Hajtmar
Hello all, Is it possible to create a new dimension ConTeXt register directly in Lua, or I have to first create the ConTeXt dimensional register and then to subsequently assign it a value? Here is example: \starttext \newdimen\mydimension \directlua{tex.setdimen("mydimension", 123)} \

Re: [NTG-context] Refreshing (synchronizing) values between Lua variables and TeX registers

2012-06-18 Thread Hans Hagen
On 18-6-2012 15:02, Jaroslav Hajtmar wrote: Hello ConTeXist and Lua experts Is there any way to refresh values ​​between the values ​​stored in Lua code and TeX registers? I need to evaluating the values of TeX registers (counters, dimensions, height of boxes, etc.) during the Lua cycle. I

[NTG-context] Refreshing (synchronizing) values between Lua variables and TeX registers

2012-06-18 Thread Jaroslav Hajtmar
Hello ConTeXist and Lua experts Is there any way to refresh values ​​between the values ​​stored in Lua code and TeX registers? I need to evaluating the values of TeX registers (counters, dimensions, height of boxes, etc.) during the Lua cycle. I would like in the cycle ​​read values from the

Re: [NTG-context] Testing TeX Live 2012

2012-05-22 Thread Taco Hoekwater
On 05/22/2012 10:31 AM, Marco Pessotto wrote: Marco Pessotto writes: I'm attaching the original file and image. Let me know if you want me to try to bisect it until I get a minimal file (which could take a while). The second (different) crash happens with this other (much shorter) file. Pleas

Re: [NTG-context] Testing TeX Live 2012

2012-05-22 Thread Taco Hoekwater
On 05/21/2012 09:22 PM, Marco Pessotto wrote: Marco Pessotto writes: Checked out, compiled and tested. And it works (of course :-). I spoke too early. I have at least three issues with images. Thanks, I am on it. But I will need source files and images, if at all possible. Backtraces are

Re: [NTG-context] Testing TeX Live 2012

2012-05-21 Thread Henning Hraban Ramm
Am 2012-05-21 um 21:22 schrieb Marco Pessotto: First case: failing, but no crash. % minimal \starttext \externalfigure[cow] \stoptext % stop Did you try to set a size like \externalfigure[cow][width=\textwidth] ? It’s still a bug, but that works for me (setting the size in \setupexternalfig

Re: [NTG-context] Testing TeX Live 2012

2012-05-21 Thread Marco Pessotto
ive2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui" --backend="pdf" "./prova.tex" \stoptext This is LuaTeX, Version beta-0.70.2-2012052117 (TeX Live 2012) \write18 enabled. (prova.tex jobcontrol > version mismatch with jobfile:

Re: [NTG-context] Testing TeX Live 2012

2012-05-21 Thread Marco Pessotto
Taco Hoekwater writes: > On 05/18/2012 08:20 PM, Marco Pessotto wrote: >> Mojca Miklavec writes: >> >>> You can try to checkout revision 26300 from TeX Live repository. That >>> should give you a good reference. >>> http://tug.org/svn/texlive?vie

Re: [NTG-context] Testing TeX Live 2012

2012-05-21 Thread Taco Hoekwater
On 05/18/2012 08:20 PM, Marco Pessotto wrote: Mojca Miklavec writes: You can try to checkout revision 26300 from TeX Live repository. That should give you a good reference. http://tug.org/svn/texlive?view=revision&revision=26301 [...] If you could also try to build revision 26300

Re: [NTG-context] Testing TeX Live 2012

2012-05-18 Thread Marco Pessotto
Mojca Miklavec writes: > You can try to checkout revision 26300 from TeX Live repository. That > should give you a good reference. > http://tug.org/svn/texlive?view=revision&revision=26301 > [...] > If you could also try to build revision 26300 with debugging symbols >

Re: [NTG-context] Testing TeX Live 2012

2012-05-18 Thread Mojca Miklavec
o didn't commit any update at all, except for version change (and Khaled did some math-related updates recently). > So I thought that maybe it's poppler >  the culprit, and I tried to rebuild with the sistem poppler. But here >  it fails miserably during compilation. You can try t

Re: [NTG-context] Testing TeX Live 2012

2012-05-18 Thread Marco Pessotto
Taco Hoekwater writes: > I guessed as much. Unfortunately, as I cannot reproduce the bug, this is > where it ends for me. Perhaps Hartmut has a 32-bit system somewhere (CC). > > Best wishes, > Taco > > PS Hartmut: full thread is here: > http://archive.contextgarden.net/message/20120516.012657.49e

Re: [NTG-context] Testing TeX Live 2012

2012-05-18 Thread Taco Hoekwater
On 05/18/2012 02:49 PM, Marco Pessotto wrote: Taco Hoekwater writes: On 05/17/2012 07:31 PM, Marco Pessotto wrote: Anyway, I think I got the backtrace: Nice backtrace. You could try to print these in the debugger (gdb) p static_pdf (gdb) p static_pdf->posstruct (gdb) p *static_p

Re: [NTG-context] Testing TeX Live 2012

2012-05-18 Thread Marco Pessotto
64) at ../../../texk/web2c/luatexdir/pdf/pdflistout.w:459 #34 0x0819fcb8 in vlist_out (pdf=0x89a9270, this_box=2573) at ../../../texk/web2c/luatexdir/pdf/pdflistout.w:911 #35 0x080da3a9 in ship_out (pdf=0x89a9270, p=2573, shipping_mode=SHIPPING_PAGE) at ../../../texk/web2c/luatexdir/pdf/pdfs

Re: [NTG-context] Testing TeX Live 2012

2012-05-18 Thread Taco Hoekwater
On 05/17/2012 07:31 PM, Marco Pessotto wrote: Anyway, I think I got the backtrace: Nice backtrace. Starting program: /media/data/melmoth/progetti/texlive2012/bin/i386-linux/luatex --fmt="/media/data/melmoth/progetti/texlive2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606

Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread luigi scarso
On Thu, May 17, 2012 at 7:01 PM, luigi scarso wrote: > On Thu, May 17, 2012 at 6:25 PM, Marco Pessotto wrote: >> Mojca Miklavec writes: >> >>> (But that luatex is probably stripped.) >> >> So the next question is: how can I build luatex from those sources with >> the debug symbols? > Try > build

Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread Marco Pessotto
ir/pdf/pdflistout.w:911 #35 0x080da3a9 in ship_out (pdf=0x89a9278, p=2573, shipping_mode=SHIPPING_PAGE) at ../../../texk/web2c/luatexdir/pdf/pdfshipout.w:275 #36 0x080edc8b in box_end (box_context=1073872897) at ../../../texk/web2c/luatexdir/tex/maincontrol.w:1398 #37 0x080fb873 in packa

Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread luigi scarso
/formats/cont-en.lui" --backend="pdf" "./test.tex" \stoptext This is LuaTeX, Version beta-0.71.0-2012051718 (rev 4418) \write18 enabled. (test.tex ConTeXt ver: 2012.05.14 16:00 MKIV fmt: 2012.5.17 int: english/english system > cont-new.mkiv loaded (/medi

Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread Marco Pessotto
Mojca Miklavec writes: > (But that luatex is probably stripped.) So the next question is: how can I build luatex from those sources with the debug symbols? -- Marco ___ If your question is of interest to others a

Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread luigi scarso
x-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui" --backend="pdf" "./test" \stoptext This is LuaTeX, Version beta-0.70.1-2012051323 (TeX Live 2012) \write18 enabled. (test.tex ConTeXt ver: 2012.05.14 16:00 MKIV fmt: 2012.5.17 int: english/english system

Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread Marco Pessotto
dia/data/melmoth/progetti/texlive2012/bin/i386-linux/luatex --fmt="/media/data/melmoth/progetti/texlive2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en" --lua="/media/data/melmoth/progetti/texlive2012/texmf-var/luatex-cache/context/2448223e6631a

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