Hi,
Using the following code
\useMPlibrary[txt]
\startMPpage
graphictext FOO;
\stopMPpage
results in
! Undefined control sequence.
\douseMPlibrary ...stprefix #1}\makeshortfilename
[\truefilename
{\f!metapos...
\next1 #1,-\douseMPlibrary {#1}
I am using the folowing code:
\def\UsePageNumbers{
\setuplayout[pagenumbers]
\setupfootertexts[Page \pagenumber \space of \lastpage]
}
The number of pages is displayed correctly, but the pagenumber is
always 1. What am I doing wrong?
--
Cecil Westerhof
Wolfgang Schuster wrote:
Am 31.12.2010 um 10:36 schrieb Verhaag, G.C.H.M.:
So I understand that both statements:
\loadmarkfile{m-graph}
\usemodule[graph]
are actually the same thing!
Both work but they are not the same thing.
\loadmarkfile loads only the given file with the
I have the folowing function for a title:
\def\Title[#1]{
\testpage[10]
\startalignment[center]
{
\blank[2*big]
\switchtobodyfont[1.5em]
\bf\em#1
}
\blank
\stopalignment
}
What I would like is that there is an optional second parameter. When
it is there, it is used
Hi,
I'd like to use the boxit MetaPost macros with ConTeXt minimals. Is
there a way to tackle this or do I need the chart module for that.
Am I right in saying that the boxit macros give more flexibility
compared to the chart module? Or is it just a matter of taste?
Regards,
Gerard Verhaag
\def\Title{\dodoubleempty\doTitle}
\def\doTitle[#1][#2]{
\ifsecondargument
\testpage[#2]
\else
\testpage[10]
\fi
\startalignment[center]
{
\blank[2*big]
\switchtobodyfont[1.5em]
\bf\em#1
}
\blank
\stopalignment
}
Vianney
On Mon, Jan 3, 2011 at 10:46, Cecil
2011/1/3 Vianney le Clément vleclem...@gmail.com:
\def\Title{\dodoubleempty\doTitle}
\def\doTitle[#1][#2]{
\ifsecondargument
\testpage[#2]
\else
\testpage[10]
\fi
\startalignment[center]
{
\blank[2*big]
\switchtobodyfont[1.5em]
\bf\em#1
}
\blank
On Mon, Jan 3, 2011 at 11:05 AM, luigi scarso luigi.sca...@gmail.com wrote:
You can also use a key/value approach, which is more flexible
\unprotect
\def\Title[#1]{
\getparameters[CecWes@@][param1={default},param2={default2},
param3={default3},#1]
\testpage[10]
\startalignment[center]
Am 03.01.2011 um 10:32 schrieb Cecil Westerhof:
I am using the folowing code:
\def\UsePageNumbers{
\setuplayout[pagenumbers]
\setupfootertexts[Page \pagenumber \space of \lastpage]
}
The number of pages is displayed correctly, but the pagenumber is
always 1. What am I doing wrong?
Hello Cecil,
Are you calling \UsePageNumbers macro at start?
I don't see any problem ...
For example this short code is working:
\setupfootertexts[Page \pagenumber \space of \lastpage]
\starttext
\dorecurse{20}{\input tufte }
\stoptext
Jaroslav
Dne 3.1.2011 10:32, Cecil Westerhof
2011/1/3 Wolfgang Schuster schuster.wolfg...@googlemail.com:
Am 03.01.2011 um 10:32 schrieb Cecil Westerhof:
I am using the folowing code:
\def\UsePageNumbers{
\setuplayout[pagenumbers]
\setupfootertexts[Page \pagenumber \space of \lastpage]
}
The number of pages is displayed
Am 03.01.2011 um 11:53 schrieb Cecil Westerhof:
Attached are the tex and pdf file.
You stop pagenumbering and wonder why context doesn’t report the current
pagenumber.
Line 15: \setuppagenumbering[state=stop]
Wolfgang
Hello,
\UsePageNumbers must be after \starttext
\starttext
\UsePageNumbers
Is working...
Jaroslav
Dne 3.1.2011 11:54, Jaroslav Hajtmar napsal(a):
Hello Cecil,
Are you calling \UsePageNumbers macro at start?
I don't see any problem ...
For example this short code is working:
2011/1/3 Vianney le Clément vleclem...@gmail.com:
\def\Title{\dodoubleempty\doTitle}
\def\doTitle[#1][#2]{
\ifsecondargument
\testpage[#2]
\else
\testpage[10]
\fi
\startalignment[center]
{
\blank[2*big]
\switchtobodyfont[1.5em]
\bf\em#1
}
\blank
2011/1/3 Wolfgang Schuster schuster.wolfg...@googlemail.com:
You stop pagenumbering and wonder why context doesn’t report the current
pagenumber.
Line 15: \setuppagenumbering[state=stop]
I thought that \setuplayout[pagenumbers] took care of that. I changed
UsePageNumbers to:
Am 02.01.2011 15:57, schrieb Hans Hagen:
On 31-12-2010 7:22, Achim Jander wrote:
is it possible to get a pagebreak/ into the exported XML?
I'll send you a small patch to play wit
Hello Hans,
many thanks! I've tested a bit and it seems to work great!
Two little suggestions for improvement:
-
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
On 3-1-2011 12:54, Achim Jander wrote:
- would it possible to switch both (spaces and pagebreak) to on? It
seems that in the Moment only one of them can be enabled.
does not make much sense as /S0 equals /pagebreak anyway (the
default is a space)
- would it be possible to include the
Hi,
Maybe someone had the same problem, no ?
Best regards.
-- Cédric
On Tue, Dec 21, 2010 at 09:19, Cedric Mauclair
cedric.maucl...@gmail.com wrote:
On Mon, Dec 20, 2010 at 16:45, Cedric Mauclair
cedric.maucl...@gmail.com wrote:
Hi list,
How can I get a numbered equation when using
Am 03.01.2011 15:43, schrieb Hans Hagen:
On 3-1-2011 12:54, Achim Jander wrote:
- would it possible to switch both (spaces and pagebreak) to on? It
seems that in the Moment only one of them can be enabled.
does not make much sense as /S0 equals /pagebreak anyway (the
default is a space)
On 3-1-2011 4:11, Achim Jander wrote:
So it would be more convenient to have
filter, lump, pagebreak/skip,
but that could be also done in the postprocessing.
indeed this belongs to postprocessing (if only because there is no space
at a pagebreak) .. similar would be: abclinebreak/def where
Hi Hans,
thanks again. At least the first tests of the new version give me the
expected result. Great!!
Achim
Am 03.01.2011 16:19, schrieb Hans Hagen:
On 3-1-2011 4:11, Achim Jander wrote:
So it would be more convenient to have
filter, lump, pagebreak/skip,
but that could be also done in
Hi all,
I am still trying to get the footnote numbers aligned in a special way:
flushright, but the width depends on the width of the max
footnote-number on page,
so to get
1
2
and
~9
10
After reading the manuals and the source given in strc-not.lua thats how
far i am at the moment:
On Jan 3, 2011, at 3:11 PM, Daniel Schopper wrote:
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
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[
27 matches
Mail list logo