[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

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

2011-03-19 Thread Procházka Lukáš
Hello, I'm trying to create an overlay - text with a line drawn bellow. The following code: --- \defineoverlay[Label][\useMPgraphic{Label}] \startuniqueMPgraphic{Label} path p; p := (0,0) -- (OverlayWidth,0); draw p yshifted -1cm withpen pencircle scaled 1mm withcolor .667red

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

2011-03-19 Thread Peter Münster
Procházka Lukáš l...@pontex.cz writes: \def\Text#1{\inframed[background=Label,frame=off]{#1}} Or like this (less quick and perhaps less dirty): \def\Text#1{\inframed[location=top, background=Label, boffset=\lineheight, frame=off]{#1}} -- Peter

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

2011-03-19 Thread Peter Münster
pmli...@free.fr (Peter Münster) writes: Procházka Lukáš l...@pontex.cz writes: \def\Text#1{\inframed[background=Label,frame=off]{#1}} Or like this (less quick and perhaps less dirty): \def\Text#1{\inframed[location=top, background=Label, boffset=\lineheight, frame=off]{#1}} Oh

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

2011-03-19 Thread Aditya Mahajan
On Sat, 19 Mar 2011, Procházka Lukáš wrote: Hello, I'm trying to create an overlay - text with a line drawn bellow. The following code: --- \defineoverlay[Label][\useMPgraphic{Label}] \startuniqueMPgraphic{Label} path p; p := (0,0) -- (OverlayWidth,0); draw p yshifted -1cm withpen

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

2011-03-19 Thread Procházka Lukáš
On Sat, 19 Mar 2011 23:13:46 +0100, Aditya Mahajan adit...@umich.edu wrote: You do not need yshifted. But you need to set the bounding box of the resulting image correctly. \startuniqueMPgraphic{Label} path p; p := (0,0) -- (OverlayWidth,0); draw p withpen pencircle scaled 1mm withcolor

Re: [NTG-context] Metafun Label and externalfigure Problem

2011-03-08 Thread Lutz Haseloff
Akiras luatex.dll rev 4090 updated on 20110303 works again as expected. 2011/3/3 Lutz Haseloff lutz.hasel...@googlemail.com: 2011/3/2 Taco Hoekwater t...@elvenkind.com: Hi, Not having blblogo.pdf, I used cow.pdf for the tests below. I use luatex 0.66.0 (rev 4090) hand-built on linux32, and

Re: [NTG-context] I think I found a bug in \at

2011-03-05 Thread Wolfgang Schuster
\definereferenceformat. \mainlanguage[nl] \definereferenceformat [AtPage] [label=page, %autocase=no, ] \starttext \reference[test]{\pagenumber} \at{page}[test] \AtPage[test] \stoptext @Hans: What happend with “command=\at” for \definereferenceformat? Wolfgang

Re: [NTG-context] Metafun Label and externalfigure Problem

2011-03-02 Thread Jeong Dalyoung
Dear Lutz, After replacing blblogo.pdf with a figure file in my system and tested it. Otherwise, it shows a gray rectangle. I got no error and the output is fine.( Test and the figure are well shown) I don't know rev 4090 but here is the version of ConTeXt minimal in my system. ... This is

Re: [NTG-context] Metafun Label and externalfigure Problem

2011-03-02 Thread Taco Hoekwater
Hi, Not having blblogo.pdf, I used cow.pdf for the tests below. I use luatex 0.66.0 (rev 4090) hand-built on linux32, and Context 2011.02.25 22:03 MKIV (received privately from Hans) With that configuration, all three tests function exactly as they should, so it is almost certainly not luatex

Re: [NTG-context] Metafun Label and externalfigure Problem

2011-03-02 Thread Lutz Haseloff
2011/3/2 Taco Hoekwater t...@elvenkind.com: Hi, Not having blblogo.pdf, I used cow.pdf for the tests below. I use luatex 0.66.0 (rev 4090) hand-built on linux32, and Context 2011.02.25 22:03 MKIV (received privately from Hans) With that configuration, all three tests function exactly as

[NTG-context] Metafun Label and externalfigure Problem

2011-03-01 Thread Lutz Haseloff
Hi all, with latest ConTeXt MKIV Metapost Labels doesn't work for me anymore. My Code: \starttext \startMPcode label(textext(Test),origin); \stopMPcode \stoptext The Output only shows the word mpout as the Label. There seems to be a Problem with externalfigure too. With: \starttext

Re: [NTG-context] Metafun Label and externalfigure Problem

2011-03-01 Thread luigi scarso
On Tue, Mar 1, 2011 at 11:17 AM, Lutz Haseloff lutz.hasel...@googlemail.com wrote: Hi all, with latest ConTeXt MKIV Metapost Labels doesn't work for me anymore. My Code: \starttext \startMPcode label(textext(Test),origin); \stopMPcode \stoptext The Output only shows the word mpout

Re: [NTG-context] Metafun Label and externalfigure Problem

2011-03-01 Thread Lutz Haseloff
not here with current version: 2011.02.25 22:03 %%test \starttext \startTEXpage \startMPcode draw origin-(20,0) .. origin+(0,20) .. origin+(20,0) .. origin+(0,-20) .. cycle; label(textext(Test),origin); \stopMPcode \stopTEXpage \stoptext The problem occures with luatex rev 4088

Re: [NTG-context] Metafun Label and externalfigure Problem

2011-03-01 Thread luigi scarso
On Tue, Mar 1, 2011 at 12:23 PM, Lutz Haseloff lutz.hasel...@googlemail.com wrote: not here with current version: 2011.02.25 22:03 %%test \starttext \startTEXpage \startMPcode draw origin-(20,0) .. origin+(0,20) .. origin+(20,0) .. origin+(0,-20) .. cycle; label(textext(Test),origin

Re: [NTG-context] Metafun Label and externalfigure Problem

2011-03-01 Thread Hans Hagen
On 1-3-2011 11:17, Lutz Haseloff wrote: Hi all, with latest ConTeXt MKIV Metapost Labels doesn't work for me anymore. My Code: \starttext \startMPcode label(textext(Test),origin); \stopMPcode \stoptext The Output only shows the word mpout as the Label. works ok here There seems

Re: [NTG-context] Metafun Label and externalfigure Problem

2011-03-01 Thread Lutz Haseloff
I just tested luatex rev 4090: -- \starttext \startMPpage externalfigure blblogo.pdf scaled .4 ; %label(textext(Test),origin); \stopMPpage \stoptext -- gives no error message and an empty pdf 1mmx5mm -- \starttext \startMPpage %externalfigure blblogo.pdf scaled

Re: [NTG-context] references

2011-02-28 Thread Stefan Müller
Hi, I think it could be useful to be able to reuse the label text setups elsewhere, too. I have for example \definereferenceformat[inexp][label=example] \setuplabeltext[en][example=example~] in one of my documents. Why not specify this label when defining an enumeration example

Re: [NTG-context] references

2011-02-28 Thread Stefan Müller
think it could be useful to be able to reuse the label text setups elsewhere, too. I have for example \definereferenceformat[inexp][label=example] \setuplabeltext[en][example=example~] in one of my documents. Why not specify this label when defining an enumeration example: \defineenumeration

[NTG-context] Labels, offsetting the layout...

2011-02-28 Thread Willi Egger
Hi all, I should prepare a couple of sticky-labels. The label-sheet however has a top margin of 21 mm as also a bottom margin of 21 mm. At the left and right side there is a margin of 8 mm. The size of the label is 42.3 x 97mm. There are 16 such labels on each sheet. In order to get

Re: [NTG-context] attachment attaches twice - more research

2011-02-26 Thread Hans Hagen
] % \attachment[label=test,file=oeps.tex,title=Oeps,author=Hans,subtitle=TeX File,method=hidden] % % autolabel: % % \attachment[file=oeps.tex,title=Oeps,author=Hans,subtitle=TeX File,method=hidden] % % % \setupattachments[\c!symbol={symbol-normal,symbol-down}] Hans

Re: [NTG-context] btex and DeclareGraphicsRule question

2011-02-25 Thread Hans Hagen
On 24-2-2011 10:12, Rebecca Searls wrote: Why does stmt, label(btex Au dessus etex, (0,0)); fail when using stmt, \DeclareGraphicsRule{*}{mps}{*}{} but works with stmt, \DeclareGraphicsRule{*}{eps}{*}{} looks like latex I am running texlive/2010. Here is the error msg I get when using mps

[NTG-context] btex and DeclareGraphicsRule question

2011-02-24 Thread Rebecca Searls
Why does stmt, label(btex Au dessus etex, (0,0)); fail when using stmt, \DeclareGraphicsRule{*}{mps}{*}{} but works with stmt, \DeclareGraphicsRule{*}{eps}{*}{} I am running texlive/2010. Here is the error msg I get when using mps. /usr/local/texlive/2010/bin/i386-linux/mpost xtest.mp

Re: [NTG-context] attachment attaches twice - more research

2011-02-23 Thread Michail Vidiassov
in mind - separating global attachments and attachments linked to icons on pages, additional descriptions for attached files - are addressed in the attached patches. I am not sure about using attachment lebel as T key, that is indended for following: The text label that shall be displayed

Re: [NTG-context] \useattachment: Embedding files in PDFs - was attachment attaches twice - more research

2011-02-21 Thread Michail Vidiassov
for an example PDF file.) --- what he names author/subject is the T entry in annotation dictionary (the same where /Subtype /FileAttachment goes), that is described as The text label that shall be displayed in the title bar of the annotation’s pop-up window when open and active. This entry shall

Re: [NTG-context] set-/finishregisterentry is killed

2011-02-17 Thread Steffen Wolfrum
\switchtobodyfont[50pt] START\setregisterentry[index][label={Index_Label}]% Test\dorecurse{10}{This is one long, long paragraph. }% STOP\finishregisterentry[index][label={Index_Label},entries={Index entry}] Test \stoptext Does it work on your machines? Is the syntax changed, do I have to add a certain

Re: [NTG-context] Stretching chapter titles - MKII

2011-02-16 Thread Aditya Mahajan
: the setups for chapter and section stoppers and referencing has changed. You have much more flexibility now, but need to adapt your style files accordingly. - Metapost: It is no longer possible to change the color of a label in metapost. (You can set it up at TeX level, so this is not a limitation

Re: [NTG-context] references

2011-02-15 Thread Florian Wobbe
fyi: you can say autocase=yes so that e.g. page becomes Page when it ends up at the beginning of a line. Hans, thanks for the new functionality. How would I use autocase? This does not seem to work: \definereferenceformat [aPage] [label=page, autocase=yes] See \aPage[one]. \aPage[one

Re: [NTG-context] references

2011-02-15 Thread Hans Hagen
On 15-2-2011 12:00, Florian Wobbe wrote: \definereferenceformat [aPage] [label=page, autocase=yes] See \aPage[one]. \aPage[one] is important. % Page is always capitalised fixed in next beta

[NTG-context] set-/finishregisterentry is killed

2011-02-14 Thread Steffen Wolfrum
Hi, in current beta (2011.02.11 18:18 MKIV) set-/finishregisterentry is killed: Empty pagenumbers only! Please run attached example. Steffen --- \placeindex[method=first,criterium=all,compress=yes] \starttext \switchtobodyfont[50pt] START\setregisterentry[index][label={Index_Label

[NTG-context] span figure

2011-02-12 Thread Pau
Hello, I am trying to take as much place as possible for a centered figure on a page. For this, I am doing \placefigure [here] % Place [] % Label {} % Legend { \externalfigure[Figure.pdf] [factor

[NTG-context] how to remove unwanted coordinate numbers(metafun)

2011-02-11 Thread Jeong Dalyoung
a circle, points, label, but unwanted coordinate numbers like (60.43535, 36.97691), too. I didn't see such numbers in any example in metafun document. If I use z[k] like z[k] = point i of P; draw z[k] Then such a long numbers disappeared. Is it the only way to surpress those numbers not using z

Re: [NTG-context] how to remove unwanted coordinate numbers(metafun)

2011-02-11 Thread Hans Hagen
); k:= k+1; endfor; It draws a circle, points, label, but unwanted coordinate numbers like (60.43535, 36.97691), too. I didn't see such numbers in any example in metafun document. If I use z[k] like z[k] = point i of P; draw z[k] Then such a long numbers disappeared. Is it the only way

[NTG-context] references

2011-02-11 Thread Hans Hagen
=sometext] \definereferenceformat [PageTwo] [label=page] \definereferenceformat [PageThree] [label=*] \definereferenceformat [PageFour] [label=both] \setuplabeltext[en][page=page~] \setuplabeltext[en][chapter=chapter~] \setuplabeltext[en][both={chapter~,~retpahc}] \stopbuffer \getbuffer

[NTG-context] (again) wrong page with \finishregisterentry

2011-02-08 Thread Steffen Wolfrum
lastrealpage is exactly the page where the ending mark is set? Attached you may find a minimal example. Best, Steffen --- \starttext \switchtobodyfont[50pt] \input tufte \par \setregisterentry[index][label={Index_Label}]% Test\dorecurse{5}{This is are words, not paragraphs. }\finishregisterentry

[NTG-context] new beta

2011-02-08 Thread Hans Hagen
mechanism will be done in a similar fashion, predates goodies) * for those who hadn't noticed, the label translations are now in lang-txt.lua so don't patch lang-*.mkiv files. Hans - Hans

[NTG-context] JS in widgets still not working with mkiv

2011-02-02 Thread Reviczky, Adam
: jsmkiv.pdf \setupinteraction[state=start] \starttext \setupfield [ShortLine] [label,frame,horizontal] [offset=4pt,height=fit,framecolor=green,background=screen,backgroundscreen=.80] [height=18pt,width=80pt,align=middle,background=screen,backgroundscreen=.90,frame=off] [height=18pt,width=80pt

[NTG-context] Image libraries / figure libraries / resource libraries

2011-02-01 Thread Willi Egger
with the label given into your tex-source. I created just for testing a library containing 250 images, scans and drawings in mixed format as png, jpg and pdf. Works like a charm. Kind regards Willi ___ If your

[NTG-context] wrong page with \finishregisterentry

2011-01-30 Thread Steffen Wolfrum
lastrealpage is exactly the page where the ending mark is set? Attached you may find a minimal example. Best, Steffen --- \starttext \switchtobodyfont[50pt] \input tufte \par \setregisterentry[index][label={Index_Label}]% Test\dorecurse{5}{This is are words, not paragraphs. }\finishregisterentry

Re: [NTG-context] Widgets color option not working with Mark IV

2011-01-28 Thread Reviczky, Adam
Dear Hans, 1) alignment for the first field % begin of example \starttext \setupfield [ShortLine] [label,frame,horizontal] [offset=4pt,height=fit,framecolor=green,background=screen,backgroundscreen=.80] [height=18pt,width=80pt,align=middle,background=screen,backgroundscreen=.90,frame=off

Re: [NTG-context] Widgets color option not working with Mark IV

2011-01-26 Thread Hans Hagen
of example \starttext \setupfields [label,frame,horizontal] [offset=4pt,height=fit,framecolor=green,background=screen,backgroundscreen=.80] [height=40pt,width=100pt,align=middle,background=screen,backgroundscreen=.90,frame=off] [height=40pt,width=100pt,color=red,align=right,style=type,background=screen

[NTG-context] field alignment bug in latest beta

2011-01-25 Thread Reviczky, Adam
Hi, The alignment doesn't apply anymore to the first field (widget) in the latest beta. Here's the minimal example: % begin of example \starttext \setupfield [ShortLine] [label,frame,horizontal] [offset=4pt,height=fit,framecolor=green,background=screen,backgroundscreen=.80] [height=18pt,width

[NTG-context] Widgets color option not working with Mark IV

2011-01-25 Thread Reviczky, Adam
Hi, I was playing a bit more with the field style properties and found out that if the font size is always different it works, but as soon as it has a size that was used before it defaults back to normal. Here's the minimal example: % begin of example \starttext \setupfields [label,frame

[NTG-context] Labels in MetaPost (MetaObj)

2011-01-18 Thread Stefan Müller
to add a simple TeX label (\tt \overbar{E}) to the drawing macro, but failed. When including the line marked with % 1 the TeX run fails. I don't understand why. The line with % 2 is taken frome the metaobj manual (section 5.8) [1], but including this doesn't work either. It would be great

Re: [NTG-context] nice pictures for the wiki

2011-01-17 Thread Hans Hagen
On 16-1-2011 9:41, Henning Hraban Ramm wrote: Am 2011-01-10 um 21:51 schrieb Jonas Stein: - perhaps make that ConTeXt label Mk IV or just IV i do not understand. Why is ConTeXt mkiv not good? The official name is Mark IV, I'd suggest to use that. Or maybe Hans/Taco have another opinion

Re: [NTG-context] nice pictures for the wiki

2011-01-17 Thread luigi scarso
On Mon, Jan 17, 2011 at 11:45 AM, Hans Hagen pra...@wxs.nl wrote: On 16-1-2011 9:41, Henning Hraban Ramm wrote: Am 2011-01-10 um 21:51 schrieb Jonas Stein: - perhaps make that ConTeXt label Mk IV or just IV i do not understand. Why is ConTeXt mkiv not good? The official name is Mark IV

Re: [NTG-context] nice pictures for the wiki

2011-01-16 Thread Henning Hraban Ramm
Am 2011-01-10 um 21:51 schrieb Jonas Stein: - perhaps make that ConTeXt label Mk IV or just IV i do not understand. Why is ConTeXt mkiv not good? The official name is Mark IV, I'd suggest to use that. Or maybe Hans/ Taco have another opinion. - perhaps show optional XML output (and even

Re: [NTG-context] nice pictures for the wiki

2011-01-10 Thread Henning Hraban Ramm
box (TeX is part of LuaTeX) - perhaps make that ConTeXt label Mk IV or just IV - perhaps show more input formats (pictures)? - I didn't know LuaTeX can output SVG - perhaps show optional XML output (and even re-input for tagged PDF)? BTW: Nice to see my ex-wife's cooking lion again ;-) There's

Re: [NTG-context] nice pictures for the wiki

2011-01-10 Thread Jonas Stein
Nice idea, but - I'd leave out the TeX box (TeX is part of LuaTeX) changed this now. - perhaps make that ConTeXt label Mk IV or just IV i do not understand. Why is ConTeXt mkiv not good? - perhaps show more input formats (pictures)? changed this now. - I didn't know LuaTeX can output

Re: [NTG-context] \insection broken??

2011-01-06 Thread Wolfgang Schuster
says context don’t know a command with the name \insection, the only reference to the command in the source is in the file s-chi-00.tex which is used in mkii for chinese: \definereferenceformat [insection] [\c!label=\v!section] Wolfgang

Re: [NTG-context] \insection broken??

2011-01-06 Thread Steffen Wolfrum
[Ref217459429]. What's this? As the message says context don’t know a command with the name \insection, the only reference to the command in the source is in the file s-chi-00.tex which is used in mkii for chinese: \definereferenceformat [insection] [\c!label=\v!section] ... ahh

Re: [NTG-context] counter values as label names

2011-01-04 Thread Daniel Schopper
in the label names would be inserted by a counter: \starttext \startlinenumbering This is a sample % % wrapper macro would start here \startline[line:1]\pagereference[page:1]lemma\stopline[line:1] \footnote{\at[page:1] \inline[line:1] some comment}% % and end here . \crlf

[NTG-context] counter values as label names

2011-01-03 Thread Daniel Schopper
Dear list, this seems a really basic question (and probably not even strictly ConTeXt-focused) - so please accept my apologies… I'm trying to construct a macro which first creates two labels in the text (\start/stopline and \pagereference) with the value of a counter as the label name

Re: [NTG-context] counter values as label names

2011-01-03 Thread Thomas A. Schmitz
and \pagereference) with the value of a counter as the label name and then a footnote which prints the page and line numbers of those two. Supposedly because of my limited understanding of TeX's expansion mechanism I haven't been able to get things working with this code: \setuplinenumbering

Re: [NTG-context] counter values as label names

2011-01-03 Thread Daniel Schopper
First of all thanks for the advice and sorry for my naïve posting! Here's a test file for what I try to do. The problem is that the page- and linenumbers printed by \placefootnotes all take the values of the last reference. \setupfootnotes[ location=text,

Re: [NTG-context] counter values as label names

2011-01-03 Thread Thomas A. Schmitz
On Jan 3, 2011, at 7:09 PM, Daniel Schopper wrote: \setupfootnotes[ location=text, numberconversion=empty, paragraph=, ] \newcount\entrycounter \entrycounter=0 \def\appentry#1#2{% \startline[line:\the\entrycounter]%

Re: [NTG-context] counter values as label names

2011-01-03 Thread Aditya Mahajan
On Mon, 3 Jan 2011, Daniel Schopper wrote: First of all thanks for the advice and sorry for my naïve posting! Here's a test file for what I try to do. The problem is that the page- and linenumbers printed by \placefootnotes all take the values of the last reference. \setupfootnotes[

Re: [NTG-context] Redundant equation is a MetaPost bug in MkIV?

2010-12-05 Thread Alan BRASLAU
\startMPcode u = 1cm; xmin = -2.6u; xmax = 4u; drawarrow (xmin,0)--(xmax,0); \stopMPcode \stoptext It can be compiled rightly. But when I add the 'label' line into it, see: \starttext \startMPcode u = 1cm; xmin = -2.6u; xmax = 4u; drawarrow (xmin,0)--(xmax,0); label.lft(hello,(0, 0

Re: [NTG-context] Redundant equation is a MetaPost bug in MkIV?

2010-12-05 Thread 李延瑞
2010/12/5 Aditya Mahajan adit...@umich.edu: On Sun, 5 Dec 2010, Li Yanrui (李延瑞) wrote: When a label (or btex ... etex) is present, ConTeXt processes the MP code twice: once to typeset the labels and then to place to labels. You get a redundant equation in the second pass. The easiest way

[NTG-context] Redundant equation is a MetaPost bug in MkIV?

2010-12-04 Thread 李延瑞
Hi, See the following example: \starttext \startMPcode u = 1cm; xmin = -2.6u; xmax = 4u; drawarrow (xmin,0)--(xmax,0); \stopMPcode \stoptext It can be compiled rightly. But when I add the 'label' line into it, see: \starttext \startMPcode u = 1cm; xmin = -2.6u; xmax = 4u; drawarrow (xmin,0

Re: [NTG-context] index sort question

2010-11-23 Thread Jano Kula
with a incremental number to assure the label sorting. So using the original sample, instead of: A\index[arbol+\pagenumber]{arbol+rojo}\page B\index[araña+\pagenumber]{araña+linda}\page C\index[arbol+\pagenumber]{arbol+verde}\page D\index[araña+\pagenumber]{araña+grande}\page E\index[arbol+\pagenumber]{arbol

Re: [NTG-context] index sort question

2010-11-23 Thread Horacio Suarez
. It is a songs book, and I need an author table of content. Your solution is very good, works fine, but using \pagenumber or incrementing a counter I can´t make it work. I replace \pagenumber with a incremental number to assure the label sorting. So using the original sample, instead

Re: [NTG-context] Gnuplot module: Patching of Gnuplot binary still needed?

2010-11-22 Thread Mojca Miklavec
On Fri, Nov 19, 2010 at 00:38, Florian Wobbe wrote: Thanks, I just updated the CVS version of gnuplot with your files and gave it a try: It works with minimals! [...] Feedback and patches welcome! No patches I'm afraid. But feedback goes here: 1) The label text of the following key

Re: [NTG-context] Gnuplot module: Patching of Gnuplot binary still needed?

2010-11-22 Thread Florian Wobbe
then). Hej Mojca, thank you for your answer! Well, that was surprisingly easy - I should have checked the manual first (I was just about to write an ugly hack into your context terminal driver :). Actually set format $%g$ gives the default label format (only enclosed in $) for all axes. Doing any other

Re: [NTG-context] Gnuplot module: Patching of Gnuplot binary still needed?

2010-11-22 Thread Ethan Merritt
afraid. But feedback goes here: 1) The label text of the following key element takes the color of the preceding key symbol. Minimal example: set terminal lua tikz fulldoc size 15cm,7cm context set output 'plot.tex' set xrange [ 0 : 13 ] f1(x)=sqrt(x) f2(x)=sqrt(x*0.8)-3 plot

Re: [NTG-context] index sort question

2010-11-21 Thread Horacio Suarez
Jano, thankyou very much. It is a songs book, and I need an author table of content. Your solution is very good, works fine, but using \pagenumber or incrementing a counter I can´t make it work. I replace \pagenumber with a incremental number to assure the label sorting. So using

Re: [NTG-context] MetaPost version of the Gantt chart module

2010-11-18 Thread Florian Wobbe
On Nov 12, 2010, at 19:38 , Reviczky, Adam wrote: Hi, I've made a MetaPost version for creating Gantt charts. Florian: The label alignments are fixed in this module. Further, it should be trivial to place the names into the ganttbars, for both versions. Thanks! Yes you are right

Re: [NTG-context] Gnuplot module: Patching of Gnuplot binary still needed?

2010-11-18 Thread Florian Wobbe
welcome! No patches I'm afraid. But feedback goes here: 1) The label text of the following key element takes the color of the preceding key symbol. Minimal example: set terminal lua tikz fulldoc size 15cm,7cm context set output 'plot.tex' set xrange [ 0 : 13 ] f1(x)=sqrt(x) f2(x)=sqrt(x*0.8)-3

[NTG-context] Ugly bug with TikZ in recent ConTeXt MKIV

2010-11-17 Thread Mojca Miklavec
) at ( 90:0.9cm) {Cl}; \node[circle,inner sep=0pt] (a2) at (210:0.9cm) {Cl}; \node[circle,inner sep=0pt] (a3) at (330:0.9cm) {Cl}; \draw (B)--(a1); \draw (B)--(a2); \draw (B)--(a3); \stoptikzpicture \hbox to 2cm{} \starttikzpicture[=stealth,very thick] % \node[label=above:$a_1$] (a1) at ( 90:1cm) {$a_1

Re: [NTG-context] Another Correspendence question

2010-11-13 Thread Florian Wobbe
] [align=flushleft] should do the trick. do this? (or some form thereof)? I can't get this to work. Also, how can I have the 'Date' word not show up, just the actual date itself. Do you mean the label in the reference line? Then try \setuplabeltext[letter:date={}] Florian

Re: [NTG-context] Another Correspendence question

2010-11-13 Thread Russell Urquhart
, just the actual date itself. Do you mean the label in the reference line? Then try \setuplabeltext[letter:date={}] Florian ___ If your question is of interest to others as well, please add an entry

[NTG-context] MetaPost version of the Gantt chart module

2010-11-12 Thread Reviczky, Adam
Hi, I've made a MetaPost version for creating Gantt charts. Florian: The label alignments are fixed in this module. Further, it should be trivial to place the names into the ganttbars, for both versions. For more information see the wiki entry: http://wiki.contextgarden.net/Gantt_charts Adam

Re: [NTG-context] itemize and [] question

2010-11-10 Thread Aditya Mahajan
Apertura [y muestra de emprendimientos]. \item [Fiesta]. \item Acto de cierre. \stopitemize Item \in[Fiesta] was eaten. \stoptext \item takes an optional argument as a label for the reference. If you want to prevent that use either of these: \item \relax [Fiesta] \item {} [Fiesta] \item

Re: [NTG-context] itemize and [] question

2010-11-10 Thread Horacio Suarez
]. \item [Fiesta]. \item Acto de cierre. \stopitemize Item \in[Fiesta] was eaten. \stoptext \item takes an optional argument as a label for the reference. If you want to prevent that use either of these: \item \relax [Fiesta] \item {} [Fiesta] \item [] [Fiesta] Aditya

[NTG-context] Simple document with hyperlinks

2010-10-21 Thread Procházka Lukáš
Hello, I'm not able to create a document with working hyperlinks in ConTeXt. The document attached was created in LaTeX - and I'd like to create a similar one in ConTeXt: --- \documentclass{article} \usepackage{hyperref} \begin{document} This a~label.\label{a-label} \newpage

Re: [NTG-context] entries in registerentry

2010-10-19 Thread Jano Kula
}, label=range] \page page 2 text \page page 3 \finishregisterentry[index][label=range] text \stoptext \setregisterentry writes only one index entry and entries:1, entries:2, entries:3 are the levels of this entry, so \setregisterentry in your example is equivalent to \index{eins+zwei+drei

[NTG-context] entries in registerentry

2010-10-13 Thread Steffen Wolfrum
Hi, I don't understand the concept of entries in registerentry :o( Say, you have this example: \starttext \placeregister[index] \page page 1 \setregisterentry[index] [entries:1={eins}, entries:2={zwei}, entries:3={drei}, label=range] \page page 2 text \page page 3 \finishregisterentry

Re: [NTG-context] \seeindex

2010-10-07 Thread Hans Hagen
{deoxyribonucleic acid} as \seeindex instructs to hijack this label. (currently, it will put see DNA followed by a page number.) Alan ___ If your question is of interest to others as well, please add an entry to the Wiki

[NTG-context] \seeindex

2010-10-05 Thread Alan BRASLAU
acid} as \seeindex instructs to hijack this label. (currently, it will put see DNA followed by a page number.) Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

[NTG-context] Lists and labeltexts

2010-10-03 Thread Wolfgang Schuster
Hi Hans, lists ignore the sectionblock for the labeltext \setuplabeltext[chapter=Chapter~,appendix=Appendix~] \setuplist[chapter][label=yes,width=2cm] \setuphead[chapter][bodypartlabel=appendix] \starttext \completecontent \chapter{Foo} \stoptext Wolfgang

[NTG-context] Verbatim: Pascal pretty printer

2010-10-02 Thread Stefan Müller
, begin, case, const, constructor, destructor, div, do, downto, else, end, file, for, function, goto, if, implementation, in, inherited, inline, interface, label, mod, nil, not, object, of, on, operator, or, packed, procedure, program, record, reintroduce, repeat

Re: [NTG-context] Two layer in a document

2010-10-01 Thread R. Bastian
] \setupbackgrounds[page][background={foreground,logo}] \setlayer [logo] [preset=righttop, hoffset=1cm] {\externalfigure[label][height=4cm,3.5cm]} \setlayer [logo] [preset=lefttop, hoffset=1.3cm, voffset=1.4cm] {\externalfigure

Re: [NTG-context] Two layer in a document

2010-10-01 Thread Daniel Grycman
to make it more readable next time. \definelayer[logo][width=\paperwidth,height=\paperheight,state=repeat] \setupbackgrounds[page][background={foreground,logo}] \setlayer [logo] [preset=righttop, hoffset=1cm] {\externalfigure[label][height=4cm,3.5cm]} \setlayer

Re: [NTG-context] Two layer in a document

2010-10-01 Thread Peter Rolf
=\paperheight,state=repeat] \setupbackgrounds[page][background={foreground,logo}] \setlayer [logo] [preset=righttop, hoffset=1cm] {\externalfigure[label][height=4cm,3.5cm]} \setlayer [logo] [preset=lefttop, hoffset=1.3cm, voffset=1.4cm

Re: [NTG-context] Two layer in a document

2010-10-01 Thread Steffen Wolfrum
time. \definelayer[logo][width=\paperwidth,height=\paperheight,state=repeat] \setupbackgrounds[page][background={foreground,logo}] \setlayer [logo] [preset=righttop, hoffset=1cm] {\externalfigure[label][height=4cm,3.5cm]} \setlayer [logo] [preset=lefttop

[NTG-context] Two layer in a document

2010-09-30 Thread Daniel Grycman
][preset=righttop,hoffset=1cm,state=start] {\externalfigure[label][height=4cm,3.5cm]} \definelayer[marke][width=6.5cm,height=0.3cm,state=repeat] \setupbackgrounds[page][lefttop][background={foreground,marke}] \setlayer[marke][preset=lefttop,hoffset=1.3cm,voffset=1.4cm,state=repeat] {\externalfigure

Re: [NTG-context] Two layer in a document

2010-09-30 Thread Wolfgang Schuster
time. \definelayer[logo][width=\paperwidth,height=\paperheight,state=repeat] \setupbackgrounds[page][righttop][background={foreground,logo}] \setlayer[logo][preset=righttop,hoffset=1cm,state=start] {\externalfigure[label][height=4cm,3.5cm]} \definelayer[marke][width=6.5cm,height=0.3cm,state

Re: [NTG-context] tagged pdf broken

2010-09-29 Thread Hans Hagen
On 29-9-2010 10:41, Steffen Wolfrum wrote: Hi, in todays beta (20100929) the tagged pdf is broken! No tags are created and Preflight says: An error occurred while parsing a contents stream that's a side effect of a change in label mechanism (more generic as the letter module needs it own

[NTG-context] metapost: unable to make mpx file error

2010-09-28 Thread Alan BRASLAU
contains a btex...etex sequence: draw fullcircle scaled 1cm ; label (btex 1 cm etex , (0,0)) ; The input circle ; will work if I comment-out or remove label ; The minimal example will work, of course, if the mp code is in my tex file. The error message is: mplib

Re: [NTG-context] metapost: unable to make mpx file error

2010-09-28 Thread Hans Hagen
\stoptext where circle.mp contains a btex...etex sequence: draw fullcircle scaled 1cm ; label (btex 1 cm etex , (0,0)) ; The input circle ; will work if I comment-out or remove label ; The minimal example will work, of course, if the mp code is in my tex file

[NTG-context] unnumbered chapters

2010-09-27 Thread Alan BRASLAU
, ever* uses, by the way...) We then get: Chapter 1 First Chapter 2 Second Chapter Conclusions I think that the macros are missing a label=no option. Unless, that is, I am missing something obvious. Alan ___ If your

Re: [NTG-context] getmarking does not use mark?

2010-09-27 Thread Steffen Wolfrum
text marked by mark={mark}! \startsection[...,marking=mark,...] ... \stopsection Time is fleeting, madness takes its toll. ... and I swear: last year in April it was \startchapter[label=...,title={...},bookmark={...},mark={...},list={...},reference={...}] Thanks Wolfgang! Steffen

[NTG-context] Tagged register

2010-09-26 Thread Steffen Wolfrum
!registerpagerange \dododostarttagged ...a {structures.tags.start(#1 ,{ label = \dogetupsomet... \registerpagerange ...\t!registerpagerange \empty \dostarttagged \t!register... l

Re: [NTG-context] picture- and formula-references broken with current beta

2010-09-24 Thread Alan BRASLAU
]} and \startchapter [reference=ch:Einstein,title=Einstein] also \placeformula [eqn:Einstein] \startformula E = mc^2 \stopformula etc. where the prefix is just a label uniquely identifying the tag, thus avoiding multiple definitions. (I also do this practice in LaTeX using \label{}) I was unaware

Re: [NTG-context] new beta

2010-09-22 Thread luigi scarso
, -- label = spec.label, } -- texsprint(ctxcatcodes,format(\\pdfannot width %ssp height %ssp {%s},spec.width,spec.height,annot())) -- b node.write(pdfannotation(spec.width,spec.height,0,annotation())) end local annot shoud be local annotation I'm sure that I haven't say it to Hans

[NTG-context] Metapost and underscore

2010-09-20 Thread Aditya Mahajan
A.c + 3cm ; ypart B.s - ypart C.n = 1cm ; drawboxed(A,B,C) ; \stopMPpage \stoptext See attached output. The label of box B is placed at origin rather than at the correct location! I am using 2010.08.17 and luatex 0.61 (too close to a deadline to update). Aditya test.pdf Description

Re: [NTG-context] Renaming file breaks texexec

2010-08-30 Thread Cecil Westerhof
withcolor textcolor; enddef; f:= 14; h:=8; v:=4; fill fullcircle scaled 408 shifted (112,0) withcolor darkblue; label (textext(\bf C), (0,v*f) ) withcolor textcolor ; label (textext(\bf O), (f*h,2*v*f) ) withcolor textcolor ; label (textext(\bf N), (2*f*h,v*f) ) withcolor

Re: [NTG-context] diff mp-base.mp plain.mp

2010-08-29 Thread Hans Hagen
On 28-8-2010 12:20, Yury G. Kudryashov wrote: Hi! In mp-base.mp dotlabel calls label twice. Once with t_, and once without. Is it intentional? plain.mp from texlive calls label only once with t_. once is enough indeed

Re: [NTG-context] questions regarding `\date`

2010-08-28 Thread Wolfgang Schuster
]% [label][file][settings] | [file][settings] | [file][parent][settings] {\bgroup \doifelsenothing{#1} {\framed[\c!width=\defaultfigurewidth,\c!height=\defaultfigureheight]{external\\figure\\no name}} {\doifundefinedelse{\??ef\??ef#1} {\useexternalfigure[\s!dummy][#1][#2

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