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
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
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
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
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
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
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
\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
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
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
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
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
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
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
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
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
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
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
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
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
]
%
\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
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
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
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
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
\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
: 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
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
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
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
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
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
);
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
=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
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
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
: 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
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
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
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
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
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
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
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
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
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
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
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
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
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
[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
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
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
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
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,
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]%
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[
\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
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
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
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
.
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
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
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
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
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
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
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
) 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
]
[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
, 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
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
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
].
\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
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
},
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
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
{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
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
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
, 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
]
\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
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
=\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
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
][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
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
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
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
\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
, 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
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
!registerpagerange
\dododostarttagged ...a {structures.tags.start(#1
,{ label = \dogetupsomet...
\registerpagerange ...\t!registerpagerange \empty
\dostarttagged \t!register...
l
]}
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
,
-- 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
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
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
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
]% [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
1001 - 1100 of 1968 matches
Mail list logo