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

2013-06-27 Thread 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 they are no longer well-formed UTF-16BE. ... [tounicode]={

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
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 quite well - remembers the current page - renders quite ok - even supports some basic interactivity

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
Hi Hans, in font-chk.lua, the function checkers.missing fails to assign the var “lastfont”, leading to a meaningless test for equivalence with “font”. See patch below. Also, may I ask you to include the unicode character in the tracker message? This would make the output more legible, imo.

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
Hi Sander, ···date: 2013-06-20, Thursday···from: Sander Maijers··· While there is a \setupquote in a recent MkIV beta, when I try to use \setupquotation to set the quotation text style to slanted, this has no effect. Is there a neat way to do this, without redefining \quotation? with the

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
Hi, in luatex-plain, the example below \font\grk=file:LinLibertine_R.otf:+mark;+mkmk;mode=node at 14.4pt {\grk μῆνιν ἄειδε θεὰ Πηληϊάδεω Ἀχιλῆος\hfill\break οὐλομένην, ἣ μυρί' Ἀχαιοῖς ἄλγε' ἔθηκε} \bye triggers a call to onetimemessage() which is nil at the time when the

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
Hi all, this document: \font\foo=file:LinLibertine_R.otf:+onum;mode=node; \foo foo 12345 whatever \bye works correctly if the font is uncached but leads to garbled output in firefox’s pdf plugin if the font is loaded from cache. Afaics none of the other viewers are affected. Also

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

2013-05-10 Thread Philipp Gesang
···date: 2013-05-10, Friday···from: Hironori KITAGAWA··· I tried the following source with TeX Live 2013 pretest. --- \documentclass{article} \usepackage{fontspec} \begin{document} \fontspec[RawFeature=+pwid]{KozMinPr6N-Regular} A…B \fontspec[RawFeature=+fwid]{KozMinPr6N-Regular} A…B

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
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 is, however, some 500 character definitions short of the canonical Glyph List from Adobe’s resources [1]. On

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
Hi, loading this font: https://collab.itc.virginia.edu/access/content/group/26a34146-33a6-48ce-001e-f16ce7908a6a/Tibetan%20fonts/Tibetan%20Unicode%20Fonts/TibetanMachineUnicodeFont.zip causes the fontloader to emit a dozen or so messages of the kind fontsloading can't

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

2013-04-28 Thread Philipp Gesang
Hi Hans, 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 library leads to some odd results. Also I noticed that as a pattern, [^%w%d] is a bit redundant

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
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 corresponds to line 192 of font-otp.lua. Test code: \font\test={file:amiri-regular.ttf} \test ضرب \bye Or

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

2013-04-22 Thread Philipp Gesang
Hi Tim, ···date: 2013-04-22, Monday···from: Tim Li··· Hi, In the wiki, fallback often appears in the definition of typescript. I am curious about this ``fallback, is there a place to learn the fallback in detail? I haven't found this place in our wiki. Regards, Tim

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

2013-04-16 Thread Philipp Gesang
Hi, with EB Garamond Italic and contextual ligatures I get a weird duplicate “s” for the pairing “us”: ··· \starttext \definefontfeature[default][default][clig=yes] \definedfont[ebgaramond12italic*default at 42pt]

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
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 the dot after the number leads to a “malformed number” error. (Iirc there was a thread on lua-l about this not long

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
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 file (without the backslash)?”, and the number of fake accounts is growing fast:

Re: [NTG-context] Setupparagraphnumbering

2013-04-04 Thread Philipp Gesang
Hi Diego! ···date: 2013-04-04, Thursday···from: Diego Depaoli··· Hi all, since I got the same issue reported in that unanswered question http://www.ntg.nl/pipermail/ntg-context/2011/064172.html, before switch from the 0.70 version installed by default in Ubuntu to another one, is the

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

2013-04-03 Thread Philipp Gesang
···date: 2013-04-03, Wednesday···from: H. Özoguz··· Hi together, what is wrong with the following shortexample? \setupheadertexts [] [{\cap\getmarking[chapter]}] [][] \starttext \startchapter[ title={Long long long title, it is indeed},

[NTG-context] typescript Adobe Blank

2013-04-03 Thread Philipp Gesang
, I swear! ·· type-imp-adobeblank.mkiv · %D \module %D [ file=type-imp-adobeblank.mkiv, %Dversion=2013-04-03 14:18:30+0200, %D title=\CONTEXT\ Typescript Macros, %D subtitle=Adobe Blank, %D author=Philipp Gesang, %D

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

2013-04-01 Thread Philipp Gesang
Hi Wolfgang! ···date: 2013-04-02, Tuesday···from: WolfgangZ··· Hello, I have a problem with a using a register in my local installation (MKIV). The minimal example works on contextgarden. The example: \defineregister[Erf][Erflist] \defineregister[Erf] It doesn’t appear to be

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

2013-03-31 Thread Philipp Gesang
···date: 2013-03-30, Saturday···from: 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? I use

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
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 with both today’s beta and Tex Live. The error message is error:

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
Hi Bill. ···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] and the syntax reference [1]. It’s been a while, but afair I implemented the

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

2013-03-05 Thread Philipp Gesang
Hi Robert, as you got no reply from the others, here’s what I can say: 1. Can you provide a complete, minimal non-working example that relies only on the images in tex/context/sample/* ? ···date: 2013-03-03, Sunday···from: Robert Blackstone··· With recent standalones (jan. 7, jan. 29 and

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

2013-02-26 Thread Philipp Gesang
Hi John! ···date: 2013-02-26, Tuesday···from: john Culleton··· I copied verbatim the example found here: http://wiki.contextgarden.net/Simple_Typescript_Example This line caused an error: \setupencoding[default=uc] These are instructions for MkII (and PostScript Type 1 fonts). You are

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

2013-02-26 Thread Philipp Gesang
···date: 2013-02-26, Tuesday···from: Wolfgang Schuster··· Am 26.02.2013 um 21:28 schrieb john Culleton j...@wexfordpress.com: Thanks for your help. I just spotted another somewhat comic error. The typescript for Sans calls roman fonts and the typescript for Roman calls sans fonts.

Re: [NTG-context] footnotes what happened?

2013-02-24 Thread Philipp Gesang
Hi Hans! ···date: 2013-02-24, Sunday···from: Meer, H. van der··· What has happened to \setupfootnotes? It is an alias for \setupnote[footnote]. \setupfootnotes defines [textcolor=] although in the wiki just below this the example has [color=] instead. The “color” key belongs in

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

2013-02-22 Thread Philipp Gesang
Hi Devendra! ···date: 2013-02-22, Friday···from: Devendra Ghate··· A slightly more verbose alternative which I have been using is: \definehead [chapter] [section] \setuphead [chapter] [section] [style=\ss] \setuphead [chapter] [style=\tfb] \setuphead [section]

Re: [NTG-context] mtxrun error

2013-02-17 Thread Philipp Gesang
Hi Alessandro! ···date: 2013-02-17, Sunday···from: Alessandro Perucchi··· Apparently nobody is interested in correcting this error on Mac OS X :-D Afaict it’s not OSX related. Well I've found that in the folder /System/Library/Fonts all the .otf are not able to be found by the mtxrun

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

2013-02-16 Thread Philipp Gesang
Hi Thomas! ···date: 2013-02-15, Friday···from: thomas··· Dear list, how can i put a normal # sign (as part of a \type{} environment) in a footnote ? Until now i got or \# or nothing. Have you tried encapsulation in a buffer? \starttext

Re: [NTG-context] Find too long sentences

2013-02-15 Thread Philipp Gesang
···date: 2013-02-15, Friday···from: H. Özoguz··· Good Friday there, working on a book with many too long sentences, I got the following idea/question: Is it possible to recognize the length of a sentence, and to let context show in the pdf, if there is a too long sentence. Places to

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

2013-02-09 Thread Philipp Gesang
Hi all, I’m not sure this is a Luatex or Context bug so please feel free to forward this to the appropriate ML if necessary. With the latest standalone (Luatex beta-0.74.0-2012122510, Context 2013.02.05 22:32) the font db builder fails at Adobe Heiti as distributed with acroread:

Re: [NTG-context] Title over the image

2013-02-04 Thread Philipp Gesang
Hi Huseyin! ···date: 2013-02-04, Monday···from: H. Özoguz··· Using \startplacefigure [title=blub, reference=fig:demo, number=no] \externalfigure[example][width=11.2cm] \stopplacefigure how can I set the Title of the image over the image, instead of under the image (that is

Re: [NTG-context] Referencing a figure

2013-01-22 Thread Philipp Gesang
Hi! ···date: 2013-01-22, Tuesday···from: Devendra Ghate··· I have written a macro to include figures. I pass the label name and the caption as the two arguments. But when I try to refer to the figure, it shows ??. Surely, my macro does not define the figure label as intended by me. What

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

2013-01-20 Thread Philipp Gesang
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 the book and remove it in the final stages. I am using MKII (TeXLive 2011 still) if the name of the main file

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
···date: 2013-01-16, Wednesday···from: Procházka Lukáš Ing. - Pontex s. r. o.··· Now, I have a code which does much expected, but I'm not able to pass the desired content to setups/layer: \setupbodyfont[30pt] \starttext A \definelayer

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
···date: 2013-01-15, Tuesday···from: Aditya Mahajan··· On Tue, 15 Jan 2013, Procházka Lukáš Ing. - Pontex s. r. o. wrote: (Finally: I'd like to achieve a Lua function which will copy all pages of a .pdf file, keeping size of each page, and adding a customizable string with page-in-the-pdf

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

2013-01-14 Thread Philipp Gesang
···date: 2013-01-14, Monday···from: Schmitz Thomas A.··· On Jan 14, 2013, at 2:54 PM, Andreas Mang m...@imt.uni-luebeck.de wrote: Hi there, I got a question considering the registers. I'd like to distinguish between the definition of some term and its appearance/use somewhere else

[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

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

2012-12-22 Thread Philipp Gesang
···date: 2012-12-22, Saturday···from: Andre Caldas··· Hello! How can I have a framed text that can cross page boundaries? With text backgrounds [0]. Example: \definetextbackground [multipageframe] [ location=paragraph, frame=on, rulethickness=2pt,

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

2012-12-19 Thread Philipp Gesang
Hey Huseyin, just some general advice on mailing lists: use the “reply” function of your user agent to reply. This will preserve the context for each message and allows to render them as threads as in http://www.ntg.nl/pipermail/ntg-context/2012/thread.html. Thanks! Now for your question:

Re: [NTG-context] Numerical Calculations

2012-12-19 Thread Philipp Gesang
···date: 2012-12-19, Wednesday···from: Troy Henderson··· Do \luaexpr{1/3.8} and \ctxcommand{format(@0.3f,1/3.8)} return numbers or strings? That is, I would like to use these results in a \if or \ifnum command to exit a \doloop. Fwiw there are Lua-side conditionals available as well:

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

2012-12-17 Thread Philipp Gesang
Hey Huseyin, ···date: 2012-12-14, Friday···from: H. Özoguz··· I am setting with grid-set, and I am wondering, if there is a possibility to count the number of words in the lines (not for each single line, but in average over all lines). take a look at this: t-wordsperline.mkvi

Re: [NTG-context] CRITICAL EDITIONS MODULE

2012-12-16 Thread Philipp Gesang
···date: 2012-12-16, Sunday···from: Hans Hagen··· On 12/15/2012 5:11 PM, Thomas A. Schmitz wrote: On 12/14/2012 01:33 PM, MANUEL GONZALEZ SUAREZ wrote: Hello I would get the module CritTeXt Idris Samawi. I have the documentation but still does not appear on the ConTeXt wiki. I think it may

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

2012-12-15 Thread Philipp Gesang
···date: 2012-12-15, Saturday···from: Sietse Brouwer··· \begingroup \grabbufferdata[simplesteps][startframe][stopframe]% } With the \grabbufferdata command the content beginning from \startframe until \stopframe is stored in a buffer with the name “simplesteps”. (1) What does

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
···date: 2012-12-14, Friday···from: Andre Caldas··· \unexpanded\def\uncover[#1]% {\ctxlua{ distance = simplesteps.distance_to_step(\!!bs#1\!!es) ... }} it works because the is now only part of the string. Thanks. That's what I needed. I guess bs = begin string es

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

2012-12-13 Thread Philipp Gesang
Hey André, thanks for the interesting contribution! Have a look at the patch I hopefully don’t forget to append. ···date: 2012-12-13, Thursday···from: Andre Caldas··· Well since Raw Steps did not work with mkiv, I tried making a very very simple module for a beamer-like behaviour. I

Re: [NTG-context] Loading lua file.

2012-12-12 Thread Philipp Gesang
Hey André, ···date: 2012-12-12, Wednesday···from: Andre Caldas··· If I load a lua file from a module using \registerctxluafile{file}{1.001} or \ctxloadluafile{file} How can I be sure the file was in fact loaded? The related tracker output is quite comprehensive:

[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

Re: [NTG-context] Math not loaded?

2012-12-06 Thread Philipp Gesang
···date: 2012-12-06, Thursday···from: Rogers, Michael K··· The following gives the error with the latest beta: ! Math error: parameter \Umathquad\displaystyle is not set. I can confirm this for version 2012.12.06 01:21. It’s OK with 2012.11.23 17:35. Regards Philipp pgpBC0m0QZ9L5.pgp

Re: [NTG-context] formulas: numbering problem

2012-11-26 Thread Philipp Gesang
Hi Andreas, ···date: 2012-11-26, Monday···from: Andreas Mang··· I've spotted a problem with the numbering of the formulas (default setting: (CHAPTER.FORMULANUMBER)): If a heading that does not come with a number is introduced, the chapter number vanishes from the reference number for

Re: [NTG-context] Arabic with ConTeXt

2012-11-23 Thread Philipp Gesang
Hi Huseyin, ···date: 2012-11-22, Thursday···from: H. Özoguz··· Am 21.11.2012 23:41, schrieb ntg-context-requ...@ntg.nl: What you are looking for is text streams. They are not yet fully functional in mkiv. But as long as you need the streams to appear as columns on the same page, as seems to

Re: [NTG-context] Hiding columns in m-database TABLE

2012-11-23 Thread Philipp Gesang
···date: 2012-11-22, Thursday···from: Hans Hagen··· On 11/22/2012 3:36 PM, Marcin Borkowski wrote: Dnia 2012-11-22, o godz. 13:26:52 Mojca Miklavec mojca.miklavec.li...@gmail.com napisał(a): On Thu, Nov 22, 2012 at 12:57 PM, Marcin Borkowski wrote: le) in order to typeset a (nice) TABLE.

Re: [NTG-context] Arabic with ConTeXt

2012-11-23 Thread Philipp Gesang
···date: 2012-11-23, Friday···from: H. Özoguz··· Am 23.11.2012 15:17, schrieb ntg-context-requ...@ntg.nl: The table*is* the workaround ;P As long as you don?t mind being limited to columns on one page, the tabulate syntax and the restrictions on the input order, you?ll definitely be fine.

Re: [NTG-context] ConTeXt Standalone/Suite in Windows

2012-11-22 Thread Philipp Gesang
···date: 2012-11-22, Thursday···from: Pablo Rodríguez··· Hi everybody, I would like to be able to use a ConTeXt Standalone on a computer with WinXP Pro and no internet connection and no administrative rights. Isn't it possible to install on a different computer (let's say c:\context) and

Re: [NTG-context] Arabic with ConTeXt

2012-11-21 Thread Philipp Gesang
···date: 2012-11-21, Wednesday···from: H. Özoguz··· First: How to divide the page into a left part and a right part, two wright german on the left side and arabic on the right. Is \paragraph the best way for it? What you are looking for is text streams. They are not yet fully functional in

[NTG-context] [mtx-patterns] fix function name

2012-11-16 Thread Philipp Gesang
Typo in mtx-patterns.lua, line 487. Philipp --- /home/phg/context/tex/texmf-context/scripts/context/lua/mtx-patterns.lua 2012-05-29 00:12:07.0 +0200 +++ mtx-patterns.lua2012-11-16 21:49:20.331369947 +0100 @@ -484,7 +484,7 @@ else local destination =

[NTG-context] [mtx-patterns] run --convert on individual file

2012-11-16 Thread Philipp Gesang
Hi Hans, and others! I’d like to test these hyphenation patterns: http://www.ponomar.net/files/cuhyph.tex At the moment, the names of the imported pattern sources are hardcoded in mtx-patterns.lua. Could the script be extended to allow for converting individual files? Thanks a lot Philipp

Re: [NTG-context] [mtx-patterns] run --convert on individual file

2012-11-16 Thread Philipp Gesang
···date: 2012-11-16, Friday···from: Hans Hagen··· On 11/16/2012 10:05 PM, Philipp Gesang wrote: Hi Hans, and others! I’d like to test these hyphenation patterns: http://www.ponomar.net/files/cuhyph.tex At the moment, the names of the imported pattern sources are hardcoded in mtx

Re: [NTG-context] [luatex-plain] loading patterns

2012-11-15 Thread Philipp Gesang
···date: 2012-11-14, Wednesday···from: Hans Hagen··· On 11/14/2012 7:12 PM, Philipp Gesang wrote: you need to set some lccodes assuming that you also use the font loader (i.e. luatex-plain), try the attached files ... the next then works ok Yes it does. Will this become part

Re: [NTG-context] \startitemize[columns] once again...

2012-11-14 Thread Philipp Gesang
···date: 2012-11-14, Wednesday···from: Marcin Borkowski··· Dnia 2012-11-10, o godz. 03:23:11 Marcin Borkowski mb...@wmi.amu.edu.pl napisał(a): This minimal example behaves in a strange way: \starttext Some text \startitemize[columns,two,joinedup] \item abc%

Re: [NTG-context] no footnote printed

2012-11-14 Thread Philipp Gesang
···date: 2012-11-14, Wednesday···from: Bernd Militzer··· Am 13.11.12 13:36, schrieb Hans Hagen: On 11/13/2012 11:05 AM, Bernd Militzer wrote: Hello, using midaligned no footnote is printed. \starttext % \midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}} \crlf Text

[NTG-context] [luatex-plain] loading patterns

2012-11-14 Thread Philipp Gesang
Hi all! (I assume this is the appropriate list for questions regarding luatex-plain.) I am trying to enable the Russian hyphenation patterns. The demo code below works with luatex.fmt but not luatex-plain.fmt (both from tex live). More precisely, after loading the

Re: [NTG-context] using variable for subscript in math+lua

2012-10-25 Thread Philipp Gesang
···date: 2012-10-25, Thursday···from: Hans Hagen··· On 25-10-2012 03:02, Philipp Gesang wrote: context.NC(string.format(schema, i, j)) context.NC(schema, i, j) Right, but then if you encounter this the first time you won’t know what to google. Regards Philipp pgpVIf0TmiH7I.pgp

Re: [NTG-context] using variable for subscript in math+lua

2012-10-25 Thread Philipp Gesang
· Now the symbol will default to “a” but you can specify another one. (Btw. I think the Lua part could be done as easily with dorecurse.) Regards Philipp Thanks in advance: OK On 25 oct. 2012, at 03:02, Philipp Gesang philipp.ges...@alumni.uni-heidelberg.de wrote

Re: [NTG-context] using variable for subscript in math+lua

2012-10-24 Thread Philipp Gesang
···date: 2012-10-25, Thursday···from: Jeong Dal··· Dear Hans, Lucas, Wolfgang, Aditya Now, I write a matrix using \startluacode by the helps of you. Also, I can do some operations in matrices which reduced my typing job. In this code, I have to give all the entries of a matrix as a table.

Re: [NTG-context] Color red:3

2012-10-22 Thread Philipp Gesang
···date: 2012-10-22, Monday···from: Procházka Lukáš Ing. - Pontex s. r. o.··· I don't use MkII, so I'll avoid using red:3 with MkIV. You don’t have to, these colors were upgraded to a superior way of being defined (colo-imp-dem.mkiv):

[NTG-context] [co-pagedesign.tex] grid=yes not mentioned

2012-10-18 Thread Philipp Gesang
Hi all, in the page design manual the section “grid” does not mention that the grid needs to be enabled by \setuplayout[grid=yes]. Although the “grid” parameter is briefly discussed alongside the other parameters of \setuplayout, there is no hint at the available snapping methods. Philipp ---

[NTG-context] font features in beta

2012-10-17 Thread Philipp Gesang
Hi all, this works in TL but not minimals: · \definefontfeature[textfigures] [onum=yes] \definefontfeature[texligatures] [tlig=yes] \starttext \addff{textfigures} 1234567890 \addff{texligatures} foo---bar \stoptext

Re: [NTG-context] font features in beta

2012-10-17 Thread Philipp Gesang
···date: 2012-10-17, Wednesday···from: Hans Hagen··· On 17-10-2012 16:08, Philipp Gesang wrote: ... With Context as of today and Luatex from minimals, I get lining figures and a triple dash. Did I miss something? just a missing comma in a lua file, i'll upload an update Hans Thanks

Re: [NTG-context] Total Number of Pages

2012-10-16 Thread Philipp Gesang
···date: 2012-10-16, Tuesday···from: Hrothgar Boyce··· I've not tested this, but suspect that there may be a difference between the below two commands \lastpage and \totalnumberofpages These are actually synonyms ;-) But it’s true, there is the difference between counting the

Re: [NTG-context] New module: pararef

2012-10-14 Thread Philipp Gesang
Hi! ···date: 2012-10-13, Saturday···from: Zenlima··· after so many of you helped me, I want to give back. I just made my t-pararef module public for everyone: http://modules.contextgarden.net/pararef http://wiki.contextgarden.net/Paragraph_Referencing Nice, looks good.

Re: [NTG-context] Frozen callback.

2012-10-02 Thread Philipp Gesang
···date: 2012-10-02, Tuesday···from: Andre Caldas··· function document.MyCharacterMess(str,filename) What is this str? The raw file content as a Lua string. You can examine the arguments you get like so: ···

Re: [NTG-context] Problem with ConTeXt (MkIV), Hebrew and ligatures

2012-10-01 Thread Philipp Gesang
···date: 2012-10-01, Monday···from: Simo Ojala··· On 09/29/2012 02:35 PM, Hans Hagen wrote: On 29-9-2012 01:41, Simo Ojala wrote: Hans Hagen pra...@wxs.nl On 09/28/2012 11:46 AM, Hans Hagen wrote: On 27-9-2012 21:27, Simo Ojala wrote: This is a problem originally posted in

Re: [NTG-context] Problem with ConTeXt (MkIV), Hebrew and ligatures

2012-10-01 Thread Philipp Gesang
···date: 2012-10-01, Monday···from: Hans Hagen··· On 1-10-2012 18:23, Philipp Gesang wrote: ···date: 2012-10-01, Monday···from: Simo Ojala··· On 09/29/2012 02:35 PM, Hans Hagen wrote: On 29-9-2012 01:41, Simo Ojala wrote: Hans Hagen pra...@wxs.nl On 09/28/2012 11:46 AM, Hans Hagen wrote

Re: [NTG-context] Frozen callback.

2012-10-01 Thread Philipp Gesang
···date: 2012-10-01, Monday···from: Andre Caldas··· I am trying to redefine the ’open_read_file’ callback. Hi André, direct callback access is disabled. There are usually some layers of abstraction on top of them, different ones for different callbacks. Mapping them all is a huge effort, so

Re: [NTG-context] Problem with ConTeXt (MkIV), Hebrew and ligatures

2012-10-01 Thread Philipp Gesang
···date: 2012-10-01, Monday···from: Hans Hagen··· On 1-10-2012 19:25, Philipp Gesang wrote: utilities.sequencers.disableaction(resolvers.openers.helpers.textfileactions,characters.filters.utf.collapse) Doesn’t work. What helps is to comment out the “appendaction” in char-utf.lua

Re: [NTG-context] mkiv: way to signal extra run(s)

2012-09-29 Thread Philipp Gesang
···date: 2012-09-29, Saturday···from: Peter Rolf··· Hi, just wondering. Is there a official way to signal ConTeXt from a module, that an extra run is needed? Hi Peter, some time ago I got this answer from Hans: http://www.mail-archive.com/ntg-context@ntg.nl/msg45820.html (Today the table is

Re: [NTG-context] [tabulate] colored background

2012-09-28 Thread Philipp Gesang
···date: 2012-09-27, Thursday···from: Aditya Mahajan··· On Fri, 28 Sep 2012, Philipp Gesang wrote: Hi all, the background mechanism of tabulations is quite simplistic: it extends only to the first line of a cell irrespective of its length. Example

[NTG-context] [tabulate] colored background

2012-09-27 Thread Philipp Gesang
Hi all, the background mechanism of tabulations is quite simplistic: it extends only to the first line of a cell irrespective of its length. Example: ··· \starttext \starttabulate[|p|r|] \CM [red] \input knuth \NC was said by

<    1   2   3   4   5   6   >