Re: [NTG-context] heading in margin + grid

2010-11-21 Thread Philipp Gesang
On 2010-11-21 13:22:32, Wolfgang Schuster wrote: Am 21.11.2010 um 12:28 schrieb Philipp Gesang: Dear fellow Contexters, there are some subheadings I’d like to place in the margin approximately like that: \setuplayout[grid=yes]\showgrid \define[2]\SectionCommand

Re: [NTG-context] \definenamespace (was: The visual counter module)

2010-11-18 Thread Philipp Gesang
On 2010-11-18 04:56:27, Wolfgang Schuster wrote: Am 18.11.2010 um 01:36 schrieb Philipp Gesang: Hi Wolfgang, of course you are always welcome to deliver this kind of thorough discussion! The wiki is grateful … Just two keys remain unexplained: “version” and “comment”. I guess

Re: [NTG-context] Module Namespaces

2010-11-18 Thread Philipp Gesang
On 2010-11-18 10:13:07, luigi scarso wrote: Nice http://wiki.contextgarden.net/Module_Namespaces Can I register lscarso[a-zA-Z]* ? Maybe we should consider an auction; in the future this could get as busy as trading domain names. Philipp -- luigi

Re: [NTG-context] The visual counter module

2010-11-17 Thread Philipp Gesang
On 2010-11-14 18:16:05, Aditya Mahajan wrote: snip/ The module only works with MkIV because I am using the new namespace code. So MkII support is unlikely. Hi Aditya, you seem to be familiar with some of the features of the new namespace model that I was not able to infer from Wolfgang’s

Re: [NTG-context] \definenamespace (was: The visual counter module)

2010-11-17 Thread Philipp Gesang
On 2010-11-17 22:53:20, Wolfgang Schuster wrote: Am 17.11.2010 um 20:10 schrieb Philipp Gesang: Hi Aditya, you seem to be familiar with some of the features of the new namespace model that I was not able to infer from Wolfgang’s code. Could you please comment on what the keys

[NTG-context] column breaks and TABLE

2010-11-14 Thread Philipp Gesang
Hi all, with natural tables I can’t seem to get column breaks right. Example: ··8· \setuppapersize[A5][A5] \definecolumnset[three][n=3] \starttext \startcolumnset[three] \dorecurse{5}{ \subject{Test nr. \recurselevel} Some

Re: [NTG-context] Wiki: ConTeXt vs. LaTeX and others

2010-11-04 Thread Philipp Gesang
On 2010-11-04 15:18:24, Jonas Stein wrote: for many users it is interesting, to get an overview how problems are solved in ConTeXt compared to the other TeX-Flavours. I like the wikimatrix for Wikis and i thought it could be nice to have a simple matrix for TeX. I started a table in the

Re: [NTG-context] transliteration russian

2010-10-30 Thread Philipp Gesang
On 2010-10-30 01:06:33, Andrzej Orłowski-Skoczyk wrote: On 10/30/2010 12:47 AM, Philipp Gesang wrote: As others already pointed out, with a small number of strings Steffen might get acceptable results by using the patterns of a similar language. Although real transliterations work best

[NTG-context] tex.toks cld -- something weird

2010-10-30 Thread Philipp Gesang
Hi all, while playing with the new extended cld stuff I encountered this: 8--- context.starttext() context(\\toks0 = {Something}) context(\\the\\toks0) -- works --context(tex.toks[0]) -- fails

Re: [NTG-context] transliteration russian

2010-10-29 Thread Philipp Gesang
On 2010-10-29 23:25:20, Mojca Miklavec wrote: The best thing to do would be to transliterate Russian patterns into Latin script (under one condition: transliteration needs to be one-to-one; if one cyrillic glyph transliterates into two latin The one in question is rather a transcription

Re: [NTG-context] hyphenated url

2010-10-28 Thread Philipp Gesang
On 2010-10-28 08:46:55, Steffen Wolfrum wrote: Am 28.10.2010 um 00:05 schrieb Philipp Gesang: % Usage example here: \startuseURL[anotherurl][urldescription] http://test%it.example.com \stopuseURL \starttext \from[anotherurl]\par \url[anotherurl]\par Test.\footnote

[NTG-context] line correction and section marking

2010-10-27 Thread Philipp Gesang
Hi all, line corrected headings seem to lose their marking. ···8 \showgrid \setuppagenumbering[state=start,alternative=doublesided,location=] \setuplayout[grid=yes] \setupheadertexts [{\tfx\sc\getmarking[section]}]

Re: [NTG-context] hyphenated url

2010-10-27 Thread Philipp Gesang
\letterpercent of\letterpercent Lisbontreaty\letterpercent on\letterpercent tradepolicy.pdf] test \from[aurl] text \stoptext Steffen Am 25.10.2010 um 15:12 schrieb Philipp Gesang: On 2010-10-25 12:45:17, Steffen Wolfrum wrote: Am 25.10.2010 um 12:26 schrieb Philipp Gesang

Re: [NTG-context] hyphenated url

2010-10-25 Thread Philipp Gesang
On 2010-10-25 10:25:55, Steffen Wolfrum wrote: Hi, the % is a frequently used character in URL. But \hyphenatedurl{} can deal with it ... Does someone has a fix? \starttext text\footnote{test \hyphenatedurl{www.test%it.com} test.} text. Ugly, but it works: text\footnote{test

Re: [NTG-context] hyphenated url

2010-10-25 Thread Philipp Gesang
On 2010-10-25 11:39:12, Steffen Wolfrum wrote: Am 25.10.2010 um 11:16 schrieb Philipp Gesang: On 2010-10-25 10:25:55, Steffen Wolfrum wrote: Hi, the % is a frequently used character in URL. But \hyphenatedurl{} can deal with it ... Does someone has a fix? \starttext

Re: [NTG-context] hyphenated url

2010-10-25 Thread Philipp Gesang
On 2010-10-25 12:05:37, Steffen Wolfrum wrote: \let\normalhyphenatedurl\hyphenatedurl \bgroup \catcode`\%=11 \gdef\hyphenatedurl \unexpanded\gdef\hyphenatedurl Should work in footnotes. Regards, Philipp {\bgroup \catcode`\%=11 \expandafter\egroup \normalhyphenatedurl}

Re: [NTG-context] hyphenated url

2010-10-25 Thread Philipp Gesang
On 2010-10-25 12:45:17, Steffen Wolfrum wrote: Am 25.10.2010 um 12:26 schrieb Philipp Gesang: \unexpanded\gdef\hyphenatedurl Should work in footnotes. Regards, Philipp No, it doesn't (see below). Do you have an other idea? Right; it works in footnotes but doesn’t accomplish what

Re: [NTG-context] hyphenated url

2010-10-25 Thread Philipp Gesang
On 2010-10-25 17:00:39, Aditya Mahajan wrote: On Mon, 25 Oct 2010, Steffen Wolfrum wrote: Am 25.10.2010 um 19:30 schrieb Aditya Mahajan: On Mon, 25 Oct 2010, Steffen Wolfrum wrote: Hi, the % is a frequently used character in URL. But \hyphenatedurl{} can deal with it ... Does

Re: [NTG-context] frameoffset by direction

2010-10-23 Thread Philipp Gesang
On 2010-10-23 06:16:22, Wolfgang Schuster wrote: There is only one offset for the frame but you can set different offsets for the content, e.g. Awesome, thanks! Btw, during wikification I noticed that the context tag urgently needs to be relinked to mkiv lest we run out of displayable

[NTG-context] frameoffset by direction

2010-10-22 Thread Philipp Gesang
Hi again, is there a way to specify the frame offset of ‘\framed’ for vertical and horizontal orientations separately? Consider this example: ···8 \starttext \framed[frameoffset=1em,width=5cm,height=5.5cm,align=lohi]{\input ward }

Re: [NTG-context] itemize

2010-10-20 Thread Philipp Gesang
On 2010-10-20 10:33:40, Herbert Voss wrote: In the documentation I found \setupitemgroup, \setupitemize and in the list of all commands \setupitems. I didn't find any example for the \setupitems. However, I can set all parameters with the other two commands. So the question is: when do I need

[NTG-context] quoted environment arguments

2010-10-18 Thread Philipp Gesang
Hi, there’s a behaviour concerning how context handles forced quotes in command line arguments that I do not understand. ··· example ··· for i=-1,#environment.rawarguments do print(i, environment.rawarguments[i],

[NTG-context] mnmls under windows

2010-10-14 Thread Philipp Gesang
Hi all, I just discovered that the windows pcs in the library have certain adobe stuff installed that comes with a neat collection of adobe fonts. So I thought I’d want to use them in context and prepared a minimals for windows on a usb stick using wine. I haven’t used windows in ages so I’d

[NTG-context] vertical space between \framed’ s

2010-10-13 Thread Philipp Gesang
Hi, how do I get rid of the space between two consecutive framed texts? In the following example: ···8 \def\testbox{\framed[frame=on,width=2em,height=2em]{A\par}} \setupinterlinespace[0pt] \starttext \testbox\testbox \stoptext

Re: [NTG-context] vertical space between \framed’s

2010-10-13 Thread Philipp Gesang
On 2010-10-13 10:58:51, Andreas Harder wrote: Am 13.10.2010 um 10:54 schrieb Philipp Gesang: Hi, how do I get rid of the space between two consecutive framed texts? In the following example: I think its \interlineskip: \testbox\nointerlineskip\testbox Thanks, that does

Re: [NTG-context] vertical space between \framed’s

2010-10-13 Thread Philipp Gesang
On 2010-10-13 11:33:24, Wolfgang Schuster wrote: Am 13.10.2010 um 11:25 schrieb Philipp Gesang: \testbox\nointerlineskip\testbox Thanks, that does it. Is there, perhaps, an ‘official’ setup for this? The small space is inserted by *TeX* and you shouldn’t change this at the global

Re: [NTG-context] two buglets

2010-10-05 Thread Philipp Gesang
On 2010-10-03 17:43:21, Thomas A. Schmitz wrote: OK, I'll write something for German and English, but the thing is that we need more input what users expect. For mixtures with foreign languages, there might not be generally accepted rules at all, so people will define something on an ad-hoc

Re: [NTG-context] two buglets

2010-10-05 Thread Philipp Gesang
On 2010-10-05 15:29:38, Thomas A. Schmitz wrote: And someone (me) might say that they want three Greek terms in their German index at logical places. Try the definitions in the attachment. For three words only they will be fine. But if the count

Re: [NTG-context] \definenamespace and module setup (was: Info about creating modules for beginners.)

2010-09-27 Thread Philipp Gesang
Hi all! On 2010-09-25 19:35:31, Wolfgang Schuster wrote: Am 25.09.2010 um 17:07 schrieb Philipp Gesang: Could you please explain what these other parameters do: style=yes, parent=fb Also, what other values would the parameter ‘setup’ accept besides ‘list’? I’ll come back

[NTG-context] \definenamespace and module setup (was: Info about creating modules for beginners.)

2010-09-25 Thread Philipp Gesang
On 2010-09-23 23:43:15, Wolfgang Schuster wrote: These are namespaces but you don't need these constructs anymore in mkiv because there is now a \definenamespace command which takes care of this. Hi Wolfgang, following your fancybreak module I put together dummy module.

Re: [NTG-context] Lua:mplib

2010-09-23 Thread Philipp Gesang
On 2010-09-23 09:53:38, Procházka Lukáš wrote: So I'd like to find a tutorial or examples or a deeper reference about how to call MP via Lua from ConTeXt. - Any idea? Hi Lukáš, this doesn't seem to be implemented yet, cf. this post:

Re: [NTG-context] Lettrines in MkIV

2010-09-23 Thread Philipp Gesang
On 2010-09-21 21:47:35, Hans Hagen wrote: On 21-9-2010 8:39, Philipp Gesang wrote: * Can be circumvented via “\dontleavehmode”. Alan ran into this at the ctx conference and it is under investigation. Hi, in case this helps with debugging: you can’t work around the issue by means

Re: [NTG-context] Lettrines in MkIV

2010-09-23 Thread Philipp Gesang
On 2010-09-23 12:24:05, Aditya Mahajan wrote: On Thu, 23 Sep 2010, Alan BRASLAU wrote: On Thursday 23 September 2010 15:49:07 Hans Hagen wrote: we know and we will take a look at it next week (as it takes some time to nail down node allocation bugs) As Hans indicated, he is aware of

Re: [NTG-context] new beta

2010-09-22 Thread Philipp Gesang
On 2010-09-22 09:43:21, Hans Hagen wrote: Hi, I'm dealing with the bugs/anomalies/wishes that showed up during the ctx conference. The following has been done so far: (1) With respect to registers, Jano had a wish to deal with mixed language indexes. As a result the current sorting code

Re: [NTG-context] new beta

2010-09-22 Thread Philipp Gesang
On 2010-09-22 12:22:12, Hans Hagen wrote: On 22-9-2010 12:13, Philipp Gesang wrote: Great news! At the moment I’m reading the new language definitions. How exactly do I set the “method” switch on a per-language basis? each definition can have a method key/value and it can be overloaded

[NTG-context] Lettrines in MkIV

2010-09-21 Thread Philipp Gesang
Hi all, the lettrine module leads to an error with this example and MkIV. MkII is fine. 8··· \usemodule[lettrine] \starttext \chapter{And Now: an Error} \lettrine{E}{rror} \stoptext

[NTG-context] offset for enumeration counter

2010-09-17 Thread Philipp Gesang
Hi all, some specification requests that a numbered list start at arbitrary counter values. I'm using the following line after “\startitemize[...]” to accomplish this: ··8· \setnumber[itemgroup:itemize]{42}

Re: [NTG-context] offset for enumeration counter

2010-09-17 Thread Philipp Gesang
On 2010-09-17 12:31:41, Wolfgang Schuster wrote: \starttext \startitemize[n][start=30] \dorecurse{4}{\item text} \stopitemize \stoptext Great, that's exactly what I was looking for. Now that we're at it: actually the spec wants this on per-item basis. This would amount to having another

Re: [NTG-context] offset for enumeration counter

2010-09-17 Thread Philipp Gesang
On 2010-09-17 15:02:00, Wolfgang Schuster wrote: Am 17.09.2010 um 13:11 schrieb Philipp Gesang: Regardless of if there's a practical use for that: is this possible as well without resorting to repeated \setnumber'ing? \starttext \startitemize \sym{1.} text \sym{2.} text \sym{4.} text

Re: [NTG-context] \setuplines[space=on] (was: HOWTO: Typesetting Poetry in ConTeXt)

2010-09-16 Thread Philipp Gesang
On 2010-09-15 22:26:38, John Haltiwanger wrote: Apologies, as a very significant aspect of this process was omitted in the previous email! Don't forget to do: \setuplines[space=on] Hi all, I'm sorry to hijack the thread but I have trouble understanding how the [space=on] works. In the

[NTG-context] natural tables -- split 'n grid

2010-09-11 Thread Philipp Gesang
Hi, line correction leads to unwanted vertical spacing in split natural tables. Example (in both MkII and MkIV): ··8· %\setuplayout[grid=yes] % not required to reproduce it \starttext \dorecurse{4}{\input knuth\par} \startlinecorrection

Re: [NTG-context] ConTeXt Minimals: some statistics of usage

2010-09-04 Thread Philipp Gesang
On 02/09/2010, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: Hello, As I have promised some time ago here is some raw statistics from the last month (older statistics is not kept on server): There are 29917 different jobs. There are 379 different IP numbers. Hi Mojca, have you

Re: [NTG-context] questions regarding `\date`

2010-08-31 Thread Philipp Gesang
Hi Paul, On 2010-08-31 10:29:39, Paul Menzel wrote: 3. Spacing between numbers. Using LaTeX there were some suggestions to typeset a date using small spaces like `29.\,8.\,2010`. I guess this depends on the fonts used and personal taste? If there is a rule, maybe that could be added to

Re: [NTG-context] questions regarding `\date`

2010-08-31 Thread Philipp Gesang
On 2010-08-31 13:41:06, Taco Hoekwater wrote: On 08/31/2010 11:48 AM, Philipp Gesang wrote: unfortunately I can only come up with a negative answer: I skimmed the Bringhurst and although he does discuss date strings with slashes as separators, The Chicago manual (14ed) says that slashed

[NTG-context] io.readnumber / l-io.lua (with patch)

2010-08-30 Thread Philipp Gesang
Hi, the function io.readnumber fails to call itself. I append a patch. Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments --- l-io.lua2010-08-18 17:37:25.0 +0200 +++

Re: [NTG-context] collecting user wishes for streams related functionalities

2010-08-20 Thread Philipp Gesang
On 2010-08-19 00:18:49, Hans Hagen wrote: On 18-8-2010 4:52, Kevin D. Robbins wrote: Hi everyone, I second the request to support horizontally split page layouts with one stream typeset above another on each page. it would help to see mockups for such requests I got a less complex

Re: [NTG-context] polish sorting

2010-08-19 Thread Philipp Gesang
Hagen wrote: On 18-8-2010 6:08, Philipp Gesang wrote: Hi, I'm creating some sorting tables. While researching this topic I stumbled on the Polish dictionary sorting rules: if two strings are equal except for case then the one gets precedence that begins lowercase.[1] (This seems to apply

Re: [NTG-context] polish sorting

2010-08-19 Thread Philipp Gesang
On 2010-08-19 11:41:43, Hans Hagen wrote: Hi, a aaa 1 Aaa 1 aab 1 Aab 1 aaa aab Aaa Aab so, what order do you expect here? Exactly this! Could you please post an example how to achieve this in lua using comparers.basic (the registers implementation gives me headaches)? And how

Re: [NTG-context] collecting user wishes for streams related functionalities

2010-08-18 Thread Philipp Gesang
On 2010-08-18 06:23:20, Salil Sayed wrote: Hi All, Hans will starting looking into the development of 'streams' for mkvi soon. So let us gather our wishes for these functions so that the interface can be well thought of beforehand. Please respond to this thread with your wishes

[NTG-context] polish sorting

2010-08-18 Thread Philipp Gesang
Hi, I'm creating some sorting tables. While researching this topic I stumbled on the Polish dictionary sorting rules: if two strings are equal except for case then the one gets precedence that begins lowercase.[1] (This seems to apply to the Swedish order as well but I have no means to verify

[NTG-context] interface file parameter

2010-08-16 Thread Philipp Gesang
Hi all, in an interface xml definition, what is the notation for an argument value that is a filename? I'm just unsure whether to specify it as “cd:text” or “cd:name”. Example: ···8·· cd:parameter name=file cd:constant

Re: [NTG-context] interface file parameter

2010-08-16 Thread Philipp Gesang
Wolfgang, Taco: thanks very much for your answers! Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgp9AEU2tYYAp.pgp Description: PGP signature

Re: [NTG-context] other markup to ConTeXt

2010-08-14 Thread Philipp Gesang
On 2010-08-14 07:19:17, Gour D. wrote: Finally, for the high-quality output, we plan to convert to ConTeXt (via pandoc since there is no ConTeXt writer for sphinx/docutils) for high-quality PDF output (if rst2pdf won't be satisfying or if we would like to provide paper putput. Hi Gour,

Re: [NTG-context] other markup to ConTeXt

2010-08-14 Thread Philipp Gesang
On 2010-08-14 11:52:12, Hans Hagen wrote: On 14-8-2010 11:23, Philipp Gesang wrote: Has somebody already made some steps in that way? (I'm thinking about doing so for quite some time now but then, it's not that pressing either.) is there a precise spec? You mean something like

Re: [NTG-context] checking for module parameters

2010-08-13 Thread Philipp Gesang
On 2010-08-13 05:16:40, Wolfgang Schuster wrote: Am 13.08.10 00:20, schrieb Philipp Gesang: Hi, is there a way to check whether an option was specified through \usemodule? Couldn't find anything like that in core-fil.mkiv. I'd imagined some branching as with the system macros

Re: [NTG-context] Footnote numbers not following \setupinteraction color

2010-08-13 Thread Philipp Gesang
On 2010-08-13 17:54:02, John Haltiwanger wrote: I seem to be full of problems today: --- \setupcolors[state=start] \setupinteraction[state=start, color=black] Hi John, it's a link to the same page: \setupinteraction[state=start, color=black, contrastcolor=black] should

[NTG-context] checking for module parameters

2010-08-12 Thread Philipp Gesang
Hi, is there a way to check whether an option was specified through \usemodule? Couldn't find anything like that in core-fil.mkiv. I'd imagined some branching as with the system macros: ·· Wishful thinking ···

[NTG-context] 949 more named colors

2010-08-08 Thread Philipp Gesang
Hi, I've put up a small script that generates color definitions from Randall Munroe's color survey for use with ConTeXt.[1] This yields 949 more rgb colors that might be more adequately labeled than e.g. those from X11. You can find it at http://bitbucket.org/phg/xcs-colors/ From the usage

Re: [NTG-context] metapost and lua

2010-08-06 Thread Philipp Gesang
On 2010-08-06 13:34:20, Hans Hagen wrote: how about: \starttext \startluacode context.startMPcode() context(draw fullcircle scaled 10cm;) context.stopMPcode() context.resetMPdrawing() context.startMPdrawing() context(fill fullcircle scaled 10cm;) context.stopMPdrawing() for

Re: [NTG-context] metapost and lua

2010-08-06 Thread Philipp Gesang
On 2010-08-06 13:44:14, Hans Hagen wrote: Hi, I've added \MPdrawing and \MPcode so that less calls are needed Great! Many thanks for this. Philipp pgp7YJZdtu02k.pgp Description: PGP signature ___ If your

[NTG-context] metapost and lua

2010-08-05 Thread Philipp Gesang
Hi all! [1] Is there a Lua interface for metapost? I'm thinking of something like cld is for TeX here. All I figured out so far is how to generate mp code (as strings) in Lua and then having it processed by mplib, but as the metafun manual is from 2002 and with

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

2010-07-22 Thread Philipp Gesang
Hi all, what would be an elegant way to make out the current interpreter from inside lua? For now I'm branching things at the top of the script like this: ···8·· if arg[-1] == texlua then utf=unicode.utf8 else

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

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

Re: [NTG-context] tooltips and glossary

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

Re: [NTG-context] tooltips and glossary

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

Re: [NTG-context] tooltips and glossary

2010-05-04 Thread Philipp Gesang
--USAGE: ConTeXt MkIV only -- DESCRIPTION: ad-hoc glossary -- AUTHOR: Philipp Gesang (Phg), megas.kapan...@gmail.com -- VERSION: 1.0 -- CREATED: 04/05/10 13:00:54 CEST -- REVISION: 1 -- gloss

Re: [NTG-context] tooltips and glossary

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

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

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

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

2010-05-02 Thread Philipp Gesang
Hi again, 1. In sort-lan.lua, line 101 should read «['r'] = r», and line 144 «['r'] = 26, -- r». 2. Although I read the disclaimer about said file being “preliminary and incomplete” -- is there some rationale behind the range of integers for each language mapping? The mapping for English goes

Re: [NTG-context] right aligned footnote

2010-04-30 Thread Philipp Gesang
On 2010-04-30 09:22:44, Wolfgang Schuster wrote: Am 29.04.10 23:17, schrieb Honza Pohanka: Thanks for the answer, but it does not work. I tried MKII and MKIV. Text is still on the left. min example \setupoutput[pdftex] \starttext \setupfootnotes[location=page]

Re: [NTG-context] right aligned footnote

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

Re: [NTG-context] requesting multipass

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

[NTG-context] requesting multipass

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

Re: [NTG-context] requesting multipass

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

Re: [NTG-context] Ligaturing in footnotes.

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

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

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

[NTG-context] Ligaturing in footnotes.

2010-04-17 Thread Philipp Gesang
Hi again, footnotes keep me busy: ···8·· \def\sc{\setfontfeature{smallcaps}} \definefontfeature [default][default] [mode=node,onum=yes,liga=yes] \definefontfeature [smallcaps][default]

[NTG-context] lua, footnotes, interaction

2010-04-16 Thread Philipp Gesang
Good evening all, interaction remains a mystery to me. When tracking things I encountered the following deviation in footnotes: ---8-- \startluacode track = {} track.preceding = function track.simple(arg)

[NTG-context] character spacing

2010-04-10 Thread Philipp Gesang
Hi, I'm looking for a non-bureaucratic way to add some space to parentheses. typo-spa.mkiv looked most promising, so I did ---8-- \definecharacterspacing[parens] \setupcharacterspacing[parens] [0040]

Re: [NTG-context] character spacing

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

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

2010-04-08 Thread Philipp Gesang
On 2010-03-31 20:31:48, marfin wrote: I need two bibliographies for my document, »Primary sources« and »Secondary sources«. Two bibliographies was created and loaded with \setupbibtex[database={prim,sec}]. But for the last step in my intention I’m looking for something to the effect that

Re: [NTG-context] xml and catcode switching

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

[NTG-context] xml and catcode switching

2010-03-22 Thread Philipp Gesang
Hi, I'm formatting lots of urls and as some of them have ampersands in them I switch to letter wherever they are placed. This works fine unless combined with XML which seems to impose its own catcodes on things. How could I fix things in the following example? Thanks for any suggestions,

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

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

Re: [NTG-context] Footnotes and interaction again

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

Re: [NTG-context] xml TeX expansion?

2010-03-17 Thread Philipp Gesang
On 2010-03-17 11:28:30, Hans van der Meer wrote: Typesetting material containing macro's from inside a xml-node does not give TeX-ed results. How can this be accomplished? Hi Hans, I'm using extra tags with setups because no TeX code seems to be processed directly from the xml file.

[NTG-context] Footnotes and interaction again

2010-03-17 Thread Philipp Gesang
Hi again, I just ran into the footnote problem again, this time when referring to labels inside footnotes. As in the earlier thread the issue occurs with mkiv only. Example: ---8--

Re: [NTG-context] interaction fails with footnotes

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

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

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

Re: [NTG-context] interaction fails with footnotes

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

Re: [NTG-context] typescript

2010-03-15 Thread Philipp Gesang
On 2010-03-15 16:32:23, Michael Saunders wrote: I am trying to get a minimal working example so that I have something to tinker with. C:\contextminimal\tex\texmf-local\type-garamondprem.tex contains only: \starttypescript [serif] [garamondprem] \definetypeface [garamondprem] [rm] [serif]

Re: [NTG-context] interaction fails with footnotes

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

[NTG-context] xml with interaction fails in footnotes

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

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

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

[NTG-context] Including lua files

2010-03-13 Thread Philipp Gesang
Dear Lua Gurus, what's the preferred way of including files in Lua? When trying my module on a different machine I noticed that it fails because Lua's dofile() does not extend to files in the texmf tree. Thus I attempted to include the file with context.ctxlualoadfile() but it doesn't work

Re: [NTG-context] Including lua files

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

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

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

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

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

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

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

Re: [NTG-context] streams

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

<    1   2   3   4   5   6   >