Re: [NTG-context] Forced Page Break in a Table of Content

2017-10-19 Thread Antoine Cailliau
No one for helping me ? On 11 October 2017 at 10:49, Antoine Cailliau <antoinecaill...@gmail.com> wrote: > hi, > > The wiki documents how to insert a page break in a table of content: > http://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break > > However, this

[NTG-context] Forced Page Break in a Table of Content

2017-10-11 Thread Antoine Cailliau
hi, The wiki documents how to insert a page break in a table of content: http://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break However, this does not work on ConTeXt ver: 2017.07.27 16:17 MKIV beta fmt: 2017.7.28 The following minimal document does not have the page break.

[NTG-context] t-bnf module with MKIV

2017-07-26 Thread Antoine Cailliau
Hi, I'm trying to typeset a BNF grammar. The module t-bnf appears to not work with mkiv. http://ctan.math.washington.edu/tex-archive/macros/context/contrib/context-bnf/doc/context/third/bnf/t-bnf.pdf tex error > tex error on line 157 in file

[NTG-context] Problem with usemodule[graph]

2017-03-02 Thread Antoine Cailliau
Hi, I'd like to use graph to draw my plots with metapost. However, the following minimal file does not work: \usemodule[graph] > \starttext > \startMPcode > draw begingraph(3in,2in); > gdraw "agepop91.d"; > endgraph; > \stopMPcode > \stoptext The complete output log is available here:

Re: [NTG-context] Formula numbering conversion

2017-03-01 Thread Antoine Cailliau
Does anyone have a tip for me? I really want these tags in my document. Many thanks in advance, On 27 February 2017 at 19:22, Antoine Cailliau <antoinecaill...@gmail.com> wrote: > I try to replicate the following : https://mailman.ntg.nl/ > pipermail/ntg-context/2006/0210

Re: [NTG-context] Formula numbering conversion

2017-02-27 Thread Antoine Cailliau
a is no longer defined when the compiler hit \in but how can I ensure that such local definition stay accessible ? Thank you in advance, Antoine C. On 27 February 2017 at 17:28, Antoine Cailliau <antoinecaill...@gmail.com> wrote: > Thanks. > > I updated the wiki. > >

Re: [NTG-context] Formula numbering conversion

2017-02-27 Thread Antoine Cailliau
Thanks. I updated the wiki. On 27 February 2017 at 17:18, Pablo Rodriguez <oi...@gmx.es> wrote: > On 02/27/2017 04:55 PM, Antoine Cailliau wrote: > > The following code is documented to change the numbering of the > equations. > > However, this still use nu

[NTG-context] Formula numbering conversion

2017-02-27 Thread Antoine Cailliau
The following code is documented to change the numbering of the equations. However, this still use numerals for the equations. \setupformulas[conversion=characters] \starttext \placeformula[test] \startformula E = mc^2 \stopformula \stoptext Is this a bug ? Is it the correct way to change

Re: [NTG-context] Lua code and percent sign

2017-02-27 Thread Antoine Cailliau
Thank you ___ 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 /

[NTG-context] Lua code and percent sign

2017-02-27 Thread Antoine Cailliau
The following code, from the wiki, results in a compilation error: \starttext > \ctxlua{context(string.format("\%.2f", math.pi))} > \stoptext The error is: [\directlua]:1: invalid escape sequence near '\%' > 1 \starttext > 2 > 3 >> \ctxlua{context(string.format("\%.2f", math.pi))} > 4 > 5

Re: [NTG-context] How to define a new font style using \definefontstyle?

2017-01-31 Thread Antoine Cailliau
. That why I would have like to create a new font-style. Thanks in advance for your answer, Antoine On 30 January 2017 at 19:43, Hans Hagen <pra...@wxs.nl> wrote: > On 1/30/2017 9:12 AM, Antoine Cailliau wrote: > >> No one? Is there a documentation somewhere or an exa

Re: [NTG-context] How to define a new font style using \definefontstyle?

2017-01-30 Thread Antoine Cailliau
No one? Is there a documentation somewhere or an example I could refer to? Thanks in advance, Antoine On 23 January 2017 at 12:48, Antoine Cailliau <antoinecaill...@gmail.com> wrote: > Hi, > > I'm trying to declare a new font style. I declare it with \definefonts

[NTG-context] How to define a new font style using \definefontstyle?

2017-01-23 Thread Antoine Cailliau
Hi, I'm trying to declare a new font style. I declare it with \definefontstyle [sx] [sx] but the compilation fails when I use \sx in my document. I found an older message from 2009 similar to my issue but with public solution. May be some private response from Hans Hagen is missing? (

Re: [NTG-context] Using key as numbering in \placepublications

2017-01-23 Thread Antoine Cailliau
Thank you very much. I was using the (old) bibtex module. Using the mkvi publication mechanism was the key. Antoine On 19 January 2017 at 16:19, Alan Braslau <alan.bras...@cea.fr> wrote: > On Thu, 19 Jan 2017 08:19:03 +0100 > Antoine Cailliau <antoinecaill...@gmail.com> wrot

Re: [NTG-context] Using key as numbering in \placepublications

2017-01-18 Thread Antoine Cailliau
tion list to display [Kup03a] instead of [2] ? The numbering option does not offer "key" apparently. Thanks in advance, Antoine On 16 November 2016 at 11:04, Antoine Cailliau <antoinecaill...@gmail.com> wrote: > Hi, > > I'm writing my thesis using ConTeXt but I'm not

[NTG-context] Using key as numbering in \placepublications

2016-11-16 Thread Antoine Cailliau
Hi, I'm writing my thesis using ConTeXt but I'm not satisfied with the way the publication list is displayed. I'd like to display the key, in brackets, in front of every publication in the list (i.e. replace the [2] numbering in front of it by [Sha07] for example). The numbering option only

Re: [NTG-context] Handling Optical Sizes for Minion Pro in Context (LuaTeX)

2016-05-09 Thread Antoine Cailliau
I found how to make it work with \switchtobodyfont, I was missing \definebodyfontenvironment for the sizes. And I had (obviously) to update the \definebodyfont with the correct sizes. But still, \tfxx and so do not switch to correct font. Thanks, Antoine On 9 May 2016 at 11:23, Antoine

[NTG-context] Handling Optical Sizes for Minion Pro in Context (LuaTeX)

2016-05-09 Thread Antoine Cailliau
Hi, I'm continuing my quest for supporting Minion Pro font in my document. I defined the different sizes, as shown on contextgarden. But apparently, it does not (fully) work. The problems are : - When using \tfxx, \tfx, ... Regular font is always used, there is no switch to appropriate font. -

Re: [NTG-context] Handling Semi-Bold for Minion Pro in Context (LuaTeX)

2016-05-04 Thread Antoine Cailliau
Oh. Thank you so much. I'm going to try that on Monday. Now that I understand this, I can move to supporting the different sizes. On 4 May 2016 at 16:39, Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote: > Antoine Cailliau <antoinecaill...@gmail.com> > 4. Mai 2016 um 10:3

Re: [NTG-context] Handling Semi-Bold for Minion Pro in Context (LuaTeX)

2016-05-04 Thread Antoine Cailliau
For a compiled PDF, see https://drive.google.com/open?id=0Bwo7pPA5_WkDdlNLbHdkMjg2dkU Thanks in advance for the help :-) On 4 May 2016 at 10:31, Antoine Cailliau <antoinecaill...@gmail.com> wrote: > Thank you very much for the example. I got it working for the "regular"

Re: [NTG-context] Handling Semi-Bold for Minion Pro in Context (LuaTeX)

2016-05-04 Thread Antoine Cailliau
65536 + 10 mkiv lua stats > lua properties: engine: lua, used memory: 113 MB (ctx: 113 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ) mkiv lua stats > runtime: 0.790 seconds, 1 processed pages, 1 shipped pages, 1.266 pages/second SyncTeX written on font2.synctex.gz. system

Re: [NTG-context] Handling Semi-Bold for Minion Pro in Context (LuaTeX)

2016-05-03 Thread Antoine Cailliau
> > The \definefontfamily command is limited to the default alternatives (tf, > bf, it, sl, bi, bs ans sc). > Thanks for your answer, what shall I use to define non-default alternatives? ___ If your question is of

[NTG-context] Handling Semi-Bold for Minion Pro in Context (LuaTeX)

2016-05-02 Thread Antoine Cailliau
Hello, I'm trying to use the font Minion Pro for my document. I'm using the simplefont module but I cannot use the semibold font. I guess I'm missing some line in the configuration to bind sb to the semibold variant. Here is a short example of my setup: \definefontalternative[sb]

Re: [NTG-context] Some short questions

2010-04-29 Thread Antoine Cailliau
Hi, First, declaring one (and only one) page as empty. I mean with no footer/header texts. This is for my cover page, and some page left intentionnaly blank. \page[empty] or \starttextmakeup \stoptextmakeup Second, I want to change the layout (margin, textwidth, etc) of a

Re: [NTG-context] Real help on \dostartbuffer needed

2010-04-28 Thread Antoine Cailliau
Damned, I didn't saw it. Thanks a lot for your help. On Wed, 2010-04-28 at 09:55 +0200, Wolfgang Schuster wrote: Am 27.04.10 15:20, schrieb Antoine Cailliau: This time, it is not working, and I do not have any idea why. \defineenumeration[ENUM][] \definebuffer[Entity,before=\startENUM

[NTG-context] Some short questions

2010-04-28 Thread Antoine Cailliau
Hi, I'm looking for two specific tricks: First, declaring one (and only one) page as empty. I mean with no footer/header texts. This is for my cover page, and some page left intentionnaly blank. Second, I want to change the layout (margin, textwidth, etc) of a page. I know there is a clean way

Re: [NTG-context] Float placement in margin

2010-04-27 Thread Antoine Cailliau
After looking a bit more, I'm looking for a more generic solutions where I can put paragraphs as well in margin. In my thesis, I've a lot of blocks (defined by framed) that I need to put in the margin with my text continuing his flow normally. \inmargin does not seems to work (a dark story with

[NTG-context] Help on \dostartbuffer needed

2010-04-27 Thread Antoine Cailliau
Hi, I'm trying to deal with \dostartbuffer. I found an old message on the ML about \dostartbuffer http://www.mail-archive.com/ntg-context@ntg.nl/msg08222.html and its is pretty what I want except that I do not know how can I get access to the buffer :) For instance, \def\startLST[#1]%

Re: [NTG-context] Help on \dostartbuffer needed

2010-04-27 Thread Antoine Cailliau
Mmm... \getbuffer[LST] obviously Sorry for the noise On 27 April 2010 15:04, Antoine Cailliau antoinecaill...@gmail.com wrote: Hi, I'm trying to deal with \dostartbuffer. I found an old message on the ML about \dostartbuffer http://www.mail-archive.com/ntg-context@ntg.nl/msg08222.html

Re: [NTG-context] Real help on \dostartbuffer needed

2010-04-27 Thread Antoine Cailliau
[ENUM] argument \??bu Entity,before=\startENUM ,after=\stopENUM \c!number \letvalue #1-\expandafter \let \csname #1 \endcsname ... l.4 On Tue, 2010-04-27 at 15:13 +0200, Antoine Cailliau wrote: Mmm

[NTG-context] Float placement in margin

2010-04-26 Thread Antoine Cailliau
Dear all, I would like to put a figure my edge margin, at the bottom of the page. (so, the bottom left corner on my left pages). I tried \inmargin but the figure is not placed in margin but at the top of the page. I tried \placefigure[margin] but it is placed on the top of the margin. This is

[NTG-context] Enumeration

2010-04-18 Thread Antoine Cailliau
Hi all, I'm working on my thesis and I need a mechanism very similar to float and its reference/caption facilities except it can't be floating. My problem is the following: I've boxes to display corresponding to operators. They should be numbered (like figure, tables, etc.) and having a list is

Re: [NTG-context] Enumeration

2010-04-18 Thread Antoine Cailliau
Hi, Thanks a lot, this is exactly what I was looking for. Is there a way to edit the style of the title, like with caption ? Where is it documented (If any) ? Thanks in advance, Antoine On Sun, 2010-04-18 at 09:15 +0200, Wolfgang Schuster wrote: Am 17.04.10 15:27, schrieb Antoine Cailliau

Re: [NTG-context] Enumeration

2010-04-18 Thread Antoine Cailliau
Ok, I read definition files and I found what I was looking for. For the archive of the ML: headstyle, headcolor, titlestyle, titlecolor, titleleft, titleright and text. Cheers, Antoine On 18 April 2010 10:36, Antoine Cailliau antoinecaill...@gmail.com wrote: Hi, Thanks a lot

[NTG-context] Color in footer

2009-10-14 Thread Antoine Cailliau
Dear all, I'm trying to change the color of the footer text. I typed: \def\footerstyle#1{\startcolor[red]#1\stopcolor} \setupfooter[style=\footerstyle] But I receive an error that I can't interpret. ! Argument of \footerstyle has an extra }. inserted text \par to be read

Re: [NTG-context] Color in footer

2009-10-14 Thread Antoine Cailliau
Dear, \def\footerstyle#1{\startcolor[red]#1\stopcolor} \setupfooter[style=\footerstyle] has to do with the fact that style does not pass an argument does \setupfooter[color=red] work? Yes, perfectly. I did not tried it since this was not documented (or at least I may misread the

[NTG-context] Page layout : Need help to begin

2009-01-29 Thread Antoine Cailliau
Hi guys, I'm quite new to context and I'm not sure about the best way to achieve the layout I've in mind. You may find a representation of my layout in the attached PDF. Can someone help me by giving some tips on how to proceed to achieve such a result. What's the best technique? The best

Re: [NTG-context] Page layout : Need help to begin

2009-01-29 Thread Antoine Cailliau
Hi, Thanks for your help. Your solution works but I need more fine tuning on this background. If you want the background on chapter pages etc. it makes sense to integrate the background in a slightly different way but more details about the layout needed for this to find the best solution.

[NTG-context] Background on paragraphs

2009-01-27 Thread Antoine Cailliau
Hi all, I'm new to ConTeXt but not new to LaTeX and I really enjoy to learn again something new and that seems to be cleaner in syntax at least. By reading the excursion, I typed something that did not work on my computer. It is about the background on paragraphs. I've a big black background and

Re: [NTG-context] Background on paragraphs

2009-01-27 Thread Antoine Cailliau
Obviously, I forgot the attachment. Here it is. background.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 /

Re: [NTG-context] Background on paragraphs

2009-01-27 Thread Antoine Cailliau
Hi, Thank you a lot for your quick answer. It perfectly worked \setupcolors[state=start] Why is it needed, what does that do exactly? Where can I find more information about? Cheers, Antoine C. ___ If your