[NTG-context] PGF and definecolor

2008-02-14 Thread Flavien Lambert
Dear all, I am a newbie in ConTeXt. I am accustomed to use pgf in LaTeX and have seen that pgf is also a module for ConTeXt. When using some of my pgf macros in ConTeXt, I had several erros coming from the fact that colors are defined by the "same" command in both pgf and ConTeXt, namely \definecol

[NTG-context] How do legends work ?

2008-03-07 Thread Flavien Lambert
Dear all, I am a new user of ConTeXt. Despite the manuals and the wiki, I am unable to use correctly legends. I tried to modify the legend typography through the \setuplegend command but it does not seem to work. Here is an example I used in Live ConTeXt on the wiki : \setuplegend[bodyfont=small] %

Re: [NTG-context] Feature request: \digits command

2008-06-25 Thread Flavien Lambert
Dear all, I allow me to use this message for a related topic on the digits command. I took a look at the "manual" on the digits command but did not found a way to cut a number by group of three digits like the numprint command, e.g. 100 becomes 1 000 000. With the digits option 3, dots become t

[NTG-context] Caption on the right side of a figure

2008-08-15 Thread Flavien Lambert
Dear all, I try - as indicated in the title - to put the caption of a figure on its right side. I used (among other attempts) \setupcaptions[location=high] and \setupfloat[figure][location=left] but the figure is still on the right side. Can you give me the good options for inverting captions and f

Re: [NTG-context] Caption on the right side of a figure

2008-08-15 Thread Flavien Lambert
Perfect and so straightforward ! Thanks. 2008/8/15 Wolfgang Schuster <[EMAIL PROTECTED]> > On Fri, Aug 15, 2008 at 11:05 AM, Flavien Lambert > <[EMAIL PROTECTED]> wrote: > > Dear all, I try - as indicated in the title - to put the caption of a > figure > > on it

Re: [NTG-context] Caption on the right side of a figure

2008-08-15 Thread Flavien Lambert
By the way, is there a manual or a command to see all the options available for a given command ? In contextgarden, the texshow-web does not have the "location=right" option for the "\setupcaptions" command for example. Thanks. 2008/8/15 Flavien Lambert <[EMAIL PROTEC

Re: [NTG-context] Reorganization of the main page

2008-08-27 Thread Flavien Lambert
2008/8/27 Patrick Gundlach <[EMAIL PROTECTED]> > > - live context > > - download > > - download area > > > Could you suggest some other names? I always have a hard time thinking > of some. > Hello guys, what about "In-line ConTeXt" for live context ? -- Flavien. "Q

[NTG-context] Greek letters in math with XeTeX

2008-09-07 Thread Flavien Lambert
Dear all, I try to use Open Type fonts with ConTeXt and XeTeX (I recently did the same with LaTeX using fontspec and mathspec packages). From the web site, I managed to use them for standard text as well as roman alphabet in math. Unfortunately, greek letters stay printed with the Latin Modern font

[NTG-context] Greek letters in math with XeTeX

2008-09-07 Thread Flavien Lambert
(Sorry for the preceding message, I forgot the [NTG-context] for filters...) Dear all, I try to use Open Type fonts with ConTeXt and XeTeX (I recently did the same with LaTeX using fontspec and mathspec packages). From the web site, I managed to use them for standard text as well as roman alphabet

Re: [NTG-context] Greek letters in math with XeTeX

2008-09-08 Thread Flavien Lambert
Just to understand a bit more : signs like equal are printed inside math environment with GFS Didot thanks to \definetypeface[myface][rm][Xserif][GFS Didot]. Since GFS Didot ,as a greek font has greek letters, why are these glyphs not used ? I suppose that when greek people are using directly alpha

[NTG-context] Interaction and accented letters

2008-09-19 Thread Flavien Lambert
Dear all, is there a way to put accented letters in the interaction command ? I tried \setupinteraction[state=start, author={Flavien Lambert}, title={Optique géométrique}, date={Septembre 2008}] and \setupinteraction[state=start, author={Flavien Lambert}, title={Optique g\'eom\&#x

Re: [NTG-context] Interaction and accented letters

2008-09-20 Thread Flavien Lambert
& Rachline <[EMAIL PROTECTED]> > On Friday 19 September 2008 19:00:42 Flavien Lambert wrote: > > Dear all, is there a way to put accented letters in the interaction > command > > ? I tried > > \setupinteraction[state=start, > > author={Flavien Lambert}, >

[NTG-context] Questions regarding the placement of figures

2013-10-07 Thread Flavien Lambert
Dear all, I would like to wrap text around two figures. I tried to use both placefigure and starthangaround without achieving what I wanted. So I moved towards you to get some explanations on the behavior of the commands. I have two figures and one paragraph. If possible, I would like to place one

[NTG-context] Question related to the placement of figures

2013-10-08 Thread Flavien Lambert
Dear all, I would like to wrap text around two figures. I tried to use both placefigure and starthangaround without achieving what I wanted. So I moved towards you to get some explanations on the behavior of the commands. I have two figures and one paragraph. If possible, I would like to place one

[NTG-context] [OT] Type:Rider

2013-12-10 Thread Flavien Lambert
Dear all, I am pretty sure that some of you are fond of typography so I dared to make you aware of a really beautiful game running on phones and tablets dedicated to typography. Called Type:Rider, it is composed of several chapters, each dealing with a period of time illustrating the main technique

[NTG-context] Comfortaa font and ligatures

2013-12-30 Thread Flavien Lambert
Dear all, I would like to use the comfortaa font available at http://www.dafont.com/comfortaa.font. I managed - maybe in a wrong way - to do it through the following example: \definefontfeature[comfortaa][mode=node,kern=yes,liga=yes,dlig=yes] \starttypescriptcollection[comfortaa] \starttypescrip

Re: [NTG-context] Comfortaa font and ligatures

2013-12-30 Thread Flavien Lambert
Thanks a lot for the explanation! My best wishes for 2014 also (to any reader, by the way), F. Le 30 déc. 2013 16:21, "Pablo Rodriguez" a écrit : > On 12/30/2013 11:09 AM, Flavien Lambert wrote: > > Dear all, I would like to use the comfortaa font available at > &

[NTG-context] Ubuntu Light font

2014-01-27 Thread Flavien Lambert
Dear all, I would like to use the light version of the Ubuntu font both for text and for text in math environment. The list of fonts is the following *mtxrun --script fonts --list --all | grep ubuntuubuntu ubuntu /home/flavien/.fonts/Ubuntu-R.ttfubuntubold ubuntubold /home/flav

Re: [NTG-context] Ubuntu Light font

2014-01-29 Thread Flavien Lambert
Thanks Wolfgang, it works really well! Let me be very annoying and ask you about the ligatures... Thanks again, F. On 29 January 2014 20:31, Wolfgang Schuster wrote: > > Am 28.01.2014 um 02:34 schrieb Flavien Lambert : > > > Still another question...I managed to have the ubuntu

[NTG-context] Colored cell background in Table

2014-02-21 Thread Flavien Lambert
Dear All, using the documentation, I tried to use CL as in the following example but I did not get any color. Is there a trick? Best regards, Flavien. \setupcolors[state=start]\starttable[|l|l|]\HL\BL[1]\SR\NC Command \NC Meaning \NC\SR\HL\NC \tex{NC} \NC next column \NC\FR\NC \tex{NR}

Re: [NTG-context] Colored cell background in Table

2014-02-23 Thread Flavien Lambert
Hi all, following the piece of advice, I tried to use tabulate but got an error message with the following code: \starttext \startcombination[1]{ \starttabulate[|r|l|] \NC c \NC centered \NC \AR \NC l \NC left aligned \NC \AR \NC r \NC right aligned \NC \AR \stoptabulate }{a} \sto

[NTG-context] Different behaviours between header and footer

2014-03-18 Thread Flavien Lambert
Dear all, in the following example, header and footer behave differently, the frame at the bottom being out of the footer space. Could you tell me how to obtain a frame inside the footer like the header one? Thanks a lot, Flavien. \setupheadertexts[{\framed[frame=off,width=\textwidth,height=\heade

Re: [NTG-context] Different behaviours between header and footer

2014-03-22 Thread Flavien Lambert
Hi guys, a quick reminder if someone can help me on this topic. Thanks :) On 19 Mar 2014 14:18, "Flavien Lambert" wrote: > Dear all, in the following example, header and footer behave differently, > the frame at the bottom being out of the footer space. Could you tell me > ho

Re: [NTG-context] Different behaviours between header and footer

2014-03-24 Thread Flavien Lambert
Thanks a lot! On 24 March 2014 05:37, Wolfgang Schuster wrote: > > Am 23.03.2014 um 03:58 schrieb Flavien Lambert : > > Hi guys, a quick reminder if someone can help me on this topic. > > Disable the strut for the footer with > > \setupfooter[strut=no] > > to a

[NTG-context] Ubuntu and ligatures: again

2014-03-25 Thread Flavien Lambert
Hi all, I am using Ubuntu Light but it seems that I did not set it up properly since the double dash -- stays untouched instead of joining inti a longer one... Best, Flavien. \definefontfamily[mainface][sans][Ubuntu][tf=style:light] \setupbodyfont[mainface,11pt] \starttext -- \stoptext _

[NTG-context] fonts and function in math mode

2014-04-28 Thread Flavien Lambert
Hi everyone, could you tell me how to use the Ubuntu font for the math command \max in the following example? \definefontfamily [mainface] [sans] [Ubuntu] [regularfont=ubuntu,italicfont=ubuntuitalic,boldfont=ubuntubold] \definefallbackfamily [mainface] [math] [Ubuntu] [preset=math:lowercaseitalic,

Re: [NTG-context] fonts and function in math mode

2014-04-28 Thread Flavien Lambert
Thanks Wolfgang. I set it by hand because I was using the light version and the bold version of the light one does not exist ;) I just put regular for the example. On 28 April 2014 20:59, Wolfgang Schuster wrote: > > Am 28.04.2014 um 13:46 schrieb Flavien Lambert : > > > Hi ever

Re: [NTG-context] fonts and function in math mode

2014-06-10 Thread Flavien Lambert
=math:mathematicaloperators,tf=name:latinmodernsans,scale=1.2] On 28 April 2014 09:14, Flavien Lambert wrote: > Thanks Wolfgang. I set it by hand because I was using the light version > and the bold version of the light one does not exist ;) I just put regular > for the example. > > >

[NTG-context] No new paragraph after framedtext

2014-07-05 Thread Flavien Lambert
Dear all, I was wondering if there was a way to avoid a new paragraph after a framed text. For example, the following code \starttext \framedtext[width=6em]{abc}\framedtext[width=6em]{abc} \stoptext produces two boxes on top of each other. Is it possible to make them side by side? I could use a

[NTG-context] bibliography MKiV

2014-07-09 Thread Flavien Lambert
Dear all, I tried to reproduce the example of mkiv-publications.pdf, chapter 10 through: \definebtxdataset[document] \usebtxdataset[document][test.bib] \definebtxrendering[document] \setupbtxrendering[document][numbering=yes] \starttext \starttext As \cite[batty] already indicated, bibtex is a \LA

Re: [NTG-context] bibliography MKiV

2014-07-09 Thread Flavien Lambert
\setupbtxrendering[document][numbering=yes] > \starttext > As \cite[document::batty] already indicated, bibtex is a \LATEX||centric > program. > \completebtxrendering[document] > \stoptext > > > > From: Flavien Lambert > > Subject: [NTG-context] bibliography MKiV >

[NTG-context] bibliography and etaltext

2014-07-09 Thread Flavien Lambert
Hi, I would like the bibliography to rendered with only the first author and then et al, so I tried \definebtxrendering[example][dataset=example,method=local,alternative=apa] \setupbtxlistvariant[etallimit=2,etaldisplay=2,etaltext={\it et al}] but without success. This was my first step. In fac

[NTG-context] Bibliography: criterium=all

2014-07-15 Thread Flavien Lambert
Hi everyone, I really have difficulties with the bibliograpy system. Sorry about that. I would like to print the whole bibliography so I followed mkiv-publications.pdf and ended up with the file: \usebtxdataset[example][./mkiv-publications.bib] \definebtxrendering [example] [dataset=example,

Re: [NTG-context] Bibliography: criterium=all

2014-07-15 Thread Flavien Lambert
text \placebtxrendering[example] \stoptext Could you just give a minimal example? And, if possible, a way to sort by date... Once again, my apologies for taking your time with that. Best, F. On 16 July 2014 04:31, Hans Hagen wrote: > On 7/15/2014 12:39 PM, Flavien Lambert wrote: > >>

Re: [NTG-context] Bibliography: criterium=all

2014-07-16 Thread Flavien Lambert
Great! Thanks a lot! And concerning sorting by date? On 16 July 2014 15:33, Hans Hagen wrote: > On 7/16/2014 2:20 AM, Flavien Lambert wrote: > >> Thanks Hans, I am really sorry but I still do not get any entry printed >> (I followed your explanation as well as p. 25 of mki

Re: [NTG-context] Bibliography: criterium=all

2014-07-16 Thread Flavien Lambert
The sort by author is perfect. Thanks, F. On 16 Jul 2014 17:16, "Hans Hagen" wrote: > On 7/16/2014 10:10 AM, Flavien Lambert wrote: > >> Great! Thanks a lot! >> >> And concerning sorting by date? >> > > sorttype=author > > sorts by author,year

[NTG-context] Etal and bibliography

2014-08-12 Thread Flavien Lambert
Hi, I would like to limit the number of authors in bibliographies to one and use *et al*. I read the documentation and tried to use etallimit=1 in \btxrenderinglistvariant without success. What is the exact procedure? Best, Flavien. __

Re: [NTG-context] Etal and bibliography

2014-08-12 Thread Flavien Lambert
community structure}, journal = {Phys. Rev. E}, volume = {86}, number = {3}, pages = {036104}, year = {2012}, entrydate = {2014/07/09}, } On 13 August 2014 12:28, Wolfgang Schuster wrote: > > Am 13.08.2014 um 05:43 schrieb Flavien Lambert : > > Hi, > I would like to limi

Re: [NTG-context] Etal and bibliography

2014-08-21 Thread Flavien Lambert
Hi, a slight up concerning this question about et al in bibliographies. Best, Flavien. On 13 August 2014 13:52, Flavien Lambert wrote: > Sorry about that! In the following example, the number of authors is cut > after three but there is no *et al* added. > Thanks, > F. > >

Re: [NTG-context] Etal and bibliography

2014-08-25 Thread Flavien Lambert
Hi guys, a quick reminder to ask if someone can bring me some help with the *et al* issue below. Thanks! On 21 August 2014 16:32, Flavien Lambert wrote: > Hi, a slight up concerning this question about et al in bibliographies. > Best, > Flavien. > > > > On 13 August 2014 1

Re: [NTG-context] Etal and bibliography

2014-09-05 Thread Flavien Lambert
Hi all, no one on this small issue? Thanks, Flavien. On 26 August 2014 00:06, Flavien Lambert wrote: > Hi guys, a quick reminder to ask if someone can bring me some help with > the *et al* issue below. > Thanks! > > > On 21 August 2014 16:32, Flavien Lambert wrote: &g

[NTG-context] Title in textrule

2011-04-12 Thread Flavien Lambert
Dear all, is there a way to change the style and size of the font used to print "Instruments" in the following example ? I would like something like \bfb\ss. \textrule[top]{Instruments} Some artists mention the instruments that they use during the production of their \kap{CD}. In Peter Gabriel’s \

Re: [NTG-context] Title in textrule

2011-04-12 Thread Flavien Lambert
Thanks! 2011/4/12 Aditya Mahajan > On Tue, 12 Apr 2011, Flavien Lambert wrote: > > Dear all, is there a way to change the style and size of the font used to >> print "Instruments" in the following example ? I would like something like >> \bfb\ss. >> &

[NTG-context] Last names

2011-05-20 Thread Flavien Lambert
Dear all, could you tell me how to prevent a name from being splitted in two pieces if it is at the end of a line? Thanks, -- Flavien. "Quantum objects are completely crazy but, at least, they are all crazy in the same way." R.P. Feynman. _

[NTG-context] Last names

2011-05-20 Thread Flavien Lambert
Dear all, could you tell me how to prevent a name from being splitted in two pieces if it is at the end of a line? Thanks, -- Flavien. "Quantum objects are completely crazy but, at least, they are all crazy in the same way." R.P. Feynman. _

[NTG-context] Vertically centered title page

2008-10-21 Thread Flavien Lambert
Dear all, I am trying to build a presentation with specific requirements. I would like to have the title of the presentation on the middle (both vertical and horizontal) of the first page. I tried, on one hand, two \vfill, and, on the other hand, \framed[location=middle,align=middle] but without su

[NTG-context] Strange behaviour with colors and figures

2008-10-22 Thread Flavien Lambert
Dear all, as expressed by the title, I have a very strange behaviour between colors and figures. Here is the example : \setupcolors[state=start] \definecolor[gris][r=0.310,g=0.333,b=0.341] \starttext \placefigure{}{\externalfigure[myfigure]} \color[gris]{\tfd Some text} \stoptext If myfigure

[NTG-context] "Invalid field" in Mark IV

2009-05-13 Thread Flavien Lambert
Dear all, I didn't use ConTeXt for some time and, so, have just re-installed the minimals tonight. When running on some of my files, Mark II does its job well but Mark IV tells me error: Invalid field id nucleus for node type choice (0) . l.133 ... M décrit l'axe $({\rm O};\vect{e_{x}})$

Re: [NTG-context] "Invalid field" in Mark IV

2009-05-13 Thread Flavien Lambert
In the following example, it is the ";" that leads to the error \def\vect#1{% \overrightarrow{#1} } \starttext $({\rm O};\vect{e_{x}})$ \stoptext If you suppress it, it works fine. (???) 2009/5/13 Aditya Mahajan > On Wed, 13 May 2009, Flavien Lambert wrote: > > Dea

[NTG-context] Page number in the middle of the margin

2009-05-27 Thread Flavien Lambert
Dear all, as said by the title of the e-mail, I try to put the page number in the middle (both vertically and horizontally) of the margin. I tried a custom command like \def\mypagenumber#1{% \vfill #1 \vfill } \setuppagenumbering{location=margin,command=\mypagenumber} but, unfortunately, I got an

Re: [NTG-context] Page number in the middle of the margin

2009-05-27 Thread Flavien Lambert
Sorry, I wasn't clear. \midalign{} put the page number in the (horizontal) middle of the margin in the bottom. What I would like to do is to put the page number in the vertical middle of the page. 2009/5/27 Hans Hagen > Flavien Lambert wrote: > >> Dear all, as said by the title

[NTG-context] Re : Using a tikz package

2009-06-15 Thread Flavien Lambert
If you convince him to do so, I would also be grateful since electrical circuits are the only missing piece for me to convert all the exercises for my students from LaTeX to ConTeXt! Regards, 2009/6/15, Mojca Miklavec : > On Mon, Jun 15, 2009 at 20:35, Maurí­cio wrote: >> I would like to use this

[NTG-context] Centered framed text in two columns

2010-08-31 Thread Flavien Lambert
Dear All, I would like to vertically center a framed text in front of an item list, something like : - item - item - item my framed text - item - item I tried with two columns then by defining a paragraph but without success. I would also like the columns to have a fixed width like 70%-30% of

Re: [NTG-context] Centered framed text in two columns

2010-09-01 Thread Flavien Lambert
No idea ? 2010/8/31 Flavien Lambert > Dear All, > I would like to vertically center a framed text in front of an item list, > something like : > - item > - item > - item my framed text > - item > - item > > I tried with two columns then by defining a paragraph

[NTG-context] hskip and crlf

2009-07-22 Thread Flavien Lambert
Dear all, can you explain why the following code does not produce an horizontal spacing for the second line ? I am using MarkIV. \starttext \hskip2em a\crlf \hskip4em a\crlf \stoptext Best regards, -- Flavien. "Quantum objects are completely crazy but, at least, they

Re: [NTG-context] hskip and crlf

2009-07-22 Thread Flavien Lambert
Thanks ! 2009/7/22 Hans Hagen > Flavien Lambert wrote: > >> Dear all, can you explain why the following code does not produce an >> horizontal spacing for the second line ? I am using MarkIV. >> >> \starttext >> \hskip2em a\crlf >> \hskip4em a\crlf &

Re: [NTG-context] Problem with \digits

2009-09-07 Thread Flavien Lambert
Dear all, I tried to compile some of my old files with the latest minimals (MKIV) but encountered the error described below. Is there any way to use the digit macro with MKIV ? Regards, 2009/6/16 > > Hello, > > I am using mkiv beta (14-Jun-09) and the \digits command does not like the > decimal

[NTG-context] Numbering of "sub"-header

2009-09-23 Thread Flavien Lambert
Dear all, I am using Mark IV from the minimals. I have a problem concerning the numbering fo my "sub-header". I defined exercices in the following way : % Titres \setuphead[subject][textstyle={\bfc},align=left,after=\hairline] % Commandes \def\exnu#1{% \framed[width=1.5em,corner=06,background=co

Re: [NTG-context] Numbering of "sub"-header

2009-09-23 Thread Flavien Lambert
I condirmed that using MarkII of the minimals, numbering is continuous. Any hint ? 2009/9/23 Flavien Lambert > Dear all, I am using Mark IV from the minimals. I have a problem concerning > the numbering fo my "sub-header". I defined exercices in the following way : > >