Re: [NTG-context] width (height?) of 90° rotated tabulate

2011-11-03 Thread Philipp Gesang
On 2011-11-03 01:15, Philipp Gesang wrote: Good evening all, the following example demonstrates my problem: ··8· \showframe \newdimen\tabcolsize \tabcolsize=.25\vsize \def\knuth{\input knuth\relax} \startbuffer[sometable

[NTG-context] width (height?) or 90° rotated tabulate

2011-11-02 Thread Philipp Gesang
Good evening all, the following example demonstrates my problem: ··8· \showframe \newdimen\tabcolsize \tabcolsize=.25\vsize \def\knuth{\input knuth\relax} \startbuffer[sometable]

Re: [NTG-context] ConvertToConteXt - convert special ConTeXt-characters (PHP)

2011-11-01 Thread Philipp Gesang
Good evening, Jannis! On 2011-11-01 17:16, Jan Heinen wrote: Today I wrote the function ConvertToConteXt which converts special ConTeXt-characters. You can see it below. The data necessary for converting HTML entities is already in Context, have a look at “char-ent.lua” if you are interested.

Re: [NTG-context] ConvertToConteXt 0.2 - convert special ConTeXt-characters (PHP)

2011-11-01 Thread Philipp Gesang
On 2011-11-01 20:16, Jan Heinen wrote: @all: of course not every Character, i am converting, is a ConTeXt-special-character. Though I don't know all important characters I took all I could imagine. Shurly I converted too much however it is no problem: Which character must not be converted?

Re: [NTG-context] location of mtx-scripts

2011-10-03 Thread Philipp Gesang
On 2011-10-03 10:33, Hans Hagen wrote: On 30-9-2011 11:08, Philipp Gesang wrote: Sounds ok to me but we might think of a way to avoid clashes with names, like mtx-t-rst.lua and we can adapt the lookup to try to resolve in such away that the t- is not too much in the way. This doesn’t work

Re: [NTG-context] location of mtx-scripts

2011-10-02 Thread Philipp Gesang
On 2011-10-02 00:19, Karl Berry wrote: Id like to ask if there is any update on this: The same issue has now arisen with context-simpleslides (hi Aditya and Thomas), which now has: scripts/context/lua/third/simpleslides/mtx-simpleslides.lua The t- prefix doesn't make a difference

Re: [NTG-context] disabling onum in url

2011-10-02 Thread Philipp Gesang
Hi Pablo, On 2011-10-02 12:58, Pablo Rodríguez wrote: Hi there, I'm a ConTeXt newbie that I have the following options and a command for URLs in the document preamble (what comes before \starttext [I don't know if it is named so in ConTeXt]):

Re: [NTG-context] disabling onum in url

2011-10-02 Thread Philipp Gesang
On 2011-10-02 17:40, Pablo Rodríguez wrote: Hi Philipp, thanks for your reply. I'm afraid it doesn't work. No matter which method I use. (Of course, I copied and pasted your sample code, which doesn't work for me.) On 10/02/2011 01:34 PM, Philipp Gesang wrote: \definefontfeature

Re: [NTG-context] disabling onum in url

2011-10-02 Thread Philipp Gesang
On 2011-10-02 19:53, Pablo Rodríguez wrote: On 10/02/2011 06:40 PM, Philipp Gesang wrote: Well, in my previous example, rather use: \definefontfeature[url][onum=no,smcp=yes] and come back with a complete example if it doesn’t help. Philipp, I'm afraid it doesn't work. Sample file

[NTG-context] location of mtx-scripts

2011-09-30 Thread Philipp Gesang
Hi Hans, I’d like to ask if there is any update on this: On 2011-09-04 22:31, Hans Hagen wrote: On 4-9-2011 19:46, Mojca Miklavec wrote: mtxrun would currently find it under scripts/context/lua/third/rst because of LUAINPUTS = .;$TEXINPUTS;$TEXMF/scripts/context/lua//, but Hans

Re: [NTG-context] slides proceedings from ConTeXt Meeting

2011-09-28 Thread Philipp Gesang
On 2011-09-28 00:53, Mojca Miklavec wrote: Hello everyone, in particular those who missed all the fun at the ConTeXt Meeting in Belgium. The slides from conference have been uploaded to the web page: http://meeting.contextgarden.net/2011/programme.shtml and most of talks will also be

Re: [NTG-context] [float] location options of \placefloat

2011-09-18 Thread Philipp Gesang
On 2011-09-18 09:44, Wolfgang Schuster wrote: syst-aux.mkiv \def\do_quit_prev_comma_list#1]% - {\let\do_process_comma_item\do_quit_commalist} + {\let\do_process_comma_item\do_quit_comma_list} Wolfgang Thanks a lot, that did it! Have a beatiful Sunday, Philipp -- () ascii ribbon

[NTG-context] [float] location options of \placefloat

2011-09-17 Thread Philipp Gesang
Hi all, some of the possibilities concerning float placement that are listed on the wiki[1] cause mkiv to fail with an “undefined control sequence”. E.g. - \starttext \placefigure[left][]{A Dutch Cow}{\externalfigure[cow]}

Re: [NTG-context] lpeg splitter

2011-08-05 Thread Philipp Gesang
On 2011-08-05 16:44:59, Hans Hagen wrote: On 5-8-2011 4:37, Peter Rolf wrote: Hi, I'm currently trying to adapt my MP specials to the 'new' plugin handler. My actual problem is the splitting of the 'ssh_colors' string with lpeg. Sadly my knowledge about lpeg is nearly zero and it would

Re: [NTG-context] [beta] grid head

2011-07-14 Thread Philipp Gesang
Hi Hans, the new beta appears to modify the behaviour of long headings on the grid. In the following example the chapter head moves up into the page header which it did not prior to the update (cf. mkii’s behaviour): ·

Re: [NTG-context] [beta] grid head

2011-07-14 Thread Philipp Gesang
On 2011-07-14 11:29:29, Hans Hagen wrote: On 14-7-2011 10:49, Philipp Gesang wrote: Hi Hans, the new beta appears to modify the behaviour of long headings on the grid. In the following example the chapter head moves up into the page header which it did not prior to the update (cf. mkii’s

Re: [NTG-context] [beta] grid head

2011-07-14 Thread Philipp Gesang
On 2011-07-14 16:37:55, Hans Hagen wrote: On 14-7-2011 4:26, Philipp Gesang wrote: On 2011-07-1411:29:29, Hans Hagen wrote: On 14-7-2011 10:49, Philipp Gesang wrote: Hi Hans, the new beta appears to modify the behaviour of long headings on the grid. In the following example the chapter

Re: [NTG-context] Changing item indicator

2011-07-06 Thread Philipp Gesang
Hi Kip, On 2011-07-06 00:18:06, Kip Warner wrote: Hey list, I'd like to change the colour of the item indicator (e.g. the roman numeral or number). I am using the following, but ConTeXt seems to ignore it: \definecolor[colour_item][r=.828,g=.313,b=.176] \setupitems

Re: [NTG-context] Getting framed text to page break

2011-07-06 Thread Philipp Gesang
On 2011-07-06 00:22:39, Kip Warner wrote: Hey list, I'd like to get framed text to break over a page, but I'm not sure how to do this. Right now, I am using: Hi again, there’s also the background mechanism which has been explicitly (see pack-rul.mkiv) designed with page breaks in mind.

[NTG-context] [lang-url.lua] setcharacters()

2011-07-06 Thread Philipp Gesang
Hi Hans, in lang-url.lua, line 106 (introduced 23.6.2011), - chars[s] = value or 1 + characters[s] = value or 1 Regards, Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpQy1kI36lfE.pgp Description: PGP

Re: [NTG-context] apos; not working anymore

2011-07-04 Thread Philipp Gesang
On 2011-07-04 20:42:17, Hans van der Meer wrote: On 4 jul 2011, at 20:04, Wolfgang Schuster wrote: Is the entity defined? To create one there are two commands available: - \xmlsetentitiy{…}{…} - \xmltexentitiy{…}{…} This seems curious to me. I searched for xmlsetent

Re: [NTG-context] Current Commands/Columns

2011-06-26 Thread Philipp Gesang
Hi, On 2011-06-26 21:06:45, H. Hodges wrote: Is there some sort of guide to which commands are still used in ConTeXt or a latest edition of the main manual? There’s a sort-of reference maintained by Wolfgang: https://bitbucket.org/wolfs/commands in addition

[NTG-context] [layers] unsolicited “0” after setting background

2011-06-10 Thread Philipp Gesang
Hi again, when setting a background layer combined with an early font setup there appears a “0” (ascii 0x30) right after “\starttext”: · \setupbodyfont[sans] %%% -- comment this out and the “0” vanishes

Re: [NTG-context] [layers] unsolicited “0” after setting background

2011-06-10 Thread Philipp Gesang
On 2011-06-10 12:12:15, Wolfgang Schuster wrote: Am 10.06.2011 um 12:07 schrieb Philipp Gesang: Hi again, when setting a background layer combined with an early font setup there appears a “0” (ascii 0x30) right after “\starttext

[NTG-context] [metafun] MPenvironment / font switching

2011-06-09 Thread Philipp Gesang
Hi all, I’m struggling with the font used in metapost. The only way to actually change it appears to be enclosing the mp graphic in two statements of \setupbodyfont[…] -- which I need to avoid. In the following example, the background text should be typeset (drawn) as lm sans, whereas the main

Re: [NTG-context] [metafun] MPenvironment / font switching

2011-06-09 Thread Philipp Gesang
On 2011-06-09 23:31:49, Wolfgang Schuster wrote: Am 09.06.2011 um 23:20 schrieb Philipp Gesang: snip/ · \startMPenvironment %[global] \switchtobodyfont[sans] %\setupbodyfont[sans] \stopMPenvironment %\start

[NTG-context] [register] setup detailed formatting

2011-06-01 Thread Philipp Gesang
Hi all, according to the manual (current draft p. 238f.) the following should work: ···8 \setupinteraction[state=start] \defineregister[myreg][myreg] \setupregister[myreg][textstyle=italic,pagestyle=slanted] %% That’s what it’s about:

[NTG-context] [supp-fil.mkiv] \openoutputfile braces

2011-05-29 Thread Philipp Gesang
Hi all, the mkiv definition of \openoutputfile adds undesired braces to filenames like “{out}.testfile2” and “{out.testfile3}”. ··8· \newwrite \testme %\openout \testme \jobname.testfile %%% works \openoutputfile \testme

Re: [NTG-context] t-rst: Unicode character not printed (was: t-filter: no table created when Unicode characters are included)

2011-05-20 Thread Philipp Gesang
Hi Paul, On 2011-05-20 11:24:31, Paul Menzel wrote: I finally had some time to try it out. Unfortunately the α is not printed either with the test file. Please find the resulting PDF file attached. of course latin modern doesn’t provide Greek letters yet -- you’ll need to load another font.

Re: [NTG-context] “deo” patterns?

2011-05-11 Thread Philipp Gesang
On 2011-05-11 09:20:30, Mojca Miklavec wrote: On Mon, May 9, 2011 at 11:08, Hans Hagen pra...@wxs.nl wrote: On 6-5-2011 7:31, Philipp Gesang wrote: Which makes context throw a “! Conflicting pattern ignored.” error over here. Did something change? If so, this should be reflected

[NTG-context] [ctx] s-mod fails with self-referential modules

2011-05-09 Thread Philipp Gesang
Hi all, there’s an issue with s-mod. Consider a test module “t-Test.mkiv”: ··8· \startmodule [Test] \unprotect %M \usemodule[Test] % -- calling itself in docstring \startinterface all \setinterfacevariable {Test} {testvariable}

Re: [NTG-context] [ctx] s-mod fails with self-referential modules

2011-05-09 Thread Philipp Gesang
On 2011-05-09 12:33:09, Wolfgang Schuster wrote: Am 09.05.2011 um 12:27 schrieb Philipp Gesang: Hi all, there’s an issue with s-mod. Consider a test module “t-Test.mkiv”: http://archive.contextgarden.net/message/20100819.180417.23069654.en.html Interesting. I knew this couldn’t

Re: [NTG-context] [t-rst] inclusion into Minimals, i. e. installation using `./first-setup.sh --extras='t-rst'`

2011-05-08 Thread Philipp Gesang
On 2011-05-07 17:45:47, Mojca Miklavec wrote: On Sat, May 7, 2011 at 12:19, Philipp Gesang wrote: 2. Until we do something about it, it would be very very desirable to put it to modules.contextgarden.net (I know that it is painful). If it’s possible now I’d try it asap. Did you

Re: [NTG-context] [t-rst] inclusion into Minimals, i. e. installation using `./first-setup.sh --extras='t-rst'`

2011-05-07 Thread Philipp Gesang
Hi Mojca all, On 2011-05-06 20:55:59, Mojca Miklavec wrote: On Wed, May 4, 2011 at 19:00, Philipp Gesang wrote: 1b. At least somebody needs to find it useful and request it (which you just did; should it also be added to TeX Live?). What would the inclusion into TL imply

Re: [NTG-context] [t-rst] inclusion into Minimals, i. e. installation using `./first-setup.sh --extras='t-rst'`

2011-05-07 Thread Philipp Gesang
On 2011-05-07 13:23:18, Wolfgang Schuster wrote: Am 07.05.2011 um 12:19 schrieb Philipp Gesang: Hi Mojca all, What would the inclusion into TL imply? That people using TeX Live could also install it. True, but I was, rather selfishly, thinking about what it would imply

[NTG-context] “deo” patterns?

2011-05-06 Thread Philipp Gesang
Hey all, the “deo” hyphenation does not appear to be accessible anymore. ··8· %\mainlanguage [deo] % neither of \language [deo] % these two works \starttext Fluß, Guß, Stuß. \stoptext

Re: [NTG-context] [t-rst] inclusion into Minimals, i. e. installation using `./first-setup.sh --extras='t-rst'`

2011-05-05 Thread Philipp Gesang
On 2011-05-04 18:02:44, Aditya Mahajan wrote: On Wed, 4 May 2011, Philipp Gesang wrote: Looks like context needs a package manager. (Something like Arch’s PKGBUILDs, stored on the garden, could simplify the minimals’ installation procedure a great deal.) https://github.com/adityam/context

[NTG-context] [garden] captcha: zip-code of Hasselt?

2011-05-05 Thread Philipp Gesang
Hi all, the wiki just asked me to verify my humanity through Hasselt’s zip code. From [1] I inferred that it would be the string “8061GH”, which was promptly rejected -- the next quiz proved to be easier and I finally won another wiki commit. Nevertheless I’d appreciate this mystery to be solved

Re: [NTG-context] [t-rst] inclusion into Minimals, i. e. installation using `./first-setup.sh --extras='t-rst'`

2011-05-04 Thread Philipp Gesang
Hi Paul, Mojca others, sorry for the late answer, I was cut off from the list for a couple of days. On 2011-05-01 13:18:05, Mojca Miklavec wrote: On Sun, May 1, 2011 at 12:18, Paul Menzel wrote: Dear Philipp and ConTeXt folks, what needs to be done, that the module t-rst [1] can be

Re: [NTG-context] modules with no author

2011-04-30 Thread Philipp Gesang
On 2011-04-27 21:52:04, Patrick Gundlach wrote: Hi, the modules Transliterator and Gantt (TikZ) don't have an author or files. I think they can be removed from modules.contextgarden.net. Any opinion? Patrick http://modules.contextgarden.net/gantt-tikz

Re: [NTG-context] t-filter: no table created when Unicode characters are included

2011-04-30 Thread Philipp Gesang
On 2011-04-29 23:09:42, Paul Menzel wrote: Dear ConTeXt folks, the filter module installed using $ ./first-setup.sh --extras=t-filter does not work with the following example, which is also attached. \usemodule[filter]

Re: [NTG-context] Finite state machine

2011-04-26 Thread Philipp Gesang
On 2011-04-26 15:38:43, Cecil Westerhof wrote: 2011/4/26 luigi scarso luigi.sca...@gmail.com: On Tue, Apr 26, 2011 at 3:14 PM, Cecil Westerhof cldwester...@gmail.com wrote: Is there a way to create finite state machines with ConTeXt? yes How? Do you want to *implement* a FSM or

Re: [NTG-context] Finite state machine

2011-04-26 Thread Philipp Gesang
On 2011-04-26 16:00:55, luigi scarso wrote: On Sun, Apr 24, 2011 at 8:10 PM, Philipp Gesang pges...@ix.urz.uni-heidelberg.de wrote: Whoa, you have seen these emails two days ago... No divination involved, just that the last sys update broke my ntp client … On 2011-04-26 15:38:43, Cecil

Re: [NTG-context] Footnotes: Individual number styles

2011-04-05 Thread Philipp Gesang
Hi C, On 2011-04-06 01:58:33, C. wrote: Sorry to bother again, but how do I change the style of the footnote number that is IN THE TEXT. Not the ones under the line, I can manipulate those with numbercommand. Let's just say I want a normal serif body text, but the footnote numbers are sans

Re: [NTG-context] x-ldx markup tags?

2011-03-25 Thread Philipp Gesang
On 2011-03-25 21:01:47, Hans Hagen wrote: On 15-3-2011 12:27, Philipp Gesang wrote: The elements are defined in the file x-ldx.tex which is no longer part of context (don’t know why). x-ldx.mkiv Hi Hans, the update just finished but: $ find ~/context -type f -name x-ldx* /home/kokytos

Re: [NTG-context] search path for require(...)

2011-03-24 Thread Philipp Gesang
On 2011-03-24 10:50:58, Ulrike Fischer wrote: I'm trying to store the virtual lua chess fonts I'm currently creating so that latex and context can use them. 1. At first I stored the vf-chess-XX.lua in tex/luatex. This works for latex but not for context. tex/generic works for both. 2.

Re: [NTG-context] Use date of the tex file in the document

2011-03-24 Thread Philipp Gesang
On 2011-03-24 10:26:00, Cecil Westerhof wrote: I would like to use the date of the document in the generated PDF. (It is not interesting when the PDF is generated, but when the source was last changed.) How would I do this? Hi Cecil, this solution checks only the main file, you’d have to

Re: [NTG-context] search path for require(...)

2011-03-24 Thread Philipp Gesang
On 2011-03-24 11:34:21, Ulrike Fischer wrote: Am Thu, 24 Mar 2011 11:14:00 +0100 schrieb Philipp Gesang: I'm trying to store the virtual lua chess fonts I'm currently creating so that latex and context can use them. 1. At first I stored the vf-chess-XX.lua in tex/luatex. This works

Re: [NTG-context] Use date of the tex file in the document

2011-03-24 Thread Philipp Gesang
On 2011-03-24 18:15:31, Cecil Westerhof wrote: 2011/3/24 Wolfgang Schuster schuster.wolfg...@googlemail.com Am 24.03.2011 um 17:29 schrieb Cecil Westerhof: \def\getdate% {\dosinglegroupempty\dogetdate} \def\dogetdate#1% {context{modification_date(\jobname.tex, #1)}}

Re: [NTG-context] Use date of the tex file in the document

2011-03-24 Thread Philipp Gesang
On 2011-03-24 18:42:12, Cecil Westerhof wrote: 2011/3/24 Philipp Gesang pges...@ix.urz.uni-heidelberg.de {\ctalua{context(modification_date(\jobname.tex, #1))}} ^ s/\\ctalua/\\ctxlua/ I have: \startluacode function modification_date(file, format) local f

Re: [NTG-context] Use date of the tex file in the document

2011-03-24 Thread Philipp Gesang
On 2011-03-25 00:30:40, Hans Hagen wrote: On 25-3-2011 12:08, Cecil Westerhof wrote: I made the code a little better: \startluacode os.setlocale(nl_NL) blocked in mkiv to prevent unwanted side effects and that will stay Still, one can access context’s language substitution tables to

Re: [NTG-context] Is it possible to keep the zoom mode when following a link

2011-03-21 Thread Philipp Gesang
On 2011-03-21 19:47:36, Cecil Westerhof wrote: When following a link in my generated PDF, acroread always goes to full page view. I would like that the document would stay in the same zoom and that what was linked to comes at the top of the page. (It is possible, because I have seen documents

[NTG-context] x-ldx markup tags?

2011-03-15 Thread Philipp Gesang
Hi all, the xml style docstrings for lua files are really useful but I still have no clue about what are valid tags. For instance - --[[ldx-- pDrop by at url href=http://pragma-ade.com//!/p --ldx]]--

Re: [NTG-context] x-ldx markup tags?

2011-03-15 Thread Philipp Gesang
On 2011-03-15 11:57:25, Wolfgang Schuster wrote: Am 15.03.2011 um 11:37 schrieb Philipp Gesang: Hi all, the xml style docstrings for lua files are really useful but I still have no clue about what are valid tags. For instance

Re: [NTG-context] Ideas for restructuring the ConTeXt garden?

2011-03-14 Thread Philipp Gesang
On 2011-03-13 23:12:36, Aditya Mahajan wrote: On Mon, 14 Mar 2011, Alasdair McAndrew wrote: Speaking as a raw ConTeXt beginner, I would find it very helpful to have a library of different styles: LaTeX, journal, conference and book styles. Although all the information is probably there, it

Re: [NTG-context] Does MKIV take more time as MKII

2011-03-14 Thread Philipp Gesang
On 2011-03-14 11:23:55, Cecil Westerhof wrote: I installed the minimals and use MKIV. It seems that it is 1,5 to 2 times as slow as the MKII I used in texlive. Is this possible, or should there be something else that is responsible for this? Hi Cecil, regarding luatex/mkiv performance there

Re: [NTG-context] extra line in tabulate headers

2011-03-10 Thread Philipp Gesang
On 2011-03-10 11:08:22, Florian Wobbe wrote: Hi, how can I suppress the extra line in the header of the example on contextgarden (http://wiki.contextgarden.net/Tabulate#Headers)? Removing header=repeat from \setuptabulate helps but I'd like to keep header repetition. Hi Florian, wrapping

Re: [NTG-context] extra line in tabulate headers

2011-03-10 Thread Philipp Gesang
On 2011-03-10 11:53:11, Florian Wobbe wrote: how can I suppress the extra line in the header of the example on contextgarden (http://wiki.contextgarden.net/Tabulate#Headers)? Removing header=repeat from \setuptabulate helps but I'd like to keep header repetition. Hi Florian,

[NTG-context] structure head alignment nullifies spaceskip

2011-03-06 Thread Philipp Gesang
Hi, is there a way to have \spaceskip working in a centered section head? I have something similar to these exaggerated values: ··8· \def\broadspacing{% \dontleavehmode% \spaceskip 1em plus .5em minus .5em% } \starttext

Re: [NTG-context] structure head alignment nullifies spaceskip

2011-03-06 Thread Philipp Gesang
On 2011-03-06 21:15:44, Wolfgang Schuster wrote: Am 06.03.2011 um 17:33 schrieb Philipp Gesang: Hi, is there a way to have \spaceskip working in a centered section head? I have something similar to these exaggerated values: ··8

Re: [NTG-context] structure head alignment nullifies spaceskip

2011-03-06 Thread Philipp Gesang
On 2011-03-06 23:03:17, Wolfgang Schuster wrote: Am 06.03.2011 um 22:41 schrieb Philipp Gesang: Thanks a lot, Wolfgang, I hadn’t thought of “textcommand”. Headings work (and look) like a charm now. This can also be of interest for you (copied from the source): \setuphead[section

Re: [NTG-context] structure head alignment nullifies spaceskip

2011-03-06 Thread Philipp Gesang
On 2011-03-06 23:34:00, Wolfgang Schuster wrote: Am 06.03.2011 um 23:25 schrieb Philipp Gesang: On 2011-03-06 23:03:17, Wolfgang Schuster wrote: Am 06.03.2011 um 22:41 schrieb Philipp Gesang: Thanks a lot, Wolfgang, I hadn’t thought of “textcommand”. Headings work (and look

Re: [NTG-context] Third field of useURL

2011-03-05 Thread Philipp Gesang
On 2011-03-05 19:33:45, Cecil Westerhof wrote: At http://wiki.contextgarden.net/Reference/en/useURL there is a description of useURL. I am using it for HTTP and e-mail referencing. But I do not understand where the third parameter is used for, Good evening, Cecil There’s a minimal explanation

Re: [NTG-context] TaBlE from Lua

2011-02-23 Thread Philipp Gesang
On 2011-02-23 17:07:38, Daniel Lyons wrote: Is there a convenient way to create TaBlE tables from Lua? If so, where can I read about it? Good evening, Daniel! [-1] Isn’t TaBlE deprecated? http://wiki.contextgarden.net/Tables_Overview [0] If you aim for convenience, wouldn’t you rather want

[NTG-context] \useexternalfigure globally? (+minor issues)

2011-02-22 Thread Philipp Gesang
Hi all, [1] in grph-fig.mkiv, “\useexternalfigure” is declared twice in exactly the same way (ll. 124 and 132). [2] “\showexternalfigures” does not seem to work in mkiv (fails at “\startXMLmapping”), is there an alternative? [3] Is there a way to globally declare an externalfigure from

Re: [NTG-context] \useexternalfigure globally? (+minor issues)

2011-02-22 Thread Philipp Gesang
On 2011-02-22 22:46:20, Wolfgang Schuster wrote: Am 22.02.2011 um 22:25 schrieb Philipp Gesang: Hi all, [3] Is there a way to globally declare an externalfigure from inside a group? So that in the following example, the second reference to “kuh” succeeds. ···8

Re: [NTG-context] \useexternalfigure globally? (+minor issues)

2011-02-22 Thread Philipp Gesang
On 2011-02-22 23:22:17, Wolfgang Schuster wrote: Am 22.02.2011 um 23:18 schrieb Philipp Gesang: On 2011-02-22 22:46:20, Wolfgang Schuster wrote: Am 22.02.2011 um 22:25 schrieb Philipp Gesang: Hi all, [3] Is there a way to globally declare an externalfigure from inside

Re: [NTG-context] Guttenberg's dissertation typeset in ConTeXt

2011-02-21 Thread Philipp Gesang
On 2011-02-21 17:43:08, Arthur Reutenauer wrote: Did anyone on this list know (or did anyone notice yet) that the print version of the much-discussed dissertation by Karl-Theodor zu Guttenberg was (allegedly) typeset in ConTeXt? From my German colleague: We should test if he masters

Re: [NTG-context] Learning LuaTeX : Invoice

2011-02-20 Thread Philipp Gesang
Hi Hraban! On 2011-02-20 20:16:03, Henning Hraban Ramm wrote: … / I'll wikify my invoice sample soon. LuaTeX docs in the wiki are a bit scattered ATM... (e.g. Lua, LuaTeX, CLD and MkIV all explain LuaTeX basics) “Lua” is intended to be some kind of portal for all topics related to Lua

Re: [NTG-context] drop-cap quote character

2011-02-18 Thread Philipp Gesang
On 2011-02-17 01:30:28, Daniel Lyons wrote: Ideally, \DropCap would notice a piece of leading punctuation and drop it as well. Instead, it seems to look at the punctuation and give up. Example: \def\Drop {\DroppedCaps {} {Serif} {4\baselineskip} {2pt} {2\baselineskip} {3}}

Re: [NTG-context] What is preloaded by “mtxrun --script”?

2011-02-17 Thread Philipp Gesang
On 2011-02-16 23:59:15, Hans Hagen wrote: On 16-2-2011 11:44, Philipp Gesang wrote: Hi all, I noticed that although mtxrun preloads some of the context libs that doesn’t cover everything available during an ordinary mkiv run. What would be the canonical way to load additional libs like

[NTG-context] What is preloaded by “mtxrun --script”?

2011-02-16 Thread Philipp Gesang
Hi all, I noticed that although mtxrun preloads some of the context libs that doesn’t cover everything available during an ordinary mkiv run. What would be the canonical way to load additional libs like “luat-ini” c. on demand? “environment.loadluafile()”? Can this be configured globally? Is it

Re: [NTG-context] prevent gobbling of spaces when omitting optional argument

2011-01-29 Thread Philipp Gesang
Hi Florian! On 2011-01-29 17:21:26, Florian Wobbe wrote: % \one, \one[…] and \one[…][…] (no spaces between “[][]” allowed) \def\one \unexpanded\def\one % should make it work in footnotes Philipp {\strictdoifnextoptionalelse\doone\noone} \def\noone{[]} \def\doone[#1]%

Re: [NTG-context] Computer Modern Typewriter Proportional

2011-01-10 Thread Philipp Gesang
On 2011-01-09 19:31:24, Raymond LeClair wrote: Does anyone know how the Computer Modern Typewriter Proportional font would be specified in ConTeXt? In Latex is is specified as follows: \usepackage[T1]{fontenc} \renewcommand*\ttdefault{cmvtt} \renewcommand*\familydefault{\ttdefault} %%

Re: [NTG-context] \setupinterlinespace questions

2011-01-10 Thread Philipp Gesang
On 2011-01-10 20:41:23, Florian Wobbe wrote: Hi, a) this minimal example does not work as expected. The first column is not justified correctly on top. This does not change, even when swapping small, big, medium (e.g. make 1st col medium and 2nd small). The offset stays the same

Re: [NTG-context] [OT] Public Fonts for Minority Languages of Russia

2011-01-05 Thread Philipp Gesang
subtitle=ParaType Free Fonts, %D author=Philipp Gesang, %D date=\currentdate, %D copyright=Philipp Gesang] %C Get the ParaType free sans and serif fonts at %C http://www.paratype.com/public/ %C Serif %C PTF55F.ttf - PTSerif-Regular %C PTF56F.ttf - PTSerif-Italic %C PTF75F.ttf

Re: [NTG-context] Problem with encoding

2010-12-21 Thread Philipp Gesang
On 2010-12-21 11:11:33, Arthur Reutenauer wrote: BTW: What is the difference what the COUNTRY code and the LANGUAGE code affects? In your case, you should use a language code since you want to set a language. ConTeXt has used different sets of codes in the past, but we now try to

Re: [NTG-context] Problem with encoding

2010-12-21 Thread Philipp Gesang
On 2010-12-21 12:19:15, Philipp Gesang wrote: Attic instead of “grc” or “el-polyton”. (Testfile appended.) Sorry for the mess, test file *now* appended … -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments % http://unicode.org/cldr

[NTG-context] [ac...@jander.de: Re: startcolumns: text runs into footer]

2010-12-20 Thread Philipp Gesang
- Forwarded message from ac...@jander.de - Date: Mon, 20 Dec 2010 09:12:37 +0100 From: ac...@jander.de To: Philipp Gesang pges...@ix.urz.uni-heidelberg.de Subject: Re: [NTG-context] startcolumns: text runs into footer User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) Hi Philipp, thank you for your

Re: [NTG-context] running headers on postponed makeup

2010-12-19 Thread Philipp Gesang
On 2010-12-18 21:06:11, Hans Hagen wrote: On 18-12-2010 6:12, Philipp Gesang wrote: after discovering postponed insertions I encountered a problem when combining it with the makeup mechanism I am so fond of. The next beta will have changes mark behaviour: no reset in everyforget cases

Re: [NTG-context] startcolumns: text runs into footer

2010-12-19 Thread Philipp Gesang
Hi Achim! On 2010-12-19 13:09:51, Achim Jander wrote: Hi at all, now I've run into the next problem: Trying to set text in 2 columns. Even in the simples case: \showframe \starttext \startcolumns \dorecurse{20}{\input knuth} \stopcolumns \stoptext The text goes ca 1 line

Re: [NTG-context] why lua?

2010-12-18 Thread Philipp Gesang
On 2010-12-18 01:50:29, Philipp A. wrote: snip lines=some/ well, i just like it. and since i don’t know lua (well, that’s not exactly true, but i can’t write a normal sized script without looking things up), and tend to do things like i would do them in other languages i know. e.g.: how do

Re: [NTG-context] why lua?

2010-12-18 Thread Philipp Gesang
On 2010-12-18 12:35:38, Hans Hagen wrote: On 18-12-2010 12:03, Philipp Gesang wrote: Depending on whether you want to access the non-hashed content as well you might want to use the “next” iterator instead as it’s slightly faster (according to my tests, that is). You won’t get around

Re: [NTG-context] why lua?

2010-12-18 Thread Philipp Gesang
On 2010-12-18 14:20:46, Hans Hagen wrote: On 18-12-2010 2:06, Philipp Gesang wrote: What always baffled me is that in the manual Roberto advertises ipairs() as the iterator of choice (at least in the v.5.0 doc). Compared to the other options using it is just, well, erratic. I did lots

[NTG-context] running headers on postponed makeup

2010-12-18 Thread Philipp Gesang
Hi all, after discovering postponed insertions I encountered a problem when combining it with the makeup mechanism I am so fond of. ···8 \definemakeup[my] \setupmakeup[my][ headerstate=start, page=yes, ] \startbuffer[mkup]

Re: [NTG-context] why lua?

2010-12-17 Thread Philipp Gesang
On 2010-12-17 16:20:31, Jonas Stein wrote: i'd like to make a small presentation for friends about context. Why do we use lua and not python or perl or... Where can i find the features for lua for this job? After all those arguments in favor of Lua the only thing I can add are valid reasons

[NTG-context] listalternative “d” and \[ start|stop]narrower

2010-12-16 Thread Philipp Gesang
Hi all, is it possible somehow (in mkiv) to setup the list alternative “d” to resemble this example from the source (works in mkii, slightly shortened) with narrower to the left and the right? ···8 %\setupinteraction[state=start]

Re: [NTG-context] listalternative “d” and \[ start|stop]narrower

2010-12-16 Thread Philipp Gesang
On 2010-12-16 13:24:27, Wolfgang Schuster wrote: Am 16.12.2010 um 13:17 schrieb Philipp Gesang: Hi all, is it possible somehow (in mkiv) to setup the list alternative “d” to resemble this example from the source (works in mkii, slightly shortened) with narrower to the left

Re: [NTG-context] Module Namespaces

2010-12-10 Thread Philipp Gesang
Dear Hans, On 2010-12-06 17:50:15, Hans Hagen wrote: On 29-11-2010 7:52, Philipp Gesang wrote: If I may add to this question: I am using “job.variables” as kind of base for my private use area (not for modules, though) -- bad habit or valid alternative? bad habit .. use documentdata.pg

Re: [NTG-context] Re;Help TABLE

2010-12-10 Thread Philipp Gesang
Hi Barney, On 2010-12-10 15:30:04, barney schwartz wrote: Hans, guess I didn't explain wel enough. Using Wolfgang's TABLE module \bTABLE \bTABLEhead \bTR \bTH Group \eTH \bTH N \eTH \bTH MEAN \eTH \bTH STD \eTH \bTH MIN \eTH \bTH MAX \eTH \bTH Gini \eTH \bTH 80/20 \eTH \eTR

[NTG-context] heading in margin + paragraph starting with float

2010-12-07 Thread Philipp Gesang
Dear fellow contextualists, a while ago Wolfgang saved me from erratic blank lines that had kept appearing next to margin headings.[1] Now the problem arose again when starting the first paragraph with a caption. Placement does not seem to effect this (try “bottom”, but at sufficiently large

Re: [NTG-context] Typescript Bodoni Old Fashion

2010-12-05 Thread Philipp Gesang
On 2010-12-04 17:38:07, Mojca Miklavec wrote: On Fri, Dec 3, 2010 at 23:57, Philipp Gesang wrote: [2] Can we get the strings      \definesystemconstant{SerifSemiBold}      \definesystemconstant{SerifSemiBoldItalic}    added to mult-sys.mkiv? This would allow the use of    “\s

[NTG-context] substitute glyphs from another font

2010-12-05 Thread Philipp Gesang
Hi again, the font I want to use keeps, despite its being otf, small caps and text figures in a separate file, not as features. I’m fine with the caps but I really need text figures as default and a switch to lining figures for the occasional table. Is there a way for typeface A to globally

Re: [NTG-context] Typescript Bodoni Old Fashion

2010-12-04 Thread Philipp Gesang
On 2010-12-04 15:29:56, Wolfgang Schuster wrote: Am 03.12.2010 um 23:57 schrieb Philipp Gesang: Hi all, [1] I just bought the Bodoni Old Fashion fonts from URW and made a typescript. It is attached to this mail (plus a test file for whoever needs it). Maybe it could

Re: [NTG-context] Typescript Bodoni Old Fashion

2010-12-04 Thread Philipp Gesang
It’s a bit late already over here, so I just forgot the revised typescript … On 2010-12-04 23:48:27, Philipp Gesang wrote: On 2010-12-04 15:29:56, Wolfgang Schuster wrote: Am 03.12.2010 um 23:57 schrieb Philipp Gesang: Hi all, [1] I just bought the Bodoni Old Fashion fonts

Re: [NTG-context] howto make hyperrefs? (url/mail)

2010-12-03 Thread Philipp Gesang
Hi Jonas, in context the hyperlink stuff is called “interaction”. On 2010-12-03 19:56:50, Jonas Stein wrote: i saw it once in the documentation but i dont find it again now. * http://wiki.contextgarden.net/url * http://wiki.contextgarden.net/Interaction How can i make a mailaddress

[NTG-context] Typescript Bodoni Old Fashion

2010-12-03 Thread Philipp Gesang
[ file=type-bodoniof, %Dversion=2010-12-03 23:47:43+0100, %D title=\CONTEXT\ Typescript Macros, %D subtitle=Font Definitions for URW++ Bodoni Old Fashion, %D author=Philipp Gesang, %D date=\currentdate, %D copyright=Philipp Gesang] %C %C

Re: [NTG-context] Module Namespaces

2010-11-29 Thread Philipp Gesang
Hi all, On 2010-11-29 19:17:00, Wolfgang Schuster wrote: Am 18.11.2010 um 19:33 schrieb luigi scarso: I just want to register my namespace(s) to be sure to avoid conflicts not only for modules but also for lua code Good idea and it’s not a problem to reserve „lscarso“ for you but i

[NTG-context] referencing position on page in index

2010-11-23 Thread Philipp Gesang
Hi all, one of my favorite grammars contains rather elaborated indices: to a given entry they not only list the page numbers, but also the position on the respective page. To this end any page is subdivided into four regions to which the entries may refer separately. For instance, these

[NTG-context] heading in margin + grid

2010-11-21 Thread Philipp Gesang
Dear fellow Contexters, there are some subheadings I’d like to place in the margin approximately like that: ···8 \def\text{knuth} \setuplayout[grid=yes] \showgrid \setuphead[section][ %grid=yes, style={\tf\bf\color[red]},

<    1   2   3   4   5   6   >