[NTG-context] bug with floats and linenumbering (mkiv) ?

2011-09-28 Thread Martin Fechner
Hi all, I use mkiv and have a text which combines floats and also has a linenumbering in a doublesided document. If the float is placed inside a paragraph the linenumbering jumps to the left or right. But this happens only on right-hand pages. Here is a short example:

[NTG-context] xml and lpath

2011-10-25 Thread Martin Fechner
Hi all, I'm testing the possibilities of xml and ConTeXt. I was wondering if it is possible to make an extra setup for every text-element. So it would be possible to have an setup in a very flexible way. It should be something like this: \startbuffer[text] a b First text. hiding

Re: [NTG-context] xml and lpath

2011-10-25 Thread Martin Fechner
Am 25.10.2011 14:20, schrieb Hans Hagen: \startxmlsetups xml:hiding \doifelse {\xmlatt{#1}{type}} {begin} { \startnointerference } { \stopnointerference } \stopxmlsetups \starttext \xmlprocessbuffer{main}{text}{} \stoptext maybe it makes sense to have a 'hide' flag built in the serializer

[NTG-context] lua and brackets

2011-11-03 Thread Martin Fechner
Hi all, I try to call a lua-function, but it seems that it doesn't work if the parameter contains squared brackets. Here is a short example: \starttext sometext \reference[myref]{} is \ctxlua{tex.print(\atpage[myref])} \stoptext Is there a way to mask the

Re: [NTG-context] lua and brackets

2011-11-03 Thread Martin Fechner
Am 03.11.2011 12:01, schrieb Hans Hagen: On 3-11-2011 10:15, Martin Fechner wrote: Hi all, I try to call a lua-function, but it seems that it doesn't work if the parameter contains squared brackets. Here is a short example: \starttext sometext \reference[myref]{} is \ctxlua{tex.print

Re: [NTG-context] lua and brackets

2011-11-03 Thread Martin Fechner
And if you want pure lua, you can do: \startluacode function document.pagesetup(ref_one,ref_two) local one, bug = structures.references.identify(,ref_one) if bug then context([unknown reference: %s],ref_one) return end local two, bug = structures.references.identify(,ref_two) if bug then

[NTG-context] footnotes and linenumbering

2011-11-11 Thread Martin Fechner
Hi all, is it possible to have a linenumbering also in the footnotes? I tried it with -- \setuplinenumbering[method=page] \setupfootnotedefinition[location=serried] \setupfootnotes[before={\startlinenumbering[continue]},after={\stoplinenumbering}] \starttext \startlinenumbering \input

Re: [NTG-context] footnotes and linenumbering

2011-11-14 Thread Martin Fechner
Am 12.11.2011 13:59, schrieb Hans Hagen: On 11-11-2011 12:24, Martin Fechner wrote: Hi all, is it possible to have a linenumbering also in the footnotes? I tried it with -- \setuplinenumbering[method=page] \setupfootnotedefinition[location=serried] \setupfootnotes[before

[NTG-context] footnotes in footnotes broken

2011-11-15 Thread Martin Fechner
Hi all, it seems that the footnotes in footnotes feature in mkiv is broken. The short example from contextgarden doesn't work with the last beta: -- \starttext This\footnote{Or that\footnote{Or possibly even the other.}, if you prefer.} is a sentence with a footnote. \stoptext --

Re: [NTG-context] footnotes in footnotes broken

2011-11-15 Thread Martin Fechner
Am 15.11.2011 10:55, schrieb Martin Fechner: Hi all, it seems that the footnotes in footnotes feature in mkiv is broken. The short example from contextgarden doesn't work with the last beta: -- \starttext This\footnote{Or that\footnote{Or possibly even the other.}, if you prefer

[NTG-context] images and linenumbering

2011-11-15 Thread Martin Fechner
Hi all, I posted this bug some time ago, but it still seems there. The combination between linenumbering and images isn't working. I use mkiv with the latest beta. Look at this short example: -- \setuplayout[width=120mm] \setuppagenumbering[alternative=doublesided]

[NTG-context] TeX Output

2011-11-30 Thread Martin Fechner
Hi all, in my project I use an environment with lua-code, xml-setups and some other definitions and settings. Is there an simple way to get an output of the TeX-Stream, which will be used to generate the PDF? So it would be possible to manipulate some TeX-parts manually where the PDF-output

[NTG-context] xmlfiles and url address

2012-01-05 Thread Martin Fechner
Hi all, I wish you happy new year and start with an xml-question: Is it possible to process files from an URL address? It should be something like: \starttext ... \xmlprocessfile{main}{http://example.com/document1.xml}{} \xmlprocessfile{main}{http://example.com/document2.xml}{} ...

Re: [NTG-context] xmlfiles and url address

2012-01-06 Thread Martin Fechner
Am 05.01.2012 13:36, schrieb Hans Hagen: On 5-1-2012 09:19, Martin Fechner wrote: Hi all, I wish you happy new year and start with an xml-question: Is it possible to process files from an URL address? It should be something like: \starttext \xmlprocessfile{main}{http

[NTG-context] Sanskrit font

2012-06-22 Thread Martin Fechner
Hey list, does anybody know an useable font for sanskrit writings another then sanskrit2003.ttf? It is preferred to have the same range (with ligatures etc.) as the sanskrit2003.ttf. Best regards, Martin ___ If

Re: [NTG-context] Sanskrit font

2012-06-22 Thread Martin Fechner
Am 22.06.2012 12:05, schrieb S Barmeier: On 06/22/2012 06:23 PM, Martin Fechner wrote: Hey list, does anybody know an useable font for sanskrit writings another then sanskrit2003.ttf? It is preferred to have the same range (with ligatures etc.) as the sanskrit2003.ttf. Best regards, Martin

Re: [NTG-context] Sanskrit font

2012-06-22 Thread Martin Fechner
Am 22.06.2012 11:32, schrieb Hans Hagen: On 22-6-2012 11:23, Martin Fechner wrote: Hey list, does anybody know an useable font for sanskrit writings another then sanskrit2003.ttf? It is preferred to have the same range (with ligatures etc.) as the sanskrit2003.ttf. There will be a talk

Re: [NTG-context] Sanskrit font

2012-06-25 Thread Martin Fechner
Am 22.06.2012 20:07, schrieb Manfred Lotz: Siddhanta from Mihail Bayaryn which IIRC is a successor of his Chandas font is a very nice one; http://svayambhava.blogspot.de/p/siddhanta-devanagariunicode-open-type.html Thank you all for the links. Greetings, Martin

[NTG-context] Multipass Datasets doesn't work

2012-10-29 Thread Martin Fechner
Hello, the simple example from the mailing-list doesn't work with the latest beta. I think the core-dat.lua is corrupted (function commands.datasetvariable) \definedataset[test-1] \definedataset[test-2] \starttext \setdataset[test-1][x=Value X 1,y=Value Y 1] \setdataset[test-1][x=Value X

Re: [NTG-context] Multipass Datasets doesn't work

2012-10-29 Thread Martin Fechner
Am 29.10.2012 10:13, schrieb Wolfgang Schuster: elseif type(t) == table then Now it works, thanks. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] context tarball distribution?

2018-01-15 Thread Martin Fechner
Dear list, Our slightly paranoid system administrator refuses to pull context via rsync on our development and production hosts. He says there's no protection against someone who may tamper with the data on its transfer like e.g. TLS-protected traffic via https. So I got the following question