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] Wrong spacing using stretch effect

2013-10-01 Thread Philipp Gesang
) and typesetters.kerns.keeptogether (prevglyph, glyph), respectively. If the function returns a truish value for the given input, ligatures won’t be decomposed and no extra kerning will be applied. Best regards Philipp pgpu8K8W_Dysw.pgp Description: PGP signature

[NTG-context] fake feature “extend” behaving weirdly

2013-09-29 Thread Philipp Gesang
://tracker.luatex.org/view.php?id=829 but if I substitute “slant” for “extend” the behavior is different. Best, Philipp pgpJ3e_w76nLw.pgp Description: PGP signature ___ If your question is of interest to others as well, please add

Re: [NTG-context] Repeat second-level registers within index

2013-09-26 Thread Philipp Gesang
of \index, only the first entry (“a”) of the register will have the subentry “foo”. Change the initial letters of each entry and all subentries are printed. Best regards, Philipp pgpO2v5kyEZvB.pgp Description: PGP signature

Re: [NTG-context] beta

2013-08-23 Thread Philipp Gesang
days of mkiv file). Nice, wikified: http://wiki.contextgarden.net/Command/definefirstline Best, Philipp pgpOee6Hf3zPW.pgp Description: PGP signature ___ If your question is of interest to others as well, please add

Re: [NTG-context] part titles not showing up

2013-08-19 Thread Philipp Gesang
···date: 2013-08-19, Monday···from: Henning Hraban Ramm··· Hi together, I wonder why I can’t seem to get my part titles visible: %\setuphead[part]{WHAT?} \setuphead [part] [placehead=yes] Best, Philipp \starttext \part{Bart Eins} \chapter{Gabiddel Eins} \input tufte

Re: [NTG-context] Small caps from otf in luatex.

2013-08-10 Thread Philipp Gesang
to Xetex’s: \font \foo = file:Iwona-Regular.otf:+smcp \foo whatever \bye the expression after the second colon is the same as “smcp=yes” in Context. Multiple definitions are separated by semicola, e.g.: \font \foo = file:Iwona-Regular.otf:+smcp;mode=base;+tlig Best regards, Philipp

Re: [NTG-context] kerning with buggy libertine

2013-08-07 Thread Philipp Gesang
···date: 2013-08-05, Monday···from: Hans Hagen··· On 8/4/2013 3:43 PM, Philipp Gesang wrote: Hi Hans, this is a bug report thanks to Khaled: http://tex.stackexchange.com/a/126650/14066 In short: the font loader applies the kerning of libertine version 5.3.0 even though this appears

Re: [NTG-context] kerning with buggy libertine

2013-08-07 Thread Philipp Gesang
···date: 2013-08-07, Wednesday···from: Hans Hagen··· On 8/7/2013 10:08 AM, Philipp Gesang wrote: It’s that version (5.3.0). To quote Jonathan Kew [1]: And the follow up [2]: it all makes me wonder if otf is that clear and clean and good ... font designers nowadays need to be programmers

Re: [NTG-context] Setup font size by dimension variable

2013-08-04 Thread Philipp Gesang
{20pt} \definebodyfontenvironment [\mainfontsize] \starttext TEXT \switchtobodyfont [\mainfontsize] TEXT 20pt \stoptext See this thread for some background info: http://www.mail-archive.com/ntg-context@ntg.nl/msg63901.html Best regards, Philipp pgpGIP_P7V63W.pgp Description

Re: [NTG-context] Setup font size by dimension variable

2013-08-04 Thread Philipp Gesang
···date: 2013-08-04, Sunday···from: Philipp Gesang··· ···date: 2013-08-04, Sunday···from: Dmitriy Tokarev··· Hi all, I want to set the font size by using the dimension variable, but it doesn't work. What am I doing wrong? \definemeasure[AAA][20pt] \newdimen\BBB \BBB=20pt

[NTG-context] kerning with buggy libertine

2013-08-04 Thread Philipp Gesang
{\libertinesanssmallcaps \demotext}\par \stoptext (Doesn’t occur in base mode.) The technical details are in the thread Khaled references. Best regards, Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpy5SiJrrAe1.pgp Description

Re: [NTG-context] copypaste from pdf bug (smallcaps, text figures)

2013-08-02 Thread Philipp Gesang
···date: 2013-08-02, Friday···from: Hans Hagen··· On 8/2/2013 12:12 AM, Philipp Gesang wrote: ···date: 2013-08-02, Friday···from: Marco Patzer··· On 2013–08–01 Philipp Gesang wrote: ···date: 2013-08-01, Thursday···from: Otared Kavian··· I tested your example: no problem here on Mac OS

Re: [NTG-context] copypaste from pdf bug (smallcaps, text figures)

2013-08-02 Thread Philipp Gesang
···date: 2013-08-02, Friday···from: Marco Patzer··· On 2013–08–02 Philipp Gesang wrote: https://phi-gamma.net/pdf/copypasta.pdf https://phi-gamma.net/files/copypasta.txt I definitely get   from this one. Indeed. When I copy from your

Re: [NTG-context] copypaste from pdf bug (smallcaps, text figures)

2013-08-02 Thread Philipp Gesang
···date: 2013-08-02, Friday···from: Hans Hagen··· On 8/2/2013 2:28 PM, Philipp Gesang wrote: ···date: 2013-08-02, Friday···from: Marco Patzer··· On 2013–08–02 Philipp Gesang wrote: https://phi-gamma.net/pdf/copypasta.pdf https://phi-gamma.net/files/copypasta.txt I definitely

Re: [NTG-context] copypaste from pdf bug (smallcaps, text figures)

2013-08-02 Thread Philipp Gesang
···date: 2013-08-02, Friday···from: Hans Hagen··· On 8/2/2013 2:28 PM, Philipp Gesang wrote: ···date: 2013-08-02, Friday···from: Marco Patzer··· On 2013–08–02 Philipp Gesang wrote: https://phi-gamma.net/pdf/copypasta.pdf https://phi-gamma.net/files/copypasta.txt I definitely

[NTG-context] copypaste from pdf bug (smallcaps, text figures)

2013-08-01 Thread Philipp Gesang
readers as well [1]) Thanks to Marius’ git mirror I could bisect the changes since TL 2012. It looks like the issue has been introduced with release stable 2013.05.27 09:10 [2]. Best regards, Philipp [1] http://tex.stackexchange.com/q/126333/14066 [2] http://repo.or.cz/w/context.git/commitdiff

Re: [NTG-context] copypaste from pdf bug (smallcaps, text figures)

2013-08-01 Thread Philipp Gesang
the same with the windows version in wine32. I get the bad output with okular (poppler), acroread, and mupdf, but strangely not with zathura (mupdf-based). It is present both in texlive and the most recent beta. Going back exactly one release to 2013.05.22 19:28 fixes it consistently. Philipp

Re: [NTG-context] copypaste from pdf bug (smallcaps, text figures)

2013-08-01 Thread Philipp Gesang
···date: 2013-08-02, Friday···from: Marco Patzer··· On 2013–08–01 Philipp Gesang wrote: ···date: 2013-08-01, Thursday···from: Otared Kavian··· I tested your example: no problem here on Mac OS X 10.8.4, with either TeXShop, Adobe Redaer or Preview, with the latest beta (ConTeXt

Re: [NTG-context] OSFONTDIR kills gui fonts.

2013-07-26 Thread Philipp Gesang
modified something else, like ~/.config/fontconfig or /etc/fonts/* ? Best regards, Philipp pgpdYAlCL7WqL.pgp Description: PGP signature ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] new beta

2013-07-14 Thread Philipp Gesang
-basics-nod.lua. See attached diff. Best, Philipp --- luatex-basics-nod.lua.orig 2013-07-14 10:32:16.197621614 +0200 +++ luatex-basics-nod.lua 2013-07-14 10:32:40.578311602 +0200 @@ -96,8 +96,8 @@ -- experimental -local getfield = node.getfield or function(n,tag) return n[tag] end end

Re: [NTG-context] new beta

2013-07-14 Thread Philipp Gesang
that it is also required to contain certain functions from the builtin “node” namespace, e.g. node.copy(), node.tail() and the likes. Failing example with ligatures: \font\foo=file:Iwona-Regular.otf:mode=node;+liga \foo ffi \bye Best, Philipp pgpUIjlYwIo0Y.pgp Description: PGP

Re: [NTG-context] new beta

2013-07-14 Thread Philipp Gesang
···date: 2013-07-14, Sunday···from: Pablo Rodríguez··· On 14/07/13 10:53, Philipp Gesang wrote: ···date: 2013-07-12, Friday···from: Hans Hagen··· it might be that some changes are reflected in the betas, and hopefully not breaking anything

Re: [NTG-context] new beta

2013-07-14 Thread Philipp Gesang
···date: 2013-07-14, Sunday···from: Philipp Gesang··· ···date: 2013-07-12, Friday···from: Hans Hagen··· it might be that some changes are reflected in the betas, and hopefully not breaking anything. Unhappily, it does. In the generic font loader the new

Re: [NTG-context] [util-jsn] incorrect handling of escapes

2013-07-09 Thread Philipp Gesang
···date: 2013-07-08, Monday···from: Hans Hagen··· On 7/8/2013 12:56 AM, Philipp Gesang wrote: Hi, the JSON parser handles backslash escapes improperly. Example: local data = [[ { escapes : (\)(\\)(\b)(\f)(\n)(\r)(\t), invalid : \'\v } ]] local stuff

[NTG-context] [util-jsn] incorrect handling of escapes

2013-07-07 Thread Philipp Gesang
escapes like Lua. Fix suggestion attached. Best regards, Philipp --- util-jsn.lua.orig 2013-07-08 00:09:21.834400224 +0200 +++ util-jsn.lua 2013-07-08 00:54:25.889668771 +0200 @@ -15,7 +15,7 @@ -- Reminder for me: check usage in framework and extend when needed. Also document -- it in the cld lib

Re: [NTG-context] logo from wiki

2013-07-04 Thread Philipp Gesang
://www.ntg.nl/pipermail/ntg-context/2009/038877.html Best, Philipp pgpYpoQQW2Pco.pgp Description: PGP signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] [fontloader] cached fonts have invalid tounicode values

2013-06-28 Thread Philipp Gesang
···date: 2013-06-28, Friday···from: Akira Kakuto··· Hi Philipp, I’ve traced it to luatex-basics-gen.lua. luaotfload-basics-gen.lua and luaotfload-merged.lua? The latter is generated from the former, so yes. For a hot fix it suffices to patch the merged file. Anyways, luaotfload

[NTG-context] [fontloader] cached fonts have invalid tounicode values

2013-06-27 Thread Philipp Gesang
]={ [2329]=E001, ... [2384]=0063006B, -- -- correct [2385]=00630068, -- -- invalid [2386]=00740074, [2387]=00630074, [2388]=017F0069, ... Best regards, Philipp [1] https://github.com/lualatex/luaotfload/issues/102 (Kim’s example works with luatex

Re: [NTG-context] [fontloader] cached fonts have invalid tounicode values

2013-06-27 Thread Philipp Gesang
···date: 2013-06-27, Thursday···from: Philipp Gesang··· Hi Hans, this has been reported by Dohyun Kim [1]: the generic fontloader (not Context) serializes some tounicode values as Lua numbers, not strings. When re-reading the cache file the values lose all leading zeros, so

Re: [NTG-context] Overriding pdfview

2013-06-26 Thread Philipp Gesang
be nice. Best, Philipp [1] http://pwmt.org/projects/girara/. pgpzg_3QxgFmX.pgp Description: PGP signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] Overriding pdfview

2013-06-26 Thread Philipp Gesang
···date: 2013-06-26, Wednesday···from: Hans Hagen··· On 6/26/2013 10:50 PM, Philipp Gesang wrote: Hi Luigi! ···date: 2013-06-26, Wednesday···from: luigi scarso··· On Wed, Jun 26, 2013 at 9:29 PM, Hans Hagen pra...@wxs.nl wrote: while sumatrapdf - is pretty fast - has matured

[NTG-context] [font-chk.lua] missing glyph tracker

2013-06-20 Thread Philipp Gesang
. Something like this (line 71): -report_fonts(char %U in font %a with id %a: %s,char,tfmdata.properties.fullname,font,message) +report_fonts(char %U (%s) in font %a with id %a: %s,char,utf.char(char),tfmdata.properties.fullname,font,message) Best regards, Philipp --- font

Re: [NTG-context] [font-chk.lua] missing glyph tracker

2013-06-20 Thread Philipp Gesang
···date: 2013-06-20, Thursday···from: Hans Hagen··· On 6/20/2013 1:59 PM, Philipp Gesang wrote: -report_fonts(char %U in font %a with id %a: %s,char,tfmdata.properties.fullname,font,message) +report_fonts(char %U (%s) in font %a with id %a: %s,char,utf.char(char

Re: [NTG-context] slanted style in quotations: setupquotation?

2013-06-20 Thread Philipp Gesang
, color=red, location=text, ] \starttext before \myquotes{lorem schmipsum} after \stoptext Best regards, Philipp pgpzQxtcD_JPI.pgp Description: PGP signature ___ If your question

Re: [NTG-context] line endings in beta

2013-05-20 Thread Philipp Gesang
···date: 2013-05-20, Monday···from: Hans Hagen··· On 5/19/2013 9:45 PM, Philipp Gesang wrote: Hi, did the beta just switch to DOS lineendings? http://repo.or.cz/w/context.git/commitdiff/13ec4b540e0d46c97fd7b089e0b7413da81e0a9f Acccording to diffstat: 525 files changed

[NTG-context] line endings in beta

2013-05-19 Thread Philipp Gesang
Hi, did the beta just switch to DOS lineendings? http://repo.or.cz/w/context.git/commitdiff/13ec4b540e0d46c97fd7b089e0b7413da81e0a9f Acccording to diffstat: 525 files changed, 155385 insertions(+), 152177 deletions(-) If yes, will it stay that way? Best Philipp pgpJWSblyu5mu.pgp

[NTG-context] [luatex-fonts] +mkmk; +mark results in call to undefined onetimemessage()

2013-05-12 Thread Philipp Gesang
, messenger=dummyreporter, report=dummyfunction, } So we can provide our own “logs” table? Thanks Philipp isolated.tex Description: TeX document pgpi8fMmvOpzW.pgp Description: PGP signature ___ If your question

Re: [NTG-context] [luatex-fonts] +mkmk; +mark results in call to undefined onetimemessage()

2013-05-12 Thread Philipp Gesang
···date: 2013-05-12, Sunday···from: Hans Hagen··· On 5/12/2013 9:19 PM, Philipp Gesang wrote: Hi, in luatex-plain, the example below \font\grk=file:LinLibertine_R.otf:+mark;+mkmk;mode=node at 14.4pt {\grk μῆνιν ἄειδε θεὰ Πηληϊάδεω Ἀχιλῆος\hfill\break οὐλομένην, ἣ

[NTG-context] [luatex-fonts] font cache behavior

2013-05-10 Thread Philipp Gesang
I haven’t found another font that does this. Libertine fonts: http://sourceforge.net/projects/linuxlibertine/files/linuxlibertine/5.3.0/ (First observed by Luigi.) What is going on here? Philipp pgpICSTh8s9Kj.pgp Description: PGP signature

Re: [NTG-context] [luatex] font feature with new luaotfload

2013-05-10 Thread Philipp Gesang
} \stoptext Below is the patch translated for font-otf.lua. Best Philipp --- font-otf.lua.orig 2013-05-10 13:24:16.252748027 +0200 +++ font-otf.lua2013-05-10 13:25:00.830697179 +0200 @@ -644,6 +644,9 @@ if not unicode or unicode == -1 or unicode

Re: [NTG-context] font-age vs. font-agl

2013-05-09 Thread Philipp Gesang
···date: 2013-05-07, Tuesday···from: Hans Hagen··· On 5/7/2013 1:47 PM, Philipp Gesang wrote: Hi all, the glyph list is a bit of a conundrum. Context (font-enc.lua) will build its glyph list from font-agl.lua and char-def.lua. Luatex-Fonts reads a file named font-age.lua, which

[NTG-context] font-age vs. font-agl

2013-05-07 Thread Philipp Gesang
for practical reasons: Are the differences of any significance? Can I use either list or should I stick with font-age? Thanks for any advice Philipp [1] http://partners.adobe.com/public/developer/en/opentype/glyphlist.txt [2] http://www.ntg.nl/pipermail/ntg-context/2008/031575.html http

Re: [NTG-context] font-age vs. font-agl

2013-05-07 Thread Philipp Gesang
···date: 2013-05-07, Tuesday···from: Wolfgang Schuster··· Am 07.05.2013 um 13:47 schrieb Philipp Gesang philipp.ges...@alumni.uni-heidelberg.de: Hi all, the glyph list is a bit of a conundrum. Context (font-enc.lua) will build its glyph list from font-agl.lua and char-def.lua

[NTG-context] fontloader: “can't convert float into tounicode”

2013-05-03 Thread Philipp Gesang
at 33pt]༡༢་༣༤་༥༦་༧༨} bar \stoptext is this harmless? The typeset result appears to be satisfying. Best regards, Philipp pgpjiZEPk6Q2_.pgp Description: PGP signature ___ If your question is of interest

[NTG-context] [luatex-fonts] non-ascii filenames in font cache

2013-04-28 Thread Philipp Gesang
since %d is a subset of %w in both string and unicode.utf8. Regards Philipp #!/usr/bin/env texlua local non_ascii_names = { [[华文仿宋.ttf]], [[华文细黑.ttf]], [[华文黑体.ttf]], } --- [a]: current data-con --- [b]: include non-ascii (proposed by Dohyun Kim) --- [c]: with selene unicode for i = 1

Re: [NTG-context] [luatex-fonts] non-ascii filenames in font cache

2013-04-28 Thread Philipp Gesang
···date: 2013-04-28, Sunday···from: Hans Hagen··· On 4/28/2013 12:04 PM, Philipp Gesang wrote: the font cache currently drops non-ascii bytes when creating file names by means of containers.cleanname(). Dohyun Kim sent a fix for data-con.lua (see below). My own test with the unicode

Re: [NTG-context] [luatex-fonts] error with Amiri due to inclusion of font-otp.lua

2013-04-24 Thread Philipp Gesang
···date: 2013-04-24, Wednesday···from: Hans Hagen··· On 4/24/2013 12:02 AM, Philipp Gesang wrote: Hi, including font-otp triggers an error with the Amiri font: ! LuaTeX error ./luaotfload-merged.lua:10471: invalid value (nil) at index 1 in table for 'concat'. Which

[NTG-context] [luatex-fonts] error with Amiri due to inclusion of font-otp.lua

2013-04-23 Thread Philipp Gesang
this, possibly with other fonts? Scheherazade works fine. Thanks for any advice Philipp pgpZFK9XHk4Vz.pgp Description: PGP signature ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] ``fallback in Typescript

2013-04-22 Thread Philipp Gesang
, as well as generic definitions. Studying styles and manual source code may also teach you a few tricks. I assure you the effort is well worth it. Best regards Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments

[NTG-context] possible ligaturing bug with EB Garamond * clig

2013-04-16 Thread Philipp Gesang
to know if that’s a bug in the font or the font loader. Thanks Philipp [1] Version 0.015 from here: http://www.georgduffner.at/ebgaramond/download.html pgpA5PJGhC3xh.pgp Description: PGP signature ___ If your

Re: [NTG-context] possible ligaturing bug with EB Garamond * clig

2013-04-16 Thread Philipp Gesang
···date: 2013-04-16, Tuesday···from: Hans Hagen··· On 4/16/2013 8:06 PM, Philipp Gesang wrote: Hi, with EB Garamond Italic and contextual ligatures I get a weird duplicate “s” for the pairing “us”: ··· \starttext

[NTG-context] [mtx-package] merger output ambiguous

2013-04-11 Thread Philipp Gesang
ago.) Regards Philipp pgpW2kjPg2r8l.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://www.ntg.nl/mailman

Re: [NTG-context] [mtx-package] merger output ambiguous

2013-04-11 Thread Philipp Gesang
···date: 2013-04-11, Thursday···from: Hans Hagen··· On 4/11/2013 12:00 PM, Philipp Gesang wrote: Hi Hans, merging produces invalid output when concatenating a numbers into a string. Example: return 42 .. foo which is merged into: return 42..foo ^ where

Re: [NTG-context] [wiki] fake account spam

2013-04-06 Thread Philipp Gesang
···date: 2013-04-05, Friday···from: Mojca Miklavec··· On Fri, Apr 5, 2013 at 3:43 PM, Philipp Gesang wrote: Hi all, I’d like to draw your attention to the wiki. The spammers appear to know the solution to the current entry barrier “What is usually the last command in a ConTeXt source

[NTG-context] [wiki] fake account spam

2013-04-05 Thread Philipp Gesang
if it’s not urgent, may I suggest we collect possible replacements for the current question? I can’t image the damage those accounts would do once they figure out how to post links. Best Philipp pgp65HhUyQTK7.pgp Description: PGP signature

Re: [NTG-context] Setupparagraphnumbering

2013-04-04 Thread Philipp Gesang
, is the \setupparagraphnumbering command supposed to work well now? Works here with version 2013.04.02. The result looks like: http://i.imgur.com/gY3ubcY.png Regards Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgp3RKTCLfuSF.pgp

Re: [NTG-context] Problem with getmarking and setupheadertexts

2013-04-03 Thread Philipp Gesang
}, marking = {Shorter Title}, ^ marking={Shorter Title}, Spaces are significant! Regards Philipp ] \stopchapter \stoptext The getmarking in setupheadertexts seems to be ignored, why? Maybe marking is the wrong attribute? Thanks, Huseyin

[NTG-context] typescript Adobe Blank

2013-04-03 Thread Philipp Gesang
Hi all, recently Adobe open sourced another font [1] [2]. It’s primarily intended for use as WOFF but has some interesting properties nevertheless (like covering *every* unicode code point). Below is a typescript [3], take it with a grain of salt ;-) Best Philipp [1] announcement: http

Re: [NTG-context] Problem with local installation - MKIV- register

2013-04-01 Thread Philipp Gesang
to be documented anywhere (even the source ...) but in mkiv \defineregister is an ordinary command handler so no fancy plurals anymore. Now the second arg expects an assignment: \defineregister[Erf][style=slanted,pagestyle=bold] Regards Philipp \starttext \chapter{F53667} Hello world! \Erf{Bla} Fool

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

2013-03-31 Thread Philipp Gesang
margins to emulate kerns: spanTspan style=vertical-align:-0.5ex;margin-left:-0.1667em;margin-right:-0.125em;E/spanX/span Maybe add font-family: CMU Serif to the style. Regards Philipp pgp2ICX8tRR30.pgp Description: PGP signature

Re: [NTG-context] error calling font.getfont() on certain fonts

2013-03-29 Thread Philipp Gesang
···date: 2013-03-29, Friday···from: Hans Hagen··· On 3/28/2013 6:41 PM, Philipp Gesang wrote: Hi all, I get an error when I run this code: \ctxlua{font.getfont( font.current() )} (Complete example below.) Oddly, whether or not this fails depends on the font. The issue does occur

Re: [NTG-context] error calling font.getfont() on certain fonts

2013-03-29 Thread Philipp Gesang
···date: 2013-03-29, Friday···from: Hans Hagen··· On 3/29/2013 4:29 PM, Philipp Gesang wrote: I just read that in the manual: Note that at the moment, each access to the font.fonts or call to font.getfont creates a lua table for the whole font. This process can be quite slow

[NTG-context] error calling font.getfont() on certain fonts

2013-03-28 Thread Philipp Gesang
/context/base/node-inj.lua:97: attempt to perform arithmetic on local 'factor' (a nil value) At the same time, in Plain the equivalent code works fine for all fonts. Bug or feature? Best regards Philipp %% working fonts: %\setupbodyfont[iwona] %\setupbodyfont[computer-modern-unicode

Re: [NTG-context] reStructuredText module

2013-03-14 Thread Philipp Gesang
···date: 2013-03-12, Tuesday···from: Aditya Mahajan··· On Tue, 12 Mar 2013, Philipp Gesang wrote: ···date: 2013-03-12, Tuesday···from: Aditya Mahajan··· On Tue, 12 Mar 2013, Philipp Gesang wrote: A better way to handle this is to provide macros \startRSTcontainer ... \stopRSTcontainer

Re: [NTG-context] reStructuredText module

2013-03-12 Thread Philipp Gesang
···date: 2013-03-12, Tuesday···from: Bill Meahan··· Philipp Gesang wrote: ···date: 2013-03-11, Monday···from: Bill Meahan··· Am I correct in thinking the rst module does not process the class and container directives? When I wrote the module I was working with the reST spec [0

Re: [NTG-context] reStructuredText module

2013-03-12 Thread Philipp Gesang
···date: 2013-03-12, Tuesday···from: Aditya Mahajan··· On Tue, 12 Mar 2013, Philipp Gesang wrote: A better way to handle this is to provide macros \startRSTcontainer ... \stopRSTcontainer and translate the above to I considered adding a generator \defineRSTcontainer with the usual interface

Re: [NTG-context] reStructuredText module

2013-03-11 Thread Philipp Gesang
generate some XML and directly typeset the result with Context.) Best regards Philipp [0] http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html [1] http://docutils.sourceforge.net/docs/user/rst/quickref.html [2] Also, I have reservations against such a step. My main reason

Re: [NTG-context] Trouble with \placefloat in recent versions of the standalone

2013-03-05 Thread Philipp Gesang
(in this order) to (1) rebuild the format, (2) delete the directory “texmf-cache/” in your minimals base dir, and, if that all fails, (3) delete “texmf-context/” and re-run first-setup.sh. Regards Philipp system tex error on line 47 in file Chapter_4_S2MyBq-02-03-example.tex: LuaTeX

Re: [NTG-context] Apparent error in wiki example

2013-02-26 Thread Philipp Gesang
bundled with and configured for Context. Try \setupbodyfont[termes,10pt] \starttext whatever \stoptext Regards Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpVE24mJ_3Pb.pgp Description: PGP signature

Re: [NTG-context] Apparent error in wiki example

2013-02-26 Thread Philipp Gesang
. ??? Wolfgang He’s referring to the wiki article cited earlier. Judging from these lines: \definefontsynonym [Serif] [name:nimbussanlregu] … / \definefontsynonym [Sans] [name:nimbusromno9lregu] it appears to be the case -- I don’t have the Nimbus fonts so I can’t verify. Philipp

Re: [NTG-context] footnotes what happened?

2013-02-24 Thread Philipp Gesang
, ] \setupnotation[footnote][ color=green, style=italic, ] \starttext foo \footnote{bar} baz \stoptext [0] http://wiki.contextgarden.net/Unexpected_behavior#Footnotes:_The_Difference_between_.5Csetupnotation_and_.5Csetupnote Regards Philipp -- () ascii ribbon campaign - against

Re: [NTG-context] How to make all heads \ss?

2013-02-22 Thread Philipp Gesang
[myexperimentalsection][section]) instead of overriding pre-defined functionality. Hth Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpaq2sZ6nzX0.pgp Description: PGP signature

Re: [NTG-context] mtxrun error

2013-02-17 Thread Philipp Gesang
one by one, and each one of them cause the error. Somebody has had this kind of problems? See: http://www.ntg.nl/pipermail/ntg-context/2013/071471.html Regards Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments

Re: [NTG-context] # sign in footnotes impossible ?

2013-02-16 Thread Philipp Gesang
}\stopbuffer foo\footnote{\getbuffer[containshash]} baz \stoptext Works here. Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpM1UfCjSPIV.pgp Description: PGP signature

Re: [NTG-context] Find too long sentences

2013-02-15 Thread Philipp Gesang
: http://en.wikipedia.org/wiki/Sentence_breaking http://en.wikipedia.org/wiki/Natural_language_processing#Major_tasks_in_NLP Good luck :P Philipp For example I am thinking of an command like \version[longsentence,15] which sets an symbol like * in the margin, if a sentence has more

[NTG-context] fontloader.open() fails on Heiti from acroread fonts

2013-02-09 Thread Philipp Gesang
: kpse.set_program_nametexlua ... The problem does not occur with TeX Live 2012/Luatex 0.70/Context 2012.05.30 11:26. Can anyone else reproduce this? Thanks. Philipp fonts | names | warnings are disabled (tracker 'fonts.warnings') fonts | names | identifying tree font files with suffix otf fonts

Re: [NTG-context] Title over the image

2013-02-04 Thread Philipp Gesang
\stoptext [0] http://wiki.contextgarden.net/Command/setupcaption and http://wiki.contextgarden.net/Command/setupcaptions Regards Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgp5h5_T_pJjy.pgp Description: PGP signature

Re: [NTG-context] Referencing a figure

2013-01-22 Thread Philipp Gesang
]{#2}{\externalfigure[dummy][width=10cm]}% }% Regards Philipp Also, while trying to debug this problem, I tried using *\version[temporary]* to see the labels as suggested in the Context manual (chapter on Cross References (page 207) of cont-ini.pdf). But it didn't show

Re: [NTG-context] Simple question: how do I get the filename in the footer

2013-01-20 Thread Philipp Gesang
··· Regards Philipp pgpX2KnOO35O1.pgp Description: PGP signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] Simple question: how do I get the filename in the footer

2013-01-20 Thread Philipp Gesang
···date: 2013-01-20, Sunday···from: Gerben Wierda··· On 20 Jan 2013, at 12:57, Philipp Gesang wrote: Hi Gerben, ···date: 2013-01-20, Sunday···from: Gerben Wierda··· how do I get the filename (full path not needed) in the footer of my document? I want it there while writing

Re: [NTG-context] [***Spam/VIR***] Re: Layer vs. overlay

2013-01-16 Thread Philipp Gesang
context.startTEXpage { background = foreground,beforetext } labels[i] = BEF .. i context.externalfigure({cow},{width=30cm}) context.stopTEXpage() end \stopluacode Z \stoptext ··· Regards Philipp pgpyMuTdxeA5u.pgp

Re: [NTG-context] [***Spam/VIR***] Re: Layer vs. overlay

2013-01-16 Thread Philipp Gesang
···date: 2013-01-16, Wednesday···from: Procházka Lukáš Ing. - Pontex s. r. o.··· Hello, On Wed, 16 Jan 2013 12:47:21 +0100, Philipp Gesang philipp.ges...@alumni.uni-heidelberg.de wrote: Lookup the correct string from a table? thanks for the idea - - in other words, we have to keep

Re: [NTG-context] [***Spam/VIR***] Re: Layer vs. overlay

2013-01-15 Thread Philipp Gesang
that requires compiling several individual documents into larger ones and it has never failed me so far. Thanks, btw, this saves some work! Regards Philipp pgpWRoNqSGQg8.pgp Description: PGP signature ___ If your question

Re: [NTG-context] index: distinguish entries by pagestyle

2013-01-14 Thread Philipp Gesang
. Hans? Hi Andreas and Thomas, this was reported a while back [0] but is still a “todo” in the source [1]. Regards Philipp [0] http://www.ntg.nl/pipermail/ntg-context/2011/059544.html [1] http://repo.or.cz/w/context.git/blob/refs/heads/origin:/tex/context/base/strc-reg.mkiv pgpeER2DKNSjO.pgp

[NTG-context] [luat-env.lua] typo in function loadluafile()

2013-01-10 Thread Philipp Gesang
Hi Hans, this revision introduced a typo in luat-env.lua: http://repo.or.cz/w/context.git/commitdiff/31c8bf0930a6d3e353a552d6bab71f62bc25f34e Patch appended. Regards Philipp --- /tmp/ctx/luat-env.lua 2013-01-10 14:26:37.561102331 +0100 +++ luat-env.lua2013-01-10 14:33

Re: [NTG-context] Multi-page frame.

2012-12-22 Thread Philipp Gesang
=green, ] \starttext \startmultipageframe \dorecurse{42}{\input tufte\par} \stopmultipageframe \stoptext Regards Philipp [0] http://wiki.contextgarden.net/TextBackground pgpvZWiAZzRaL.pgp Description: PGP signature

Re: [NTG-context] Count the words per line (Philipp Gesang)

2012-12-19 Thread Philipp Gesang
context --help Hth Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpniWwZZdTcp.pgp Description: PGP signature ___ If your question is of interest

Re: [NTG-context] Numerical Calculations

2012-12-19 Thread Philipp Gesang
://www.ntg.nl/pipermail/ntg-context/2012/068673.html with these maybe you won’t need TeX for the tests. Regards Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpVFFuEH9r1N.pgp Description: PGP signature

Re: [NTG-context] Count the words per line

2012-12-17 Thread Philipp Gesang
) means in Context because it would interfere with the margin mechanism. So I had to scrap the first approach and rewrote it to display stats only at the end of the document.) Regards Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary

Re: [NTG-context] CRITICAL EDITIONS MODULE

2012-12-16 Thread Philipp Gesang
may want to look at http://wiki.contextgarden.net/TEI_xml on the wiki. the more interest there is +1 Best Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgp6KHRB308sz.pgp Description: PGP signature

Re: [NTG-context] New module: simplesteps.

2012-12-15 Thread Philipp Gesang
the \begingroup do? I could not find a \endgroup in the patch, nor in the module code. It’s in the definition of \buff_stop in buff-ini.mkiv. The first thing \startbuffer does is to insert a bgroup, too. Philipp pgpeFsXMBI40v.pgp Description: PGP signature

Re: [NTG-context] New module: simplesteps.

2012-12-15 Thread Philipp Gesang
···date: 2012-12-15, Saturday···from: Wolfgang Schuster··· Am 15.12.2012 um 11:40 schrieb Philipp Gesang philipp.ges...@alumni.uni-heidelberg.de: ···date: 2012-12-15, Saturday···from: Sietse Brouwer··· \begingroup \grabbufferdata[simplesteps][startframe][stopframe

Re: [NTG-context] New module: simplesteps.

2012-12-14 Thread Philipp Gesang
also use \luaescapestring. See the Luatex manual, section 2.3.6. Philipp pgp9lYpucmZ36.pgp Description: PGP signature ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] New module: simplesteps.

2012-12-13 Thread Philipp Gesang
rewriting macros a breeze Is it ok if I send a PDF sample to the list? For uploading docs and such to the “downloads” section on bitbucket is great. Then just post a link. Happy TeXing! Philipp diff -r 9116599821fc lib/simplesteps.lua --- a/lib/simplesteps.lua Thu Dec 13 20:49:38 2012 -0200

Re: [NTG-context] Loading lua file.

2012-12-12 Thread Philipp Gesang
\strictload[unknown] \stoptext Hth Philipp Cheers, André Caldas. ___ 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

[NTG-context] [luatex-plain] call to undefined function in font-def.lua

2012-12-08 Thread Philipp Gesang
Hi Hans, the plain format from context calls a non-existing function fonts.goodies.filenames.resolve(). It appears that the format was not updated to include the expected code from fonts-gds.lua. [1] Terminal output below. Regard Philipp [1] The code was introduced to font-def.lua on November

<    1   2   3   4   5   6   7   >