[NTG-context] Problem typing file with diacritics by \typefile
Hello, I have problem. Suppose having t-TypeF.ctx which is to print itself: --- \enableregime[cp1250] \starttext ABC ŽŠČ \typefile[]{t-TypeF.ctx} \stoptext --- The letters ŽŠČ to be printed during \typefile are the problem. I get a long error message, where the key message is: l.9 \typefile[]{t-TypeF.ctx} ! String contains an invalid utf-8 sequence. system error on line 73 in file t-TypeF.ctx: String contains an invalid utf-8 sequence ... l.73 ´┐Ż The file is created with CP 1250 = Windows, Eastern Europe, Czech Republic. So how do I make ctx accept also Czech letters with diacritics like ŽŠČ? - I also looked to wiki to \setuptyping, but it doesn't seem to there would be a command which could change this. Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 t-TypeF.ctx Description: Binary data ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Headers must not be the last object on the page
I'm getting headers as the last item on a page. Following content appears on the next page. I would like to have headers not be separated from their content by a page break. Is there a way to say if a header is the last thing on the page, place it on the next page instead? I am aware of the before={\testpage[n]\blank} trick, but this only applies when you need a specific amount of lines. Because the following content may be a figure, float, table, or other large object, the space required will vary. I just want the header to know that it must not be the last object on the page. Is this possible? Thank you very much for your help. ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problem typing file with diacritics by \typefile
On Tue, Oct 12 2010, Procházka Lukáš Ing. - Pontex s. r. o. wrote: \enableregime[cp1250] \starttext ABC ŽŠČ \typefile[]{t-TypeF.ctx} \stoptext --- The letters ŽŠČ to be printed during \typefile are the problem. Hello, It seems, that \typefile assumes utf8 independently of the \enableregime. I would suggest to configure your environment (editor and so on) to use only utf8. Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problem typing file with diacritics by \typefile
On Tue, 12 Oct 2010 08:45:25 +0200, Peter Münster pmli...@free.fr wrote: I would suggest to configure your environment (editor and so on) to use only utf8. It's a problem as the file which is \typefiled is generated by another program and I have no control of which characters or which encoding it uses. All runs programs run under Windows and all [mentioned] are using CP 1250. Lukas Cheers, Peter ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Page-breakable \subsubsubject?
Hello, I'd have one more question. I need to have many \subsubject behind each other (again: actually processing an external file, but a small example is attached): --- \setupbodyfont[11pt] \starttext \subsubsubject{001} \subsubsubject{002} \subsubsubject{003} \subsubsubject{004} \subsubsubject{005} \subsubsubject{006} \subsubsubject{007} \subsubsubject{008} \subsubsubject{009} \subsubsubject{010} \subsubsubject{011} \subsubsubject{012} \subsubsubject{013} \subsubsubject{014} \subsubsubject{015} \subsubsubject{016} \subsubsubject{017} \subsubsubject{018} \subsubsubject{019} \subsubsubject{020} \subsubsubject{021} % Last visible on the page \subsubsubject{022} \subsubsubject{023} \subsubsubject{024} \subsubsubject{025} \subsubsubject{026} \stoptext --- The problem is that typesetting n-th \subsubject doesn't go to the next page, but is typeset on the same page, so that the last ones disappear. So how to setup (?) \subsubject to allow page breaks inside them? (Wiki did not prompt.) Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 t-Subj.ctx Description: Binary data t-Subj.pdf Description: Adobe PDF document ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problem typing file with diacritics by \typefile
On Tue, Oct 12 2010, Procházka Lukáš Ing. - Pontex s. r. o. wrote: All runs programs run under Windows and all [mentioned] are using CP 1250. Perhaps with a filter: windows-program | recode windows-1250..u8 output-file Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page-breakable \subsubsubject?
On Tue, Oct 12 2010, Procházka Lukáš Ing. - Pontex s. r. o. wrote: The problem is that typesetting n-th \subsubject doesn't go to the next page, but is typeset on the same page, so that the last ones disappear. This works, but I can't explain why: \starttext \dorecurse{30}{\startsection[title=\recurselevel]\null\par\stopsection} \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page-breakable \subsubsubject?
Am 12.10.2010 um 09:13 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, I'd have one more question. I need to have many \subsubject behind each other (again: actually processing an external file, but a small example is attached): \setuphead[subsection][before={\blank[preference,2*big]}] If you name really your files in the same way as your example you should change it because: • ”t-” is a prefix for a module and • the ctx file extension has a special meaning for context (file for proprocessing in xml format). Wolfgang ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page-breakable \subsubsubject?
Am 12.10.2010 um 09:13 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, I'd have one more question. I need to have many \subsubject behind each other (again: actually processing an external file, but a small example is attached): \setuphead[subsection][before={\blank[preference,2*big]}] If you name really your files in the same way as your example you should change it because: • ”t-” is a prefix for a module and • the ctx file extension has a special meaning for context (file for proprocessing in xml format). Wolfgang ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page-breakable \subsubsubject?
Thanks, it works perfectly. On Tue, 12 Oct 2010 10:18:54 +0200, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 12.10.2010 um 09:13 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, I'd have one more question. I need to have many \subsubject behind each other (again: actually processing an external file, but a small example is attached): \setuphead[subsection][before={\blank[preference,2*big]}] BTW: If you name really your files in the same way as your example you should change it because: • ”t-” is a prefix for a module and - I'll think about it, but maybe I won't change it until a problem with Ctx appears as I'm used to prefix all test files by t-; this concerns also my Cpp, AutoLisp and Lua files and other test files in general. • the ctx file extension has a special meaning for context (file for proprocessing in xml format). - OK, I'm planning to use .tex for Ctx files in the future. Now I'm using LaTeX and ConTeXt both, so I use .ctx extension for Ctx sources. Moreover, till I'm trying to achieve the same things in Ctx as I'm used to do in LaTeX, I may have a-file.tex (for LaTeX) and a-file.ctx (for ConTeXt) in the same directory. I initially don't know whether I'll succeed with Ctx version (I'm still Ctx beginner and, although many things may be made more easily in Ctx, they work for me in LTX in the moment but still not in Ctx). Lukas Wolfgang ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page-breakable \subsubsubject?
2010/10/12 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: Thanks, it works perfectly. On Tue, 12 Oct 2010 10:18:54 +0200, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: • the ctx file extension has a special meaning for context (file for proprocessing in xml format). - OK, I'm planning to use .tex for Ctx files in the future. Now I'm using LaTeX and ConTeXt both, so I use .ctx extension for Ctx sources. Moreover, till I'm trying to achieve the same things in Ctx as I'm used to do in LaTeX, I may have a-file.tex (for LaTeX) and a-file.ctx (for ConTeXt) in the same directory. I initially don't know whether I'll succeed with Ctx version (I'm still Ctx beginner and, although many things may be made more easily in Ctx, they work for me in LTX in the moment but still not in Ctx). You can also use .mkiv for ConTeXt MKIV and .tex for LaTeX and ConTeXt MKII -- luigi ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page-breakable \subsubsubject?
On Tue, 12 Oct 2010 10:40:19 +0200, luigi scarso luigi.sca...@gmail.com wrote: • the ctx file extension has a special meaning for context (file for proprocessing in xml format). - OK, I'm planning to use .tex for Ctx files in the future. Now I'm using LaTeX and ConTeXt both, so I use .ctx extension for Ctx sources. Moreover, till I'm trying to achieve the same things in Ctx as I'm used to do in LaTeX, I may have a-file.tex (for LaTeX) and a-file.ctx (for ConTeXt) in the same directory. I initially don't know whether I'll succeed with Ctx version (I'm still Ctx beginner and, although many things may be made more easily in Ctx, they work for me in LTX in the moment but still not in Ctx). You can also use .mkiv for ConTeXt MKIV Yes, it sounds better. I noticed .mkiv files in Ctx installation tree but I thought this extension is reserved for a kind of files rather than .ctx. and .tex for LaTeX and ConTeXt MKII (It allows .mkii for old style Ctx as well.) Lukas ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page-breakable \subsubsubject?
2010/10/12 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: On Tue, 12 Oct 2010 10:40:19 +0200, luigi scarso luigi.sca...@gmail.com You can also use .mkiv for ConTeXt MKIV Yes, it sounds better. I noticed .mkiv files in Ctx installation tree but I thought this extension is reserved for a kind of files rather than .ctx. and .tex for LaTeX and ConTeXt MKII (It allows .mkii for old style Ctx as well.) Yes; a good point for three letters for suffix is compatibility with old OS and perhaps MIME questions. -- luigi ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page-breakable \subsubsubject?
On Tue, Oct 12, 2010 at 10:35:01AM +0200, Procházka Lukáš Ing. - Pontex s. r. o. wrote: - OK, I'm planning to use .tex for Ctx files in the future. Now I'm using LaTeX and ConTeXt both, so I use .ctx extension for Ctx sources. Moreover, till I'm trying to achieve the same things in Ctx as I'm used to do in LaTeX, I may have a-file.tex (for LaTeX) and a-file.ctx (for ConTeXt) in the same directory. I initially don't know whether I'll succeed with Ctx version (I'm still Ctx beginner and, although many things may be made more easily in Ctx, they work for me in LTX in the moment but still not in Ctx). I usually do the reverse; use .tex for context (or plain) and .ltx for latex, the later is also identified by vim so I get proper syntax highlighting for LaTeX. -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page-breakable \subsubsubject?
On Tuesday 12 October 2010 10:49:18 luigi scarso wrote: Yes; a good point for three letters for suffix is compatibility with old OS and perhaps MIME questions. What? You mean DOS? And FAT? Maybe we should restrict our coding as well to ascii... Alan P.S. I am still using some real-time applications running on computers under DOS, but I would not dream of trying to put ConTeXt on such a system! ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page-breakable \subsubsubject?
On 12-10-2010 11:30, Alan BRASLAU wrote: On Tuesday 12 October 2010 10:49:18 luigi scarso wrote: Yes; a good point for three letters for suffix is compatibility with old OS and perhaps MIME questions. What? You mean DOS? And FAT? Maybe we should restrict our coding as well to ascii... it's not so much dos but the old iso cd standards but nowadays everyone uses the extensions that permit long names so, indeed 8.3 is no longer an issue (one reason why I stick to the 8 for context core files is that it works out quite well in lists and such) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page-breakable \subsubsubject?
On 10/12/2010 11:30 AM, Alan BRASLAU wrote: On Tuesday 12 October 2010 10:49:18 luigi scarso wrote: Yes; a good point for three letters for suffix is compatibility with old OS and perhaps MIME questions. What? You mean DOS? And FAT? Maybe we should restrict our coding as well to ascii... Since the almost total disappearance of 3.5 floppies and bare iso9660 CDs, I do not care about DOS/FAT any more. But as far as I know, windows still bases its file type detection on extension, so that is something to keep in mind. Best wishes, Taco ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page-breakable \subsubsubject?
On Tue, Oct 12, 2010 at 11:30 AM, Alan BRASLAU alan.bras...@cea.fr wrote: On Tuesday 12 October 2010 10:49:18 luigi scarso wrote: Yes; a good point for three letters for suffix is compatibility with old OS and perhaps MIME questions. What? You mean DOS? And FAT? yes; more generally I think to customer OS for embedded devices Maybe we should restrict our coding as well to ascii... As long as you impose the filename to follow the ascii 8.3 convention the OS should be ok. ConTeXt mkii is already able to manage utf-8 bytestreams (it's not a OS issue, becuse it's a binary file for these OSs) Alan P.S. I am still using some real-time applications running on computers under DOS, but I would not dream of trying to put ConTeXt on such a system! Maybe not the full context, but metatex . It's a memory+CPU issue so not too serious nowadays. Also you lua is designed to be small and it's easy to compile luatex for different targets. -- luigi ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Synonyms: difference between mkii and mkiv?
Hi all, When I typeset the following example (ConTeXt version 2010.10.11 16:59, from the Minimals) %%% begin abbrev-test.tex \definesynonyms[abbreviation][abbreviations][\infull][\inshort] \starttext \abbreviation{LCTVS}{Locally Convex Topological Vector Space} \abbreviation{EEG} {Electroencephalogram} \abbreviation{ERP} {Event-Related Potentials} \abbreviation{TVS}{Topological Vector Space} Test inshort: \inshort{EEG}, \inshort{ERP}, \inshort{TVS}, Test infull: \infull{EEG}, \infull{ERP}, \infull{TVS}, \infull{LCTVS} \stoptext %%% end abbrev-test.tex with mkii I get: Test inshort: Electroencephalogram, Event-Related Potentials, Topological Vector Space, Test infull: EEG, ERP, TVS, LCTVS while in mkiv I get Test inshort: EEG, ERP, TVS, Test infull: ELECTROENCEPHALOGRAM, EVENT-RELATED POTENTIALS, TOPOLOGICAL VECTOR SPACE, LOCALLY CONVEX TOPOLOGICAL VECTOR SPACE I mean in mkii the first command in the definition \definesynonyms[abbreviation][abbreviations][\infull][\inshort] that is \infull, is considered to be the short version of the synonyms, while in mkiv it is considered to be the long version and CAPITALIZED. Is this a bug or a change between mkii and mkiv? How can one set up the command in mkiv so that it is not all CAPITALS? Thanks for your attention: OK ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setupnote (was subfootnote)
On Tuesday 05 October 2010 15:32:27 Wolfgang Schuster wrote: Am 05.10.2010 um 14:41 schrieb Alan BRASLAU: The above example illustrates a *spacing problem* after \startfootnote \stopfootnote (the spacing after the footnote enumerator differs from \footnote{}) The \stopfootnote gobbles the next space, to prevent this you can say in mkii \setupnote[footnote][next=\autoinsertnextspace] but the ”next” key is missing in mkiv. Indeed! What to do? Alan ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setupnote (was subfootnote)
Am 12.10.2010 um 11:48 schrieb Alan BRASLAU: On Tuesday 05 October 2010 15:32:27 Wolfgang Schuster wrote: Am 05.10.2010 um 14:41 schrieb Alan BRASLAU: The above example illustrates a *spacing problem* after \startfootnote \stopfootnote (the spacing after the footnote enumerator differs from \footnote{}) The \stopfootnote gobbles the next space, to prevent this you can say in mkii \setupnote[footnote][next=\autoinsertnextspace] but the ”next” key is missing in mkiv. Indeed! What to do? Hans recommended: \stopfootnote{} Steffen ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page-breakable \subsubsubject?
On Tuesday 12 October 2010 11:36:26 Taco Hoekwater wrote: But as far as I know, windows still bases its file type detection on extension, so that is something to keep in mind. Oh, Windows... (written with disdain) ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page-breakable \subsubsubject?
On Tuesday 12 October 2010 11:45:28 luigi scarso wrote: On Tue, Oct 12, 2010 at 11:30 AM, Alan BRASLAU alan.bras...@cea.fr wrote: P.S. I am still using some real-time applications running on computers under DOS, but I would not dream of trying to put ConTeXt on such a system! Maybe not the full context, but metatex . It's a memory+CPU issue so not too serious nowadays. Also you lua is designed to be small and it's easy to compile luatex for different targets. The point of these systems generally is to limit the use to a single (real-time) task, on the factory floor, for example. I guess now there is an explosion of embedded systems in handhelds, phones, etc. and one might like to have luatex available. We did see the beginnings of putting ConTeXt on an ipad, after all. Alan ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setupnote (was subfootnote)
On Tue, Oct 12, 2010 at 12:27 PM, Alan BRASLAU alan.bras...@cea.fr wrote: On Tuesday 12 October 2010 11:54:28 Steffen Wolfrum wrote: Hans recommended: \stopfootnote{} Thank you. This will work, but it is pretty ugly.% \startfootnote Hopefully Hans will fix this in mkiv. \stopfootnote{} In the meantime, we will just have to make do, but the special syntax as seen here raises eyebrows with my MS-Word bound collaborators. Maybe for now \let\StartFootnote\startfootnote \def\StopFootnote{\stopfootnote{}} and after fix \let\StartFootnote\startfootnote \let\StopFootnote\stopfootnote -- luigi ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setupnote (was subfootnote)
luigi scarso wrote: On Tue, Oct 12, 2010 at 12:27 PM, Alan BRASLAU alan.bras...@cea.fr wrote: On Tuesday 12 October 2010 11:54:28 Steffen Wolfrum wrote: Hans recommended: \stopfootnote{} Thank you. This will work, but it is pretty ugly.% \startfootnote Hopefully Hans will fix this in mkiv. \stopfootnote{} In the meantime, we will just have to make do, but the special syntax as seen here raises eyebrows with my MS-Word bound collaborators. Maybe for now \let\StartFootnote\startfootnote \def\StopFootnote{\stopfootnote{}} and after fix \let\StartFootnote\startfootnote \let\StopFootnote\stopfootnote How would that help? \somecommand automatically gobbles the next space. ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page-breakable \subsubsubject?
On 12-10-2010 12:12, Alan BRASLAU wrote: On Tuesday 12 October 2010 11:36:26 Taco Hoekwater wrote: But as far as I know, windows still bases its file type detection on extension, so that is something to keep in mind. Oh, Windows... (written with disdain) actually I like the filetype / suffix thing even if it's imperfect (and I dislike suffixless filenames as it gives me no clue what I deal with) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Fwd: register broken on steffens machine
On 12-10-2010 1:10, Steffen Wolfrum wrote: Hi Taco, as it calls itself LuaTeX error ... maybe you could have a look at it and hopefully confirm that error? ! LuaTeX error text/tex/texmf-context/tex/context/base/sort-ini.lua:106: attempt to compare nil with number stack traceback: ...text/tex/texmf-context/tex/context/base/sort-ini.lua:106: in function...text/tex/texmf-context/tex/context/base/sort-ini.lua:105 ...text/tex/texmf-context/tex/context/base/sort-ini.lua:416: in function 'firstofsplit' ...text/tex/texmf-context/tex/context/base/strc-reg.lua:403: in function 'finalize' ...text/tex/texmf-context/tex/context/base/strc-reg.lua:427: in function 'analyzed' ...text/tex/texmf-context/tex/context/base/strc-reg.lua:789: in function 'process' main ctx instance:1: in main chunk. system error on line 7 in file index_ff.tex: LuaTeX error should work ok with the latest ... did you delete the tuc file first? btw, this is related to the somewhat weird feature of setting index entries at the end - i might remove that feature if it keeps interfering - - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problem typing file with diacritics by \typefile
On 12-10-2010 9:39, Peter Münster wrote: On Tue, Oct 12 2010, Procházka Lukáš Ing. - Pontex s. r. o. wrote: All runs programs run under Windows and all [mentioned] are using CP 1250. Perhaps with a filter: windows-program | recode windows-1250..u8output-file it's not that complex to support an regime option for \typefile but I need an example file then Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setupnote (was subfootnote)
On Tue, Oct 12, 2010 at 1:09 PM, Yury G. Kudryashov ur...@ya.ru wrote: luigi scarso wrote: On Tue, Oct 12, 2010 at 12:27 PM, Alan BRASLAU alan.bras...@cea.fr wrote: On Tuesday 12 October 2010 11:54:28 Steffen Wolfrum wrote: Hans recommended: \stopfootnote{} Thank you. This will work, but it is pretty ugly.% \startfootnote Hopefully Hans will fix this in mkiv. \stopfootnote{} In the meantime, we will just have to make do, but the special syntax as seen here raises eyebrows with my MS-Word bound collaborators. Maybe for now \let\StartFootnote\startfootnote \def\StopFootnote{\stopfootnote{}} and after fix \let\StartFootnote\startfootnote \let\StopFootnote\stopfootnote How would that help? \somecommand automatically gobbles the next space. ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ You are right, my apologies for the error. I mean that in the meanwhile perhaps you can use somenthing like this \long\def\StartFootnote#1\StopFootnote{\startfootnote#1\stopfootnote\space} -- luigi ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setupnote (was subfootnote)
Am 12.10.2010 um 11:48 schrieb Alan BRASLAU: On Tuesday 05 October 2010 15:32:27 Wolfgang Schuster wrote: Am 05.10.2010 um 14:41 schrieb Alan BRASLAU: The above example illustrates a *spacing problem* after \startfootnote \stopfootnote (the spacing after the footnote enumerator differs from \footnote{}) The \stopfootnote gobbles the next space, to prevent this you can say in mkii \setupnote[footnote][next=\autoinsertnextspace] but the ”next” key is missing in mkiv. Indeed! What to do? Patch strc-not.mkiv \def\dodoredefinenotecommands#1#2#3% {\unexpanded\expandafter\def\csname\e!start#3#1\expandafter\endcsname\expandafter {\expandafter\dosingleempty\csname\s!do\e!start#3#1\endcsname}% \unexpanded\expandafter\def\csname\s!do\e!start#3#1\expandafter\endcsname \expandafter[\expandafter##\expandafter1\expandafter]\expandafter##\expandafter2\csname\e!stop#3#1\endcsname {\begingroup \doenumerationinit{#1}{#2}{#3}% \@@notemakedescription[##1]{}{##2}% \endgroup \namednoteparameter{#1}\c!next}} Example: \starttext One\startfootnote one\stopfootnote Two\startfootnote two\stopfootnote \setupnote[footnote][next=\autoinsertnextspace] One\startfootnote one\stopfootnote Two\startfootnote two\stopfootnote \stoptext Wolfgang ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Fwd: register broken on steffens machine
Am 12.10.2010 um 13:18 schrieb Hans Hagen: btw, this is related to the somewhat weird feature of setting index entries at the end - i might remove that feature if it keeps interfering - When I have to deal with documents that were written in MSWord and export them to eg. TEI XML, it looks like this: anchor type=bookmark-start xml:id=Keyword/ ... text, text ... index termIndexentry/term index termSubentry/term /index /index anchor type=bookmark-end corresp=#Keyword/ So, setting the index entrie at the end matches this order quite well ... And as a lot of documents originally are written in MSWord your feature is very useful! Steffen ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] register broken in latest beta!
Am 12.10.2010 um 13:18 schrieb Hans Hagen: On 12-10-2010 1:10, Steffen Wolfrum wrote: Hi Taco, as it calls itself LuaTeX error ... maybe you could have a look at it and hopefully confirm that error? ! LuaTeX error text/tex/texmf-context/tex/context/base/sort-ini.lua:106: attempt to compare nil with number stack traceback: ...text/tex/texmf-context/tex/context/base/sort-ini.lua:106: in function...text/tex/texmf-context/tex/context/base/sort-ini.lua:105 ...text/tex/texmf-context/tex/context/base/sort-ini.lua:416: in function 'firstofsplit' ...text/tex/texmf-context/tex/context/base/strc-reg.lua:403: in function 'finalize' ...text/tex/texmf-context/tex/context/base/strc-reg.lua:427: in function 'analyzed' ...text/tex/texmf-context/tex/context/base/strc-reg.lua:789: in function 'process' main ctx instance:1: in main chunk. system error on line 7 in file index_ff.tex: LuaTeX error should work ok with the latest ... Yes, with todays beta (ConTeXt ver: 2010.10.12) it works again. Thanks for the fast fix! Steffen ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problem typing file with diacritics by \typefile
On Tue, 12 Oct 2010 13:24:24 +0200, Hans Hagen pra...@wxs.nl wrote: On 12-10-2010 9:39, Peter Münster wrote: On Tue, Oct 12 2010, Procházka Lukáš Ing. - Pontex s. r. o. wrote: All runs programs run under Windows and all [mentioned] are using CP 1250. Perhaps with a filter: windows-program | recode windows-1250..u8output-file it's not that complex to support an regime option for \typefile but I need an example file then There is one attached - t-TypeF.mkiv - it contains all Czech letters with diacritics. You can see also all letters with diacritics in Czech - Cz.txt (CP 1250) and their translation to UTF8 - Cz-UTF8.txt. Cheers, Lukasá è ï é ì í ò ó ø ú ù ý Á È Ï É Ì Í Ò Ó Ø Ú Ù Ý Ã¡ Ä Ä Ã© Ä Ã Å Ã³ Å Å¡ Å¥ ú ů ý ž Ã Ä Ä Ã Ä Ã Å Ã Å Å Å¤ à Ů à Ž t-TypeF.mkiv Description: Binary data ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Error message wrong when \component is used
Dear all, I find that when there is an error (at least, undefined control sequence) in a file included using \component, the supposedly erroneous lines printed are from the calling file, not the file where the error actually is (although the line number seems correct, and there are clues where the error really lies). Minimal example ... file1.tex: \startproduct file1 \starttext Bla bla bla. Bla bla bla. Bla bla bla. \component file2 \stoptext \stopproduct file2.tex: \startcomponent file2 Bleh bleh bleh. Bleh bleh bleh. Bleh bleh bleh. \zorg \stopcomponent When I run context file1 I get an error: ... ConTeXt ver: 2010.10.12 01:03 MKIV fmt: 2010.10.12 int: english/english ... systems : begin file file1 at line 1 systems : begin file file2 at line 6 (file2.tex ! Undefined control sequence. system error on line 5 in file file1.tex: Undefined control sequence ... 1 \startproduct file1 2 \starttext 3 Bla bla bla. 4 Bla bla bla. 5 Bla bla bla. 6 \component file2 7 \stoptext 8 \stopproduct l.5 \zorg If I replace \component with \input in file1.tex, all works correctly and the error (\zorg) is correctly pointed out. Best, Robin ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Error message wrong when \component is used
Why do you use start-/stoptext inside start-/stopproduct? Steffen Am 12.10.2010 um 14:59 schrieb robin.kirk...@csiro.au robin.kirk...@csiro.au: file1.tex: \startproduct file1 \starttext Bla bla bla. Bla bla bla. Bla bla bla. \component file2 \stoptext \stopproduct ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] missing newline in when mtxrun exits with error
Dear all, This is a very minor gripe, but when mtxrun reports an error it doesn't seem to print a final newline. At least with my bash setup, this confuses the command-line editing feature, which I use a lot. ... some TeX error happened ... ? q OK, entering \batchmode MTXrun | fatal error: return code: 1% Platform is Mac OS X 10.6, latest minimals. Best, Robin ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] missing newline in when mtxrun exits with error
+1 On 10/12/10 3:13 PM, robin.kirk...@csiro.au wrote: Dear all, This is a very minor gripe, but when mtxrun reports an error it doesn't seem to print a final newline. At least with my bash setup, this confuses the command-line editing feature, which I use a lot. ... some TeX error happened ... ? q OK, entering \batchmode MTXrun | fatal error: return code: 1% Platform is Mac OS X 10.6, latest minimals. Best, Robin ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setupnote (was subfootnote)
On Tue, 12 Oct 2010, luigi scarso wrote: You are right, my apologies for the error. I mean that in the meanwhile perhaps you can use somenthing like this \long\def\StartFootnote#1\StopFootnote{\startfootnote#1\stopfootnote\space} Better use \autoinsertnextspace rather than \space. Or perhaps add \autoinsertnextspace to \dodoredefinenotecommands. See the attached file. Aditya\unprotect \def\dodoredefinenotecommands#1#2#3% {\unexpanded\expandafter\def\csname\e!start#3#1\expandafter\endcsname\expandafter {\expandafter\dosingleempty\csname\s!do\e!start#3#1\endcsname}% \unexpanded\expandafter\def\csname\s!do\e!start#3#1\expandafter\endcsname \expandafter[\expandafter##\expandafter1\expandafter]\expandafter##\expandafter2\csname\e!stop#3#1\endcsname {\begingroup \doenumerationinit{#1}{#2}{#3}% \@@notemakedescription[##1]{}{##2}% \endgroup\autoinsertnextspace}} \definenote [\v!footnote] \protect \starttext let see if\startfootnote Footnote \stopfootnote the space goobled. let see if \startfootnote Footnote \stopfootnote the space goobled. \stoptext ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setupnote (was subfootnote)
On Tue, 12 Oct 2010, Wolfgang Schuster wrote: Am 12.10.2010 um 11:48 schrieb Alan BRASLAU: On Tuesday 05 October 2010 15:32:27 Wolfgang Schuster wrote: Am 05.10.2010 um 14:41 schrieb Alan BRASLAU: The above example illustrates a *spacing problem* after \startfootnote \stopfootnote (the spacing after the footnote enumerator differs from \footnote{}) The \stopfootnote gobbles the next space, to prevent this you can say in mkii \setupnote[footnote][next=\autoinsertnextspace] but the ”next” key is missing in mkiv. Indeed! What to do? Patch strc-not.mkiv Did not see this before I posted my reply. Of course, using a proper key is better than explicitly add \autoinsertnextspace in the definition. Aditya___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] beta
Hi, I uploaded a beta. This weeks undocumented feature: \starttext test \placefigure{}{} test \placefigure[somewhere:alpha][whatever]{}{} test \placefigure[somewhere:beta] [whatever]{}{} test \placefigure[somewhere:gamma][whatever]{}{} test \placefigure[somewhere:delta][whatever]{}{} test \placefigure{}{} in \in{figure}[whatever] bla bla \placenamedfloat[figure][*l*] \placenamedfloat[figure][gamma] \placenamedfloat[figure][beta] \stoptext Experimental of course. Alan and I are discussing up some more clever mechanisms (follow up on conference chats) but this will probably stay. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] missing newline in when mtxrun exits with error
On 12-10-2010 4:15, Jörg Hagmann wrote: +1 On 10/12/10 3:13 PM, robin.kirk...@csiro.au wrote: Dear all, This is a very minor gripe, but when mtxrun reports an error it doesn't seem to print a final newline. At least with my bash setup, this confuses the command-line editing feature, which I use a lot. ... some TeX error happened ... ? q OK, entering \batchmode MTXrun | fatal error: return code: 1% Platform is Mac OS X 10.6, latest minimals. This is sort of tricky and occasionally Taco and I look into it as it also depends on in what state texlua is with respect to its 'already flushed a newline' state. Conflicting demands and such. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Mohd Zamri Murah invited you to Dropbox
Mohd Zamri Murah wants you to use Dropbox to sync and share files online and across computers. Get started here: http://www.dropbox.com/link/20.VSXizZK6vX/NjM5MTA2MTM3Nw - The Dropbox Team To stop receiving invites from Dropbox, please go to http://www.dropbox.com/bl/8444c458b082/ntg-context%40ntg.nl___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setupnote (was subfootnote)
On Tuesday 12 October 2010 13:35:19 Wolfgang Schuster wrote: Patch strc-not.mkiv \def\dodoredefinenotecommands#1#2#3% {\unexpanded\expandafter\def\csname\e!start#3#1\expandafter\endcsname\expa ndafter {\expandafter\dosingleempty\csname\s!do\e!start#3#1\endcsname}% \unexpanded\expandafter\def\csname\s!do\e!start#3#1\expandafter\endcsname \expandafter[\expandafter##\expandafter1\expandafter]\expandafter##\expand after2\csname\e!stop#3#1\endcsname {\begingroup \doenumerationinit{#1}{#2}{#3}% \@@notemakedescription[##1]{}{##2}% \endgroup \namednoteparameter{#1}\c!next}} Example: \starttext One\startfootnote one\stopfootnote Two\startfootnote two\stopfootnote \setupnote[footnote][next=\autoinsertnextspace] One\startfootnote one\stopfootnote Two\startfootnote two\stopfootnote \stoptext Wolfgang Thanks! But, following Mojca's comment, I am expecting: On Mon, Oct 11, 2010 at 09:20, Wolfgang Schuster wrote: Fixed in next beta. :) ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Mohd Zamri Murah invited you to Dropbox
On 10/12/2010 04:59 PM, Dropbox wrote: User kicked off the list: we don't like spam, not even for free stuff. Best wishes, Taco ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setupnote (was subfootnote)
On 12-10-2010 5:06, Alan BRASLAU wrote: Fixed in next beta. Not unless Wolfgang mails me a patch that he's confident with (as this is sort of tricky). Okay, 'next' can be any next, so watch a fixed in *the* next beta -) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Updating via TLContrib
Hi list, I updated my TeXLive 2010 (MacTeX) installation using the TLContrib repository. Now I get the following error message when I use context --version. MTXrun | forcing cache reload MTXrun | resolvers: skipping configuration file '/usr/local/texlive/2010/texmfcnf.lua' MTXrun | resolvers MTXrun | resolvers MTXrun | the resolver databases are not present or outdated MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | resolvers: remembering file 'mtx-base.lua' MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | unknown script 'base.lua' or 'mtx-base.lua' Any ideas? Daniel ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Updating via TLContrib
On 10/12/2010 05:22 PM, Daniel Grycman wrote: Hi list, I updated my TeXLive 2010 (MacTeX) installation using the TLContrib repository. Now I get the following error message when I use context --version. Try mtxrun --generate Best wishes, Taco ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta (undocumented feature of the week)
On Tuesday 12 October 2010 16:57:45 Hans Hagen wrote: I uploaded a beta. This weeks undocumented feature: Hi everyone, I suggest a new game: Each week we hold a sort of treasure hunt to try to detect that week's new undocumented feature. (Of course, Wolfgang will not be allowed to participate in order to make it somewhat of a fair contest. ;-) The first prize will be an invitation to write a new section in the manual; The runners-up will be invited to give a talk at the next ConTeXt conference. Alan P.S. I am not going to be playing, as I can hardly keep up with reading the mailing list, let alone downloading so regularly the new beta. ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta (undocumented feature of the week)
On 10/12/2010 06:16 PM, Alan BRASLAU wrote: On Tuesday 12 October 2010 16:57:45 Hans Hagen wrote: I uploaded a beta. This weeks undocumented feature: Hi everyone, I suggest a new game: Each week we hold a sort of treasure hunt to try to detect that week's new undocumented feature. (Of course, Wolfgang will not be allowed to participate in order to make it somewhat of a fair contest. ;-) The first prize will be an invitation to write a new section in the manual; That's a crappy prize. The reverse will work better : all contestants except the winner and runner up *have* to write a new section in the manual and the winner does not have to give a talk ... ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta (undocumented feature of the week)
On Tue, Oct 12, 2010 at 6:16 PM, Alan BRASLAU alan.bras...@cea.fr wrote: On Tuesday 12 October 2010 16:57:45 Hans Hagen wrote: I uploaded a beta. This weeks undocumented feature: Hi everyone, I suggest a new game: Each week we hold a sort of treasure hunt to try to detect that week's new undocumented feature. hint: diff -durN -- luigi ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta (undocumented feature of the week)
On Tue, 12 Oct 2010, Taco Hoekwater wrote: That's a crappy prize. The reverse will work better : all contestants except the winner and runner up *have* to write a new section in the manual and the winner does not have to give a talk ... How about a DocuWare license? To use ConTeXt, each month you have to enter a key. To obtain the key you must write or edit one section of the manual. :) Aditya ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Error in simplefonts
On Sun, 10 Oct 2010, Aditya Mahajan wrote: Hi Wolfgang, \definesimplefont fails in the latest beta. Minimal example: \usemodule [simplefonts][size=10pt] \setmainfont[Fontin][expansion=quality,protrusion=quality] \definesimplefont [NameFont][FontinBold][size=16pt] \starttext \NameFont A \stoptext ... gives + /opt/context-minimals/texmf-context/tex/context/third/simplefonts/t-simplefonts.lua) ! LuaTeX error main ctx instance:1: attempt to index field 'define' (a nil value) stack traceback: main ctx instance:1: in main chunk. system error on line 5 in file test.tex: LuaTeX error ... 1 \usemodule [simplefonts][size=10pt] 2 3 \setmainfont[Fontin][expansion=quality,protrusion=quality] 4 5 \definesimplefont [NameFont][FontinBold][size=16pt] 6 7 \starttext 8 \NameFont A 9 \stoptext \dodefinesimplefont ...1(\luaescapestring {#2})} \ifcase \scaledfontmode \r... l.5 ...efont [NameFont][FontinBold][size=16pt] Does anyone else get this error or is it something wrong on my machine? Aditya ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Error in simplefonts
On 12 oct. 2010, at 19:36, Aditya Mahajan wrote: […] ! LuaTeX error main ctx instance:1: attempt to index field 'define' (a nil value) stack traceback: main ctx instance:1: in main chunk. system error on line 5 in file test.tex: LuaTeX error ... 1 \usemodule [simplefonts][size=10pt] 2 3 \setmainfont[Fontin][expansion=quality,protrusion=quality] 4 5 \definesimplefont [NameFont][FontinBold][size=16pt] 6 7 \starttext 8 \NameFont A 9 \stoptext \dodefinesimplefont ...1(\luaescapestring {#2})} \ifcase \scaledfontmode \r... l.5 ...efont [NameFont][FontinBold][size=16pt] Does anyone else get this error or is it something wrong on my machine? Hi Aditya, I do get the same exact error with your example: here is part of the console result: ! Undefined control sequence. system error on line 5 in file error-simplefonts.tex: Undefined control sequence ... 1 %\definesimplefont fails in the latest beta. Minimal example: 2 \usemodule [simplefonts][size=10pt] 3 \setmainfont[Fontin][expansion=quality,protrusion=quality] 4 5 \definesimplefont [NameFont][FontinBold][size=16pt] 6 7 \starttext 8 \NameFont A 9 \stoptext l.5 \definesimplefont [NameFont][FontinBold][size=16pt] ? Process aborted However as I thought this might be due to the fact that I don't have the font Fontin, I tried with another font, which I do have, CMUBright-Roman, but the result is the same. I tried also with a few previous examples in which I had tried simplefonts, they don't work anymore. All this with the latest release (ConTeXt version 2010-10-12). Best regards: OK___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Updating via TLContrib
On Oct 12, 2010, at 5:41 PM, Taco Hoekwater wrote: On 10/12/2010 05:22 PM, Daniel Grycman wrote: Hi list, I updated my TeXLive 2010 (MacTeX) installation using the TLContrib repository. Now I get the following error message when I use context --version. Try mtxrun --generate Best wishes, Taco For the record: I'm getting the exact same error when trying to install a new minimals tree on my linux-ppc box: t...@tas-desktop:~/context % context --version MTXrun | forcing cache reload MTXrun | resolvers: warning: no lua configuration files found MTXrun | resolvers MTXrun | resolvers MTXrun | the resolver databases are not present or outdated MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | resolvers: remembering file 'mtx-context.lua' MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | unknown script 'context.lua' or 'mtx-context.lua' 10/12/10 7:52PM: t...@tas-desktop:~/context % mtxrun --generate MTXrun | resolvers: variable 'SELFAUTOLOC' set to '/mnt/shared/context/bin' MTXrun | resolvers: variable 'SELFAUTODIR' set to '/mnt/shared/context' MTXrun | resolvers: variable 'SELFAUTOPARENT' set to '/mnt/shared' MTXrun | resolvers: variable 'TEXMFCNF' set to '' MTXrun | resolvers: variable 'TEXMF' set to '' MTXrun | resolvers: variable 'TEXOS' set to 'context' MTXrun | resolvers MTXrun | resolvers: warning: no lua configuration files found MTXrun | resolvers MTXrun | resolvers 10/12/10 7:52PM: t...@tas-desktop:~/context % context --version MTXrun | forcing cache reload MTXrun | resolvers: warning: no lua configuration files found MTXrun | resolvers MTXrun | resolvers MTXrun | the resolver databases are not present or outdated MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | resolvers: remembering file 'mtx-context.lua' MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | unknown script 'context.lua' or 'mtx-context.lua' And of course, context doesn't work. So something is fishy here... All best Thomas ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] autopunctuations (and subscripts)
On Friday 06 August 2010 20:11:55 Aditya Mahajan wrote: It seems that autopunctuation=no does not affect the spacing in subscripts. Bug or feature? It now appears (I just noticed) that autopunctuation=no is the default. However, including it explicitly seems be misinterpreted and it gets turned *on*. Bug or feature? Alan Minimal example: \starttext $0,5\times 1,5$ \setupmathematics [autopunctuation=no] $0,5\times 1,5$ \stoptext ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Error in simplefonts
Hi Otared, On Tue, 12 Oct 2010, Otared Kavian wrote: On 12 oct. 2010, at 19:36, Aditya Mahajan wrote: Does anyone else get this error or is it something wrong on my machine? I do get the same exact error with your example: here is part of the console result: Thanks for confirming. I will wait for Wolfgang to look into this. I tried also with a few previous examples in which I had tried simplefonts, they don't work anymore. For me, the basic functionality of simplefonts is working. Only \definesimplefont gives an error. I can get around that by using \definefont instead. Aditya ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Updating via TLContrib
On Tue, Oct 12, 2010 at 17:22, Daniel Grycman wrote: Hi list, I updated my TeXLive 2010 (MacTeX) installation using the TLContrib repository. Now I get the following error message when I use context --version. Any ideas? You need to modify /usr/local/texlive/2010/texmfcnf.lua: return { content = { TEXMFCACHE = '~/Library/texlive/2010/texmf-var', TEXMFHOME = '~/Library/texmf', }, TEXMFCACHE = '~/Library/texlive/2010/texmf-var', } There is no way to update TeX Live to fix this file as this is a local addition of MacTeX. Dick promised to fix the online version of MacTeX, but DVDs have probably been printed already. Mojca ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Updating via TLContrib
On Tue, Oct 12, 2010 at 19:55, Thomas A. Schmitz wrote: For the record: I'm getting the exact same error when trying to install a new minimals tree on my linux-ppc box: The executable bit was missing. (I think that you should have the credentials to fix it with svn propset svn:executable on luatex next time when I do a similar mistake.) Please try the fixed version if it still complains, but I think that is the source of all evil. There is at least another luatex that suffers from that, so it would be a miracle if it would work. t...@tas-desktop:~/context % context --version 10/12/10 7:52PM: t...@tas-desktop:~/context % mtxrun --generate What does which mtxrun return? Mojca ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Updating via TLContrib
On Oct 12, 2010, at 9:50 PM, Mojca Miklavec wrote: For the record: I'm getting the exact same error when trying to install a new minimals tree on my linux-ppc box: The executable bit was missing. (I think that you should have the credentials to fix it with svn propset svn:executable on luatex next time when I do a similar mistake.) Damn, I alway forget that I have write access to the minimals. Thanks for reminding me; next time I'll try and fix it myself. Please try the fixed version if it still complains, but I think that is the source of all evil. There is at least another luatex that suffers from that, so it would be a miracle if it would work. Yes, you're right of course, now it works wonderfully. Thanks! Thomas ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Error message wrong when \component is used
From: Steffen Wolfrum cont...@st.estfiles.de Date: 13 October 2010 12:03:37 AM AEDT To: mailing list for ConTeXt users ntg-context@ntg.nl Subject: Re: [NTG-context] Error message wrong when \component is used Reply-To: mailing list for ConTeXt users ntg-context@ntg.nl Why do you use start-/stoptext inside start-/stopproduct? Steffen Hi Steffen, By mistake! 8-) However, if I take out the start-/stoptext, it makes no difference, Context is still printing text from the wrong file in the error message: file1.tex: \startproduct file1 Bla bla bla. Bla bla bla. Bla bla bla. \component file2 \stopproduct file2.tex: \startcomponent file2 Bleh bleh bleh. Bleh bleh bleh. Bleh bleh bleh. \zorg \stopcomponent and I get: ... systems : begin file file1 at line 1 systems : begin file file2 at line 5 (file2.tex ! Undefined control sequence. system error on line 5 in file file1.tex: Undefined control sequence ... 1 \startproduct file1 2 Bla bla bla. 3 Bla bla bla. 4 Bla bla bla. 5 \component file2 6 \stopproduct l.5 \zorg ? q OK, entering \batchmode MTXrun | fatal error: return code: 1% Robin ___ 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___