Re: [NTG-context] Using \setupinterlinespace with \setuparranging[XY], and more

2013-06-26 Thread Pavneet Arora
get interlinespacing to affect the line spacing even though the baselineskip variable is changed as shown in the MWE. You have to add \par at the end of each paragraph, e.g. \framed{\definedfont[…]\setupinterlinespace …\par} Wolfgang MWE: \definepapersize [Label] [width

Re: [NTG-context] Using \setupinterlinespace with \setuparranging[XY], and more

2013-06-26 Thread Wolfgang Schuster
: \framed[foregroundstyle={\definedfont[Serif at 18pt]}]{A long description label that needs to be have its interline spacing adjusted.}\page Wolfgang ___ If your question is of interest to others as well, please add

Re: [NTG-context] Using \setupinterlinespace with \setuparranging[XY], and more

2013-06-25 Thread Pavneet Arora
By chance I found a possible, but not very satisfying, solution to the \setupinterlinspace issue when trying to print labels using \setuparranging[XY]. That is to explicitly set \setupbodyfont[rm,18pt]\setupinterlinespace once again outside the \framed directive for the specific label

[NTG-context] Portrait vs. landscape orientation for Tabloid paper

2013-06-25 Thread Pavneet Arora
) -- (5u,0u); label(btex A POOL etex, (22u,10.5u)); \stopuseMPgraphic \startalignment[middle] \definedfont[Serif at 16pt]\setupinterlinespace {\tfb\sc An Example Plumbing Schematic} \blank[big] {\tfb \tt [DRAFT---To Be Verified]} \blank[2*big] \stopalignment \scale[width=10in]{\useMPgraphic{Example

Re: [NTG-context] Using \setupinterlinespace with \setuparranging[XY], and more

2013-06-25 Thread Wolfgang Schuster
Am 21.06.2013 um 22:27 schrieb Pavneet Arora pavneet_ar...@waroc.com: Hello, I am using Willi's MAPS 37 and the Example section from the \setuppaper command: http://wiki.contextgarden.net/Command/setuppaper to print a set of labels, 2x6 configuration on U.S. Letter waterproof label

Re: [NTG-context] Disabling interactive citations

2013-06-24 Thread Aditya Mahajan
/texfaq2html?label=minxampl Although these links talk about LaTeX, the idea is same in ConTeXt. In your particular case, create a sample file with interaction and references that shows what you get vs what you want to achieve. The main advantage of such an example is that it makes it easier for others

[NTG-context] Using \setupinterlinespace with \setuparranging[XY], and more

2013-06-21 Thread Pavneet Arora
Hello, I am using Willi's MAPS 37 and the Example section from the \setuppaper command: http://wiki.contextgarden.net/Command/setuppaper to print a set of labels, 2x6 configuration on U.S. Letter waterproof label paper. For the most part things are working well, but I have a number

[NTG-context] Documenting \startchapter etc.

2013-06-20 Thread Gareth Jones
give the pages a quick look over to make sure I’m not misleading people with false information, and maybe add any parameters that I’ve missed (or don’t know the meaning of like ‘label’ and ‘marking’). Cheers, and thanks for ConTeXt – so far I like it a lot better than LaTeX or any other system I’ve

Re: [NTG-context] Documenting \startchapter etc.

2013-06-20 Thread Hans Hagen
appreciate it if someone more knowledgeable could give the pages a quick look over to make sure I’m not misleading people with false information, and maybe add any parameters that I’ve missed (or don’t know the meaning of like ‘label’ and ‘marking’). Cheers, and thanks for ConTeXt – so far I like it a lot

[NTG-context] Referencing problem

2013-06-19 Thread Robert Blackstone
in april (Ref. ntg-context Digest, Vol 106, Issue 4, Date:14 April 2013) and which works perfectly. My problem is: how can I refer in my text to this set of figures (instead of to the separate figures). I have tried to use group as the label for referencing, as it is the only argument that all figures

[NTG-context] Referencing problem (correction)

2013-06-19 Thread Robert Blackstone
of to the separate figures). I have tried to use group as the label for referencing, as it is the only argument that all figures have in common, but my trials failed and I have no idea how to accomplish this. (The wiki is too vague for me on this point.) Thanks in advance for any help. Regards

[NTG-context] [***SPAM***] Scaling large (annotated) MetaFun drawing

2013-06-18 Thread Pavneet Arora
); draw (9u,0u) -- (5u,0u); label(btex AN ARCHITECTURAL ELEMENT etex, (22u,10.5u)); \stopMPpage \stoptext -- Pavneet Arora m: 647.406.6843 Waroc Informatikt: 416.937.9276 ___ If your question

Re: [NTG-context] [***SPAM***] Scaling large (annotated) MetaFun drawing

2013-06-18 Thread Hans Hagen
(42u,18u) .. (43.5u,10.5u) {dir 270} .. (42u,3u); draw (42u,3u) {dir 180} .. (39u,0u) {dir 270}; draw (39u,0u) -- (35u,0u); draw (35u,0u) .. (22u,3u) {dir 180} .. (9u,0u); draw (9u,0u) -- (5u,0u); label(btex AN ARCHITECTURAL ELEMENT etex, (22u,10.5u)); \stopMPpage \stoptext

[NTG-context] NTG-context] How to hack the lua files

2013-06-17 Thread Lance Larsen
number is not included). Using the \usereferences tag works if I label formulas 'bytext' rather than by 'bysection' and turn off chapter prefixes in test1.tex using the following at the start of the document: \setupformulae[way=bytext,prefixsegments=None] I would really prefer to maintain numbering

Re: [NTG-context] How to hack the lua files

2013-06-07 Thread Lance Larsen
luigi, When I started exploring how to map equation references (eq:name) to equation numbers (4.2), I noticed that the 'tuc' file included the equation reference (eq:name), but I was not able to identify anywhere where it indicates the actual equation label specified in the document. Below

Re: [NTG-context] How to hack the lua files

2013-06-07 Thread Hans Hagen
label specified in the document. Below is an example of the tuc output. 'eq:DVOL_RVI_17' is equation (4.28) in the document: { [metadata]=142, [numberdata]=237, [prefixdata]=11, [references]={ [block]=bodypart, [internal]=122, [realpage]=47, [reference]=eq:DVOL_RVI_17

Re: [NTG-context] ntg-context Digest, Vol 108, Issue 22

2013-06-07 Thread Lance Larsen
to map equation references (eq:name) to equation numbers (4.2), I noticed that the 'tuc' file included the equation reference (eq:name), but I was not able to identify anywhere where it indicates the actual equation label specified in the document. Below is an example of the tuc output

[NTG-context] Centered title with numeration on the same line

2013-06-05 Thread Jan Tosovsky
[section][ alternative=middle, style=\bfa, sectionsegments=section, % ignore component label ] \starttext \chapter{Foo} \section{The First Section} Text. \stoptext How can I keep numeration and title together? Thanks, Jan

Re: [NTG-context] Centered title with numeration on the same line

2013-06-05 Thread Hans Hagen
]}, ] % for section it is inappropriate \setuphead[section][ alternative=middle, style=\bfa, sectionsegments=section, % ignore component label ] \starttext \chapter{Foo} \section{The First Section} Text. \stoptext How can I keep numeration and title together? in strc-ren you

[NTG-context] Exporting labels from a ConTeXt document

2013-06-04 Thread Lance Larsen
I have a document with several equations included. I need to reference these in an external document. To automate the process, I need a mapping between the equation label (i.e., eq:my_eq_name) to an equation number such as (4.22). Is there a way to export this mapping possibly as a command line

[NTG-context] Centered title with numeration on the same line

2013-06-03 Thread honyk
[section][ alternative=middle, style=\bfa, sectionsegments=section, % ignore component label ] \starttext \chapter{Foo} \section{The First Section} Text. \stoptext How can I keep numeration and title together? Thanks, Jan

[NTG-context] ToC - right-alignment of roman numerals

2013-06-03 Thread honyk
Dear All, in fresh MkIV I use the following commands for building ToC, but I have no idea how to align the label (roman numeral) to the right. In addition, the specified width and distance seem to be somehow ignored so that label interferes with the title. \setuphead[chapter][conversion

Re: [NTG-context] Centered title with numeration on the same line

2013-06-03 Thread luigi scarso
]}, after={\blank[1cm]}, ] % for section it is inappropriate \setuphead[section][ alternative=middle, style=\bfa, sectionsegments=section, % ignore component label ] \starttext \chapter{Foo} \section{The First Section} Text. \stoptext How can I keep

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-06-03 Thread Marco Patzer
On 2013–06–03 honyk wrote: in fresh MkIV I use the following commands for building ToC, but I have no idea how to align the label (roman numeral) to the right. \setuphead[chapter][conversion=Romannumerals] \setupheadnumber[chapter][48] \setupcombinedlist [content] [alternative=c

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-06-03 Thread honyk
This is great! Thanks On 2013–06–03 honyk wrote: in fresh MkIV I use the following commands for building ToC, but I have no idea how to align the label (roman numeral) to the right. \setuphead[chapter][conversion=Romannumerals] \setupheadnumber[chapter][48] \setupcombinedlist

Re: [NTG-context] Centered title with numeration on the same line

2013-06-03 Thread luigi scarso
, sectionsegments=section, % ignore component label ] \starttext \chapter{Foo} \section{The First Section} Text. \stoptext But again, are you sure about the \cap command ? It also sets the CHAPTER as small caps . -- luigi

Re: [NTG-context] Centered title with numeration on the same line

2013-06-03 Thread honyk
=\groupedcommand{\cap}{\blank[0.5cm]}, after={\blank[1cm]}, ] % for section it is inappropriate \setuphead[section][ alternative=middle, style=\bfa, sectionsegments=section, % ignore component label ] \starttext \chapter{Foo} \section

Re: [NTG-context] fontsize drawing in metapost

2013-05-07 Thread Marco Patzer
without resorting to an external pdf? That is, can I pick up the result of \useMPgraphic somewhere, then put this in \useexternalfigure and apply everything possible there to the figure. You could use \scale : \startuseMPgraphic{foo} fill unitcircle scaled 1cm; label(Foo, origin

Re: [NTG-context] fontsize drawing in metapost

2013-05-07 Thread Meer, H. van der
resorting to an external pdf? That is, can I pick up the result of \useMPgraphic somewhere, then put this in \useexternalfigure and apply everything possible there to the figure. You could use \scale : \startuseMPgraphic{foo} fill unitcircle scaled 1cm; label(Foo, origin

Re: [NTG-context] fontsize drawing in metapost

2013-05-06 Thread Meer, H. van der
possible things cannot be done other than by putting a fontchange inside each label. Hans van der Meer On 6 May 2013, at 6:04 PM, Marco Patzer home...@lavabit.com wrote: On 2013–05–06 Meer, H. van der wrote: What is the simplest way to change the size of fonts in labels drawn

Re: [NTG-context] fontsize drawing in metapost

2013-05-06 Thread Meer, H. van der
tried textstyle=5pt without result 2. the setup cannot be placed inside \startuseMPgraphic, where I need it most. I skimmed through meta-ini.mkiv, but did not find a solution. It is however quite possible things cannot be done other than by putting a fontchange inside each label. Hans van der

[NTG-context] \bTD\numexpr\currentTABLErow\minusone\relax\eTD

2013-04-19 Thread Alan BRASLAU
Hello, I naively tried using \bTD\numexpr\currentTABLErow\minusone\relax\dTD in a TABLE. As I do not master even simple calculations under TeX, I do not see what I am missing in order to label TABLE rows, starting from 0? (Row 1 is a heading, set off by \bTABLEhead\eTABLEhead, which

Re: [NTG-context] combinations

2013-04-16 Thread Hans Hagen
On 4/15/2013 6:45 PM, Sietse Brouwer wrote: Perhaps the default for the label could be numberconversion=character --- subfigures are more commonly numbered a, b, c, I think. ok - Hans

[NTG-context] Placefigure without Caption-Numbering

2013-04-16 Thread H. Özoguz
How to deactive the Caption-Numbering: \starttext \placefigure[here]{Blub}{\externalfigure[image][width=6cm]} \stoptext I want the caption Blub, but not the Figure 1 label. Thanks! Huseyin ___ If your question

Re: [NTG-context] Placefigure without Caption-Numbering

2013-04-16 Thread Wolfgang Schuster
Am 16.04.2013 um 18:56 schrieb H. Özoguz h.oezo...@mmnetz.de: How to deactive the Caption-Numbering: \starttext \placefigure[here]{Blub}{\externalfigure[image][width=6cm]} \stoptext I want the caption Blub, but not the Figure 1 label. \placefigure[here,nonumber]{…}{…} Wolfgang

[NTG-context] [***SPAM***] No line break in figure-captions

2013-04-16 Thread H. Özoguz
How to prevent line break in figure captions? \starttext \setupcolors[state=start] \placefigure[here]{Der männliche Vogelmensch.}{\externalfigure[image][width=6cm]} \stoptext I want the complete caption centered below the figure 1 label. How to do that? Huseyin

Re: [NTG-context] [***SPAM***] Changing the font of the TOC-Title

2013-04-15 Thread Tim Li
I have achieved this by the following method: I think we'd better only change the label by \setupheadtext and chage its style by \setuphead. An example as follows \setupheadtext[content={CONTENTS}] \def\mytitle#1{% \midaligned{#1}} \setuphead [title] [style={\bfb}, color=red, before

Re: [NTG-context] [***SPAM***] Changing the font of the TOC-Title

2013-04-15 Thread Tim Li
this by the following method: I think we'd better only change the label by \setupheadtext and chage its style by \setuphead. An example as follows \setupheadtext[content={CONTENTS}] \def\mytitle#1{% \midaligned{#1}} \setuphead [title] [style={\bfb}, color=red, before={}, after

[NTG-context] combinations

2013-04-15 Thread Hans Hagen
Hi, As follow up on the combinations tread I made this: \useMPlibrary[dum] \starttext \definecombination[mycombi][alternative=label] \setuplabel[combination:mycombi][text={Item },numberconversion=character,stopper=!] \startcombination[mycombi][2*2] {\externalfigure[dummy][width=4cm

Re: [NTG-context] combinations

2013-04-15 Thread Sietse Brouwer
} {another item}{another caption} \stopcombination (3) \definecombination[mycombiB][alternative=label] means you specify the combination's contents as item, item, item, etc. \startcombination[mycombiB][nx=2,ny=1] {item} {another item} \stopcombination and the caption (label) will be placed

Re: [NTG-context] combinations

2013-04-15 Thread Wolfgang Schuster
for the content and the caption. (3) \definecombination[mycombiB][alternative=label] means you specify the combination's contents as item, item, item, etc. \startcombination[mycombiB][nx=2,ny=1] {item} {another item} \stopcombination and the caption (label) will be placed automatically. Yes

Re: [NTG-context] combinations

2013-04-15 Thread Sietse Brouwer
Perhaps the default for the label could be numberconversion=character --- subfigures are more commonly numbered a, b, c, I think. Wikified at http://wiki.contextgarden.net/Command/setupcombinations http://wiki.contextgarden.net/Command/startcombination Cheers, Sietse On 15 April 2013 16:04

Re: [NTG-context] combinations

2013-04-15 Thread Wolfgang Schuster
Am 15.04.2013 um 18:45 schrieb Sietse Brouwer sbbrou...@gmail.com: Perhaps the default for the label could be numberconversion=character --- subfigures are more commonly numbered a, b, c, I think. To set default values it can be usefull to add a unnamed “combination” label, i.e

Re: [NTG-context] combinations

2013-04-15 Thread Hans Hagen
On 4/15/2013 6:58 PM, Wolfgang Schuster wrote: Am 15.04.2013 um 18:45 schrieb Sietse Brouwer sbbrou...@gmail.com: Perhaps the default for the label could be numberconversion=character --- subfigures are more commonly numbered a, b, c, I think. To set default values it can be usefull to add

Re: [NTG-context] float combinations

2013-04-14 Thread Alan BRASLAU
] \externalfigure [cow] [width=3cm] \stopplacefigureitem \startplacefigureitem [title=delta] \externalfigure [cow] [width=4cm] \stopplacefigureitem \stopfloatcombination \stopplacefigure Two problems, though: 1. I tried label= in \setupcaption to suppress Figure . This does not work

Re: [NTG-context] float combinations

2013-04-14 Thread Marco Patzer
On 2013–04–14 Alan BRASLAU wrote: Two problems, though: 1. I tried label= in \setupcaption to suppress Figure . This does not work, and looking at the source I do not see how to do this... \setuplabeltext [figureitem=] Marco signature.asc Description: Digital signature

Re: [NTG-context] float combinations

2013-04-14 Thread Alan BRASLAU
On Sun, 14 Apr 2013 13:54:48 +0200 Marco Patzer home...@lavabit.com wrote: On 2013–04–14 Alan BRASLAU wrote: Two problems, though: 1. I tried label= in \setupcaption to suppress Figure . This does not work, and looking at the source I do not see how to do this... \setuplabeltext

[NTG-context] float combinations

2013-04-13 Thread Robert Blackstone
][prefix=yes,label=yes,alternative=c] \starttext This file is for testing the possibility of giving two related musical examples (in old and modern notation respectively) the same figure number with a. and b. as suffixes to the number proper. \placefigure[here][SmallCow1]{A small cow

[NTG-context] [***SPAM***] Background color with dotted frame formula

2013-04-11 Thread hwitloc
The grey background seems to not go up to the dotted frame of the frame is too high? #3 The dotted frame does not show up at all. Here is the mkiv file: \startuniqueMPgraphic{Label} path p; p := (0,0) -- (OverlayWidth,0) -- (OverlayWidth, OverlayHeight) -- (0, OverlayHeight) -- (0,0); draw p withpen

[NTG-context] \setuphead [bodypartlabel=]

2013-03-26 Thread Alan BRASLAU
\setuplabeltext [chapter=Chapter ] enables a label in chapter headings. Sometimes, one wants to have an unnumbered chapter-level structure that otherwise appears in the table of contents, bookmarks, marking, etc. without having to make many special definitions. One suggests: \definehead

Re: [NTG-context] \setuphead [bodypartlabel=]

2013-03-26 Thread Wolfgang Schuster
Am 26.03.2013 um 19:15 schrieb Alan BRASLAU alan.bras...@cea.fr: \setuplabeltext [chapter=Chapter ] enables a label in chapter headings. Sometimes, one wants to have an unnumbered chapter-level structure that otherwise appears in the table of contents, bookmarks, marking, etc. without

Re: [NTG-context] \setuphead [bodypartlabel=]

2013-03-26 Thread Alan BRASLAU
On Tue, 26 Mar 2013 19:25:27 +0100 Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 26.03.2013 um 19:15 schrieb Alan BRASLAU alan.bras...@cea.fr: \setuplabeltext [chapter=Chapter ] enables a label in chapter headings. Sometimes, one wants to have an unnumbered chapter

Re: [NTG-context] chapter titles

2013-03-21 Thread Wolfgang Schuster
? which parameter? http://article.gmane.org/gmane.comp.tex.context/77262 There should be more examples on the mailing list, search for \defineheadalternative When the text etc. after the number change one could change the label text which allows text at the left and right side of the number

Re: [NTG-context] chapter titles

2013-03-21 Thread Meer H. van der
be more examples on the mailing list, search for \defineheadalternative When the text etc. after the number change one could change the label text which allows text at the left and right side of the number. Another method is to use the numbercommand key to put content after the number

[NTG-context] processing xml with lua

2013-02-26 Thread Schmitz Thomas A.
Hi all, one of my favorite topics… Here is a minimal example which shows something that I don't understand: when I process the subsection with the lua code, I want to get the value of the current section's label attribute in xml.attribute(r, ../../section, label, X). So i was expecting

Re: [NTG-context] processing xml with lua

2013-02-26 Thread Hans Hagen
On 2/26/2013 1:23 PM, Schmitz Thomas A. wrote: Hi all, one of my favorite topics… Here is a minimal example which shows something that I don't understand: when I process the subsection with the lua code, I want to get the value of the current section's label attribute in xml.attribute(r

Re: [NTG-context] processing xml with lua

2013-02-26 Thread Schmitz Thomas A.
On Feb 26, 2013, at 1:54 PM, Hans Hagen pra...@wxs.nl wrote: you go up to the parent of sections which to far up, try: section = xml.attribute(r, .., label, X) or section = xml.filter(r, ../attribute(label)) Mojca, Hans, thanks, that is exactly right! I wasn't too sure about

Re: [NTG-context] Alignment problem with labels and textext

2013-02-13 Thread Alan BRASLAU
) , origin) ; label.bot (textext(bottom) , origin) ; \stopMPpage \stoptext If i run it by texexec(mkii), all is ok, with context(mkiv) the labels overlap. I do not know what you expect exactly. Each textext() label has a bounding box. This bounding box is then aligned in the case of rt, top

Re: [NTG-context] Alignment problem with labels and textext

2013-02-13 Thread Keith J. Schultz
Hi Lutz, Just updated, to make sure I have the latest. I see the problems. top bottom labels are not centered correctly bottom label not low enough left and right labels are not aligned at the same height Sorry, no ansers. regards Keith. Am 13.02.2013 um 11

Re: [NTG-context] Alignment problem with labels and textext

2013-02-13 Thread Lutz Haseloff
It seems to me, that the label.xx mechanism is completely broken. the results of label, label.rt and label.lft are exactly the same if i set labeloffset := 0bp ; (default is 3bp) 2013/2/13 Keith J. Schultz keithjschu...@web.de Hi Lutz, Just updated, to make sure I have the latest. I see

Re: [NTG-context] Alignment problem with labels and textext

2013-02-13 Thread Lutz Haseloff
It seems, that my ConTeXt installation was broken in this point. A complete new installation of the standalone heped. Sorry for the noise. 2013/2/13 Lutz Haseloff lutz.hasel...@gmail.com It seems to me, that the label.xx mechanism is completely broken. the results of label, label.rt

[NTG-context] \startplacefigure breaking paragraph flow

2013-02-10 Thread Marcin Borkowski
Hi all, when I issue a \startplacefigure, it breaks the flow of the paragraph. Normally, it is not a problem (I can use 2*hang anyway), but I have a one-paragraph enumeration (made by \defineenumeration), and if I give the figure at its beginning, the label is on a line by its own; the problem

[NTG-context] Referencing a figure

2013-01-22 Thread Devendra Ghate
I have written a macro to include figures. I pass the label name and the caption as the two arguments. But when I try to refer to the figure, it shows ??. Surely, my macro does not define the figure label as intended by me. What am I doing wrong? Also, while trying to debug this problem, I tried

Re: [NTG-context] Referencing a figure

2013-01-22 Thread Philipp Gesang
Hi! ···date: 2013-01-22, Tuesday···from: Devendra Ghate··· I have written a macro to include figures. I pass the label name and the caption as the two arguments. But when I try to refer to the figure, it shows ??. Surely, my macro does not define the figure label as intended by me. What

Re: [NTG-context] Referencing a figure

2013-01-22 Thread Devendra Ghate
On 01/22/2013 03:48 PM, Philipp Gesang wrote: Hi! ···date: 2013-01-22, Tuesday···from: Devendra Ghate··· I have written a macro to include figures. I pass the label name and the caption as the two arguments. But when I try to refer to the figure, it shows ??. Surely, my macro does

Re: [NTG-context] Bug in label and setuphead

2013-01-18 Thread Aditya Mahajan
On Fri, 18 Jan 2013, Wolfgang Schuster wrote: Am 17.01.2013 um 19:20 schrieb Aditya Mahajan adit...@umich.edu: \setuphead[whatever][label=whatever] does not change anything. This looks like a bug to me. Otherwise, what is the right way of changing the label of a section head? \setuphead

[NTG-context] Bug in label and setuphead

2013-01-17 Thread Aditya Mahajan
Hi, (This is based on a question on tex.se: http://tex.stackexchange.com/q/94170/323) If a new head is defined based on an existing head, it still uses the label of the previous head. \definehead[whatever][chapter] \setuplabeltext[en][whatever=Whatever~] \setuplabeltext[en][chapter

Re: [NTG-context] Bug in label and setuphead

2013-01-17 Thread Wolfgang Schuster
Am 17.01.2013 um 19:20 schrieb Aditya Mahajan adit...@umich.edu: Hi, (This is based on a question on tex.se: http://tex.stackexchange.com/q/94170/323) If a new head is defined based on an existing head, it still uses the label of the previous head. \definehead[whatever][chapter

Re: [NTG-context] Metafun textext()

2013-01-10 Thread Alan BRASLAU
, but I am most likely wrong. Indeed \blue text has worked, but 'draw T withcolor blue;' *should* work as well. The processing of textext() has changed recently, it seems. \startMPcode label(textext(I'm seeing double),origin) withcolor green ; label(textext(I'm seeing double),(-1mm,1mm)) withcolor

Re: [NTG-context] Metafun textext()

2013-01-10 Thread Aditya Mahajan
withcolor blue;' *should* work as well. The processing of textext() has changed recently, it seems. \startMPcode label(textext(I'm seeing double),origin) withcolor green ; label(textext(I'm seeing double),(-1mm,1mm)) withcolor blue ; \stopMPcode DOES work. Of course, these are much simplified

Re: [NTG-context] Metafun textext()

2013-01-10 Thread Hans Hagen
\blue text has worked, but 'draw T withcolor blue;' *should* work as well. The processing of textext() has changed recently, it seems. The mkiv implementation has always been rather different from the mkii one: text handling as well as dealing with colors. \startMPcode label(textext(I'm seeing

[NTG-context] TeXexec / mptex / Ruby bug with Unicode letters

2012-12-11 Thread Michal Kvasnička
Hallo. It seems that something was changed in Ruby that makes texexec --mptex not working with some Unicode letters, e.g. rcaron. This file compiles all right with texexec --mptex: beginfig(1); label(textext(a),origin); endfig; end. However, when I change a to ř (unicode for rcaron or \v{r

Re: [NTG-context] TeXexec / mptex / Ruby bug with Unicode letters

2012-12-11 Thread Hans Hagen
On 12/11/2012 9:00 AM, Michal Kvasnička wrote: Hallo. It seems that something was changed in Ruby that makes texexec --mptex not working with some Unicode letters, e.g. rcaron. probably true This file compiles all right with texexec --mptex: beginfig(1); label(textext(a),origin); endfig

[NTG-context] Save/Redraw labels as pictures

2012-12-08 Thread Troy Henderson
The following code produces the letter J on the first page, but does not draw that same picture on the second page. I would appreciate some advice on how to save and redraw this label in subsequence figures. Thanks, Troy Henderson \starttext \startMPinclusions[+] picture J

Re: [NTG-context] Save/Redraw labels as pictures

2012-12-08 Thread Alan BRASLAU
Henderson thend...@gmail.com wrote: The following code produces the letter J on the first page, but does not draw that same picture on the second page. I would appreciate some advice on how to save and redraw this label in subsequence figures. Thanks, Troy Henderson \starttext

Re: [NTG-context] Save/Redraw labels as pictures

2012-12-08 Thread Hans Hagen
On 12/8/2012 12:42 PM, Troy Henderson wrote: The following code produces the letter J on the first page, but does not draw that same picture on the second page. I would appreciate some advice on how to save and redraw this label in subsequence figures. Thanks, Troy Henderson \starttext

Re: [NTG-context] \chapter{} vs \startchapter..\stopchapter

2012-11-08 Thread Marco Patzer
, is there anything that lists the keys for \startchapter somewhere? Keys that I know about: \startchapter[ label=..., title=..., marking=..., list=..., bookmark=..., reference=... ] \stopchapter You can also add an additional pair of brackets with custom

Re: [NTG-context] New module: simplebib

2012-11-03 Thread Aditya Mahajan
does just wants to link to the bibliography without the funny arrows from crossref module? 2. Setting style for labels. You use \sym{...\sc{\tmplabel}} It may be better to define style and color keys for the label rather than hardcoding \sc. In fact, all you need to do is set symstyle

[NTG-context] Creating a background texture with text/graphic

2012-10-29 Thread Mari Voipio
deal in this case, \externalfigure will do that. (I got almost what I wanted by tweaking an older label/imposition file, but I have some weird margin issues there and the positioning system is not very exact and there are a bit too many things that affect the layout. I'd rather put stuff on a grid

[NTG-context] Section/head with separate numbering and references

2012-10-26 Thread Jason Brown
numbering \definehead [Topic] [subsection] \setuphead [Topic] [ownnumber=yes,number=yes,numberstyle=normal,numbercolor=darkgray,textstyle=\it,alternative=inmargin,header=empty,inbetween=,after=] % use a label text \setuplabeltext[Topic=\S] % increment and feed \newcounter\TopicNumber \def\topic[#1]#2

Re: [NTG-context] using variable for subscript in math+lua (and math+MetaFun)

2012-10-25 Thread Jeong Dal
Dear Gesang and Hans, Your solution is working nicely. I may use lua to simplify my other work. I'd like to ask you one more thing. I tried to write a matrix using MetaFun to add some graphics as following: label(btex $a_{11}$ etex, ( , )); label(btex $a_{12}$ etex, ( , )); label(btex $a_{13

Re: [NTG-context] using variable for subscript in math+lua (and math+MetaFun)

2012-10-25 Thread Hans Hagen
On 25-10-2012 13:59, Jeong Dal wrote: Dear Gesang and Hans, Your solution is working nicely. I may use lua to simplify my other work. I'd like to ask you one more thing. I tried to write a matrix using MetaFun to add some graphics as following: label(btex $a_{11}$ etex

[NTG-context] m-graph.mkiv format bug

2012-10-15 Thread Alan BRASLAU
There is a bug with format() as redefined in m-graph.mkiv 1e10 and 1e-10 truncate the tailing 0. (I have not been able to fix the code...) Alan Minimal example: \usemodule [graph] \starttext \startMPpage label(format(@g,1e-10),(0, 0)) ; label(format(@g,1e+10),(2cm,0)) ; label(format

Re: [NTG-context] m-graph.mkiv format bug

2012-10-15 Thread Sietse Brouwer
\startMPpage label(format(@g,1e+0),(2cm,-1cm)) ; \stopMPpage \stoptext Cheers, Sietse On Mon, Oct 15, 2012 at 11:19 AM, Alan BRASLAU alan.bras...@cea.fr wrote: There is a bug with format() as redefined in m-graph.mkiv 1e10 and 1e-10 truncate the tailing 0. (I have not been able to fix

Re: [NTG-context] m-graph.mkiv format bug

2012-10-15 Thread Alan BRASLAU
() function. This seems to be by design. Illustration of this behaviour: \usemodule[graph] \starttext \startMPpage label(format(@g,1e+0),(2cm,-1cm)) ; \stopMPpage \stoptext Thanks, this fixes it for now, but I believe that the strip is intended to remove leading zeros, as in label(format

Re: [NTG-context] m-graph.mkiv format bug

2012-10-15 Thread Alan BRASLAU
is zero the × 10^0 will be left out completely, in both the old and the new strip() function. This seems to be by design. Illustration of this behaviour: \usemodule[graph] \starttext \startMPpage label(format(@g,1e+0),(2cm,-1cm)) ; \stopMPpage \stoptext Thanks

Re: [NTG-context] m-graph.mkiv format bug

2012-10-15 Thread Sietse Brouwer
: \usemodule[graph] \starttext \startMPpage label(format(@g,1e+0),(2cm,-1cm)) ; \stopMPpage \stoptext Thanks, this fixes it for now, but I believe that the strip is intended to remove leading zeros, as in label(format(@g,1e+08),(2cm,-1cm)) ; I suppose that the correct syntax must

Re: [NTG-context] New module: pararef

2012-10-13 Thread Wolfgang Schuster
the symbols and add a label key to disable/enable the label text. Congratulations on shipping a module! To include the module in the minimals he should send a mail to Mojca. Wolfgang ___ If your question is of interest

Re: [NTG-context] New module: pararef

2012-10-13 Thread Zenlima
Hi Sietse, hi Wolfgang, thanks for your first feedback. Right now I am working on your suggestions. @Wolfgang: I don't understand your suggestion: add a label key to disable/enable the label text. Can you describe it more detaily or in other words? I am not sure how to implement it with the refs

Re: [NTG-context] New module: pararef

2012-10-13 Thread Wolfgang Schuster
Am 13.10.2012 um 18:53 schrieb Zenlima p...@zenlima.eu: Hi Sietse, hi Wolfgang, thanks for your first feedback. Right now I am working on your suggestions. @Wolfgang: I don't understand your suggestion: add a label key to disable/enable the label text. Can you describe it more detaily

Re: [NTG-context] Referring to multiple elements

2012-09-28 Thread Marco Patzer
into such a prefixed strings. I hope it does what you want! Let me know if you want/need any alterations, or discover bugs. Thanks a lot for that. I'd adjust the interface, so that it matches the behaviour of \in: \def\inrange {\dodoublegroupempty\doinrange} \def\doinrange#left#right#dummy[#label

Re: [NTG-context] combinedlist: different behaviour in mkiv

2012-09-21 Thread Wolfgang Schuster
] \definehead [agendapart] [section] [sectionresetset=none,sectionsegments=agendapart,style=\bfb,conversion=A,bodypartlabel=part] \definehead [agendaitem] [subsection] [sectionresetset=none,sectionsegments=agendaitem,style=\bf] \setuplist [agendapart] [width=1.5cm,pagenumber=no,style=bold,label=yes

Re: [NTG-context] Sequence of MetaPost Pages

2012-09-09 Thread Aditya Mahajan
) \dorecurse{10} {\startMPpage label(btex On step \recurselevel etex, origin); \stopMPpage} (There is also \dostepwiserecurse if you need more control). Aditya ___ If your question is of interest

Re: [NTG-context] Sequence of MetaPost Pages

2012-09-09 Thread Troy Henderson
label(decimal(n),origin); Sorry. I found the answer by wrapping the decimal() inside textext(). That is, label(textext(decimal(n)),origin); does what I want. Troy ___ If your question is of interest to others

Re: [NTG-context] MetaPost Page height

2012-08-19 Thread Hans Hagen
On 18-8-2012 14:18, Troy Henderson wrote: The follow code produces a PDF whose page height is too large (i.e., is not tight enough around the graphic). How can I get this the height to be as tight as the width? \startMPpage bboxmargin:=0; label(btex foo etex,origin); \stopMPpage

[NTG-context] MetaPost Page height

2012-08-18 Thread Troy Henderson
The follow code produces a PDF whose page height is too large (i.e., is not tight enough around the graphic). How can I get this the height to be as tight as the width? \startMPpage bboxmargin:=0; label(btex foo etex,origin); \stopMPpage Thanks in advance, Troy Henderson

Re: [NTG-context] Marking a textfragment for later reference

2012-08-07 Thread Robert Blackstone
for me. I realize now that many things with labels can be used as anchors for references, and I'm still a bit surprised that a delimited text with a label cannot be used that way. Where has the delimited text in your example a label? Wolfgang I had not included a minimal example but I

Re: [NTG-context] Marking a textfragment for later reference

2012-08-07 Thread Pontus Lurcock
On Tue 07 Aug 2012, Robert Blackstone wrote: Here follows my minimal example. I reasoned that the identifier [topica] might act as a label, or an anchor, or whatever the correct ConTeXt name is, for a reference

Re: [NTG-context] Marking a textfragment for later reference

2012-08-07 Thread Robert Blackstone
On 7 aug. 2012, Pontus Lurcock p...@talvi.net wrote On Tue 07 Aug 2012, Robert Blackstone wrote: Here follows my minimal example. I reasoned that the identifier [topica] might act as a label, or an anchor, or whatever the correct ConTeXt name is, for a reference

Re: [NTG-context] Marking a textfragment for later reference

2012-08-07 Thread Sietse Brouwer
their own labels. Cheers, Sietse %%% Example: label % \placefigure [here] [fig:myfig] % label: used to refer to the figure {caption}{figure} %%% Example: command like \startNAME % \definedelimitedtext [smallquote] % name [style=small] \startsmallquote % our own

<    3   4   5   6   7   8   9   10   11   12   >