Re: [NTG-context] setuppagenumber--start at page xy

2013-04-22 Thread Jörg Hagmann
] \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

[NTG-context] setuppagenumber--start at page xy

2013-04-21 Thread H. Özoguz
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

Re: [NTG-context] start page numbering in MKIV

2013-04-01 Thread Wolfgang Schuster
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

Re: [NTG-context] userpagenumber

2013-03-26 Thread Marco Patzer
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

Re: [NTG-context] userpagenumber

2013-03-26 Thread Thomas A. Schmitz
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

Re: [NTG-context] userpagenumber

2013-03-26 Thread Wolfgang Schuster
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

Re: [NTG-context] Invisibile page numbers for TOC

2013-01-30 Thread Wolfgang Schuster
. \startsectionblockenvironment[frontpart] \setuppagenumbering[location=] \stopsectionblockenvironment %\startsectionblockenvironment[bodypart] %\setcounter[userpage][1] %\stopsectionblockenvironment \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \dorecurse{10}{\expanded

Re: [NTG-context] Header-Footer-Layout

2012-10-09 Thread Arne Runge
][romannumerals][] \startsectionblockenvironment[bodypart] \setcounter[userpage][1] \stopsectionblockenvironment \starttext \startfrontmatter \startstandardmakeup[align=middle] {\tfd TITLE} \stopstandardmakeup \completecontent \stopfrontmatter \startbodymatter \chapter{Knuth} \dorecurse{12}{\input

Re: [NTG-context] Header-Footer-Layout

2012-10-02 Thread Wolfgang Schuster
[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

Re: [NTG-context] Strange bug with reversed itemize

2012-09-13 Thread Aditya Mahajan
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

Re: [NTG-context] Italic page number.

2012-08-07 Thread john Culleton
% 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

Re: [NTG-context] Italic page number.

2012-08-07 Thread Wolfgang Schuster
] \setcounter[userpage][3] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setcounter[userpage][1] \stopsectionblockenvironment \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \dorecurse{100} {\chapter{Chapter #1

Re: [NTG-context] Italic page number.

2012-08-05 Thread Wolfgang Schuster
[frontpart:pagenumber][][romannumerals] \startsectionblockenvironment[frontpart] \setuppagenumbering[numberconversion=romannumerals] \setcounter[userpage][3] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setcounter[userpage][1] \stopsectionblockenvironment \starttext \startfrontmatter

Re: [NTG-context] Broken for a while now...

2012-07-16 Thread Wolfgang Schuster
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

Re: [NTG-context] setuppagenumber

2012-07-06 Thread Wolfgang Schuster
=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

Re: [NTG-context] change the page number

2012-05-06 Thread Wolfgang Schuster
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

Re: [NTG-context] gnuplot not working

2012-04-12 Thread Mojca Miklavec
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

Re: [NTG-context] gnuplot not working

2012-04-12 Thread John Devereux
? 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

Re: [NTG-context] gnuplot not working

2012-04-11 Thread Wolfgang Schuster
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

[NTG-context] howto set maxitemdepth

2011-02-27 Thread Florian Wobbe
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

Re: [NTG-context] howto set maxitemdepth

2011-02-27 Thread Wolfgang Schuster
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

Re: [NTG-context] howto set maxitemdepth

2011-02-27 Thread Florian Wobbe
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

[NTG-context] line numbers - method=page

2011-01-01 Thread Daniel Schopper
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

Re: [NTG-context] pagecounter in mkiv

2010-05-28 Thread Andreas Schneider
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

[NTG-context] pagecounter in mkiv

2010-05-27 Thread 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, it allways starts at the titlepage, so perhaps

Re: [NTG-context] pagecounter in mkiv

2010-05-27 Thread Wolfgang Schuster
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

[NTG-context] resetting local footnote number (conversion = character)

2010-01-06 Thread Bowen Alan C .
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

[NTG-context] Help watned for numbered descriptions

2009-11-30 Thread Otared Kavian
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

Re: [NTG-context] How can I start wiith 2 in itemize?

2009-09-13 Thread Peter Rolf
\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

Re: [NTG-context] How can I start wiith 2 in itemize?

2009-09-03 Thread Peter Rolf
{\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

Re: [NTG-context] How can I start wiith 2 in itemize?

2009-09-03 Thread Xan
{\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

Re: [NTG-context] I can't put footnote

2009-07-22 Thread Xan
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

Re: [NTG-context] t-vim: inline typing?

2009-07-20 Thread Aditya Mahajan
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

Re: [NTG-context] store counter or variable and reread again

2007-01-01 Thread Hans Hagen
\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

Re: [NTG-context] store counter or variable and reread again

2006-12-30 Thread Aditya Mahajan
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

Re: [NTG-context] store counter or variable and reread again

2006-12-30 Thread Aditya Mahajan
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

[NTG-context] Sections with additional dot: a little request

2006-02-17 Thread Mojca Miklavec
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

Re: [NTG-context] Why PDF files generated by ConTeXt are so big?

2006-01-11 Thread Jilani Khaldi
). 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

Re[2]: [NTG-context] No partial contents for parts after the first

2005-11-26 Thread Giuseppe Bilotta
}}% \ifconditional\@@resetsubheadnumbers \setcounter{\??se lastvalueof\preservedsection}% {0}% \else \setcounter{\??se lastvalueof\preservedsection}% {\countervalue{\??se\preservedsection}}% \fi \fi} \def\@@setsectionnumber#1#2% {\letgvalueempty

Re: [NTG-context] \presentationstep

2004-11-08 Thread Otared Kavian
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

<    1   2