Re: [NTG-context] luatex feature question/request

2008-04-04 Thread Taco Hoekwater
Hans Hagen wrote: Marcin Borkowski wrote: Hello! I was just wondering, whether something like this is possible in luatex - and if not, if it might be implemented;). I'd like to be able to transform somehow the input right *before* TeX sees it. What I mean is e.g. a transformation using

Re: [NTG-context] luatex feature question/request

2008-04-04 Thread Taco Hoekwater
luigi scarso wrote: There actually is a way to modify the input lines just before they are parsed by luatex, but that is really only suitable for converting 8-bit encodings to utf-8. (I was going to post an example abusing that method, but there are way many things that can go wrong, so

Re: [NTG-context] luatex feature question/request

2008-04-04 Thread Olivier Guéry
On Fri, Apr 4, 2008 at 10:52 AM, Taco Hoekwater [EMAIL PROTECTED] wrote: luigi scarso wrote: There actually is a way to modify the input lines just before they are parsed by luatex, but that is really only suitable for converting 8-bit encodings to utf-8. (I was going to post an

Re: [NTG-context] luatex feature question/request

2008-04-04 Thread luigi scarso
There actually is a way to modify the input lines just before they are parsed by luatex, but that is really only suitable for converting 8-bit encodings to utf-8. (I was going to post an example abusing that method, but there are way many things that can go wrong, so I changed my mind)

Re: [NTG-context] luatex feature question/request

2008-04-04 Thread Hans Hagen
Olivier Guéry wrote: On Fri, Apr 4, 2008 at 10:52 AM, Taco Hoekwater [EMAIL PROTECTED] wrote: luigi scarso wrote: There actually is a way to modify the input lines just before they are parsed by luatex, but that is really only suitable for converting 8-bit encodings to utf-8. (I

Re: [NTG-context] luatex feature question/request

2008-04-04 Thread luigi scarso
On Fri, Apr 4, 2008 at 10:52 AM, Taco Hoekwater [EMAIL PROTECTED] wrote: luigi scarso wrote: There actually is a way to modify the input lines just before they are parsed by luatex, but that is really only suitable for converting 8-bit encodings to utf-8. (I was going to post an

Re: [NTG-context] luatex feature question/request

2008-04-04 Thread Marcin Borkowski
Dnia Fri, Apr 04, 2008 at 09:50:55AM +0200, Hans Hagen napisa#322;(a): Marcin Borkowski wrote: Hello! I was just wondering, whether something like this is possible in luatex - and if not, if it might be implemented;). I'd like to be able to transform somehow the input right *before*

Re: [NTG-context] luatex feature question/request

2008-04-04 Thread Peter Münster
On Fri, Apr 04 2008, Olivier Guéry wrote: Hello, new to this list, I see this first message. Is it a solution for my request (http://wiki.contextgarden.net/Feature_Requests) about french typography ? Hello, You could also try the latest version of t-french.tex on

Re: [NTG-context] t-bib: URL and '%'; spacing between number and text

2008-04-04 Thread Taco Hoekwater
Tobias Burnus wrote: Hello Taco, Taco Hoekwater wrote: Tobias Burnus wrote: The problem is: If I do not escape the % signs, I get a TeX error. If I escape them with \%, both the link and the printed text show the backslash. What is the proper way of doing it? Yikes. There is no

Re: [NTG-context] t-bib: URL and '%'; spacing between number and text

2008-04-04 Thread Taco Hoekwater
Tobias Burnus wrote: Taco Hoekwater wrote: Does this fix I wrote (back in September) actually work? % start fix \unprotect \def\dousepublications#1% {\doonlyonce {#1.\f!bibextension} {\readfile{#1.\f!bibextension} {\catcode`\%=12

Re: [NTG-context] luatex feature question/request

2008-04-04 Thread Olivier Guéry
Hello, new to this list, I see this first message. Is it a solution for my request (http://wiki.contextgarden.net/Feature_Requests) about french typography ? \setcharacterspacing [frenchpunctuation] Thank's a lot. It's great ! I Test it with this : Test; test: test? test! \crlf

Re: [NTG-context] t-bib: URL and '%'; spacing between number and text

2008-04-04 Thread Tobias Burnus
Taco Hoekwater wrote: Does this fix I wrote (back in September) actually work? % start fix \unprotect \def\dousepublications#1% {\doonlyonce {#1.\f!bibextension} {\readfile{#1.\f!bibextension} {\catcode`\%=12 \showmessage\m!bib{4}{#1.\f!bibextension}}

Re: [NTG-context] luatex feature question/request

2008-04-04 Thread Wolfgang Schuster
On Fri, Apr 4, 2008 at 1:02 PM, Olivier Guéry [EMAIL PROTECTED] wrote: Hello, new to this list, I see this first message. Is it a solution for my request (http://wiki.contextgarden.net/Feature_Requests) about french typography ? \setcharacterspacing [frenchpunctuation] Thank's a

Re: [NTG-context] luatex feature question/request

2008-04-04 Thread Olivier Guéry
You could also try to use the MkIV version. from core-spa.mkiv % experimental spacing % % test: oeps {\setcharacterspacing[frenchpunctuation]x: xx \bfd x: xx} oeps: test I see this when I search in the file but don't know how to try this… (I'm not a software ingineer at all, but a

Re: [NTG-context] luatex feature question/request

2008-04-04 Thread Hans Hagen
Olivier Guéry wrote: Hello, new to this list, I see this first message. Is it a solution for my request (http://wiki.contextgarden.net/Feature_Requests) about french typography ? \setcharacterspacing [frenchpunctuation] Thank's a lot. It's great ! I Test it with this : Test;

Re: [NTG-context] t-bib: URL and '%'; spacing between number and text

2008-04-04 Thread Tobias Burnus
Taco Hoekwater wrote: It does not seem to work here :-( It redefines the bbl loader, so inlined \startpublication blocks will not work. It should work if your publications are in the bbl file. OK. That works for my minimal example, though I have to postprocess the *.bbl file as

Re: [NTG-context] luatex feature question/request

2008-04-04 Thread Peter Münster
On Fri, Apr 04 2008, Olivier Guéry wrote: You could also try to use the MkIV version. from core-spa.mkiv % experimental spacing % % test: oeps {\setcharacterspacing[frenchpunctuation]x: xx \bfd x: xx} oeps: test I see this when I search in the file but don't know how to

Re: [NTG-context] luatex feature question/request

2008-04-04 Thread Olivier Guéry
It seems that only the english input get the spacing. Don't know why but the sign « ; » of the english input don't get the spacing. You put the value to .25em, looking in the french extension (who can't play with utf8) there's a .16667em value. It's seem's that the smallest is

Re: [NTG-context] t-bib: URL and '%'; spacing between number and text

2008-04-04 Thread Taco Hoekwater
Tobias Burnus wrote: OK. That works for my minimal example, though I have to postprocess the *.bbl file as BibTeX converts longline into long% line An afwul tool, that bibtex is. Imagine what having a long url in your .bib file does ... tinyurl is almost a requirement. However, it

Re: [NTG-context] luatex feature question/request

2008-04-04 Thread Olivier Guéry
Between nbsp and : is a nonbreakable space, and indeed there is no line-break. Between thinspace and : is a nonbreakable thin-space, and also no line-break. Between normalspace and : is a normal space, so there is a line-break. Does this look like what you want? Thank's, See my

Re: [NTG-context] luatex feature question/request

2008-04-04 Thread Peter Münster
On Fri, Apr 04 2008, Olivier Guéry wrote: The problem is that even if the space before « : » is not a nbsp, it should be a thin nbsp (only silly guys like me change their layout to have nbsp on Shift+space ;o)). Hello, Just my personal opinion: I always write these characters without any

[NTG-context] scite properties enable utf8 and customizing

2008-04-04 Thread Jan-Erik Hägglöf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 HI! I am trying to make Scite work in a context way by copying context.properties and friends, and it does work . The problem seems to be that make scite automatic be in utf8 mode. I have copying following parameters in the file .SciTEUser.properies

Re: [NTG-context] Overlay caption placement

2008-04-04 Thread Dave
I have a few pdf figures that I'm including in a large report that are essentially full page (portrait) diagrams. However, they each have blank space in the lower right corner and I was thinking that it would be nice to put the caption in this spot. Is there a way to overlay a caption

Re: [NTG-context] luatex feature question/request

2008-04-04 Thread Aditya Mahajan
On Fri, 4 Apr 2008, Peter Münster wrote: On Fri, Apr 04 2008, Taco Hoekwater wrote: % engine=luatex \startluacode function add_ties (line) return line:gsub(' ','~') end \stopluacode \def\startfiltered {\ctxlua {callback.register('process_input_buffer', add_ties)}}

Re: [NTG-context] luatex feature question/request

2008-04-04 Thread Peter Münster
On Fri, Apr 04 2008, Aditya Mahajan wrote: function add_ties(line) line = line:gsub('( %a) ', '%1~') line = line:gsub('^(%a) ', '%1~') line = line:gsub('( %a)$', '%1~%%') return line end Not working: $a = b + c$. How about substituting with a macro

Re: [NTG-context] luatex feature question/request

2008-04-04 Thread Peter Münster
On Fri, Apr 04 2008, Taco Hoekwater wrote: % engine=luatex \startluacode function add_ties (line) return line:gsub(' ','~') end \stopluacode \def\startfiltered {\ctxlua {callback.register('process_input_buffer', add_ties)}} \def\stopfiltered {\ctxlua

Re: [NTG-context] luatex feature question/request

2008-04-04 Thread Taco Hoekwater
Peter Münster wrote: Hello, Perhaps this one could be already useable for the OP: function add_ties(line) line = line:gsub('( %a) ', '%1~') line = line:gsub('^(%a) ', '%1~') line = line:gsub('( %a)$', '%1~%%') return line end Hey! Luigi promised you were all

Re: [NTG-context] Overlay caption placement

2008-04-04 Thread Hans Hagen
Dave wrote: I have a few pdf figures that I'm including in a large report that are essentially full page (portrait) diagrams. However, they each have blank space in the lower right corner and I was thinking that it would be nice to put the caption in this spot. Is there a way to overlay

[NTG-context] Scite startup script error

2008-04-04 Thread Abhishek Seth
Hi, After reinstalling the Scite 1.76 and putting the support files in place, I am getting the following error: attempt to call a string value Lua: error occured while loading startup script I don't know what it is. Can someone please help?