Re: [NTG-context] Changing math font - sansserif - sans serif

2012-06-06 Thread Mathieu Dupont
Ok, I can do with serif then. Thank you Hans ! Mathieu Le 2012-06-06 à 03:45, Hans Hagen a écrit : On 6-6-2012 00:56, Mathieu Dupont wrote: Hi mailing list, Could someone help me figuring out what is the simplest way to have all my math font without serif, in the small example below

[NTG-context] Changing math font - sansserif - sans serif

2012-06-05 Thread Mathieu Dupont
Hi mailing list, Could someone help me figuring out what is the simplest way to have all my math font without serif, in the small example below, without losing anything, such as my \tau parameter ? Thank you very much for any hint ! \enableregime[il1] \setupbodyfont[sansserif,11pt] \starttext

[NTG-context] LuaTeX Function Arguments Variables Parameters List ConTeXt Lua \startluacode

2012-01-27 Thread Mathieu Dupont
Hi List, I am trying to program with Lua but there are concepts I must not understand, and the documentation is somewhat lacking. The only useful thing I could use is Hans' manual, thanks to him. If someone could help me just understanding the concept I must me missing in this simple example I

Re: [NTG-context] LuaTeX Function Arguments Variables Parameters List ConTeXt Lua \startluacode

2012-01-27 Thread Mathieu Dupont
Great, thank you very much Philipp. I will also read this page you pointed and I should understand better Lua then. http://wiki.contextgarden.net/table_manipulation Mathieu

[NTG-context] \placenamedformula \placelist MKIV \endgraf

2012-01-17 Thread Mathieu Dupont
Hi everyone, With MKIV, the names of formulas don't get written in the List Of Formulas anymore.The following example works fine for me in MKII, but not in MKIV.The only bug is that the names of formulas don't appear in the LOF.Anyone knows a way around ? Thank you very much ! Oh, and also,

Re: [NTG-context] No chapter prefixes in section numbers

2011-06-19 Thread Mathieu Dupont
Thanks ! It's done, except for \startchapter, as I did not figure out how to create a new page... Mathieu Subject: Re: [NTG-context] No chapter prefixes in section numbers From: schuster.wolfg...@googlemail.com Date: Sun, 19 Jun 2011 10:02:34 +0200 CC: mathieudup...@hotmail.com To:

[NTG-context] Letter module : \enableregime for accents not working within the letter environment

2011-06-19 Thread Mathieu Dupont
Hi, In the following example, accents between \startletter and \stopletter only are not working. How could this be fixed ? Thank you in advance ! \usemodule[letter] \enableregime[il1] \setupletterstyle[reference][list=reference]\setupletter[reference=\leftaligned{Montréal}] \setupletter[

Re: [NTG-context] Letter module : pdf not created

2011-06-18 Thread Mathieu Dupont
pages. Mathieu From: schuster.wolfg...@googlemail.com Date: Sat, 18 Jun 2011 06:42:35 +0200 To: ntg-context@ntg.nl Subject: Re: [NTG-context] Letter module : pdf not created Am 18.06.2011 um 01:06 schrieb Mojca Miklavec: On Fri, Jun 17, 2011 at 21:18, Mathieu Dupont wrote: I

[NTG-context] Letter module : pdf not created

2011-06-17 Thread Mathieu Dupont
Hi, I work with MkIV (ConTeXt Minimals) on a Mac (64). I just installed the Letter module with : ./first-setup.sh --extras=t-letter It runs with no error, but no .pdf file is created (in fact, only .log and .tuc are created), even though the .log file says : mkiv lua stats result saved in

Re: [NTG-context] Letter module : pdf not created

2011-06-17 Thread Mathieu Dupont
I just realized I got the following message : correspondence your context is too old, you need at last version '2009.09.21' system forcing quit: correspondence and I installed the Minimals about a month ago... Mathieu From: mathieudup...@hotmail.com To: ntg-context@ntg.nl Date:

Re: [NTG-context] Random selection of a word in a set with lua and mkiv

2011-06-08 Thread Mathieu Dupont
This following code works, except that the first random is always the same (Analysis) for some reason. Anyone knows why ? \enableregime[il1]\starttext\startluacode userdata = userdata or {} math.randomseed( os.time() )function userdata.random(...)

Re: [NTG-context] Random selection of a word in a set with lua and mkiv

2011-06-08 Thread Mathieu Dupont
: pra...@wxs.nl To: ntg-context@ntg.nl CC: mathieudup...@hotmail.com Subject: Re: [NTG-context] Random selection of a word in a set with lua and mkiv On 8-6-2011 7:00, Mathieu Dupont wrote: This following code works, except that the first random is always the same (Analysis

Re: [NTG-context] Include a list in a list, for example, a List of Figures in a Table of Content

2011-06-06 Thread Mathieu Dupont
No, not at all.I'm sorry, I realize I wasn't clear at all. What I want is simply the List of Figures to figure in my Table of Content, to be listed in it, just such as a chapter or a section.So my TOC would look like this : TABLE OF CONTENTList of Figures . page 1Chapter 1

Re: [NTG-context] Include a list in a list, for example, a List of Figures in a Table of Content

2011-06-06 Thread Mathieu Dupont
Great, thank you ! That works just perfect. Mathieu From: schuster.wolfg...@googlemail.com Date: Mon, 6 Jun 2011 22:30:47 +0200 To: ntg-context@ntg.nl Subject: Re: [NTG-context] Include a list in a list, for example, a List of Figures in a Table of Content Am 06.06.2011 um 14:57

Re: [NTG-context] Include a list in a list, for example, a List of Figures in a Table of Content

2011-06-05 Thread Mathieu Dupont
: Fri, 3 Jun 2011 22:55:28 +0200 From: pra...@wxs.nl To: ntg-context@ntg.nl CC: mathieudup...@hotmail.com Subject: Re: [NTG-context] Include a list in a list, for example, a List of Figures in a Table of Content On 3-6-2011 7:10, Mathieu DUPONT wrote: Hi, How can one include a list

Re: [NTG-context] Wiki Topics Menu

2011-06-05 Thread Mathieu Dupont
From: p...@talvi.net To: ntg-context@ntg.nl Subject: Re: [NTG-context] Wiki Topics Menu On Fri 03 Jun 2011, Mathieu DUPONT wrote: Is there a menu page on the wiki to see all the topics/pages there are, such as these few examples : Do you mean something like http

Re: [NTG-context] No chapter prefixes in section numbers

2011-06-05 Thread Mathieu Dupont
Ok, thank you very much for the great work Wolfgang ! For now I guess I could look at the source code of a command to find out its properties (I am not familiar with TeX but maybe I can figure out a few things). I tried http://source.contextgarden.net/ but I can't find out how to find the

[NTG-context] Wiki Topics Menu

2011-06-03 Thread Mathieu DUPONT
Hi, Is there a menu page on the wiki to see all the topics/pages there are, such as these few examples : http://wiki.contextgarden.net/TABLEhttp://wiki.contextgarden.net/Layout I really can't find it if it exits.Otherwise that would be very, very useful, rather that only hitting them when

[NTG-context] Include a list in a list, for example, a List of Figures in a Table of Content

2011-06-03 Thread Mathieu DUPONT
Hi, How can one include a list into another list ?The \definecombinedlist command doesn't work.I tried to find other ways but didn't find anything that worked. Thanks for help ! \definecombinedlist[TOC][chapter,LOF]\definecombinedlist[LOF][figure] \setupheadtext[TOC=Table of

Re: [NTG-context] No chapter prefixes in section numbers

2011-06-03 Thread Mathieu DUPONT
Is there an exhaustive list of all the parameters the \setuphead function can take ? Neither the 2011 ConTeXt Commands Manual nor the Wiki Command Reference page mention this one (sectionsegments). Where can I find all the parameters one ConTeXt command can take ? Thanks for enlightenment !

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-27 Thread Mathieu DUPONT
As for the interaction patching, in the following example I can't figure out how to have, for the chapter lines, only CHAPTER 1 being the interaction and not the title + the dots line + the page number, as it is the case with this code.The example is minimal, but I left everything I am afraid

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-27 Thread Mathieu DUPONT
) interaction=sectionnumber rather than interaction=all doesn't seem to help here... Alan On Fri, May 27, 2011 at 09:33:53AM -0400, Mathieu DUPONT wrote: As for the interaction patching, in the following example I can't figure out how to have, for the chapter lines, only CHAPTER 1

Re: [NTG-context] \definehead \setuphead new type included in a list such as TOC

2011-05-27 Thread Mathieu DUPONT
That was very useful. Thanks again Wolfgang ! Mathieu From: schuster.wolfg...@googlemail.com Date: Thu, 26 May 2011 18:52:48 +0200 To: ntg-context@ntg.nl Subject: Re: [NTG-context] \definehead \setuphead new type included in a list such as TOC Am 26.05.2011 um 18:15 schrieb

[NTG-context] Modifying the header of a Register : \setuphead or \setupregister not working

2011-05-27 Thread Mathieu DUPONT
Hi, How can one modify the header of a Register, after it apparently inherited from Chapter ?In the following example, I try to have the title INDEX at the same height as the title CHAPTER,but neither the \setuphead nor \setupregister commands seem to do anything.Is there another command for

Re: [NTG-context] Modifying the header of a Register : \setuphead or \setupregister not working

2011-05-27 Thread Mathieu DUPONT
This is fixing a lot of problems I had, thank you ! Mathieu From: schuster.wolfg...@googlemail.com Date: Fri, 27 May 2011 20:46:01 +0200 To: ntg-context@ntg.nl Subject: Re: [NTG-context] Modifying the header of a Register : \setuphead or \setupregister not working Am 27.05.2011

Re: [NTG-context] TOC : margin size doesn't reset if next section is a chapter

2011-05-26 Thread Mathieu DUPONT
Until then, this works fine for me now.Thank you ! Mathieu From: schuster.wolfg...@googlemail.com Date: Thu, 26 May 2011 06:23:08 +0200 To: ntg-context@ntg.nl CC: pra...@wxs.nl Subject: Re: [NTG-context] TOC : margin size doesn't reset if next section is a chapter Am 25.05.2011 um

[NTG-context] Removing page numbering on the first page of a list such as the TOC

2011-05-26 Thread Mathieu DUPONT
Hi, I can't find out how to remove the header on the first page of a list, e.g the TOC. \setuphead[content][header=empty] won't do anything. Anyone has an idea ? Thanks. Mathieu

Re: [NTG-context] Removing page numbering on the first page of a list such as the TOC

2011-05-26 Thread Mathieu DUPONT
Thank you ! Mathieu From: schuster.wolfg...@googlemail.com Date: Thu, 26 May 2011 13:29:46 +0200 To: ntg-context@ntg.nl Subject: Re: [NTG-context] Removing page numbering on the first page of a list such as the TOC Am 26.05.2011 um 11:10 schrieb Mathieu DUPONT:Hi, I can't find

[NTG-context] \definehead \setuphead new type included in a list such as TOC

2011-05-26 Thread Mathieu DUPONT
Hi, In the following example, I define 2 new heads, and I want them to : 1- inherits from Title (or Chapter would be fine)2- show in the TOC3- not be counted (CHAPTER should be 1) Is there an option I can put into \setuphead[Abstract][] so it gets included in the TOC ?That would be the easiest

Re: [NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-25 Thread Mathieu DUPONT
Subject: Re: [NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines Am 25.05.2011 um 00:18 schrieb Mathieu DUPONT: Hi, Is there a way to have, in the table of contents, the titles (of chapters, sections, subsections, etc

Re: [NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-25 Thread Mathieu DUPONT
Interesting command to know.Thank you. However I only wanted the titles to be 2.8ex and the rest of the TOC to be 4.2ex.Please see previous message for the solution I got. Thanks Wolfgang. Mathieu From: schuster.wolfg...@googlemail.com Date: Wed, 25 May 2011 17:36:04 +0200 To:

Re: [NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-25 Thread Mathieu DUPONT
When I run this code, every lines of the TOC become 2.8ex.What I needed is every lines to be 2.8ex, except for the last line of each title, which should be 4.2 ex.In other words, all short titles that fit on one line will be 4.2ex (they're all last lines), but, only for the long titles on

Re: [NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-25 Thread Mathieu DUPONT
That's interesting. I am sure how to integrate it in my TOC though. I would have to replace both \box0 and \box2 by something like \placecontent[current] or \placecurrentcontent. Does such a thing exist ? Mathieu From: schuster.wolfg...@googlemail.com Date: Wed, 25 May 2011 18:12:37 +0200

[NTG-context] TOC : margin size doesn't reset if next section is a chapter

2011-05-25 Thread Mathieu DUPONT
In the following example, I set the margin for subsections to 1.25cm, in order for the subsection number to be aligned with the titles of sections.If the next section after a subsection is a section or another subsection, there is no problem.But if (as shown here) the next section (after a

Re: [NTG-context] TOC : margin size doesn't reset if next section is a chapter

2011-05-25 Thread Mathieu DUPONT
It bugs on the \leftskip command.Any idea why ?If I omit \leftskip, the problem doesn't get solved. to be read again \emptyargin \ChapterList ... \leftskip \listparameter {margin} \noindent \currentlistsym...

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Mathieu DUPONT
That was very useful !! Again, thank you very much Wolfgang ! Mathieu From: schuster.wolfg...@googlemail.com Date: Tue, 24 May 2011 13:42:41 +0200 To: ntg-context@ntg.nl Subject: Re: [NTG-context] TOC : Chapter title under its number (separate lines) Am 24.05.2011 um 00:59

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Mathieu DUPONT
If now I add the line : \setupcombinedlist[content][alternative=c] it doesn't add the dots to the chapter lines anymore,and I can't add \setuplist[chapter][alternative=c] since the alternative parameter is already taken by the new command Is there a way to add the dots option within my new

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Mathieu DUPONT
Thank you !However, this resulted in something weird with my appendices, but adding \blank in the front fixes the problem : \define[3]\ChapterList {\blank\currentlistsymbol\crlf#2\enspace\listdots\enspace#3} I am starting to think there is something mysterious with this \blank command...

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Mathieu DUPONT
Things are getting much clearer now.Thank you ! Mathieu From: schuster.wolfg...@googlemail.com Date: Tue, 24 May 2011 16:20:13 +0200 To: ntg-context@ntg.nl Subject: Re: [NTG-context] TOC : Chapter title under its number (separate lines) Am 24.05.2011 um 16:13 schrieb Mathieu

Re: [NTG-context] Current Mk IV doc?

2011-05-24 Thread Mathieu DUPONT
Here are some : 2009 Reference Manual : http://www.tug.org/texlive/Contents/live/texmf-dist/doc/context/manuals/reference/en/contextref.pdf 2011 Commands : http://doc.baidu.com/view/61f4691b227916888486d72a.html 2011 Metafun : http://tex.loria.fr/formats/context/metafun-p.pdf Mathieu

[NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-24 Thread Mathieu DUPONT
Hi, Is there a way to have, in the table of contents, the titles (of chapters, sections, subsections, etc.) with a different interline spacing than the rest of the TOC ?My TOC interline spacing is set at 1.5 (4.2ex), but I would like to have the long titles on multiples lines being only

Re: [NTG-context] Current Mk IV doc?

2011-05-24 Thread Mathieu DUPONT
Here : http://www.pragma-ade.com/general/qrcs/setup-en.pdf Mathieu Date: Tue, 24 May 2011 17:12:57 -0500 From: derpay...@riseup.net To: ntg-context@ntg.nl Subject: Re: [NTG-context] Current Mk IV doc? On Tue, 24 May 2011 11:11:19 -0400 Mathieu DUPONT mathieudup...@hotmail.com wrote

Re: [NTG-context] Appendix label in TOC (Table of Contents) : APPENDIX instead of CHAPTER

2011-05-23 Thread Mathieu DUPONT
Effectively, now that I've installed MkIV, I get the output I expected. Thank you very much, Wolfgang ! Mathieu ___ If your question is of interest to others as well,

Re: [NTG-context] Roman numbers for chapters in chapter lines but not in section lines

2011-05-23 Thread Mathieu DUPONT
This code : \setuplabeltext[chapter=CHAPITRE~]\definestructureconversionset[mathieu][numbers,Romannumerals][numbers]\setuphead[chapter][sectionconversionset=mathieu]\setuplist[chapter][label=yes,width=7em] \starttext \placecontent \chapter{Title of chapter}\section{Title of

[NTG-context] MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

2011-05-23 Thread Mathieu DUPONT
I followed all these steps to install MkIV on a Mac and to run it with either Smultron or TexShop : http://wiki.contextgarden.net/ConTeXt_Minimals/Mac_Installation However it works fine with Smultron (but I am more used to TexShop to run TeX files), with TexShop I get : MTXrun | unknown

Re: [NTG-context] MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

2011-05-23 Thread Mathieu DUPONT
/Enginesis slightly but catastrophically outdated. The file needs to read #!/bin/bashexport PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin:$PATHexport TEXMFCACHE=/Applications/ConTeXtMinimals/tex/texmf-cachecontext $1 Matthias On May 23, 2011, at 2:13 PM, Mathieu DUPONT wrote:I

Re: [NTG-context] Roman numbers for chapters in chapter lines but not in section lines

2011-05-23 Thread Mathieu DUPONT
Ok, me too, now that MkIV is correctly installed with TexShop... Thank you very much Wolfgang ! Mathieu From: schuster.wolfg...@googlemail.com Date: Mon, 23 May 2011 20:07:25 +0200 To: ntg-context@ntg.nl Subject: Re: [NTG-context] Roman numbers for chapters in chapter lines but not

[NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-23 Thread Mathieu DUPONT
Hi, Is there a simple way to obtain the following result in the table of content : ContentsCHAPTER 1Title of chapter21.1Title of section2 (the chapter title underneath its number and left aligned, just like everything else) The following code used to

[NTG-context] Roman numbers for chapters in chapter lines but not in section lines

2011-05-22 Thread Mathieu DUPONT
Hi, I am trying to obtain the following result : CHAPITRE I Title of chapter1.1 Title of section1.1.1 Title of subsection In other words, I need my chapter numbers to be in roman number, but not in the numbers of the sections and subsections (1.1.1 and not I.1.1). Here is the base code :