Re: [NTG-context] Korean

2009-02-05 Thread polytope
Dear Wofgang,I made a sample text by inserting space to the text which you used when you test Korean before.I used un fonts which you can download from KTUG.After you compile it using LuaTeX, you can see some overfull lines which was mentioned by Dr. DoHyun Kim in the previous mail.Thank you for

Re: [NTG-context] Russian/Cyrillic - no woes, happy now!

2009-02-05 Thread Mojca Miklavec
On Thu, Feb 5, 2009 at 11:34 AM, Mari Voipio wrote: Mojca Miklavec wrote: Caveat: This is advisable if you use Scite only with UTF-8 encoded files. If you use SciTe for files with other encoding, it is not a good idea. Why, you ask? Because in the Encoding menu under File there's no way of

Re: [NTG-context] Russian/Cyrillic - no woes, happy now!

2009-02-05 Thread luigi scarso
Mari (...who's next job is to convert a pile of files into UTF-8...) Maybe you can consider (under linux,I dont'know about windows) recode iconv sometimes they are useful . -- luigi ___ If your question is

[NTG-context] latest beta

2009-02-05 Thread Thomas A. Schmitz
Hi, with the latest beta of this morning and the latest luatex, a call like texexec --lua --env=mystyle myfile.xml fails, the environment file is not read (there is no error about not finding it in the log). Thomas

Re: [NTG-context] Russian/Cyrillic - UTF-8 stuff

2009-02-05 Thread Mari Voipio
luigi scarso wrote: Maybe you can consider (under linux,I dont'know about windows) recode iconv sometimes they are useful . I have Cygwin installed to give me some command line tools and we already figured out iconv is probably a useful tool. Recode, on the other hand, doesn't seem to exist

Re: [NTG-context] Russian/Cyrillic - UTF-8 stuff

2009-02-05 Thread Wolfgang Schuster
On Thu, Feb 5, 2009 at 1:21 PM, Mari Voipio mari.voi...@iki.fi wrote: I have Cygwin installed to give me some command line tools and we already figured out iconv is probably a useful tool. Recode, on the other hand, doesn't seem to exist (man recode give 'No manual entry for recode' while

Re: [NTG-context] Russian/Cyrillic - no woes, happy now!

2009-02-05 Thread Mari Voipio
Mojca Miklavec wrote: On Wed, Feb 4, 2009 at 4:18 PM, Mari Voipio wrote: Wolfgang Schuster wrote: 3. Select UTF-8 in menu File/Encoding This solved problem number 1: how to do UTF in SciTe. The problem is that you need to do that every time. There is some file with user settings that you

[NTG-context] Bug? thinrule in natural table MKIV

2009-02-05 Thread Bart C. Wise
I put a thinrule in a table as follows: \starttext \bTABLE \bTR\bTD\thinrule\eTD\eTR \eTABLE \stoptext It worked fine under MKII. However, when I switched to MKIV (both current and beta) I got the following error message: ! Missing { inserted. inserted text { to be read

Re: [NTG-context] emacs

2009-02-05 Thread Peter Münster
On Fri, 24 Oct 2008, Marcin Borkowski wrote: * Unlike when editing LaTeX files, it does not insert an \item when doing C-c C-e itemize. I use itemizations a lot and this is a bit annoying, especially that I got used to its behaior when doing LaTeX. Also, having C-c C-j asking

Re: [NTG-context] emacs

2009-02-05 Thread luigi scarso
On Thu, Feb 5, 2009 at 4:06 PM, Peter Münster pmli...@free.fr wrote: On Fri, 24 Oct 2008, Marcin Borkowski wrote: * Unlike when editing LaTeX files, it does not insert an \item when doing C-c C-e itemize. I use itemizations a lot and this is a bit annoying, especially that I

Re: [NTG-context] latest beta

2009-02-05 Thread Hans Hagen
Thomas A. Schmitz wrote: Hi, with the latest beta of this morning and the latest luatex, a call like texexec --lua --env=mystyle myfile.xml fails, the environment file is not read (there is no error about not finding it in the log). ah .. in core-def.tex ... \appendtoks

Re: [NTG-context] latest beta

2009-02-05 Thread Thomas A. Schmitz
On Feb 5, 2009, at 4:25 PM, Hans Hagen wrote: ah .. in core-def.tex ... \appendtoks \directsetup{*runtime:modules}\to \everyjob 's' missing in modules OK, but now I get: ! LuaTeX error main ctx instance:1: attempt to index global 'ptbs' (a nil value) stack traceback:

Re: [NTG-context] latest beta

2009-02-05 Thread Wolfgang Schuster
Am 05.02.2009 um 16:47 schrieb Thomas A. Schmitz: On Feb 5, 2009, at 4:25 PM, Hans Hagen wrote: ah .. in core-def.tex ... \appendtoks \directsetup{*runtime:modules}\to \everyjob 's' missing in modules OK, but now I get: [...] l.330 \xmlprocess{main}{\inputfilename}{} Do

Re: [NTG-context] latest beta

2009-02-05 Thread Thomas A. Schmitz
On Feb 5, 2009, at 5:19 PM, Wolfgang Schuster wrote: Do you use the last LuaTeX version? I tried a example you send me and it works without problems. This is LuaTeX, Version snapshot-0.33.1-2009020413, build unknown Wolfgang This is LuaTeX, Version snapshot-0.33.1-2009020508, build 1856

Re: [NTG-context] latest beta

2009-02-05 Thread Thomas A. Schmitz
On Feb 5, 2009, at 5:36 PM, Thomas A. Schmitz wrote: This is LuaTeX, Version snapshot-0.33.1-2009020508, build 1856 I'll try with an older version of luatex, maybe the trunk version (which I compiled today) has a problem. Thomas Nope, I get exactly the same error with luatex 0.33.0; not

Re: [NTG-context] Bug? thinrule in natural table MKIV

2009-02-05 Thread Wolfgang Schuster
Am 05.02.2009 um 15:52 schrieb Bart C. Wise: I put a thinrule in a table as follows: \starttext \bTABLE \bTR\bTD\thinrule\eTD\eTR \eTABLE \stoptext It worked fine under MKII. However, when I switched to MKIV (both current and beta) I got the following error message: [...] Is this a

[NTG-context] Section format using /def

2009-02-05 Thread Michael Bynum
I, apparently, do not understand the syntax and/or uses of /def. I am trying to make section heads appear in all caps and underlined. I originally tried to just use \setuphead, but found that I using the textcommand option I could only either capitalize or underline and not both. I then figured

Re: [NTG-context] Section format using /def

2009-02-05 Thread Wolfgang Schuster
Am 05.02.2009 um 18:37 schrieb Michael Bynum: I, apparently, do not understand the syntax and/or uses of /def. I am trying to make section heads appear in all caps and underlined. I originally tried to just use \setuphead, but found that I using the textcommand option I could only either

Re: [NTG-context] Section format using /def

2009-02-05 Thread Aditya Mahajan
On Thu, 5 Feb 2009, Michael Bynum wrote: I, apparently, do not understand the syntax and/or uses of /def. I am trying to make section heads appear in all caps and underlined. I originally tried to just use \setuphead, but found that I using the textcommand option I could only either

Re: [NTG-context] Section format using /def

2009-02-05 Thread Michael Bynum
Ah, I think I see. So \define[1]\mysectionhead{\bfa \WORD{\underbar{#1}}} would also be valid. Is \define a context equivalent to the \def command for tex? I couldn't find much documentation on it. Mike On Thu, Feb 5, 2009 at 12:55 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com

Re: [NTG-context] Section format using /def

2009-02-05 Thread Michael Bynum
Yes, I think I may have an older version of context here at work. I was able to use the deeptextcommand at home, but here at work it wasn't working. It doesn't seem to be recognized. Was it a later implementation perhaps that an older version wouldn't have? Mike On Thu, Feb 5, 2009 at 12:59

[NTG-context] MKIV: problem with synonyms

2009-02-05 Thread Peter Münster
Hello, \completelistof... does not work with MKIV (ConTeXt 2009.01.18 and LuaTeX snapshot-0.31.3-2008123108): \definesynonyms[Acro][acronymes] \Acro{HTML}{HyperText Markup Language} \Acro{PDF}{Portable Document Format} \starttext \HTML\ and \PDF \completelistofacronymes \stoptext Cheers, Peter

Re: [NTG-context] latest beta

2009-02-05 Thread Thomas A. Schmitz
On Feb 5, 2009, at 5:59 PM, Thomas A. Schmitz wrote: Nope, I get exactly the same error with luatex 0.33.0; not with all of my xml files, however. I'll have to see if I can isolate the error. Thanks for your reply, Wolfgang. Best Thomas OK, one problem is math support. Here's a minimal

[NTG-context] \FlushStep eats all spaces

2009-02-05 Thread Peter Münster
Hello, \FlushStep eats all kind of breakable spaces ( , \ and \space): \usemodule[pre-stepwise] \setupinteraction[state=start] \starttext \StartSteps bla \FlushStep bla\FlushStep \StopSteps \page \StartSteps bla\ \FlushStep\ bla\FlushStep \StopSteps \page \StartSteps bla\space\FlushStep\space

[NTG-context] \define was: Section format using /def

2009-02-05 Thread Wolfgang Schuster
Am 05.02.2009 um 19:45 schrieb Michael Bynum: Ah, I think I see. So \define[1]\mysectionhead{\bfa \WORD{\underbar{#1}}} would also be valid. Is \define a context equivalent to the \def command for tex? I couldn't find much documentation on it. \define is ConTeXt's equivalent to \newcommand

Re: [NTG-context] emacs

2009-02-05 Thread Peter Münster
On Thu, 5 Feb 2009, luigi scarso wrote: Here some code that you can attach to your .emacs file (just a copy from auctex with minor modifications): Peter, can you put it into wiki ? Of course, just as everybody else can do it ;) But this is only a quick workaround. It would be nicer, if a

[NTG-context] \mkdoifelsebuffer

2009-02-05 Thread Peter Münster
Hello Hans, \mkdoifelsebuffer is a nice command. Is it wanted, that there is no \doifelsebuffer or did you just forget it? Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is

Re: [NTG-context] \FlushStep eats all spaces

2009-02-05 Thread Wolfgang Schuster
Am 05.02.2009 um 20:03 schrieb Peter Münster: Hello, \FlushStep eats all kind of breakable spaces ( , \ and \space): \usemodule[pre-stepwise] \setupinteraction[state=start] Here is a ConTeXt version of LaTeX's \...@addto@macro macro. \long\def\addmacro#1\to#2% better name needed

[NTG-context] Remove leading spaces

2009-02-05 Thread Bart C. Wise
When a function is called, I would like to remove any leading space. Then the function can control the spacing. If I don't remove spaces, it then makes a difference whether or not I have a space before the function is called. I would like the output of the following two lines to be equal:

Re: [NTG-context] Remove leading spaces

2009-02-05 Thread Wolfgang Schuster
Am 05.02.2009 um 21:26 schrieb Bart C. Wise: When a function is called, I would like to remove any leading space. Then the function can control the spacing. If I don't remove spaces, it then makes a difference whether or not I have a space before the function is called. Is there a way

Re: [NTG-context] \FlushStep eats all spaces

2009-02-05 Thread Peter Münster
On Thu, 5 Feb 2009, Wolfgang Schuster wrote: Here is a ConTeXt version of LaTeX's \...@addto@macro macro. \long\def\addmacro#1\to#2% better name needed {\begingroup \scratchtoks\expandafter{#2#1}% \xdef#2{\the\scratchtoks}% \endgroup} \addmacro\relax\to\FlushStep This seems

Re: [NTG-context] Remove leading spaces

2009-02-05 Thread Bart Wise
On Thursday 05 February 2009 01:36:16 pm Wolfgang Schuster wrote: Am 05.02.2009 um 21:26 schrieb Bart C. Wise: When a function is called, I would like to remove any leading space. Then the function can control the spacing. If I don't remove spaces, it then makes a difference whether or not

Re: [NTG-context] \FlushStep eats all spaces

2009-02-05 Thread Wolfgang Schuster
Am 05.02.2009 um 21:49 schrieb Peter Münster: On Thu, 5 Feb 2009, Wolfgang Schuster wrote: Here is a ConTeXt version of LaTeX's \...@addto@macro macro. \long\def\addmacro#1\to#2% better name needed {\begingroup \scratchtoks\expandafter{#2#1}% \xdef#2{\the\scratchtoks}% \endgroup}

Re: [NTG-context] setvalue/setvariable

2009-02-05 Thread Wolfgang Schuster
Am 05.02.2009 um 21:55 schrieb Peter Münster: On Thu, 5 Feb 2009, Wolfgang Schuster wrote: A faster version of your macro is: \def\MyFunction {\dosingleempty\doMyFunction} \def\doMyFunction[#1]% {\removeunwantedspaces\executeifdefined{myfunction:#1} {\getvalue{myfunction:default}}}

[NTG-context] setvalue/setvariable (was: Re: Remove leading spaces)

2009-02-05 Thread Peter Münster
On Thu, 5 Feb 2009, Wolfgang Schuster wrote: A faster version of your macro is: \def\MyFunction {\dosingleempty\doMyFunction} \def\doMyFunction[#1]% {\removeunwantedspaces\executeifdefined{myfunction:#1}{\getvalue{myfunction:default}}} \setvalue{myfunction:1}{\medspace dog }

Re: [NTG-context] setvalue/setvariable

2009-02-05 Thread Wolfgang Schuster
Am 05.02.2009 um 22:08 schrieb Wolfgang Schuster: Am 05.02.2009 um 21:55 schrieb Peter Münster: A faster version of your macro is: \def\MyFunction {\dosingleempty\doMyFunction} \def\doMyFunction[#1]% {\removeunwantedspaces\executeifdefined{myfunction:#1} {\getvalue{myfunction:default}}}

Re: [NTG-context] \FlushStep eats all spaces

2009-02-05 Thread Peter Münster
On Thu, 5 Feb 2009, Wolfgang Schuster wrote: Like this for example: \def\FlushStep{\iftrialtypesetting\else\StopStep\NextStep\StartStep\fi\relax} 1. Only Hans can do this. 2. This is also what happens with my macro. 3. I think it's better to use my macro than to use manual patched

Re: [NTG-context] MKIV: problem with synonyms

2009-02-05 Thread Hans Hagen
Peter Münster wrote: Hello, \completelistof... does not work with MKIV (ConTeXt 2009.01.18 and LuaTeX snapshot-0.31.3-2008123108): \definesynonyms[Acro][acronymes] \Acro{HTML}{HyperText Markup Language} \Acro{PDF}{Portable Document Format} \starttext \HTML\ and \PDF \completelistofacronymes