Re: [NTG-context] some patches
Hi, On 5/15/06, Hans Hagen [EMAIL PROTECTED] wrote: (btw, is there a clever way to avoid this sudo stuff and become real root?) I personnaly do: sudo -s when I need to become root for several commands. And then I: exit Gilles. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] French punctuation spacing not working anymore (2006.02.15)
Hello, On 3/3/06, Renaud AUBIN [EMAIL PROTECTED] wrote: \def\activateSomeCharacters{% \defineactivecharacter ! {\,\string!}% \defineactivecharacter ? {\,\string?}% \defineactivecharacter : {\,\string:}% \defineactivecharacter ; {\,\string;}} \activateSomeCharacters \appendtoks\activateSomeCharacters\to\everystarttext Thanks. I'll use that for now! Gilles. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] French punctuation spacing not working anymore (2006.02.15)
Hello, The following document: % \mainlanguage[fr] \useencoding[ffr] \starttext Essai: \c ca marche? Non; fini! \stoptext % doesn't work anymore. The punctuations are no more spaced correctly. $ texexec --version TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 tex : pdfeTeX, 3.141592-1.30.3-2.2 (Web2C 7.5.5) context : ver: 2006.02.15 17:41 cont-en : ver: 2006.02.15 17:41 fmt: 2006.3.2 mes: english cont-nl : ver: 2006.02.15 17:41 fmt: 2006.3.2 mes: dutch Thanks, Gilles. P.S.: for another question concerning glossaries on every page, I've written a small program in Tcl, used with \installprogram. If anyone is interested in it, I'll gladly give it. Can such a thing be added to the ConTeXt wiki? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] 'Glossary' on every page
Hello to all, I have a problem: I want to add a kind of glossary on a book. It will be, in fact, an explanation of acronyms ('NATO: North Atlantic Treaty Organisation' for instance). But... I'd want it on every page, only for the acronyms used on the current page (and alphabetically sorted if possible)... I tried using layers (with or without tying them to backgrounds), blocks (\begin... \end...), buffers, list of synonyms, etc. but I had problems with one of the requirements or another. :-) My first idea was to use blocks for each page : \beginABREV[1] NATO: North Atlantic Treaty Organisation \endABREV \beginABREV[1] BLOB: Binary Large Object \endABREV and to use them with \useblocks[ABREV][\pagenumber] in the footer. To be sure to give the right page number to \beginABREV, I tried to define a label and use it, something like (from memory, I don't have my code near to me): \reference[abbrev\ABREVcount]% Put a label \beginABREV[{\ref[r][abbrev\ABREVcount]}]% and use the label to get the current page on subsequent runs. but I went on a nightmare of expansion problems... Plus it didn't eliminate duplicates nor sort the acronyms. But it would have been a start... :-) Can someone point me to the right direction? Thanks in advance, Gilles. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Switching fonts (or font size) in columnsets
Hello, Hans replied to me long ago (Sun Apr 3 23:03:54 CEST 2005): Gilles Pérez-Lambert wrote: With the example attached at the end of the mail (and that can be try on http://live.contextgarden.net), the page on which the font change occurs (be it the size or a new font) is moved up and the page is shorter... Is there a way to say that some text (here the items) are not to be aligned on the grid because they are smaller (or bigger)? % Example: [...] no body font switching in column sets (yet) Hans Is it possible now? :-) Thanks, Gilles. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Switching fonts (or font size) in columnsets
h h extern a écrit le dimanche 3 avril 2005 23:03 : no body font switching in column sets (yet) OK. I'll wait eagerly. :-) Thanks, Gilles. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Columnsets problems
Hello, Hans Hagen a écrit le mercredi 23 mars 2005 19:33 : Gilles Pérez-Lambert wrote: below is another way of doing it (OTRSET patch) Thanks. 6 The right column continues in the footer. 10 Same problem. 17 a line from the left column is reported on the right column even if there is room for it on the left column. dunno, have to look into it (quite tricky to sync things in column sets; stretching tex to the limit) I know. I didn't even think it was possible at all with TeX. It's a minor problem: I'll do manual edits. By the way, always in a columnsets context, is there a way to completely forbid floats on certain pages? no, should be doabla (so remind me later) I will. :-) I didn't find a way to tell placefigure not to allow figures to be renumbered during the placement. In other words, is there a possibility the follow the order in which I declare the figure, even if a page is less optimal like this... see patch below Thanks! Just a thing: I had to delete the '%' in the '\null}%' line below to make it compile. \def\OTRSETskipstart {\scratchcounter\executeifdefined{\??mc\OTRSETidentifier\c!start}\zerocount \ifcase\scratchcounter\else \advance\scratchcounter\plusone \doOTRSETsetgridcells {\copy\placeholderboxe} \plusone\plusone\nofcolumns\scratchcounter \null}% \fi} Thanks again, Gilles. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Translations of Context: an excursion
Hello, I asked Hans at EuroTeX 2005 in Pont--Mousson the permission to translate _Context: an excursion_ into French on behalf of GUTenberg, the French user group, and a German person (sorry, I forgot your name :-( ) did the same for the German language. Hans kindly agreed and prefers to have translations on a more recent document so here is a wiki page*: http://contextgarden.net/Revision_and_translations_of_ConTeXt%2C_an_excursion; created on the ConTeXt wiki (thanks Patrick!). The goal of this page is to outline sections that need to be updated or erased or added. Please participate! :-) Gilles. * If the link doesn't work in your mailer, go to http://contextgarden.net/Typos_in_beginners_manual and follow the link to Revision and translations of ConTeXt, an excursion.___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Columnsets problems
Hello, Following Hans's presentation on ConTeXt in EuroTeX 2005, I started to use columnsets. I'm really really impressed. Columnsets are easy to set up and wonderfully powerful. Nevertheless, I have some problems with columnsets... On the page: http://typo.free.fr/context/ you'll find the source file (Bogues.tex) and the output (Bogues.pdf) or a zip file of them. Some info on my config: texexec : TeXExec 5.2.5 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 tex : pdfeTeX, 3.141592-1.21a-2.2 (Web2C 7.5.4) context : ver: 2005.03.16 cont-en : ver: 2005.03.16 fmt: 2005.3.19 mes: english cont-nl : ver: 2005.01.31 fmt: 2005.3.19 mes: dutch Pages on the Bogues.pdf Description -- 1 When a title (here: \Article{Le titre}) is inside a columnsetspan, header=empty doesn't work. 6 The right column continues in the footer. 10 Same problem. 17 a line from the left column is reported on the right column even if there is room for it on the left column. By the way, always in a columnsets context, is there a way to completely forbid floats on certain pages? I didn't find a way to tell placefigure not to allow figures to be renumbered during the placement. In other words, is there a possibility the follow the order in which I declare the figure, even if a page is less optimal like this... Thanks for your time! Gilles. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Translations of Context: an excursion
VnPenguin a écrit le mardi 22 mars 2005 22:40 : It sounds interesting :) :-) But could you tell me more : the wiki page is used to keep the TOC only, right ? Or we do the translating job at wiki ? IMHO, it's better to have the ConTeXt source of this doc. But it depends to Hans ... I view this wiki page as a means to discuss where we can make modifications. I just did it for columns on the wiki page. When we'll all agree on modifications, we'll begin the translation. Hans, is it OK? Just my 2 (euro) cents :) I only have one cent (_centime_ as we say in France) in my pocket and give it anyway. :-) Gilles. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Error with XML and JS
Hello, Continuing the ConTeXt exploration with Hans's help: http://www.mail-archive.com/[EMAIL PROTECTED]/msg01784.html I'm trying to combine Hans's JS programming with XML processing but an error pops up: %%% javascript : loading script set fld (/Users/gpl/texmf/tex/context/base/java-fld.tex ! Missing \endcsname inserted. to be read again \unhbox \leavevmode -\unhbox [EMAIL PROTECTED] \fakeunderscore -\leavevmode \hbox {\setbox \scratchbox \hbox {(}\scratchdi... \_...fmmode \mathunderscore \else \textunderscore \fi \XML:ent:tex-underscore ...tterunderscore \else \_ \fi \ascii -Sanitized\getXMLentity {tex-underscore} TeX\getXMLentity {tex-unders... ... l.115 \stopJSpreamble %%% with the attached TeX file. There's some kind of interaction between the two modes. Without \start(stop)XMLdata, it works. Thanks for your time, Gilles, preparing the next demo of ConTeXt in June (Paris). :-) xml-js.tex Description: TeX document