Re: [NTG-context] [NTG Context] Storm (Lido) font support seems to be broken in newer versions of MKII

2010-05-04 Thread Jan Pohanka
Minimal example is here and support files are attached. Original support can be downloaded here: http://modules.contextgarden.net/stormfontsupport \mainlanguage[cz] \enableregime[il2] \useencoding[st2] \useencoding[st3] \usetypescriptfile[t-type-slido] \usetypescript[Lido][st2] \setupbodyfont[

Re: [NTG-context] tooltips and glossary

2010-05-04 Thread Marius
On Tue, May 4, 2010 at 4:40 AM, Michael Saunders wrote: >> Wolfgang Schuster: >> http://pragma-ade.com/general/manuals/cont-enp.pdf -> page 159 > > That rambling entry is like the webpage but worse.  It still doesn't > say what arguments 2--4 do, why \infull is necesarry, or anything else > with a

[NTG-context] problem with package.path

2010-05-04 Thread Peter Münster
Hello, I need to include lua-modules from different directories, but package.path does not seem to work: \startbuffer[test] bla = nil \stopbuffer \savebuffer[test][../mytest.lua] \starttext \startluacode package.path = "../?.lua;;" require("mytest") \stopluacode \stoptext Error message: ! LuaTe

Re: [NTG-context] problem with package.path

2010-05-04 Thread Peter Münster
On Tue, May 04 2010, Peter Münster wrote: > package.path = "../?.lua;;" Ok, I see, the paths must be separated by colons: package.path = "path1/?.lua:path2/?.lua" But it's not very comfortable, since some of my luafiles are processed by lua¹ *and* by context². ¹ To generate code. ² To generate

Re: [NTG-context] tooltips and glossary

2010-05-04 Thread Michael Saunders
Marius: > Try this one: http://www.tex.ac.uk/tex-archive/info/context-top-ten/cmds.pdf > -> page 14 Thanks, but that looks like it's just some extracts from cont-eni translated from Engijsh into Engrish along with a distracting background that makes it hard to read. The stuff about the not very

Re: [NTG-context] 3D annotations

2010-05-04 Thread gummybears
On Sun, 2 May 2010, gummybears wrote: I read your email (17 april 2010) on the mailing list and applied the two patches to my Context minimal distro (the very latest version). When I run your test.tex through context the preview image test.png is not shown. >did you recreate formats after patch

[NTG-context] get tex-value in lua

2010-05-04 Thread Peter Münster
Hello, How can I get the value of a variable or a mode in the lua part? Example: context --arguments=MyVar=true test And in test.tex: \starttext \startluacode local my_var = loadstring("return " .. get_value_of("MyVar")) if my_var then tex.print("TRUE") else tex.print("FALSE") end \sto

Re: [NTG-context] get tex-value in lua

2010-05-04 Thread Peter Münster
On Tue, May 04 2010, Peter Münster wrote: > How can I get the value of a variable or a mode in the lua part? The solution is so simple... : \ctxlua{userdata = userdata or {}; userdata.myvar = \env{MyVar}} \starttext \startluacode if userdata.myvar then tex.print("TRUE") else tex.print("F

Re: [NTG-context] tooltips and glossary

2010-05-04 Thread Philipp Gesang
(Preliminary remark to M.S.: please, please, configure your MUA to correctly reply to the current thread!) Hi Michael, I'm cc'ing you in case the list eats the attachments. On 2010-05-04 <04:44:21>, Michael Saunders wrote: > Marius: > > > Try this one: http://www.tex.ac.uk/tex-archive/info/co

Re: [NTG-context] tooltips and glossary

2010-05-04 Thread Willi Egger
Hi, Why do you complain about other user's English? - Let us be happy, that people of another mother tong including my self do participate on the list and share their experience with others! According to what I tested the basic functionality is already available in Context: \definesynonyms[Gl

Re: [NTG-context] tooltips and glossary

2010-05-04 Thread Michael Saunders
> (Preliminary remark to M.S.: please, please, configure your MUA to > correctly reply to the current thread!) (What's wrong with my subject line?  I'm merely hitting "reply" in gmail.) > No, it's plain English. Unfamiliar phrases are just one consequence of a > language becoming the world stand

Re: [NTG-context] tooltips and glossary

2010-05-04 Thread Marius
On Tue, May 4, 2010 at 12:44 PM, Michael Saunders wrote: > What I would really, really, like is to add short definitions to each > glossary record that could pop up as tooltips when the reader hovers > over an unfamiliar word.  Since there is no mechanism for glossaries > in Context, there is no m

Re: [NTG-context] 3D annotations

2010-05-04 Thread Michail Vidiassov
Dear gummybears, On Tue, 4 May 2010, gummybears wrote: I read your email (17 april 2010) on the mailing list and applied the two patches to my Context minimal distro (the very latest version). When I run your test.tex through context the preview image test.png is not sho

Re: [NTG-context] tooltips and glossary

2010-05-04 Thread Philipp Gesang
On 2010-05-04 <08:32:36>, Michael Saunders wrote: > > (Preliminary remark to M.S.: please, please, configure your MUA to > > correctly reply to the current thread!) > > (What's wrong with my subject line?  I'm merely hitting "reply" in gmail.) Strange, judging from my inbox some of your replies ar

Re: [NTG-context] tooltips and glossary

2010-05-04 Thread Corsair
Hey Michael, I'm the author of that terrible document. On Tue, May 04, 2010 at 08:32:36AM -0500, Michael Saunders wrote: > > No, it's plain English. Unfamiliar phrases are just one consequence of a > > language becoming the world standard. Do you want to flame Italians or > > French for not adher

Re: [NTG-context] tooltips and glossary

2010-05-04 Thread Michael Saunders
About glossaries: Thank you, everyone. I'm not much of a TeXpert and certainly not a lua expert, but I'm trying to understand your different solutions and integrate them into a working system. There seem to be three approaches: I. Willi Egger---synonym-based II. Marius---modified index III. Phi

[NTG-context] simple bibliography and dots after section numbering

2010-05-04 Thread rogutes
G'Day, I'm trying out ConTeXt and have come up with 2 questions. 1. How does one add a dot after the numerals in headings, so that "\section{First}" becomes "1. First" instead of "1 First" ? 2. I would like to use something like this for bibliography: http://wiki.conte

Re: [NTG-context] tooltips and glossary

2010-05-04 Thread Taco Hoekwater
Michael Saunders wrote: >> Wolfgang Schuster: >> http://pragma-ade.com/general/manuals/cont-enp.pdf -> page 159 > > That rambling entry is like the webpage but worse. It still doesn't > say what arguments 2--4 do, why \infull is necesarry, or anything else > with any clarity. It's just another