Re: [NTG-context] What do you miss in ConTeXt?

2010-02-08 Thread Philipp Gesang
of Philipp Lehman's BibLaTeX package which is one of the greatest things LaTeX has to offer: multi-part bibliographies, lots of different citation rules, manifold idem/ibidem/ op. cit. c handling, authoring new styles -- all solved in one single stroke and neatly documented. That'd be nice to have

Re: [NTG-context] What do you miss in ConTeXt?

2010-02-08 Thread Philipp Gesang
can't wait to have a glance at those features, especially no. 3. Regards, Philipp pgpaZoHzf4sSB.pgp Description: PGP signature ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] What do you miss in ConTeXt?

2010-02-08 Thread Philipp Gesang
)). But thank you anyways, I now have an impression about how things may look like in the future and I promise to read http://wiki.contextgarden.net/XML#XML.2FConTeXt_in_general next weekend. Regards, Philipp pgpcuk5oOG8wY.pgp Description: PGP signature

Re: [NTG-context] What do you miss in ConTeXt?

2010-02-08 Thread Philipp Gesang
On 2010-02-08 23:20:17, Hans Hagen wrote: On 8-2-2010 23:08, Philipp Gesang wrote: On 2010-02-0822:26:06, Wolfgang Schuster wrote: Great news, indeed! Is some of this already usable / accessable by way of functions in minimals? I can't wait to have a glance at those features, especially

Re: [NTG-context] What do you miss in ConTeXt?

2010-02-09 Thread Philipp Gesang
now. (Why don't I at least get a *warning* or something like that in the log?) Quite impressive! I'll have closer look at it next weekend. Thanks for your patience, Philipp pgpIpRRYXaa5s.pgp Description: PGP signature

[NTG-context] \insertcrossref

2010-02-09 Thread Philipp Gesang
Hi all, is there any way to get \insertcrossref to get the title or the short title of the crossref'd publication, too? Right now it only retrieves author/editor name and the year but that doesn't suffice for some bibliography specifications. Thanks, Philipp -- () ascii ribbon campaign

Re: [NTG-context] \insertcrossref

2010-02-09 Thread Philipp Gesang
random braces in the output. Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments \usemodule[bib] \usetypefile[cmu] \setupbodyfont[computer-modern-unicode, 10pt] \setuppublications[% alternative=apa, ] \unprotect \def

Re: [NTG-context] \insertcrossref

2010-02-09 Thread Philipp Gesang
It works this way: \let\cref\@@p...@crossref \getcitedata[title][\cref] to \MYtitle% Thanks very much, this saves me a lot of work. Best regards Philipp pgpmxLve5edwn.pgp Description: PGP signature

[NTG-context] [bib] getting full author(s)'s name(s)

2010-02-11 Thread Philipp Gesang
-tra.mkiv inside \complexbibdef and particularly \specialbibinsert but I can't grasp the relevant part (getting the list) of it. Thanks very much, Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpbOp1sKOqcO.pgp Description

Re: [NTG-context] [bib] getting full author(s)'s name(s)

2010-02-12 Thread Philipp Gesang
On 2010-02-12 08:31:08, Taco Hoekwater wrote: Philipp Gesang wrote: Good evening, how do I retrieve an author's (or editor's) full name in the correct order (little endian: first name(s) -- surname) from a bib entry? I can do stuff like \getcitedata[author1] but that does leave me

Re: [NTG-context] ancient greek module

2010-02-13 Thread Philipp Gesang
ἂν ἐόντες βουλεύωνται, καὶ ἢν μὲν ἅδῃ καὶ νήφουσι, χρέωνται αὐτῷ, ἢν δὲμὴ ἅδῃ, μετιεῖσι. τὰ δ᾽ ἂν νήφοντες προβουλεύσωνται, μεθυσκόμενοι ἐπιδιαγινώσκουσι. \stoptext Regards, Philipp Matthias On Feb 13, 2010, at 12:16 PM, Steffen Wolfrum wrote: Hi, is t-greek-2008.08.11.zip still

Re: [NTG-context] Two interline space setup troubles

2010-02-14 Thread Philipp Gesang
] \starttext \input knuth \stoptext this works for me. The relative dimensions big|small|medium don't have any noticable effect, though. Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpSL7fpi6uR1.pgp

[NTG-context] examples from xml-mkiv

2010-02-20 Thread Philipp Gesang
Dear Wolfgang and others, (Reference: http://www.ntg.nl/pipermail/ntg-context/2010/046680.html; I'll continue this here as the original thread is growing rather large.) On 2010-02-08 23:13:38, Wolfgang Schuster wrote: Am 08.02.10 23:08, schrieb Philipp Gesang: But thank you anyways, I now

[NTG-context] active chars in xml -- suggestions needed

2010-02-27 Thread Philipp Gesang
for any suggestions, Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpszECIgbhhx.pgp Description: PGP signature ___ If your question

Re: [NTG-context] active chars in xml -- suggestions needed

2010-02-28 Thread Philipp Gesang
On 2010-02-28 08:52:14, Thomas A. Schmitz wrote: On Feb 28, 2010, at 8:32 AM, Philipp Gesang wrote: Dear listmates, I need some suggestions on how to setup non breaking spaces in XML. I tried an empty element nbsp/ to be processed as follows: \startxmlsetups xml:nbsp

[NTG-context] including xml files

2010-03-03 Thread Philipp Gesang
, Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpekPieH5eAv.pgp Description: PGP signature ___ If your question is of interest to others as well

[NTG-context] Concerning the Wiki

2010-03-05 Thread Philipp Gesang
. If you know about the differences between MKII and MKIV please flag the existing statements.” Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpxoHjRAQQI7.pgp Description: PGP signature

Re: [NTG-context] including xml files

2010-03-07 Thread Philipp Gesang
provide a working example of \xmlinclude or reveal The Right Way of Including XML to me? Thanks for any help, Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments \enabletrackers[xml.entities] \enabletrackers[xml.parse

[NTG-context] Where to put a module?

2010-03-07 Thread Philipp Gesang
should I send it to? Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpgfRai5IUGp.pgp Description: PGP signature ___ If your question

Re: [NTG-context] Where to put a module?

2010-03-07 Thread Philipp Gesang
On 2010-03-07 12:04:36, Wolfgang Schuster wrote: There is nothing wrong to send it to the list or provide the files online, this way more people can give comments to your module. Here you are. I included a pdf of the manual as not everybody will have the required fonts to build it. Philipp

Re: [NTG-context] Where to put a module?

2010-03-07 Thread Philipp Gesang
On 2010-03-07 12:59:55, Wolfgang Schuster wrote: Am 07.03.10 12:46, schrieb Philipp Gesang: On 2010-03-0712:04:36, Wolfgang Schuster wrote: There is nothing wrong to send it to the list or provide the files online, this way more people can give comments to your module. Here you are. I

Re: [NTG-context] Where to put a module?

2010-03-07 Thread Philipp Gesang
On 2010-03-07 13:02:40, Mojca Miklavec wrote: On Sun, Mar 7, 2010 at 11:54, Philipp Gesang wrote: Right now it contains modes for Cyrillic, Glagolitic and Greek scripts, older variants included, full ISO 9 support Doesn't ISO 9 (ISO-8859-9) support already work? Normally I don't post wp

Re: [NTG-context] Where to put a module?

2010-03-07 Thread Philipp Gesang
On 2010-03-07 14:09:07, Taco Hoekwater wrote: Philipp Gesang wrote: There is nothing wrong to send it to the list or provide the files online, this way more people can give comments to your module. Here you are. I included a pdf of the manual as not everybody will have the required fonts

Re: [NTG-context] Where to put a module?

2010-03-07 Thread Philipp Gesang
On 2010-03-07 14:40:37, Wolfgang Schuster wrote: Hi Philipp, a few comments to your code (TeX only): That's really nice. You don't need a MKIV-file and keep everything in the TeX-file, what you can also do is to move the Lua-code in a separate file. I already considered this but have

Re: [NTG-context] Where to put a module?

2010-03-07 Thread Philipp Gesang
Many thanks to you, too! Philipp Best wishes, Taco ___ 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

Re: [NTG-context] including xml files

2010-03-07 Thread Philipp Gesang
? [...] snip That's actually what troubled me in the first mail of this thread. I don't think \xmlprocessfile is intended to include files this way. Thanks again, Philipp PS: XML in ConTeXt rocks! Best wishes, Taco

Re: [NTG-context] Where to put a module?

2010-03-07 Thread Philipp Gesang
On 2010-03-07 18:12:56, Wolfgang Schuster wrote: Am 07.03.10 17:59, schrieb Philipp Gesang: \def\starttransliterate {\bgroup \dosingleempty\dostarttransliterate} \long\def\dostarttransliterate[#1]#2\stoptransliterate {\iffirstargument \setuptransliterate[#1]% \fi

Re: [NTG-context] Where to put a module?

2010-03-07 Thread Philipp Gesang
Wikified! On 2010-03-07 18:42:33, Wolfgang Schuster wrote: Am 07.03.10 17:43, schrieb Philipp Gesang: Is there a clean template somewhere around? No, I use also always one from my older files too. What you should set are 'title', 'subtitle' and 'author' because they are used when you

Re: [NTG-context] Where to put a module?

2010-03-07 Thread Philipp Gesang
On 2010-03-07 20:07:16, Thomas A. Schmitz wrote: On Mar 7, 2010, at 11:54 AM, Philipp Gesang wrote: Just one thought on your transliterator: a couple of years ago, Hans set up something a bit similar for Greek. It is based on lpeg, though, not gsub and so should be somewhat faster. If you

Re: [NTG-context] Where to put a module?

2010-03-07 Thread Philipp Gesang
Early shots often go wrong; I take that back; capturing 1 multibyte character actually works if you know its utf length! Just have to write the parsers for the tables now. Philipp On 2010-03-08 07:55:06, Philipp Gesang wrote: On 2010-03-07 20:07:16, Thomas A. Schmitz wrote: On Mar 7, 2010

Re: [NTG-context] including xml files

2010-03-08 Thread Philipp Gesang
On 2010-03-08 10:57:00, Hans Hagen wrote: On 7-3-2010 18:29, Philipp Gesang wrote: So in this case, you would have \xmlinclude{test}{afile}{file}. Yes, that did it. I thoroughly confused the notion of “lpath” in xml-mkiv.pdf. it's not xpath but shares quite some properties with it Well

[NTG-context] Transliterator module, 2nd revision

2010-03-10 Thread Philipp Gesang
to not to clutter the mailing list with archives. The tip revision can be found here: http://bitbucket.org/phg/transliterator/get/2fc2b5fbbd46.gz and the precompiled manual over here: http://bitbucket.org/phg/transliterator/downloads/transliterator.pdf Happy TeXing! Philipp -- () ascii ribbon

[NTG-context] clds and nesting

2010-03-10 Thread Philipp Gesang
for creating the cld interface. Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpd8quWOfx3p.pgp Description: PGP signature ___ If your question

Re: [NTG-context] Transliterator module, 2nd revision

2010-03-11 Thread Philipp Gesang
it … for inclusion in the minimals ask Mojca. I'm not sure whether they would stay truly ‘mnml’ with all kinds of niche modules added. An entry on the modules page would suffice, I guess. Philipp [1] http://modules.contextgarden.net/ Wolfgang

Re: [NTG-context] clds and nesting

2010-03-11 Thread Philipp Gesang
On 2010-03-10 22:30:34, Hans Hagen wrote: On 10-3-2010 11:50, Philipp Gesang wrote: Hi all, how do I get proper nesting with clds? Consider this: --8-- context.placefigure( none, function

[NTG-context] streams

2010-03-11 Thread Philipp Gesang
Hello all, the streams module could help typesetting my current work but all the examples fail in mkiv. (The output from mkii is impressive, though.) The snippets I tried are from the comments of http://source.contextgarden.net/tex/context/base/m-streams.tex and another one from the wiki

[NTG-context] Antykwa Toruńska and dashes

2010-03-11 Thread Philipp Gesang
---asdf\par \stoptext -0 In output here (MkIV as of yesterday) the double/triple dashes are not concatenated to en/em dashes. Everything works fine with latin modern, schola, bonum etc. What's wrong? Philipp -- () ascii

Re: [NTG-context] Antykwa Toruńska and dashes

2010-03-11 Thread Philipp Gesang
On 2010-03-12 08:24:26, Taco Hoekwater wrote: Philipp Gesang wrote: Hi again, when using Antykwa Toruńska I have problems getting dashes rights. Example: -0 \usetypescript[antykwa-torunska] \setupbodyfont

Re: [NTG-context] Antykwa Toruńska and dashes

2010-03-12 Thread Philipp Gesang
. Zdravím Philipp Regards Zdenek On Thu, 11 Mar 2010 21:21:23 +0100 Philipp Gesang pges...@ix.urz.uni-heidelberg.de wrote: Hi again, when using Antykwa Toruńska I have problems getting dashes rights. Example: -0

[NTG-context] Modules section login (Was: Transliterator module, 2nd revision)

2010-03-12 Thread Philipp Gesang
Hi again, On 2010-03-11 10:32:50, Philipp Gesang wrote: On 2010-03-10 17:01:46, Wolfgang Schuster wrote: I have opened a bitbucket account in order to not to clutter the mailing list with archives. The tip revision can be found here: http://bitbucket.org/phg/transliterator/get

Re: [NTG-context] Antykwa Toruńska and dashes

2010-03-12 Thread Philipp Gesang
Zdeněk Gruß, Philipp On Fri, 12 Mar 2010 09:29:07 +0100 Philipp Gesang pges...@ix.urz.uni-heidelberg.de wrote: Ahoj Zdeňku, On 2010-03-12 09:09:02, zs wrote: Try using directly unicode characters: – 2013 - en dash — 2014 - em dash Believe me, my keyboard layout

Re: [NTG-context] streams

2010-03-12 Thread Philipp Gesang
Good evening, Hans! On 2010-03-11 19:37:48, Hans Hagen wrote: On 11-3-2010 11:47, Philipp Gesang wrote: Hello all, the streams module could help typesetting my current work but all the examples fail in mkiv. (The output from mkii is impressive, though.) The snippets I tried are from

[NTG-context] Including lua files

2010-03-13 Thread Philipp Gesang
either. Have a relaxed weekend, Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments signature.asc Description: Digital signature ___ If your question

Re: [NTG-context] Including lua files

2010-03-13 Thread Philipp Gesang
On 2010-03-13 17:24:27, Wolfgang Schuster wrote: Am 13.03.10 15:54, schrieb Philipp Gesang: Dear Lua Gurus, what's the preferred way of including files in Lua? When trying my module on a different machine I noticed that it fails because Lua's dofile() does not extend to files in the texmf

[NTG-context] xml with interaction fails in footnotes

2010-03-14 Thread Philipp Gesang
. Thanks for any help, Philipp ---8-- \enabletrackers[xml.entities] \enabletrackers[xml.parse] \enabletrackers[xml.path] \enabletrackers[xml.profile] \enabletrackers[xml.remap] \enabletrackers[lxml.access] \enabletrackers

[NTG-context] interaction fails with footnotes (was: xml with interaction fails in footnotes)

2010-03-14 Thread Philipp Gesang
On 2010-03-15 00:12:03, Philipp Gesang wrote: Good evening all, I'm experiencing a weird behaviour when using my module to transliterate stuff in a footnote. ConTeXt fails with an undefined control sequence if an only if I switch on interaction. The issue vanishes when I removing

Re: [NTG-context] interaction fails with footnotes (was: xml with interaction fails in footnotes)

2010-03-15 Thread Philipp Gesang
already experiencing this error a while ago and ignoring it back then (by switching off interaction). And note that I don't even have clickable stuff _in_ the footnote, it is the raised footnote marker itself that is clickable. Thanks anyways, Philipp On 3/14/10, Philipp Gesang pges...@ix.urz.uni

Re: [NTG-context] interaction fails with footnotes

2010-03-15 Thread Philipp Gesang
On 2010-03-15 14:10:10, Hans Hagen wrote: On 15-3-2010 0:32, Philipp Gesang wrote: On 2010-03-1500:12:03, Philipp Gesang wrote: Good evening all, I'm experiencing a weird behaviour when using my module to transliterate stuff in a footnote. ConTeXt fails with an undefined control sequence

Re: [NTG-context] typescript

2010-03-15 Thread Philipp Gesang
not work you should have a look at your font path. If context knows where to find your fonts but the following fails then I suggest you adapt the [name:XXX] fields in the typescript, you need the “postscript name” value from otfinfo -i there. HTH, Philipp ---8

Re: [NTG-context] interaction fails with footnotes

2010-03-15 Thread Philipp Gesang
On 2010-03-15 22:40:39, Wolfgang Schuster wrote: Am 15.03.10 19:01, schrieb Philipp Gesang: Of course. I could narrow it down to this. Try commenting out the interaction part. ---8- \setupinteraction[state=start

Re: [NTG-context] interaction fails with footnotes

2010-03-16 Thread Philipp Gesang
On 2010-03-16 11:48:20, Wolfgang Schuster wrote: Am 16.03.10 10:58, schrieb Philipp Gesang: On 2010-03-1600:33:12, Wolfgang Schuster wrote: Am 16.03.10 00:20, schrieb Philipp Gesang: \def\startsomething{% \bgroup% \dosingleempty\dostartsomething } \unexpanded\def\startsomething

Re: [NTG-context] xml TeX expansion?

2010-03-17 Thread Philipp Gesang
\xmlprocessfile{test}{test.xml}{} \blank Directly:\par This must be {\bf bold text}. \stoptext ---8-- Like this it works here, Philipp Minimal example ConTeXt code: \startxmlsetups xml:testsetups \xmlsetsetup{test}{test

[NTG-context] Footnotes and interaction again

2010-03-17 Thread Philipp Gesang
don't actually have to refer to the label, having it inside a footnote causes the error. Thanks for any suggestions, Philipp pgpL6F7pXOU29.pgp Description: PGP signature ___ If your question is of interest to others

Re: [NTG-context] Footnotes and interaction again

2010-03-18 Thread Philipp Gesang
On 2010-03-17 22:58:11, Hans Hagen wrote: On 17-3-2010 18:53, Philipp Gesang wrote: \setupinteraction[state=start,focus=standard] \starttext \startfootnote A label \reference[label:1]{} we will refer to. \stopfootnote \page[yes] \goto{Here}[label:1] we refer somewhere. It all happens

[NTG-context] sort-lan.lua line 157

2010-03-21 Thread Philipp Gesang
Hi, I had a look at sort-lan.lua, here are lines 156--158: ['y']= 38, -- y ['z']= 49, -- z [uc(0x017E)] = 40, -- zcaron I guess the correct value for “z” should be “39”? Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org

[NTG-context] xml and catcode switching

2010-03-22 Thread Philipp Gesang
, Philipp ···8·· \useURL [testurl] [http://elibrary.karelia.ru/book.shtml?levelID=004002id=2570cType=2] [] [http://elibrary.karelia.ru/book.shtml?levelID=004002id=2570cType=2] % these ampersands cause it \startxmlsetups

Re: [NTG-context] xml and catcode switching

2010-03-24 Thread Philipp Gesang
Good morning! On 2010-03-23 18:48:15, Hans Hagen wrote: On 22-3-2010 10:53, Philipp Gesang wrote: Hi, I'm formatting lots of urls and as some of them have ampersands in them I switch to letter wherever they are placed. This works fine unless combined with XML which seems to impose its

Re: [NTG-context] Multiple bibliographies (bib-module, mkiv)

2010-04-08 Thread Philipp Gesang
with bibtex anymore. As I was used to biblatex I mainly imitated its approach to things like crossref'ing and the “address” field. This is by no means ready for release so please mail me off-list if you're interested, maybe I could extend it to fit your needs. Best regards, Philipp Thanks Markus

[NTG-context] character spacing

2010-04-10 Thread Philipp Gesang
character that does not involve changing the font or making characters active? I wish you all a nice weekend, Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments signature.asc Description: Digital signature

Re: [NTG-context] character spacing

2010-04-10 Thread Philipp Gesang
On 2010-04-10 11:39:14, Philipp Gesang wrote: Hi, I'm looking for a non-bureaucratic way to add some space to parentheses. typo-spa.mkiv looked most promising, so I did Sorry, it came to me a second after sending the mail: the character codes are in hex, with 0028/0029 it works. Sorry

[NTG-context] lua, footnotes, interaction

2010-04-16 Thread Philipp Gesang
-- I'd naively expect \track#1 to behave identically regardless of interaction. How do I make it interaction-proof, and, if possible, how do I interaction-proof macros in general? Thanks for your efforts, Philipp -- () ascii ribbon campaign

Re: [NTG-context] lua, footnotes, interaction

2010-04-17 Thread Philipp Gesang
Hi Peter, hi all! On 2010-04-17 08:52:05, Peter Münster wrote: On Fri, Apr 16 2010, Philipp Gesang wrote: I'd naively expect \track#1 to behave identically regardless of interaction. How do I make it interaction-proof Sorry, I had forgotten to answer your main-question: \def

[NTG-context] Ligaturing in footnotes.

2010-04-17 Thread Philipp Gesang
smcp as font feature but the problem is the same with the font I'm using. Try it e.g. on Minion from the acroread free fonts.) What am I doing wrong here? Thanks for any advice, Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary

Re: [NTG-context] Ligaturing in footnotes.

2010-04-18 Thread Philipp Gesang
On 2010-04-18 10:07:35, Wolfgang Schuster wrote: Am 17.04.10 12:49, schrieb Philipp Gesang: After switching to the smallcaps” font feature set, the surrounding “default” set is not restored when leaving the group if and only if the \bgroup was the first token inside the footnote. (I know lm

[NTG-context] requesting multipass

2010-04-27 Thread Philipp Gesang
Hi all, how do I trigger another pass? Using md5 and io I want to save data to a helper file and reuse it in a second pass (like e.g. mtx-context.lua) or update the file if appropriate. But I couldn't quite figure out how to request another pass from the lua end. Thanks for any help, Philipp

Re: [NTG-context] requesting multipass

2010-04-27 Thread Philipp Gesang
On 2010-04-27 20:02:27, Hans Hagen wrote: On 27-4-2010 5:04, Philipp Gesang wrote: Hi all, how do I trigger another pass? Using md5 and io I want to save data to a helper file and reuse it in a second pass (like e.g. mtx-context.lua) or update the file if appropriate. But I couldn't

Re: [NTG-context] requesting multipass

2010-04-29 Thread Philipp Gesang
On 2010-04-27 23:47:03, Hans Hagen wrote: On 27-4-2010 11:09, Philipp Gesang wrote: On 2010-04-2720:02:27, Hans Hagen wrote: On 27-4-2010 5:04, Philipp Gesang wrote: Hi all, how do I trigger another pass? \starttext test \startluacode jobvariables.tobesaved.MyPersonalChecksum

Re: [NTG-context] right aligned footnote

2010-04-30 Thread Philipp Gesang
-- ? Philipp ___ 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

Re: [NTG-context] right aligned footnote

2010-04-30 Thread Philipp Gesang
On 2010-04-30 10:19:49, Wolfgang Schuster wrote: Am 30.04.10 09:53, schrieb Philipp Gesang: Hi Honza and Wolfgang, what about this one: ---8-- %\showframe \starttext \setupnotedefinition[footnote][location=right,align

[NTG-context] sort-lan.lua nitpicks and sorting

2010-05-02 Thread Philipp Gesang
) to http://www.fileformat.info/info/unicode/char/ff01/index.htm according to line 72? Feel free to state more general opinions on the sorting topic as I am playing with different ways of sorting my bibliography. I will be glad about any advice, Philipp † I know this is impractical for many

Re: [NTG-context] sort-lan.lua nitpicks and sorting

2010-05-03 Thread Philipp Gesang
On 2010-05-02 15:59:53, Philipp Gesang wrote: Hi again, 1. In sort-lan.lua, line 101 should read «['r'] = r», and line 144 «['r'] = 26, -- r». In lines 152 and 109 concerning the character “ů” (uring in unicode speak) there's a typo, the key should be “uc(0x016F)” instead of “uc(0x01F6

Re: [NTG-context] tooltips and glossary

2010-05-04 Thread Philipp Gesang
. The functionality would be nice, though, as long as no javascript is involved. (As for the code, it's certainly not context style, I'm aware of that but don't have the time to care.) Awaiting your feedback, Philipp To do this in Context, I will probably have to do it all manually, defining

Re: [NTG-context] tooltips and glossary

2010-05-04 Thread Philipp Gesang
“lua sponsor” Adobe replaces js by lua scripting in pdf eventually. Philipp ___ 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

Re: [NTG-context] tooltips and glossary

2010-05-05 Thread Philipp Gesang
Hello again, On 2010-05-04 23:36:17, Michael Saunders wrote: III. Philipp Gesang's lua-based solution connects headwords to entries just as \definesynonyms[gentry][gentries][\infull][\inshort] does, and it produces something that looks like a glossary, but the entries have no link back

Re: [NTG-context] tooltips and glossary

2010-05-05 Thread Philipp Gesang
-- DESCRIPTION: ad-hoc glossary -- AUTHOR: Philipp Gesang (Phg), megas.kapan...@gmail.com -- VERSION: 1.0 -- CREATED: 04/05/10 13:00:54 CEST -- REVISION: 1 -- gloss = {} gloss.tracker, gloss.content

[NTG-context] lua args or how to identify the interpreter

2010-07-22 Thread Philipp Gesang
my crude way of determining the interpreter by cl args fails with both. I tried something like local string = utf or string as well, but this works only in context which has utf==unicode.utf8 or something. Thanks for your help Philipp -- () ascii ribbon campaign - against html e-mail

Re: [NTG-context] lua args or how to identify the interpreter

2010-07-22 Thread Philipp Gesang
On 2010-07-22 11:55:38, Hans Hagen wrote: On 22-7-2010 11:51, Philipp Gesang wrote: Hi all, what would be an elegant way to make out the current interpreter from inside lua? For now I'm branching things at the top of the script like this: ···8

Re: [NTG-context] Code Called Twice?

2013-10-11 Thread Philipp Gesang
printed twice.; draw textext( \MPstring{heading:title} ); \stopMPcode \stoptext Same for labels, {b,e}tex. See also this thread: http://www.ntg.nl/pipermail/ntg-context/2011/056047.html Best regards, Philipp pgpClW2rfjEVB.pgp Description: PGP signature

Re: [NTG-context] Bug: Reloading Font

2013-10-11 Thread Philipp Gesang
is going to be added soon.) Unfortunately, Context does not yet have blacklisting functionality (it’s marked as todo in the source) so you’re going to have to filter out bad files from your font directories by hand. Regards, Philipp pgpG9PmgyuKh_.pgp Description: PGP signature

Re: [NTG-context] Code Called Twice?

2013-10-11 Thread Philipp Gesang
···date: 2013-10-11, Friday···from: Hans Hagen··· On 10/11/2013 1:00 PM, Philipp Gesang wrote: ···date: 2013-10-10, Thursday···from: Thangalin··· I noticed something unexpected with the following code: \enabletrackers[metapost.showlog] \startuseMPgraphic{heading:ThemeTitleStyle

Re: [NTG-context] Bug: Reloading Font

2013-10-11 Thread Philipp Gesang
to kill the process using Ctrl-C. Philipp pgpYYsl3noIpe.pgp Description: PGP signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] [luatex-fonts] fontloader/plain format broken in beta

2013-11-01 Thread Philipp Gesang
···date: 2013-11-01, Friday···from: Hans Hagen··· On 10/31/2013 11:37 PM, Philipp Gesang wrote: Hi Hans, the fontloader (font-otn.lua, line 191) accesses the table nodes.disccodes which is not defined in luatex-basics-nod.lua. If I add that table (as in font-ini.lua), I get

[NTG-context] [font-syn.lua] remove call to fontloader.to_table()

2013-11-09 Thread Philipp Gesang
, naturally -- identical in both cases. Best, Philipp --- /home/phg/base/font-syn.lua 2013-10-25 00:01:04.0 +0200 +++ font-syn.lua2013-11-09 18:30:33.540364371 +0100 @@ -266,8 +266,21 @@ function fontloader.fullinfo(...) -- check with taco what we get / could get local ff

Re: [NTG-context] [font-syn.lua] remove call to fontloader.to_table()

2013-11-09 Thread Philipp Gesang
···date: 2013-11-09, Saturday···from: Hans Hagen··· On 11/9/2013 6:45 PM, Philipp Gesang wrote: Hi all, calling fontloader.to_table() appears to be redundant when extracting font names, see the attached patch. On my system I measured 42 (patched) vs 59 (vanilla) seconds for rebuilding

Re: [NTG-context] [font-syn.lua] remove call to fontloader.to_table()

2013-11-09 Thread Philipp Gesang
···date: 2013-11-09, Saturday···from: Philipp Gesang··· ···date: 2013-11-09, Saturday···from: Hans Hagen··· On 11/9/2013 6:45 PM, Philipp Gesang wrote: Hi all, calling fontloader.to_table() appears to be redundant when extracting font names, see the attached patch. On my system I

Re: [NTG-context] announcement and call

2013-11-14 Thread Philipp Gesang
! Looking forward to status reports! Will the improvements be directly merged into Context or do you prefer releasing it as a self-contained module? Best regards, Philipp [1] http://www.ntg.nl/pipermail/ntg-context/2010/051693.html [2] http://tex.stackexchange.com/a/128574 pgpluhfcb_LFN.pgp

Re: [NTG-context] announcement and call

2013-11-14 Thread Philipp Gesang
···date: 2013-11-14, Thursday···from: Hans Hagen··· On 11/14/2013 9:40 PM, Philipp Gesang wrote: What I’d consider the most pressing issue, pertaining both to Context and to TeX as a whole, would be text streams a.k.a. parallel typesetting. It was discussed on the list a couple times

Re: [NTG-context] ctxluacode inside bTABLE

2013-11-27 Thread Philipp Gesang
\bTD t2 \eTD \eTR \bTR \bTD t3 \eTD \eTR \eTABLE \stoptext Hth, Philipp pgpVMnxrZGPeS.pgp Description: PGP signature

Re: [NTG-context] ctxluacode inside bTABLE

2013-11-27 Thread Philipp Gesang
TeX and Lua code. Best, Philipp 2013/11/27 DesdeChaves desdecha...@gmail.com Is there a way to pass arguments to getrandomnumber() function? \startluacode local mathrandom = math.random local context= context document.get_random_number = function (min

[NTG-context] Plain format not building

2014-02-19 Thread Philipp Gesang
not loadable: metric data not found or bad. to be read again \par l.468 ? Same when building manually. Can anyone reproduce this? Best, Philipp pgpbQWno8XsmJ.pgp Description: PGP signature

Re: [NTG-context] Plain format not building

2014-03-02 Thread Philipp Gesang
Hi Wolfgang! ···date: 2014-03-02, Sunday···from: Wolfgang Schuster··· Am 19.02.2014 um 19:31 schrieb Philipp Gesang philipp.ges...@alumni.uni-heidelberg.de: Hi all, with the most recent Minimals (2014.02.14 17:07) building the Luatex Plain format no longer works: $ mtxrun

Re: [NTG-context] [***SPAM***] ConTeXt Daily Build

2014-03-10 Thread Philipp Gesang
···date: 2014-03-10, Monday···from: hwit...@gmail.com··· Where are there instructions for using the daily build, newest Context code? http://wiki.contextgarden.net/ConTeXt_Standalone [ Is this the same as the standalone version that I've heard of? ] Yes. Best regards, Philipp

[NTG-context] [font-otn] bug in node mode

2014-03-14 Thread Philipp Gesang
Hi Hans, at least the Plain format breaks as soon as you define a font in node mode: \font \testfont = lmroman10-regular.otf:mode=node \testfont foo \bye Patch attached. Best regards, Philipp --- font-otn.lua.orig 2014-03-14 07:42:18.494017054 +0100 +++ font-otn.lua 2014-03-14 07

Re: [NTG-context] [font-otn] bug in node mode

2014-03-14 Thread Philipp Gesang
···date: 2014-03-14, Friday···from: Hans Hagen··· On 3/14/2014 7:48 AM, Philipp Gesang wrote: Hi Hans, at least the Plain format breaks as soon as you define a font in node mode: \font \testfont = lmroman10-regular.otf:mode=node \testfont foo \bye no, it's

Re: [NTG-context] what happened to hangaround?

2014-03-24 Thread Philipp Gesang
environment: \setupexternalfigures [location=default] \starttext \starthanging{\externalfigure [cow.pdf][width=3.141cm]} \input ward \stophanging \stoptext I think it is supposed to be the successor to hangaround. Best regards, Philipp pgpWRYfPrrfSu.pgp

Re: [NTG-context] [font-otn] bug in node mode

2014-03-24 Thread Philipp Gesang
) local features = sequence.features if features then local order = features.order for i=1,#order do -- ... the table “features” never has a field “order”; “sequence” has one occasionally, though not always. Best, Philipp ···date: 2014-03-14

Re: [NTG-context] [font-otn] bug in node mode

2014-03-25 Thread Philipp Gesang
···date: 2014-03-25, Tuesday···from: Hans Hagen··· On 3/24/2014 8:40 PM, Philipp Gesang wrote: Hi Hans, I’m afraid I have to bother you again with this issue. Consider this code: \font \mainface = file:EBGaramond12-Regular.otf:mode=node \mainface foo \bye

Re: [NTG-context] [luatex-plain] disappearing math-on node

2014-04-05 Thread Philipp Gesang
. Best, Philipp --- luatex-fonts-otn.lua.orig 2014-04-05 15:02:34.711828352 +0200 +++ luatex-fonts-otn.lua 2014-04-05 15:02:36.955171990 +0200 @@ -2375,7 +2375,7 @@ end end start = start.next

[NTG-context] [fontloader] does base mode support combining substitutions?

2014-04-05 Thread Philipp Gesang
-tex-tests/raw/93745dba31e23febb02191c039dea2de743ce77a/cnt-features-8-combined-num.tex Is there a way to define a font with the combination of, say tnum and lnum that will work in math mode? If not, are there plans to implement it in the future? Best regards, Philipp pgp1MFd4ggd88.pgp

Re: [NTG-context] [fontloader] does base mode support combining substitutions?

2014-04-05 Thread Philipp Gesang
···date: 2014-04-05, Saturday···from: Hans Hagen··· On 4/5/2014 4:37 PM, Philipp Gesang wrote: Hi Hans, when combining e.g. certain number substitutions like onum and pnum or tnum and lnum, node mode seems to work fine. However, those do have value in math mode as well which node mode

<    1   2   3   4   5   6   7   >