Re: [NTG-context] [MkIV] How to get the local size of a column

2015-05-19 Thread Pierre-François Bonnefoi
Hello Hans, I try to get the equivalent of \the\hsize in Lua, in order to render some verbatim text to the current width of the column. Thank you for your help, Pierre-François. On 19 May 2015, at 12:16, Hans Hagen pra...@wxs.nl wrote: On 5/18/2015 8:00 PM, Pierre-François Bonnefoi wrote

Re: [NTG-context] [MkIV] How to get the local size of a column

2015-05-19 Thread Pierre-François Bonnefoi
Thank you ! tex.hzize / 2^16 gives me the expected value ! This is a lot to learn :) On 19 May 2015, at 13:04, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: contex -- Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr http://libpfb.so/ Universite de

Re: [NTG-context] [MkIV] How to get the local size of a column

2015-05-19 Thread Pierre-François Bonnefoi
I've found a workaround by passing the value as an argument to the lua code : \def\stopzonetexte {\ctxlua{userdata.traiterbuffer(buffers.getcontent('zonetexte'),[==[\the\hsize]==])} Now, I try to figure how to get em size in points. On 19 May 2015, at 12:31, Pierre-François Bonnefoi bonne

[NTG-context] [MkIV] How to get the local size of a column

2015-05-18 Thread Pierre-François Bonnefoi
Hello, Is it possible to get the current width of a column from a paragraph into Lua ? Pierre-François. -- Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr http://libpfb.so/ Universite de Limoges, Laboratoire XLIM | Tel : 06 28 18 03 38 123 av Albert Thomas

Re: [NTG-context] line number overwriting

2015-04-29 Thread Pierre-François Bonnefoi
to two line numbering overwriting each other. regards, Pierre-François. On 28 Apr 2015, at 23:43, Pierre-François Bonnefoi bonne...@unilim.fr wrote: Hello, I've got some strange behavior with verbatim text : PastedGraphic-1.png The lines of the verbatim text got two different numbering

Re: [NTG-context] line number overwriting

2015-04-29 Thread Pierre-François Bonnefoi
Thank you very much for your solution. When using it into a paragraph, the line number disappears : \defineframed[numeroLigneCode][location=low,width=fit,strut=yes,frame=off,rightframe=on] \definetyping[code][numbering=line,page=yes,bodyfont=9pt,tab=2]

[NTG-context] line number overwriting

2015-04-28 Thread Pierre-François Bonnefoi
routine when you use a verbatim text into a column set with the paragraph command and when the verbatim text is enclosed into a frame. Regards, Pierre-François. -- Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr http://libpfb.so/ Universite de Limoges, Laboratoire XLIM

Re: [NTG-context] ConTeXt gobble my mind

2014-11-09 Thread Pierre-François Bonnefoi
Schuster schuster.wolfg...@gmail.com wrote: Am 08.11.2014 um 00:00 schrieb Pierre-François Bonnefoi bonne...@unilim.fr: Just before going to bed, I've found a solution with all your help and the help of Taco Hoekwater through the ntg mail archive : \def\startSlide% {\def\stopSlide

Re: [NTG-context] ConTeXt gobble my mind

2014-11-07 Thread Pierre-François Bonnefoi
. How do you make this ? Please save my remaining hairs on my head ! Hope this helps regards Keith. Thank you very much for sparing some time to express so efficiently my problem. best regards, Pierre-François. -- Bonnefoi Pierre-Francois|E-mail : bonne

Re: [NTG-context] ConTeXt gobble my mind

2014-11-07 Thread Pierre-François Bonnefoi
Hello Hans, thank you for contributing to solve my problem. I've tried your proposition : how can I get the content of the buffer afterward ? I've tried \getbuffer[Slide] with no success on MKIV beta that I've just updated. Does a buffer work only for verbatim content ? best regards,

Re: [NTG-context] ConTeXt gobble my mind

2014-11-07 Thread Pierre-François Bonnefoi
know if it's my philosopher's stone... I've tried it and it works so far. No more ugly gobbling, my mind is free. So depressing problem and so simple and elegant solution... On 07 Nov 2014, at 16:17, Hans Hagen pra...@wxs.nl wrote: On 11/7/2014 2:26 PM, Pierre-François Bonnefoi wrote: Hello Hans

[NTG-context] ConTeXt gobble my mind

2014-11-06 Thread Pierre-François Bonnefoi
! \stoptext How can I use correctly gobbleinput to make it works ? Thank you for your help, kind regards, Pierre-François Bonnefoi. -- Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr http://libpfb.so/ Universite de Limoges, Laboratoire XLIM | Tel : 06 28 18 03 38 123 av

Re: [NTG-context] ConTeXt gobble my mind

2014-11-06 Thread Pierre-François Bonnefoi
luigi.sca...@gmail.com wrote: On Thu, Nov 6, 2014 at 10:35 AM, Pierre-François Bonnefoi bonne...@unilim.fr wrote: Hello, I've made a lot of improvement to my slides format for my teaching material and I've run into a serious issue with gobbleinput that I can express with with simple

Re: [NTG-context] ConTeXt gobble my mind

2014-11-06 Thread Pierre-François Bonnefoi
And now, I've ran into this problem. On 06 Nov 2014, at 13:12, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 06.11.2014 um 10:35 schrieb Pierre-François Bonnefoi bonne...@unilim.fr: Hello, I've made a lot of improvement to my slides format for my teaching material and I've run

Re: [NTG-context] ConTeXt gobble my mind

2014-11-06 Thread Pierre-François Bonnefoi
I can not define a mode for each of my slide neither I can express a list of activated slides. On 06 Nov 2014, at 14:12, luigi scarso luigi.sca...@gmail.com wrote: On Thu, Nov 6, 2014 at 1:59 PM, Pierre-François Bonnefoi bonne...@unilim.fr wrote: Hello Wolfgang and Luigi, My example

[NTG-context] [doifinset] how it works ?

2014-08-21 Thread Pierre-François Bonnefoi
in order to expand the arguments with no success. The only way is to use direct argument as : \doifinset{1}{1,2,3,4,5} Let me know it it is possible. best regards, Pierre-François Bonnefoi. -- Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr http://libpfb.so/ Universite

[NTG-context] [MKIV] Itemize nowhite option broken

2012-04-26 Thread Pierre-François Bonnefoi
Process Management 0.52 mtx-context | mtx-context | main context file: /Volumes/MacBookProInternal/Users/pef/context/tex/texmf-context/tex/context/base/context.mkiv mtx-context | current version: 2012.04.25 17:29 Thank you for your support, best regards, Pierre-François Bonnefoi

Re: [NTG-context] [Layout] Problem with ConTeXt mkII

2011-10-02 Thread Pierre-François Bonnefoi
but doesn't correct the problem. Thank you for your help, Pierre-François. -- Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr Universite de Limoges, Laboratoire XLIM | Tel : 06 28 18 03 38 83, rue d'Isle | Mrs. Peel, we're needed... 87000 Limoges

Re: [NTG-context] [Layout] Problem with ConTeXt mkII

2011-10-01 Thread Pierre-François Bonnefoi
Hello Luigi, your solution is better...but doesn't work completely : the first page is correct, the second is not, and after this one, the end of the document is correctly formatted... hum... Very strange and annoying... Pierre-François. -- Bonnefoi Pierre-Francois|E

Re: [NTG-context] [Layout] Problem with ConTeXt mkII

2011-09-29 Thread Pierre-François Bonnefoi
Hello Luigi, Wolfgang, neither the first proposition, nor the second solves my problem, the size of the text area (textheight) is modified on the first page, but not well computed from the second page (it's stuck to the same value). thank you for your help, Pierre-François. -- Bonnefoi

Re: [NTG-context] [Layout] Problem with ConTeXt mkII

2011-09-28 Thread Pierre-François Bonnefoi
Hello Wolfgang, Thank you for your help, but your solution required ConTeXt mkIV, and I'm stuck to ConTeXt mkII. Sorry to learn that this bug make its path to the mkIV version. Could a new version of mkII could solve this bug ? Pierre-François. -- Bonnefoi Pierre-Francois

Re: [NTG-context] [Layout] Problem with ConTeXt mkII

2011-09-26 Thread Pierre-François Bonnefoi
footer 0.99985cm footerdistance 0.0cm %% The textheight is blocked to an unexpected value : 18.3cm for the whole document. I've read and re-read the manual, but I've not found my error... Thank you for your help, Pierre-François. -- Bonnefoi Pierre-Francois

Re: [NTG-context] Multipages registers

2011-09-25 Thread Pierre-François Bonnefoi
Where is such a macro given in the garden. A quick search did not show it. Aditya Hum... It's a long time ago...I think I've heavily modified the initial macro... Thank you for your much cleaner version. Pierre-François. -- Bonnefoi Pierre-Francois|E-mail : bonne

[NTG-context] [Layout] Problem with ConTeXt mkII

2011-09-25 Thread Pierre-François Bonnefoi
you for your help, Pierre-François. -- Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr Universite de Limoges, Laboratoire XLIM | Tel : 06 28 18 03 38 83, rue d'Isle | Mrs. Peel, we're needed... 87000 Limoges - FRANCE

Re: [NTG-context] Multipages registers

2011-09-18 Thread Pierre-François Bonnefoi
Hello Wolfgang, You said that I can break the page before a new letter, but can I wrap this page with some chosen text like a title ? best regards, Pierre-François. On 18 sept. 2011, at 20:23, Wolfgang Schuster wrote: Am 14.09.2011 um 11:54 schrieb Pierre-François Bonnefoi: Hello

Re: [NTG-context] Multipages registers

2011-09-18 Thread Pierre-François Bonnefoi
schrieb Pierre-François Bonnefoi: Hello Wolfgang, You said that I can break the page before a new letter, but can I wrap this page with some chosen text like a title ? What do want show in the title? Wolfgang -- Bonnefoi Pierre-Francois|E-mail : bonne

Re: [NTG-context] Multipages registers

2011-09-14 Thread Pierre-François Bonnefoi
\placeindex[a-k] \stopslide \startslide \placeindex[l-z] \stopslide Is this possible ? best regards, Pierre-François Bonnefoi. Wolfgang Schuster wrote : Am 01.09.2011 um 18:54 schrieb Pierre-François Bonnefoi: Hello, I would like to be able to spread a registers on several slides from

[NTG-context] Multipages registers

2011-09-01 Thread Pierre-François Bonnefoi
index entries I've not found the way to do this. Kind regards, Pierre-François Bonnefoi. -- Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr Universite de Limoges, Laboratoire XLIM | Tel : 06 28 18 03 38 83, rue d'Isle | Mrs. Peel, we're needed

Re: [NTG-context] [NTG-Context] How to compute correct page number for handout

2010-10-03 Thread Pierre-François Bonnefoi
value and not a numeral value. I've tried to find a function to translate text to number but I've not find it. I hope to get some help. kind regards, Pierre-François. Le 30 sept. 2010 à 14:12, Peter Münster a écrit : On Thu, Sep 30 2010, Pierre-François Bonnefoi wrote: I've tried it and I'm

Re: [NTG-context] [NTG-Context] How to compute correct page number for handout

2010-10-03 Thread Pierre-François Bonnefoi
-François. Le 3 oct. 2010 à 17:12, Hans Hagen a écrit : On 3-10-2010 4:16, Pierre-François Bonnefoi wrote: Dear Peter, I run into some problem with font handling in MKIV so I'm stuck in MKII for some time. I've tried the following : \starttext \def\ChapterPrefix#1{% \the\numexpr\number

Re: [NTG-context] [NTG-Context] How to compute correct page number for handout

2010-10-03 Thread Pierre-François Bonnefoi
But this function \structurelistrealpagenumber is not defined in MKII. ok, ok I've to go to MKIV some day ;-) Le 3 oct. 2010 à 17:34, Hans Hagen a écrit : On 3-10-2010 5:25, Pierre-François Bonnefoi wrote: So, I've to forget it... I'm a little bit disappointed that it's not possible

Re: [NTG-context] [NTG-Context] How to compute correct page number for handout

2010-10-03 Thread Pierre-François Bonnefoi
You saved my day ! Le 3 oct. 2010 à 17:52, Wolfgang Schuster a écrit : Am 29.09.2010 um 13:13 schrieb Pierre-François Bonnefoi: Hello, I'use extensively context to write my lecture notes and for all of my printing needs. For my students, I've made some lecture presentations

[NTG-context] [NTG-Context] How to compute correct page number for handout

2010-09-30 Thread Pierre-François Bonnefoi
=\ChapterPrefix] That doesn't work, and I've some difficulties to figure how computation is performed in e-TeX... Could you help me to resolve this issue ? Kind regards, Pierre-François Bonnefoi. -- Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr Universite de Limoges, Laboratoire

Re: [NTG-context] [NTG-Context] How to compute correct page number for handout

2010-09-30 Thread Pierre-François Bonnefoi
page number, and I think that I have to alter them artificially, only for display purpose. best regards, Pierre-François Bonnefoi. Le 30 sept. 2010 à 09:47, Hans Hagen a écrit : On 29-9-2010 1:13, Pierre-François Bonnefoi wrote: Hello, I'use extensively context to write my lecture notes