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 {#
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 exten
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 in
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 Westerh
2011/1/3 Vianney le Clément :
> \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
On Mon, Jan 3, 2011 at 11:05 AM, luigi scarso 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]
> {
> \blan
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 wro
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 napsal(a)
2011/1/3 Wolfgang Schuster :
>
> 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 pagenu
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:
\setupfoot
2011/1/3 Vianney le Clément :
> \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
2011/1/3 Wolfgang Schuster :
> 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:
\def\UsePageNumbers{
\setuppagenumbering[st
Am 02.01.2011 15:57, schrieb Hans Hagen:
On 31-12-2010 7:22, Achim Jander wrote:
is it possible to get a 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:
- would it p
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 the
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 equals anyway (the
default is a space)
- would it be possible to include the pagenumber as attr
Hi,
Maybe someone had the same problem, no ?
Best regards.
-- Cédric
On Tue, Dec 21, 2010 at 09:19, Cedric Mauclair
wrote:
> On Mon, Dec 20, 2010 at 16:45, Cedric Mauclair
> wrote:
>> Hi list,
>>
>> How can I get a numbered equation when using cases in MkIV? The "hack"
>> proposed by Aditya
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 equals anyway (the
default is a space)
Hi Hans,
maybe
On 3-1-2011 4:11, Achim Jander wrote:
So it would be more convenient to have
filter, lump, 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: abcdef where is no
linebreak is ne
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, skip,
but that could be also done in the postproc
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:
\enable
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 \pagere
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,
numberconversion=empty
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]%
> \pagereference[page:\the\
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