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
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
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
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
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
. 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
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
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
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
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
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
}
\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
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
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
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
(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
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
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
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
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
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
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
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
(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
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
.
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
.. 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
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
---
`\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
` 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
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
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
.
- 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
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
: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
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
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
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
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 그림
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
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
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
\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
\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
\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
[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
[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
” 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
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
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
[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
{
\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
!
\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
\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
[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
doesn't do anything
label=yes, alternative=command,command=\ChapterList, ]
\setuplist [chapter] [alternative=command, command=\ChapterList,
label=yes, before=\blank, margin=0pt]
Wolfgang
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
)
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
:
\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
\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
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
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
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
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,
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
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
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
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
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
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
:
\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
\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
] [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
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
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
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
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
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
: 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
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
/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
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
.
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
=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
) 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
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
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
[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
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
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
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
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_
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
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
%
{%
\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
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
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
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
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
.
\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
901 - 1000 of 1966 matches
Mail list logo