[NTG-context] Text streams

2013-05-03 Thread H. Özoguz
Hello there, some motnh ago I asked for a possibility to set a book in Context bilingual (with a left and a right column on every page). This environment should allow of course page breaking etc. I got this answer (by Philipp Gesang): What you are looking for is text streams. They are not

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Meer, H. van der
There is more to it then a preference for \crlf, typescript loading introduces a lot of spurious white, that not always can be made to disappear. I tracked it down to a macro in type-ini.mkvi: \def\font_typescript_process_typescript_file_and_store

Re: [NTG-context] opentype font catalogue?

2013-05-03 Thread Wolfgang Schuster
Am 01.05.2013 um 20:25 schrieb Meer, H. van der h.vanderm...@uva.nl: Is there a script/command to generate a catalogue of all glyphs in an opentype font? \usemodule[fnt-10] \starttext %\ShowCompleteFont{file:callunaregular}{10pt}{1} % #1 = file, #2 = size, #3 = columns \ShowAllGlyphs

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Wolfgang Schuster
Am 03.05.2013 um 09:34 schrieb Meer, H. van der h.vanderm...@uva.nl: There is more to it then a preference for \crlf, typescript loading introduces a lot of spurious white, that not always can be made to disappear. I tracked it down to a macro in type-ini.mkvi:

Re: [NTG-context] Text streams

2013-05-03 Thread Peter Münster
On Fri, May 03 2013, H. Özoguz wrote: some motnh ago I asked for a possibility to set a book in Context bilingual (with a left and a right column on every page). This environment should allow of course page breaking etc. I got this answer (by Philipp Gesang): What you are looking for is text

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Wolfgang Schuster
Am 03.05.2013 um 09:34 schrieb Meer, H. van der h.vanderm...@uva.nl: There is more to it then a preference for \crlf […] \setupwhitespace[line] \starttext \subject{Regular paragraphs} Line 1\par \start \switchtobodyfont[termes] Line 2\par \stop Line 3 \subject{Packed paragraphs}

Re: [NTG-context] Text streams

2013-05-03 Thread Wolfgang Schuster
Am 03.05.2013 um 09:24 schrieb H. Özoguz h.oezo...@mmnetz.de: Hello there, some motnh ago I asked for a possibility to set a book in Context bilingual (with a left and a right column on every page). This environment should allow of course page breaking etc. I got this answer (by Philipp

[NTG-context] Table

2013-05-03 Thread H. Özoguz
Hi, for a bilingual book (german-arabic) I want to use a table. So far I have this one: \starttabulate[||p(.46\textwidth)|p(.46\textwidth)||] But that is not exactly, what I want: I want a table with 3 columns. The left one ist left-aligned, for the german text (left-algined in the usual

Re: [NTG-context] Table

2013-05-03 Thread Wolfgang Schuster
Am 03.05.2013 um 10:39 schrieb H. Özoguz h.oezo...@mmnetz.de: Hi, for a bilingual book (german-arabic) I want to use a table. So far I have this one: \starttabulate[||p(.46\textwidth)|p(.46\textwidth)||] But that is not exactly, what I want: I want a table with 3 columns. The left

Re: [NTG-context] Table

2013-05-03 Thread Wolfgang Schuster
Am 03.05.2013 um 10:52 schrieb Wolfgang Schuster schuster.wolfg...@gmail.com: The space between the columns can be controlled by the i, j or k keywords which accepts a number or a dimension as argument. % i in skip left of column % j in skip right of column % k in skip around

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Meer, H. van der
I did some more experiments. In the macro below delete ABC and replace D by ! then the output of the test will match. example1 is made with the type-imp-euler.mkiv as given below. I removed every space in it, ended every ] with a % and commented [texgyre] out. In the log can be seen that --as

Re: [NTG-context] Table

2013-05-03 Thread H. Özoguz
Thanks Wolfgang! But now I see a different issue arising: The left and the right column are set on the same lines (like grid-setting, not the same). I mean, that the text in the left column is set on the same lines, like the text in the right columns. Usually that is good, but not for my

Re: [NTG-context] Table

2013-05-03 Thread H. Özoguz
One thing to add: In LaTex I realized this with minipages: \newcommand{\kum}[2]{ \begin{minipage}[t]{0.445\textwidth} \small #1 \end{minipage} \begin{minipage}[t]{0.05\textwidth} ~ \end{minipage} \begin{minipage}[t]{0.445\textwidth} \begin{arab}[voc] \raggedleft #2 \end{arab}

[NTG-context] Different width of marginblocks and margindata

2013-05-03 Thread Marco Patzer
Hi, in the following example, why do marginblocks and margindata produce a different width when both are set to the same value? \setupmarginblocks [width=\rightmarginwidth] \setupmargindata [inright] [style=normal, width=\rightmarginwidth] \showframe \starttext \startmarginblock

Re: [NTG-context] Table

2013-05-03 Thread Wolfgang Schuster
Am 03.05.2013 um 11:54 schrieb H. Özoguz h.oezo...@mmnetz.de: One thing to add: In LaTex I realized this with minipages: \newcommand{\kum}[2]{ \begin{minipage}[t]{0.445\textwidth} \small #1 \end{minipage} \begin{minipage}[t]{0.05\textwidth} ~ \end{minipage}

Re: [NTG-context] Different width of marginblocks and margindata

2013-05-03 Thread Wolfgang Schuster
Am 03.05.2013 um 12:05 schrieb Marco Patzer home...@lavabit.com: Hi, in the following example, why do marginblocks and margindata produce a different width when both are set to the same value? You have to set the “align=right” for margin texts. By default context tries to justify the

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Wolfgang Schuster
Am 03.05.2013 um 11:19 schrieb Meer, H. van der h.vanderm...@uva.nl: I did some more experiments. In the macro below delete ABC and replace D by ! then the output of the test will match. example1 is made with the type-imp-euler.mkiv as given below. I removed every space in it, ended every

Re: [NTG-context] Table

2013-05-03 Thread H. Özoguz
Thanks. You can use \framed but like a minipage no page breaks are possible in a block. / This sets very well the german and the arabic text, with different interlinespaces. Is there a possibility to copy this into ConText? / You can use natural tables (or xtables) and use the loffset and

Re: [NTG-context] Table

2013-05-03 Thread Wolfgang Schuster
Am 03.05.2013 um 12:39 schrieb H. Özoguz h.oezo...@mmnetz.de: Thanks. You can use \framed but like a minipage no page breaks are possible in a block. This sets very well the german and the arabic text, with different interlinespaces. Is there a possibility to copy this into ConText?

Re: [NTG-context] Table

2013-05-03 Thread Eslamica
Why don't you use natural tables where each cell *is a frame*. Ah, ok Wolfgang. I did not get at with your first post. I will try it! -- *Hüseyin Özoguz ** Verlag Eslamica -- www.eslamica.de http://www.eslamica.de** **m-haditec * GmbH Co. KG Georg-Wulf-Str. 15 D-28199 Bremen Telefon+49 (0)

Re: [NTG-context] Table

2013-05-03 Thread H. Özoguz
Why don’t you use natural tables where each cell *is a frame*. Ah, ok Wolfgang. I did not get this at your first posting. I will try it! Huseyin. ___ If your question is of interest to others as well, please add an

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Meer, H. van der
On 3 May 2013, at 12:28 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Do you mean the missing % after \doifsomething etc.? These lines don’t need a % because TeX gobbles the spaces between the arguments. I wasn't aware of that, but will remember. Any idea how further? More from

[NTG-context] TABLE frame

2013-05-03 Thread H. Özoguz
How to adjust the TABLE-frame to zero, I mean the thickness of the frame-lines, such that they are invisible. And btw.: Where can I find a good docu of natural tables? (I know the wiki page TABLE of course). Huseyin

Re: [NTG-context] Table

2013-05-03 Thread Peter Münster
On Fri, May 03 2013, H. Özoguz wrote: One thing to add: In LaTex I realized this with minipages: This sets very well the german and the arabic text, with different interlinespaces. Is there a possibility to copy this into ConText? Do minipages support page breaks? And floats? Did you try

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Meer, H. van der
This might be interesting. The example I gave before was now typeset with type-imp-euler.mkiv cannibalized to \endinput in the very first line. Then there are no spurious spaces and 5 executions of the recursive loop from \t_font_typescripts. Thus, even though in type-imp-euler.mkiv all empty

Re: [NTG-context] Table

2013-05-03 Thread H. Özoguz
Do minipages support page breaks? And floats? Did you try this: http://www.ntg.nl/pipermail/ntg-context/2012/068387.html ? No, they do not, but this was ok for that bilingual project. No, I did not try this solution, and to be honest: I hope not to have, because it seems too complicated for

Re: [NTG-context] TABLE frame

2013-05-03 Thread H. Özoguz
Done with \setupTABLE[frame=off]. Huseyin ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] Automatic replacement?

2013-05-03 Thread H. Özoguz
Is it possible to define an automatic replacement? I want to replace every اللَّـه by اللهِ First is a combination of letters, second is the correct arabic one-symbol for the name Allah. I know, I can do this in the editor, but would helpful, if it is possible in the compiling. Huseyin

Re: [NTG-context] Automatic replacement?

2013-05-03 Thread luigi scarso
On Fri, May 3, 2013 at 3:24 PM, H. Özoguz h.oezo...@mmnetz.de wrote: Is it possible to define an automatic replacement? I want to replace every اللَّـه by اللهِ First is a combination of letters, second is the correct arabic one-symbol for the name Allah. I know, I can do this in the

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Meer, H. van der
Seems finally solved (sigh). I cleaned out all files loading typescripts on the fly. - typescript macros ending in ] at the end of a line have now ]% at the end of the line - empty lines have been removed for clarity - all files now have \endinput at the end. The files changed fit in a 54KB

[NTG-context] Alternative rendering of some TOC levels

2013-05-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, how to change the way (alternative) how a particular level - e.g. sections - are rendered in TOC? I tried: \setupcombinedlist [content] [alternative=c] \setuplist [section] [alternative=b] %\setupcombinedlist % [content] % [section] % [alternative=b] \starttext

Re: [NTG-context] Automatic replacement?

2013-05-03 Thread H. Özoguz
Thanks luigi, but it does not work for my characters, see here: \definefont[tradoa][name:trado*arabic at 20pt] % or file:amiri-regular.ttf*... file:alq.ttf \directlua{ local function replace_txt (buffer) buffer=string.gsub(buffer,اللهِ,اللَّـه) return buffer end

Re: [NTG-context] Automatic replacement?

2013-05-03 Thread luigi scarso
On Fri, May 3, 2013 at 5:20 PM, H. Özoguz h.oezo...@mmnetz.de wrote: Thanks luigi, but it does not work for my characters, see here: \definefont[tradoa][name:**trado*arabic at 20pt] % or file:amiri-regular.ttf*... file:alq.ttf \directlua{ local function replace_txt (buffer)

Re: [NTG-context] Automatic replacement?

2013-05-03 Thread Keith J. Schultz
HI Everybody, If I remember correctly Lua is not rl-compatible. There the below code can not work! regards Keith. Am 03.05.2013 um 17:20 schrieb H. Özoguz h.oezo...@mmnetz.de: Thanks luigi, but it does not work for my characters, see here: \definefont[tradoa][name:trado*arabic at

Re: [NTG-context] Automatic replacement?

2013-05-03 Thread luigi scarso
On Fri, May 3, 2013 at 5:20 PM, H. Özoguz h.oezo...@mmnetz.de wrote: Thanks luigi, but it does not work for my characters, see here: \definefont[tradoa][name:**trado*arabic at 20pt] % or file:amiri-regular.ttf*... file:alq.ttf \directlua{ local function replace_txt (buffer)

Re: [NTG-context] Automatic replacement?

2013-05-03 Thread luigi scarso
On Fri, May 3, 2013 at 6:40 PM, luigi scarso luigi.sca...@gmail.com wrote: On Fri, May 3, 2013 at 5:20 PM, H. Özoguz h.oezo...@mmnetz.de wrote: Thanks luigi, but it does not work for my characters, see here: \definefont[tradoa][name:**trado*arabic at 20pt] % or file:amiri-regular.ttf*...

[NTG-context] Arabic typesetting, one more

2013-05-03 Thread H. Özoguz
Hi there, I have the following example with the font traditional arabic, but the question is possibly independent from the font. The code: \definefont[Shehw][name:traditionalarabicnormal*arabic at 24pt] % or file:amiri-regular.ttf*... file:alq.ttf \def\Arab[#1]{\noindentation

[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] problems with the invoice module from contextgarden

2013-05-03 Thread Martin Scholz
Hi guys, today I tried to use the invoice module from contextgarden http://wiki.contextgarden.net/Invoice first it spit errors about userdata.numberformat in combination with %, after commenting it out and not using it, I now get that error: ) (invoicefunctions.tex ! LuaTeX error [string