]
\starttext
\input tufte
\stoptext
I'm using today's context version.
Thanks, Jörg
You could use
\setcounter[userpage][2]
\starttext
\input tufte
\stoptext
Huseyin
___
If your question is of interest to others
Minimal example:
\setuppagenumber[number=3]
\starttext
\input tufte
\stoptext
I'm using today's context version.
Thanks, Jörg
You could use
\setcounter[userpage][2]
\starttext
\input tufte
\stoptext
Huseyin
is shown in the TOC with page 3. It
should be page 5 since the TOC starts on physical page 3 and there is
one blank page in between.
Use \setcounter[userpage][number] to change the start value for the
pagenumber.
Wolfgang
On 2013–03–26 Thomas A. Schmitz wrote:
shouldn't this work?
\setupuserpagenumber[number=34]
I don't know if that's the recommended way, but I set the page
number as follows:
\setcounter [userpage] [34]
Marco
signature.asc
Description: Digital signature
On 03/26/2013 01:54 PM, Marco Patzer wrote:
I don't know if that's the recommended way, but I set the page
number as follows:
\setcounter [userpage] [34]
Thank you. Yes that works, but I thought that \setupuserpagenumber was
the proper way to do those things.
Thomas
Am 26.03.2013 um 18:03 schrieb Thomas A. Schmitz thomas.schm...@uni-bonn.de:
On 03/26/2013 01:54 PM, Marco Patzer wrote:
I don't know if that's the recommended way, but I set the page
number as follows:
\setcounter [userpage] [34]
Thank you. Yes that works, but I thought
.
\startsectionblockenvironment[frontpart]
\setuppagenumbering[location=]
\stopsectionblockenvironment
%\startsectionblockenvironment[bodypart]
%\setcounter[userpage][1]
%\stopsectionblockenvironment
\starttext
\startfrontmatter
\completecontent
\stopfrontmatter
\startbodymatter
\dorecurse{10}{\expanded
][romannumerals][]
\startsectionblockenvironment[bodypart]
\setcounter[userpage][1]
\stopsectionblockenvironment
\starttext
\startfrontmatter
\startstandardmakeup[align=middle]
{\tfd TITLE}
\stopstandardmakeup
\completecontent
\stopfrontmatter
\startbodymatter
\chapter{Knuth}
\dorecurse{12}{\input
[section]
\stopsetups
\setupheader[text][after=\hrule]
\setuphead[chapter][page={header,right},header=empty]
\setupfootertexts[][pagenumber]
\defineconversionset[frontpart:pagenumber][romannumerals][]
\startsectionblockenvironment[bodypart]
\setcounter[userpage][1]
\stopsectionblockenvironment
with either of these commands, which
means that it's a bug.
I tested your example with Context version 2011.11.29, mkiv and there
everything is correct.
Thanks for testing. I also tested with 2012.07.
\setupserpagenumber does not change the page number (but
\setcounter[userpage][start=12
%
of the block before the name of the conversion set separated by a
___:___. %
%\defineconversionset[frontpart:pagenumber][][romannumerals]
\startsectionblockenvironment[frontpart]
\setuppagenumbering[numberconversion=romannumerals]
\setcounter[userpage][3]
\stopsectionblockenvironment
]
\setcounter[userpage][3]
\stopsectionblockenvironment
\startsectionblockenvironment[bodypart]
\setcounter[userpage][1]
\stopsectionblockenvironment
\starttext
\startfrontmatter
\completecontent
\stopfrontmatter
\startbodymatter
\dorecurse{100}
{\chapter{Chapter #1
[frontpart:pagenumber][][romannumerals]
\startsectionblockenvironment[frontpart]
\setuppagenumbering[numberconversion=romannumerals]
\setcounter[userpage][3]
\stopsectionblockenvironment
\startsectionblockenvironment[bodypart]
\setcounter[userpage][1]
\stopsectionblockenvironment
\starttext
\startfrontmatter
Am 17.07.2012 um 05:04 schrieb DB:
I've noticed two things that seem to be broken in the betas, and they've been
broken for a while now.
\resetpagenumber
\setuppagenumber[number=1]
Put \resetpagenumber after \setuppagenumber or use \setcounter[userpage][1]
sets the page number to zero
=start]
page 1\page
page 2\page
page 3\page
\setuppagenumber[number=1]
page 4\page
page 5\page
page 6\page
\stoptext
\setuppapersize[A6][A6]
\starttext
\setcounter[userpage][1]
page 1\page
page 2\page
page 3\page
\setcounter[userpage][1]
page 4\page
page 5\page
page 6\page
\stoptext
Wolfgang
Am 06.05.2012 um 12:30 schrieb Steffen Wolfrum:
Hi,
how do I change the page number?
In april and may versions it does not work anymore:
\setuppagenumber[number=5]% no effect
\setuprealpagenumber[number=5]% no effect
\setuppagenumber[number=5]% no effect
\setcounter[userpage][5
On Wed, Apr 11, 2012 at 14:07, Mojca Miklavec wrote:
Oh, indeed. It seems that a recent change in ConTeXt core broke
functionality of the module (the version I tested on earlier worked
fine).
Can you please update and try again?
Wolfgang suggested to replace \setcounter with \newcounter
?
Wolfgang suggested to replace \setcounter with \newcounter.
Hi Mojca,
That seems to work for me - thanks!
--
John Devereux
___
If your question is of interest to others as well, please add an entry to the
Wiki
the module to MKIV yet.)
You’re mixing counter mechanism in the module.
You define a new counter with
\newcounter\tikzGNUPLOTnumber
and later you reset it with
\setcounter\tikzGNUPLOTnumber\zerocount
Both commands are from different mechanism where the \setcounter is from
\makecounter
Hi,
what is the preferred way to set the maximum item depth for itemization with
symbols? I can decrease the default value of 6 with \setcounter. However,
increasing to values higher than 6 results in an error: Missing number,
treated as zero.
Thanks,
Florian
the default value of 6 with \setcounter. However, increasing
to values higher than 6 results in an error: Missing number, treated as
zero.
\maxitemdepth is a real counter and \setcounter won’t work here. The only thing
you can do is to ask Hans to implement the “levels” key in MkIV. What you have
get
currently no more than 6 levels in itemizations. Levels do not seem to work
anymore.
I can decrease the default value of 6 with \setcounter. However, increasing
to values higher than 6 results in an error: Missing number, treated as
zero.
\maxitemdepth is a real counter
so I fear I'll have to find some
workaround? Being a absolute newbie to ConTeXt I actually tried some
primitive fiddling with variations of
\setupheadertexts[\setcounter{linenumber}{0}]
I'm using
ConTeXt ver: 2010.07.30 11:35 MKIV fmt: 2010.12.31
which should be the newest version available
Martin 'golodhrim' Scholz wrote:
Mae govannen everybody,
I just run into a little problem. I have a titlepage and don't want it to
be counted in the pagecounter, I already tried \resetcounter[page] and
\setcounter[page]{1} where I want the numbering to start, but no result,
it allways
Mae govannen everybody,
I just run into a little problem. I have a titlepage and don't want it to
be counted in the pagecounter, I already tried \resetcounter[page] and
\setcounter[page]{1} where I want the numbering to start, but no result,
it allways starts at the titlepage, so perhaps
Am 27.05.10 11:30, schrieb Martin 'golodhrim' Scholz:
Mae govannen everybody,
I just run into a little problem. I have a titlepage and don't want it to
be counted in the pagecounter, I already tried \resetcounter[page] and
\setcounter[page]{1} where I want the numbering to start, but no result
again
\numberlocalfootnotenumber
\setcounter #1#2-\...@ea \xdef \csname #1
\endcsname {\the \numexpr #2\relax }
l.217 \resetnumber[localfootnote]
Am I even right to assume that there is a pre-defined localfootnote counter?
Alan
or
enumeration.
Has anyone run into such a situation?
The example below shows what I need to do (but actually I wasn't able to add
the section number as a prefix to the number…).
Best regards: OK
begin
\newcounter\Lemmacount
\setcounter\Lemmacount1
\def\Lemmanumber%
{\global\increment\Lemmacount
\firstlistitem
%
% \expanded{\setitemparameter{\currentitemlevel}{\c!start}{1}}% ***
\doifinset{0}{#1}{\setitemparameter\currentitemlevel\c!start{0}}%
\setcounter{\@@itemcounter\currentitemlevel}{\the\numexpr\getitemparameter\currentitemlevel\c!start-1\relax}%
***
\doifelsenothing
{\currentitemlevel}{\c!start}{1}}% ***
\doifinset{0}{#1}{\setitemparameter\currentitemlevel\c!start{0}}%
\setcounter{\@@itemcounter\currentitemlevel}{\the\numexpr\getitemparameter\currentitemlevel\c!start-1\relax}%
***
\doifelsenothing{\getitemparameter\currentitemlevel\c!start}
{\def
{\setitemparameter{\currentitemlevel}{\c!start}{1}}% ***
\doifinset{0}{#1}{\setitemparameter\currentitemlevel\c!start{0}}%
\setcounter{\@@itemcounter\currentitemlevel}{\the\numexpr\getitemparameter\currentitemlevel\c!start-1\relax}%
***
\doifelsenothing{\getitemparameter\currentitemlevel\c
No, with the version line commented I get the same error:
Presentacions de grups
[3.3] [4.4] [5.5]
subsubsubject : - El problema de la paraula
! Missing number, treated as zero.
to be read again
[
\setcounter ...name #1\endcsname {\the \numexpr #2
that stop is not empty
\ifconditional\vimtypinginline \else
\doifempty{\@@vsstop}{\setvalue{\@@vsstop}{0}}%
\doifelse{\@@vsstart}{\v!continue}
{\setvalue{@@vsstart}{\countervalue{vimlinenumber}}}
{\setcounter{vimlinenumber}{\doifnumberelse{\@@vsstart}{\@@vsstart}{1
\savecurrentvalue
you probably have subpage numbers in the back of your mind since they
use two pass lists
% It may be better to use \setcounter series of macros.
% First let us define a general macro for adding arbitrary number to a counter
\unprotect
\def\addtocounter#1#2% #1 name #2 value
[EMAIL
linebreaks.
% It may be better to use \setcounter series of macros for managing counters.
% First let us define a general macro for adding arbitrary number to a counter
\unprotect
\def\addtocounter#1#2% #1 name #2 value
[EMAIL PROTECTED]
\protect
% To Hans and Taco: Should the above macro be added
was pretty sure that I copied
the twopass some time back from \lastpage. Maybe I was dreaming, maybe
you are changing the internals too fast for me to keep up. Anyways, to
make ammends, here is the solution using \savecurrentvalue
% It may be better to use \setcounter series of macros.
% First let
PROTECTED]@paragraph}
\renewcommand\thesubparagraph [EMAIL PROTECTED]@subparagraph}
\renewcommand\appendix{\par
\setcounter{section}{0}%
\setcounter{subsection}{0}%
[EMAIL PROTECTED]@section.}}
Also, Part 1 may be written as 1. poglavje (with dot) or Poglavje
1 (without dot), so there has
).
ConTeXt premable:
\mainlanguage[italian]
\setupbodyfont[12pt]
\setuppapersize[A4]
\enableregime[il1]
LaTeX preamble:
\documentclass[a4,10pt,fleqn]{report}
\setcounter{secnumdepth}{2}
\usepackage[latin1]{inputenc}
\usepackage[italian]{babel}
... other packages
you can run pdffonts to check
}}%
\ifconditional\@@resetsubheadnumbers
\setcounter{\??se lastvalueof\preservedsection}%
{0}%
\else
\setcounter{\??se lastvalueof\preservedsection}%
{\countervalue{\??se\preservedsection}}%
\fi
\fi}
\def\@@setsectionnumber#1#2%
{\letgvalueempty
file: here is what I get:
% begin error report:
! Missing number, treated as zero.
to be read again
[EMAIL PROTECTED]:incompressibility
\setcounter ...ame #1\endcsname {\the \numexpr (#2
)}
\placeformula ...\csname [EMAIL
101 - 140 of 140 matches
Mail list logo