[NTG-context] MetaFun: hlintext: `! Missing `)' has been inserted.`, `formatstr: ! Not implemented: (pair)-(unknown numeric).`

2011-10-14 Thread Paul Menzel
Dear ConTeXt folks, trying to draw a grid and label it, I get an error when using the (alsa attached) example from the MetaFun manual [1]. \starttext \startMPcode drawoptions(withpen pencircle scaled .25pt withcolor .5white) ; draw hlingrid(0, 20, .2, 20cm, 10cm

Re: [NTG-context] MetaFun: hlintext: `! Missing `)' has been inserted.`, `formatstr: ! Not implemented: (pair)-(unknown numeric).`

2011-10-14 Thread Hans Hagen
On 14-10-2011 08:02, Paul Menzel wrote: Dear ConTeXt folks, trying to draw a grid and label it, I get an error when using the (alsa attached) example from the MetaFun manual [1]. Fixed in next beta (however, instead of mp formatting lua formatting is used, a prelude to the graph rewrite

Re: [NTG-context] Setting style and color attributes of label in metapost

2011-10-13 Thread Wolfgang Schuster
Am 25.09.2011 um 02:43 schrieb Aditya Mahajan: I am writing a module which uses metapost in the background for drawing. I wanted to create an interface for setting the style and color of metapost labels but using \doset...attributes is not working. Here is an example: \definenamespace

Re: [NTG-context] metapost to pdf on the fly

2011-10-03 Thread Meer, H. van der
I am afraid I don't completely understand this. Doing: \startbuffer[fig-1] \startMPcode draw origin-(20,0) .. origin+(0,20) .. origin+(20,0) .. origin+(0,-20) .. cycle withcolor darkgreen; label(textext(Test),origin); \stopMPcode \stopbuffer \starttext \processMPbuffer[fig-1] \stoptext I get

Re: [NTG-context] metapost to pdf on the fly

2011-10-03 Thread Wolfgang Schuster
Am 03.10.2011 um 09:05 schrieb Meer, H. van der: I am afraid I don't completely understand this. Doing: \startbuffer[fig-1] \startMPcode draw origin-(20,0) .. origin+(0,20) .. origin+(20,0) .. origin+(0,-20) .. cycle withcolor darkgreen; label(textext(Test),origin); \stopMPcode

Re: [NTG-context] metapost to pdf on the fly

2011-10-03 Thread Meer, H. van der
. van der: I am afraid I don't completely understand this. Doing: \startbuffer[fig-1] \startMPcode draw origin-(20,0) .. origin+(0,20) .. origin+(20,0) .. origin+(0,-20) .. cycle withcolor darkgreen; label(textext(Test),origin); \stopMPcode \stopbuffer \starttext \processMPbuffer[fig-1

Re: [NTG-context] writing date with ordinal numbers (\enordinaldaynumber) in mkiv

2011-10-01 Thread Hans Hagen
On 29-9-2011 13:49, Wolfgang Schuster wrote: local tag, plus = match(entry,^([^%+:]+)(.*)$) ^([^%+:]+)[%+:]*(.*)$ Even when you patch this you don’t get any output because context tries (in the example below) to use the label “August:mnem” but only the label “august:mnem

Re: [NTG-context] writing date with ordinal numbers (\enordinaldaynumber) in mkiv

2011-10-01 Thread Wolfgang Schuster
Am 01.10.2011 um 14:57 schrieb Hans Hagen: On 29-9-2011 13:49, Wolfgang Schuster wrote: Even when you patch this you don’t get any output because context tries (in the example below) to use the label “August:mnem” but only the label “august:mnem” is defined. \starttext \date[d=1,m

Re: [NTG-context] writing date with ordinal numbers (\enordinaldaynumber) in mkiv

2011-09-29 Thread Wolfgang Schuster
end ... end Even when you patch this you don’t get any output because context tries (in the example below) to use the label “August:mnem” but only the label “august:mnem” is defined. \starttext \date[d=1,m=8][day:ord,space,month,space,month:mnem] \starttabulate[|Tl|l|] \NC August

Re: [NTG-context] caption labels

2011-09-24 Thread Felix Ingram
Am 23.09.2011 um 12:45 schrieb Felix Ingram: I'm defining a new float that I'd like to caption with its own label. Something like: \definefloat[picture][pictures] I'd then like the caption to read: Picture 1 - my caption text Picture 2 - etc At the moment I've used \setupcaption

Re: [NTG-context] caption labels

2011-09-24 Thread Wolfgang Schuster
Am 24.09.2011 um 13:27 schrieb Felix Ingram: Am 23.09.2011 um 12:45 schrieb Felix Ingram: I'm defining a new float that I'd like to caption with its own label. Something like: \definefloat[picture][pictures] I'd then like the caption to read: Picture 1 - my caption text Picture 2

[NTG-context] Setting style and color attributes of label in metapost

2011-09-24 Thread Aditya Mahajan
} \startMPdrawing label.lft(\sometxt{\dosettestattributes{color}{style} \testparameter{text}}, (2cm,0)) ; \stopMPdrawing \MPdrawingdonetrue\getMPdrawing \stoptext Notice that the first label has the same style as the last label. This is happening because \doset..attributes is defined

[NTG-context] Caption label

2011-09-23 Thread Felix Ingram
I'm defining a new float that I'd like to caption with its own label. Something like: \definefloat[picture][pictures] I'd then like the caption to read: Picture 1 - my caption text Picture 2 - etc At the moment I've used \setupcaption[picture][way=bytext] to sort out the numbering but I cannot

Re: [NTG-context] ntg-context Digest, Vol 87, Issue 51

2011-09-23 Thread Felix Ingram
I'm defining a new float that I'd like to caption with its own label. Something like: \definefloat[picture][pictures] I'd then like the caption to read: Picture 1 - my caption text Picture 2 - etc At the moment I've used \setupcaption[picture][way=bytext] to sort out

Re: [NTG-context] ntg-context Digest, Vol 87, Issue 51

2011-09-23 Thread Wolfgang Schuster
Am 23.09.2011 um 12:45 schrieb Felix Ingram: I'm defining a new float that I'd like to caption with its own label. Something like: \definefloat[picture][pictures] I'd then like the caption to read: Picture 1 - my caption text Picture 2 - etc At the moment I've used \setupcaption

[NTG-context] Captions

2011-09-22 Thread Felix Ingram
(apologies if you see this twice - posted from wrong account earlier) I'm defining a new float that I'd like to caption with its own label. Something like: \definefloat[picture][pictures] I'd then like the caption to read: Picture 1 - my caption text Picture 2 - etc At the moment I've used

Re: [NTG-context] Captions

2011-09-22 Thread Hongwen Qiu
On 09/23/2011 06:10 AM, Felix Ingram wrote: I'm defining a new float that I'd like to caption with its own label. Something like: \definefloat[picture][pictures] I'd then like the caption to read: Picture 1 - my caption text Picture 2 - etc At the moment I've used \setupcaption[picture][way

Re: [NTG-context] insert unicode character

2011-09-21 Thread Wolfgang Schuster
Am 20.09.2011 um 09:09 schrieb Hans van der Meer: I looked into the recent Fonts in Context book, but could not figure out how to access characters directly in unicode. In my case this is inside a MetaPost picture something like: \switchtobodyfont[courier,24pt] .. label (UNICODE

[NTG-context] insert unicode character

2011-09-20 Thread Hans van der Meer
I looked into the recent Fonts in Context book, but could not figure out how to access characters directly in unicode. In my case this is inside a MetaPost picture something like: \switchtobodyfont[courier,24pt] .. label (UNICODE character U+2B06 here… How to? Hans van der Meer

[NTG-context] MetaObj with labels in built-in objects (MetaObj Standard Library)

2011-09-20 Thread Stefan Müller
Hi list, some time ago I posted on this list about problems with MetaObj in ConTeXt when using labels. There's a wiki article about this now [1]. Just recently I was forced to notice that this solution does not work when the label to be drawn is part of the object definition. So

[NTG-context] Captions' alignment

2011-09-06 Thread Honza Hejzl
Hello, I am re-posting my question because the last one was not clear and properly written. I am trying to set captions like paragraphs where the label is indented negatively, like in case of itemize lists. I was successful with the shape (\hbox{\vtop ...}}) but don't think my solution is useful

[NTG-context] Captions, negative indenting and \par

2011-09-05 Thread Honza Hejzl
Hello, I am trying to set captions like paragraphs where the label is indented negatively, like in case of itemize lists. I was successful but now I cant set the text like a paragraph, it means I need hyphenation. In some cases (different font) the picture is moved too much and is over the lines

Re: [NTG-context] Changing export tags

2011-08-25 Thread Aditya Mahajan
not sure if that is the best fix. Aditya*** /tmp/strc-tag.lua 2011-08-25 21:39:13.0 -0400 --- /opt/context-minimals/texmf-context/tex/context/base/strc-tag.lua 2011-08-25 21:37:54.0 -0400 *** *** 245,253 labels[tag] = label ~= and label or tag

[NTG-context] wrong mlib process calls

2011-08-16 Thread Peter Rolf
(normaltransparent,.5); label(decimal(redpart c) , decimal(greenpart c) , decimal(bluepart c),center(OverlayBox)); \stopuniqueMPgraphic \defineoverlay[foo][\uniqueMPgraphic{foo}{color=foo}] \starttext \framed[width=10cm,height=2cm,frame=on,background=foo]{} \stoptext mlib-pps.7z Description

Re: [NTG-context] Sharing color between MP and TeX

2011-08-05 Thread Hans Hagen
On 5-8-2011 9:07, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, I'd need to use the same color for text and drawing inside a MP code. The typical situation looks the following way: \definecolor[COL][.7red] \starttext \startMPcode label(btex \color[COL]{Some text} etex, (0, 0

[NTG-context] Trouble making basic MetaPost graphics using ConTeXt Minimals

2011-07-14 Thread Kevin D. Robbins
. Building the file using texexec --mptex test.mp all three graphics are produced, but the label $\sqrt x$ does not produce the square root symbol. Am I doing something obviously wrong? Can anyone reproduce this? Thanks, Kevin

Re: [NTG-context] Trouble making basic MetaPost graphics using ConTeXt Minimals

2011-07-14 Thread luigi scarso
.. test.2 The first two graphics are produced correctly, but there is no output for the third graphic with the labels. Building the file using texexec --mptex test.mp all three graphics are produced, but the label $\sqrt x$ does not produce the square root symbol. Am I doing something obviously

[NTG-context] math: `\ref` does not work for referencing formulae (ConTeXt ver: 2011.06.19)

2011-07-10 Thread Paul Menzel
by \placeformula[formulalabel] \startformula c^2 = a^2 + b^2. \stopformula And now we can refer to formula \ref[formulalabel] (ref). And now we can refer to formula \in[formulalabel] (in). \stoptext --- 8 --- minimal example --- 8 --- `\ref` does not seem to find the label for the equation. `\in` does work

Re: [NTG-context] math: `\ref` does not work for referencing formulae (ConTeXt ver: 2011.06.19)

2011-07-10 Thread Paul Menzel
--- `\ref` does not seem to find the label for the equation. `\in` does work. I forgot to attach the example files. Thanks, Paul [1] http://wiki.contextgarden.net/Math/Display#Referencing_formulae ref.pdf Description: Adobe PDF document \starttext The famous result (and again) is given

Re: [NTG-context] math: `\ref` does not work for referencing formulae (ConTeXt ver: 2011.06.19)

2011-07-10 Thread Wolfgang Schuster
` does not seem to find the label for the equation. `\in` does work. [1] http://wiki.contextgarden.net/Math/Display#Referencing_formulae The example is wrong, \ref expects two arguments: http://wiki.contextgarden.net/Reference/en/ref Wolfgang

Re: [NTG-context] context.labeltext(...)

2011-07-05 Thread Hans Hagen
I sent a minute ago. - The thing is, that the document I am building should be multilingual and therefore I need at the lua-end the lowercase text which should be made first-letter-uppercase at the moment it is typeset. In the first email you talked about a generic label. Uppercase /lower case

Re: [NTG-context] context.labeltext(...)

2011-07-04 Thread luigi scarso
and therefore I need at the lua-end the lowercase text which should be made first-letter-uppercase at the moment it is typeset. In the first email you talked about a generic label. Uppercase /lower case are unicode sensitive; as Wolfgang already wrote string.lower(..) and string.upper(..) can help

Re: [NTG-context] context.labeltext(...)

2011-07-04 Thread Khaled Hosny
. - The thing is, that the document I am building should be multilingual and therefore I need at the lua-end the lowercase text which should be made first-letter-uppercase at the moment it is typeset. In the first email you talked about a generic label. Uppercase /lower case are unicode sensitive

Re: [NTG-context] context.labeltext(...)

2011-07-04 Thread Wolfgang Schuster
other mail I sent a minute ago. - The thing is, that the document I am building should be multilingual and therefore I need at the lua-end the lowercase text which should be made first-letter-uppercase at the moment it is typeset. In the first email you talked about a generic label. Uppercase

Re: [NTG-context] space between label and number

2011-06-29 Thread dalyoung
:39, Hans Hagen wrote: On 28-6-2011 3:06, dalyoung wrote: Hi, By Hans's help, the labels of figures and of tables are appeared in Korean after setting \mainlagnuage[kr]. (\placefigure of \placetable ) Thanks! However, there is no space between label and number like 그림1 or 표3. I tried

Re: [NTG-context] space between label and number

2011-06-29 Thread Hans Hagen
On 29-6-2011 4:47, dalyoung wrote: Dear Hans, I add a space where it is need in the file lang-txt.lua and make a format using context --make --all. Then the space is added between labels and the numbers. If you need the modified file for update, please let me know. if it's the korean

Re: [NTG-context] space between label and number

2011-06-29 Thread dalyoung
Dear Hans, I'll send a patched file after adding more preferable translation of the words into Korean in lang-txt.lua. Thank you. Best regards, Dalyoung On 2011. 6. 30., at 오전 2:14, Hans Hagen wrote: On 29-6-2011 4:47, dalyoung wrote: Dear Hans, I add a space where it is need in the

[NTG-context] space between label and number

2011-06-28 Thread dalyoung
Hi, By Hans's help, the labels of figures and of tables are appeared in Korean after setting \mainlagnuage[kr]. (\placefigure of \placetable ) Thanks! However, there is no space between label and number like 그림1 or 표3. I tried to add a space like 그림 in the file char-def and some other files

Re: [NTG-context] space between label and number

2011-06-28 Thread Hans Hagen
On 28-6-2011 3:06, dalyoung wrote: Hi, By Hans's help, the labels of figures and of tables are appeared in Korean after setting \mainlagnuage[kr]. (\placefigure of \placetable ) Thanks! However, there is no space between label and number like 그림1 or 표3. I tried to add a space like 그림

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
want this? \setuplist[chapter][after={\placelist[figure]}] \setuplist[figure][label=figure,width=6em] \starttext \completecontent \chapter{One} \placefigure{Two}{2} \section{Three} \placefigure{Four}{4} \chapter{Five} \placefigure{Six}{6} \section{Seven} \placefigure{Eight}{8} \stoptext Wolfgang

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

2011-06-05 Thread Wolfgang Schuster
have to adjust many other things and it becomes very messy. You want this? \setuplist[chapter][after={\placelist[figure]}] \setuplist[figure][label=figure,width=6em] \starttext \completecontent \chapter{One} \placefigure{Two}{2} \section{Three} \placefigure{Four}{4} \chapter{Five

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

2011-05-27 Thread Alan Braslau
On Thu, May 26, 2011 at 08:16:21PM +0200, Wolfgang Schuster wrote: Am 26.05.2011 um 18:48 schrieb Alan Braslau: \setuplist[chapter][label=yes,alternative=vertical,command=\ChapterList,interaction=all] Almost works. Almost in that all lines get indented by one level, and then the page

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

2011-05-27 Thread Mathieu DUPONT
\leftskip\listparameter\c!margin \noindent\currentlistsymbol\crlf#2\enspace\listdots\enspace#3 \par \listparameter\c!after \setuplocalinterlinespace[line=4.2ex] }}\protect \setuplist[chapter][label=yes, alternative=vertical, command=\ChapterList, interaction=all

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

2011-05-27 Thread Alan Braslau
\setuplocalinterlinespace[line=4.2ex] }} \protect \setuplist[chapter][ label=yes, alternative=vertical, command=\ChapterList, interaction=all, ] \starttext \startfrontmatter \placecontent \stopfrontmatter \startbodymatter \chapter{CHAPTER} \section{SECTION} \subsection{SUBSECTION

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

2011-05-27 Thread Mathieu DUPONT
\listparameter\c!after \setuplocalinterlinespace[line=4.2ex] }} \protect \setuplist[chapter][ label=yes, alternative=vertical, command=\ChapterList, interaction=all, ] \starttext \startfrontmatter \placecontent \stopfrontmatter \startbodymatter \chapter{CHAPTER

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

2011-05-26 Thread Alan Braslau
[chapter][label=yes, style={\blank[0cm]}] \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \chapter{Title of chapter} \section{Title of section} \stopbodymatter \stoptext Instead, I get something like this (I

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

2011-05-26 Thread Wolfgang Schuster
[chapter] [alternative=vertical, command=\ChapterList, interaction=all] \starttext \completecontent \chapter{One} \chapter{Two} \stoptext I guess i should take a closer look at “horizontal” and “vertical” because the label key has no effect for them. Wolfgang

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

2011-05-26 Thread Alan Braslau
” and “vertical” because the label key has no effect for them. Wolfgang \define[3]\ChapterList {\vbox{\par\noindent\currentlistsymbol#1\crlf#2\enspace\listdots\enspace#3}} \setuplist[chapter][label=yes,alternative=vertical,command=\ChapterList,interaction=all] Almost works. Almost in that all

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

2011-05-26 Thread Wolfgang Schuster
Am 26.05.2011 um 18:48 schrieb Alan Braslau: \define[3]\ChapterList {\vbox{\par\noindent\currentlistsymbol#1\crlf#2\enspace\listdots\enspace#3}} Your \par is useless here because we’re in a box. \setuplist[chapter][label=yes,alternative=vertical,command=\ChapterList,interaction=all

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

2011-05-25 Thread Steffen Wolfrum
to have the long titles on multiples lines being only single interline spaced (2.8ex). Is there something I could add in the \setuplist[chapter] command ? Thanks for any hint ! Something like this? \setuplist[chapter][ label=yes, alternative=c,style={\switchtobodyfont[10pt

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

2011-05-25 Thread Mathieu DUPONT
[chapter][ label=yes, alternative=command,command=\ChapterList, ]\setuplist[section][ before={\setuplocalinterlinespace[line=2.8ex]\blank[halfline]}, margin=0cm, width=1.25cm, distance=0cm, after={\setuplocalinterlinespace[line=4.2ex]}, ]\setuplist[subsection][ before

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

2011-05-25 Thread Wolfgang Schuster
{ \blank\par\noindent\currentlistsymbol\crlf #2\enspace\listdots\enspace #3\par\blank[0.1cm]} \setupcombinedlist[content][level=3,alternative=c] \setuplist[chapter][ label=yes, alternative=command, command=\ChapterList, ] \starttext

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

2011-05-25 Thread Mathieu DUPONT
! \setupinterlinespace[line=4.2ex] % 1.5 interline \setuplabeltext[chapter=CHAPITRE~]\define[3]\ChapterList{ \blank\par\noindent\currentlistsymbol\crlf #2\enspace\listdots\enspace #3\par\blank[0.1cm]}\setupcombinedlist[content][level=3,alternative=c]\setuplist[chapter][ label=yes

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

2011-05-25 Thread Mathieu DUPONT
\listdots\enspace #3\par }\setuplist[chapter][ margin=0cm, % this line doesn't do anything label=yes, alternative=command, command=\ChapterList, ]\setuplist[section][margin=0cm,width=1.25cm]\setuplist[subsection][margin=1.25cm,width=1.25cm] \starttext \completecontent

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

2011-05-25 Thread Wolfgang Schuster
[chapter][ margin=0cm,% this line doesn't do anything label=yes, alternative=command, command=\ChapterList, ] \setuplist [chapter] [alternative=command, command=\ChapterList, label=yes, before=\blank, margin=0pt] Wolfgang

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

2011-05-25 Thread Mathieu DUPONT
doesn't do anything label=yes, alternative=command,command=\ChapterList, ] \setuplist [chapter] [alternative=command, command=\ChapterList, label=yes, before=\blank, margin=0pt] Wolfgang

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

2011-05-24 Thread Wolfgang Schuster
aligned, just like everything else) The following code used to do the job with MkII but it doesn't anymore with MkIV : \setuplabeltext[chapter=CHAPTER~] \setuplist[chapter][label=yes, style={\blank[0cm]}] \starttext \startfrontmatter \completecontent \stopfrontmatter

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

2011-05-24 Thread Mathieu DUPONT
) The following code used to do the job with MkII but it doesn't anymore with MkIV : \setuplabeltext[chapter=CHAPTER~]\setuplist[chapter][label=yes, style={\blank[0cm]}]\starttext \startfrontmatter\completecontent\stopfrontmatter \startbodymatter\chapter{Title of chapter}\section{Title of section

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

2011-05-24 Thread Mathieu DUPONT
: \setuplabeltext[chapter=CHAPTER~]\setuplist[chapter][label=yes, style={\blank[0cm]}]\starttext \startfrontmatter\completecontent\stopfrontmatter \startbodymatter\chapter{Title of chapter}\section{Title of section}\stopbodymatter \stoptext Instead, I get something like this (I hope it turns out readable

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

2011-05-24 Thread Mathieu DUPONT
\listdots\enspace #3\par\blank[0.1cm]}\setupcombinedlist[content][level=3,alternative=c]\setuplist[chapter][ label=yes, alternative=command,command=\ChapterList, ] \starttext \completecontent \startbodymatter\chapter{THIS VERY VERY VERY VERY VERY VERY VERY VERY LONG TITLE SHOULD

Re: [NTG-context] [bibliography] publications layout

2011-05-24 Thread Stefan Müller
On 24.05.2011 00:57, Pontus Lurcock wrote: On Tue 24 May 2011, finkler wrote: in my publication list from the bibliography, every word, except the first starts in small case letters. How can I change this? This might help: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=capbibtex Pont Hi

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

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 04:06 schrieb Mathieu DUPONT: Hi, The following code : \setuplabeltext[chapter=CHAPTER~] \setuplabeltext[appendix=APPENDIX~] \setuplist [chapter] [label=yes,style={\blank[0cm]}] \starttext \completecontent \chapter{Title of a chapter} \startappendices

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

2011-05-23 Thread Wolfgang Schuster
and subsections (1.1.1 and not I.1.1). Here is the base code : \setuplist [chapter] [label=yes,style={\blank[0cm]}] \setupsection[section-2][conversion=Romannumerals] \setuplabeltext[chapter=CHAPITRE~] \starttext \placecontent \chapter{Title of chapter} \section{Title of section

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 section}\subsection

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

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 20:02 schrieb Mathieu DUPONT: This code : \setuplabeltext[chapter=CHAPITRE~] \definestructureconversionset[mathieu][numbers,Romannumerals][numbers] \setuphead[chapter][sectionconversionset=mathieu] \setuplist[chapter][label=yes,width=7em] \starttext \placecontent

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

2011-05-23 Thread Mathieu DUPONT
but not in section lines Am 23.05.2011 um 20:02 schrieb Mathieu DUPONT:This code : \setuplabeltext[chapter=CHAPITRE~]\definestructureconversionset[mathieu][numbers,Romannumerals][numbers]\setuphead[chapter][sectionconversionset=mathieu]\setuplist[chapter][label=yes,width=7em] \starttext \placecontent

Re: [NTG-context] [bibliography] publications layout

2011-05-23 Thread Pontus Lurcock
On Tue 24 May 2011, finkler wrote: in my publication list from the bibliography, every word, except the first starts in small case letters. How can I change this? This might help: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=capbibtex Pont

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

2011-05-23 Thread Mathieu DUPONT
to do the job with MkII but it doesn't anymore with MkIV : \setuplabeltext[chapter=CHAPTER~]\setuplist[chapter][label=yes, style={\blank[0cm]}]\starttext \startfrontmatter\completecontent\stopfrontmatter \startbodymatter\chapter{Title of chapter}\section{Title of section}\stopbodymatter

Re: [NTG-context] bibliography: current status, Wiki page Bibliography, [[error 2]] and bibltx

2011-05-22 Thread Pontus Lurcock
On Sun 22 May 2011, yoraxe wrote: Besides the title is a german one, but all letters except for first one, are lower-case. This might help: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=capbibtex Pont ___ If your

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

2011-05-22 Thread Mathieu DUPONT
: \setuplist [chapter] [label=yes,style={\blank[0cm]}]\setupsection[section-2][conversion=Romannumerals]\setuplabeltext[chapter=CHAPITRE~] \starttext \placecontent \chapter{Title of chapter}\section{Title of section}\subsection{Title of subsection} \stoptext which results in : CHAPITRE I Title

Re: [NTG-context] Behaviour of definereferenceformat changed?

2011-05-21 Thread Wolfgang Schuster
\rightreferencetoks\rightofreferencecontent\donothing \the\rightreferencetoks} but I’m not sure about this, what is the expected output? \setvalue{\??rf\c!interaction\v!label}% {\leftofreference \the\leftreferencetoks \the\rightreferencetoks \rightofreference} Wolfgang

[NTG-context] mtxrun --script metapost and fonts?

2011-05-10 Thread Michal Kvasnička
] [serif] [times] [default] [encoding=ec] \definetypeface [times] [mm] [math] [times] [default] [encoding=ec] \setupbodyfont [times,10pt] etex; beginfig(1); label(btex A $a_i$ etex,origin); endfig; end. I believe that the code in the verbatimtex ... etex environment should switch the major

Re: [NTG-context] mtxrun --script metapost and fonts?

2011-05-10 Thread Hans Hagen
this: verbatimtex \definetypeface [times] [rm] [serif] [times] [default] [encoding=ec] \definetypeface [times] [mm] [math] [times] [default] [encoding=ec] \setupbodyfont [times,10pt] etex; beginfig(1); label(btex A $a_i$ etex,origin); endfig; end. just do: \definetypeface [times] [rm

[NTG-context] Context and metapost: using \frac

2011-04-26 Thread mat
Hi I am using context to run a metapost graph. I am however unable to insert a label with \frac, since this is not pure Tex but Latex. This seems to be a known problem for metapost: -Seems for metapost only, one should add %latex (http://ryanmlayer.wordpress.com/tag/metapost/). -I saw also

Re: [NTG-context] label bug with latest beta (2011.04.22)

2011-04-24 Thread Wolfgang Schuster
Am 23.04.2011 um 21:02 schrieb Reviczky, Adam: Further, I have two more problems with the new label system: 1) The label Part is not shown any more in the ToC. 2) Showing the label in the ToC but not in the parts (bodypart for example) doesn't work any more with this solution: http

Re: [NTG-context] label bug with latest beta (2011.04.22)

2011-04-24 Thread Hans Hagen
On 23-4-2011 9:02, Reviczky, Adam wrote: \startbodymatter \startpart [title={Table of Contents}] \startchapter [title={Chapter}] \startsection [title={Section}] some day leaving out the \stop's will backfire on you \stopbodymatter \stoptext add added a fallback in the beta

Re: [NTG-context] label bug with latest beta (2011.04.22)

2011-04-24 Thread Reviczky, Adam
some day leaving out the \stop's will backfire on you why oh why did I never think about that (probably thought it was a setup)? thanks for pointing that out add added a fallback in the beta much appreciated Adam

[NTG-context] label bug with latest beta (2011.04.22)

2011-04-23 Thread Reviczky, Adam
: no string to print stack traceback: [C]: in function 'texsprint' /usr/share/texmf/tex/context/base/strc-lst.lua:496: in function 'label' main ctx instance:1: in main chunk. Shouldn't be the label function something like this: function lists.label(n) local l

Re: [NTG-context] label bug with latest beta (2011.04.22)

2011-04-23 Thread Reviczky, Adam
Further, I have two more problems with the new label system: 1) The label Part is not shown any more in the ToC. 2) Showing the label in the ToC but not in the parts (bodypart for example) doesn't work any more with this solution: http://www.ntg.nl/pipermail/ntg-context/2011/058614.html Here's

Re: [NTG-context] label bug with latest beta (2011.04.22)

2011-04-23 Thread Hans Hagen
/share/texmf/tex/context/base/strc-lst.lua:496: no string to print stack traceback: [C]: in function 'texsprint' /usr/share/texmf/tex/context/base/strc-lst.lua:496: in function 'label' main ctx instance:1: in main chunk. Shouldn't be the label function something like

Re: [NTG-context] The appendices envrionment and title in toc

2011-04-22 Thread Wolfgang Schuster
in the document (like: 1 Chaptertitle, A Appendixtitle, ...) \setuplist[chapter] [label=yes] \setuplist[appendix][label=yes] ... \setuphead[chapter] [bodypartlabel=] \setuphead[appendix][appendixlabel=] ... The names of the keys are - frontpartlabel, - bodypartlabel, - appendixlabel and - backpartlabel

Re: [NTG-context] The appendices envrionment and title in toc

2011-04-22 Thread Wolfgang Schuster
. You can control the behavior with label key from \setuplist, the valid arguments are: - no: use the argument of the starter and stopper keys but don’t print labels - EMPTY : a empty argument “label=” results in the same output as “label=no” - none : don’t print labels and ignore also

Re: [NTG-context] The appendices envrionment and title in toc

2011-04-21 Thread Pontus Lurcock
=appendix] \setuplist[chapter,appendix][label=yes,width=6em] \starttext \startfrontmatter \title{Contents} \placelist[chapter,appendix,section,subsection] \stopfrontmatter \startbodymatter \chapter{Bodypart} \stopbodymatter \startappendices \appendix{Appendix} \stopappendices \stoptext

Re: [NTG-context] How to add metapost 3rd party modules??

2011-04-20 Thread Reviczky, Adam
) files where your tex file is. Adam PS: The label offset problem is still present, so don't be surprised. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] The appendices envrionment and title in toc

2011-04-20 Thread seasoul
Chapter A. How to solve this problem? It has to be fixed by Hans. ConTeXt looks only for the label of the current heading (e.g. chapter) and not for the label which is set for a certain sectionblock (e.g. “chapter” for the bodypart and “appendix” for the appendices). I wrote a minimal

Re: [NTG-context] writing a label with a subscript in MetaFun.

2011-04-20 Thread Jeong Dalyoung
Dear Zhichu and Aditya, Thank you for the solution. label (textext($z_{ decimal (i) }$ ), z[i]) ; is working well. Best regards, Dalyoung ___ If your question is of interest to others as well, please add

Re: [NTG-context] The appendices envrionment and title in toc

2011-04-20 Thread Wolfgang Schuster
[appendix][appendixlabel=appendix] \setuplist[chapter,appendix][label=yes,width=6em] \starttext \startfrontmatter \title{Contents} \placelist[chapter,appendix,section,subsection] \stopfrontmatter \startbodymatter \chapter{Bodypart} \stopbodymatter \startappendices \appendix{Appendix

Re: [NTG-context] The appendices envrionment and title in toc

2011-04-20 Thread Reviczky, Adam
It has to be fixed by Hans. ConTeXt looks only for the label of the current heading (e.g. chapter) and not for the label which is set for a certain sectionblock (e.g. “chapter” for the bodypart and “appendix” for the appendices). I wrote a minimal which can be used to see the problem

[NTG-context] writing a label with a subscript in MetaFun.

2011-04-19 Thread Jeong Dalyoung
Dear all, I'd like to write a label with a subscript in MetaFun where the subscript is a variable. I tried in several way but not succeed. The best which I made is for i= 0 upto 8: label( z decimal i, z[i]); endfor; So the output is z1, z2, z3, ... And, the following commands are not working

Re: [NTG-context] writing a label with a subscript in MetaFun.

2011-04-19 Thread Zhichu Chen
try label (textext($z_{ decimal (i) }$ ), z[i]) ; On Wed, Apr 20, 2011 at 10:03 AM, Jeong Dalyoung hak...@me.com wrote: Dear all, I'd like to write a label with a subscript in MetaFun where the subscript is a variable. I tried in several way but not succeed. The best which I made

Re: [NTG-context] writing a label with a subscript in MetaFun.

2011-04-19 Thread Aditya Mahajan
On Wed, 20 Apr 2011, Jeong Dalyoung wrote: Dear all, I'd like to write a label with a subscript in MetaFun where the subscript is a variable. I tried in several way but not succeed. The best which I made is for i= 0 upto 8: label( z decimal i, z[i]); endfor; Untested: label(textext($z_

Re: [NTG-context] The appendices envrionment and title in toc

2011-04-18 Thread Wolfgang Schuster
is the appendix file. The appendix part tile is correct, but in the toc, the title is something like Chapter A. How to solve this problem? It has to be fixed by Hans. ConTeXt looks only for the label of the current heading (e.g. chapter) and not for the label which is set for a certain

Re: [NTG-context] Wrong cross references

2011-03-25 Thread Alasdair McAndrew
Sorted it - turns out I inadvertently used the same label for a formula and a figure. I've made all my labels distinct and the problem has gone. Sorry for wasting your bandwidth. -Alasdair On Sat, Mar 26, 2011 at 9:09 AM, Aditya Mahajan adit...@umich.edu wrote: On Sat, 26 Mar 2011, Alasdair

Re: [NTG-context] withdots framing (sharing an example)

2011-03-23 Thread Wolfgang Schuster
% {% \externalfigure[#1][width=3in]% }% \hss% }% }% }% }% \def\Picture#1#2#3% {\placefigure [][#3]{#2}% {\leftaligned{\externalfigure[#1][width=3in,background=Label,backgroundoffset=1ex]}}} or \def\Picture#1#2#3% {\placefigure [][#3]{#2}% {\framed

Re: [NTG-context] Need help with the table of contents

2011-03-21 Thread Wolfgang Schuster
starts like Part 1 Name of first part. How do I get rid of the Part, so that the corresponding line starts directly with the number of the part like 1 Name of the first Part? \setuplist[part][label=no] Wolfgang

Re: [NTG-context] Need help with the table of contents

2011-03-21 Thread Julian Becker
Part? \setuplist[part][label=no] Wolfgang ___ 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

[NTG-context] withdots framing (sharing an example)

2011-03-21 Thread Pavel Striz
Metapost to fit his examples. I am just sharing it with all the sincere greetings. Pavel Striz http://striz9.fame.utb.cz/docasne/bulletin/framed.pdf http://striz9.fame.utb.cz/docasne/bulletin/framed.tgz a.k.a. \startuniqueMPgraphic{Label} path p; p := (0,0) -- (OverlayWidth,0

[NTG-context] more missing or ungrouped '=' after

2011-03-20 Thread Reviczky, Adam
Hi I'm getting the same lines by using setupfields (in widgets), but this time I don't even get an output. Here's the minimal example: %%% \starttext \setupfields [label,frame,horizontal] [offset=4pt,height=fit,framecolor=green,background=screen,backgroundscreen=.80] [height=40pt,width=100pt

Re: [NTG-context] Text with background (overlay with a line by MP)

2011-03-20 Thread Wolfgang Schuster
. \startuniqueMPgraphic{Label} path p; p := (0,0) -- (OverlayWidth,0); draw p withpen pencircle scaled 1mm withcolor .667red; setbounds currentpicture to boundingbox OverlayBox ; \stopuniqueMPgraphic You can also use the \framed-parameters: \startuniqueMPgraphic{Label} path p; p := (0,0

<    5   6   7   8   9   10   11   12   13   14   >