ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* page numbering with make-up-pages
       [not found] <mailman.1847.1276796988.4277.ntg-context@ntg.nl>
@ 2010-06-17 19:59 ` Vyatcheslav Yatskovsky
  2010-06-17 21:20   ` *****SPAM***** " Jaroslav Hajtmar
  0 siblings, 1 reply; 2+ messages in thread
From: Vyatcheslav Yatskovsky @ 2010-06-17 19:59 UTC (permalink / raw)
  To: ntg-context, Wolfgang Schuster

[-- Attachment #1: Type: text/plain, Size: 384 bytes --]

Hi,

Please, I need urgent help with page numbering!

I begin my document with three "standardmakeup" pages, and expect fourth 
(normal) one to have number 4. But it is 1, whatever I do. In 
particular, \setuppagenumbering[number=4] has no effect.

In other words, I need numbering from the very first page.

Please, see attached file 0.tex.

-- 
Best Regards,
Vyatcheslav Yatskovsky

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0.tex --]
[-- Type: text/x-tex; name="0.tex", Size: 6817 bytes --]

\synctex=1
\setupbodyfont[mscore,rm,14pt] 
\usemodule[fullpage][style={cm,plain}]

% --- Discipline-Dependent Definitions ---
\def \sps {special-purpose digital computers}
\def \mfst {Module №1 "Main principles of organization of \sps"} %Основні принципи організації СЦОМ
\def \msec {Module №2 "Principles of construction of airborne computers"} %Принципи побудови бортових ЦОМ
\def \ccs {control digital computers}
\def \ads {airborne digital computers}
\def \ad {airborne digital computer}

\def \SylIndex {Р01 - 8.092502a - 39}
\def \Discipline {"Special-purpose digital computers" }
\def \AcademProgIndex {Н-3-8.092502-31 }
\def \Year {5}
\def \Semester {10}

% comment out non-existing activities
\def \LectureHours {36}
\def \LabHours {18}
\def \SelfStudyHours {104}
\def \IndividualHours {4}
\def \TotalHours {162}
\def \Homeworks {2 (10 semester)}
\def \ExamSemester {10}
%\def \DifTestSemester {10}


% --- Reusable Buffers  ---
\startbuffer[UpperBanner]
	{\bf NATIONAL AVIATION UNIVERSITY}

	INSTITUTE OF ELECTRONICS AND CONTROL SYSTEMS

	Airspace control systems faculty

	Aviation computer-integrated complexes department
\stopbuffer

\startbuffer[ApprovedByPolukhin]
	\startalignment[right]\setupnarrower[left=12cm]\startnarrower[left]
	"Approved"

	Deputy Rector for Academics

	\thinrule\hskip1mm A.Polukhin

	"\hl[2]"\thinrule\hskip1mm\currentdate[year]\par
	\stopnarrower\stopalignment
\stopbuffer

\startbuffer[SyllabusIndex]
	\startalignment[right]
	Index  \SylIndex
	\stopalignment
\stopbuffer

\startbuffer[DisciplineBanner]
	{\bfa SYLLABUS}

	of the discipline

	{\bfa \Discipline}

	(according to ECTS)
\stopbuffer

\startbuffer[BranchAndSpeciality]
	\startalignment[right]
	Branch\hskip1.4cm 		0925 "Automation and computer-integrated technologies"

	Specialty\hskip1cm 6.092500 "Computer-integrated technological processes and productions"
	\stopalignment
\stopbuffer

\startbuffer[DisciplineHours]
	\startalignment[right]
	Year \Year	\hfil    Semester \Semester 
	\blank[medium]

	Lectures -- {\LectureHours} hours

	Laboratory work -- {\LabHours} hours

	Private work -- {\SelfStudyHours} hours

	Individual work -- {\IndividualHours} hours

	Total -- {\TotalHours} hours
	
      \blank[medium]
	\ifx \Homeworks \undefined \else Homeworks -- {\Homeworks} \fi

	\ifx \ExamSemester \undefined \else Exam  -- {\ExamSemester} semester \fi

	\ifx  \DifTestSemester \undefined \else Differentiated test --  {\DifTestSemester} semester \fi
	\stopalignment
\stopbuffer

\def \FillInDate {"\hl[2]"\hl[4]\hskip1mm 20\hl[2]\hskip.5mm}

\def \FilledDate#1#2#3 {" #1 "\_\_\_#2\_\_\_ #3}

% --- ---------------------------------------------------------------------------------------------
% 
% 
\starttext

% --- FIRST PAGE
\startstandardmakeup[align=center]
	\setupbackgrounds[header][text][background=]
	\setupindenting[none]
	\setupinterlinespace[24pt]

	\getbuffer[UpperBanner]

	\blank[line]

	\getbuffer[ApprovedByPolukhin]

	\blank[line]

	\getbuffer[SyllabusIndex]

	\blank[line]

	\getbuffer[DisciplineBanner]

	\blank[line]
	
	\getbuffer[BranchAndSpeciality]

	\blank[line]

	\getbuffer[DisciplineHours]

	\par\vfill
      Kiyv \currentdate[year]
\stopstandardmakeup

% --- SECOND PAGE
 
\startstandardmakeup[doublesided=no]
	\setupindenting[yes, big, first]
	\setupinterlinespace[24pt]

The syllabus of the discipline \Discipline is based on the Curriculum № РБ-3-502-a/01, branch 0925 „Automation and computer-integrated technologies”, specialty 6.092500 “Computer-integrated techno-logical processes and productions”; academic program of this discipline  index \AcademProgIndex,  approved \FilledDate{12}{06}{2002};\hskip1mm “Provisional Regulations on Training according to ECTS (within the pedagogical experiment)” and “Provisional Regulations on the Assessment grading system” approved by the Rector of the University (order №122 of 15.06.2004).

\blank[line]

The syllabus was developed by 

%\blank[line]
Associate Professor, Candidate of Technical Sciences  \thinrule O.Y. Krasnousova

%\blank[line]
Assistant \thinrule T.I. Lukinova

%\blank[line]
Assistant \thinrule V.S. Yatskovsky

\blank[line]

The syllabus was 	discussed and approved at the meeting of the department of Aviation Computer-Integrated Complexes, protocol № \hl[2] \FillInDate.
\blank[line]
Head of the Department  \thinrule  V.M. Sineglazov

\blank[line]

The syllabus has been discussed and approved by the Scientific-Methodological-Editorial Committee of the Airspace Control Systems Faculty, protocol № \hl[2] \FillInDate.

\blank[line]
Head of the SMEC  \thinrule  V.G. Vovk

\vfill

	\startalignment[right]\setupnarrower[right=10cm]\startnarrower[right]
	\setupinterlinespace[24pt]	
	"Approved"

	Dean of the Airspace\par
	Control Systems Faculty

	\thinrule\hskip1mm O.P. Kryvonosenko

	"\hl[2]"\thinrule\hskip1mm\currentdate[year]\par
	\stopnarrower\stopalignment
\stopstandardmakeup

% --- ---------------------------------------------------------------------------------------------
% 
% 

\setupindenting[yes, big, first] 
\setupheads[indentnext=yes]
\setupfloats[indentnext=yes]
\setuphead[section][textstyle=WORD, style={\bfa}, align=center] 
\setuphead[subsection][textstyle={}, style={\bf}, align=right] 
\setuphead[subsubsection][textstyle={}, style={}, alternative=text] 
\setupitemize[1, nowhite]
\setupitemize[leftmargin=1cm]
\setupsectionblock[bodypart][page=no] 
\setupsectionblock[frontpart][page=no] 
\setuppagenumbering[location=footer]

\startfrontmatter
\setupcombinedlist
[content]
[alternative=c,
width=2.5em]

\setuppagenumbering[number=4]  % Does nor work !!!!

\startstandardmakeup
\setupinterlinespace[24pt]
\subject{CONTENTS}
\placelist[chapter,section,subsection] 
\vfill
\stopstandardmakeup

\section{INTRODUCTION}

The syllabus on each discipline is a must for successful teaching process organization according to the European Credit Transfer System. Teachers and students are to be familiarized with it. Grading system is an integral part of the syllabus and provides for assessment of student’s knowledge and skills during current, module and semester checks.

Grading procedure is performed according to the national grading scale and European Credit Transfer System grading scale.
\stopfrontmatter

\startbodymatter
\section{REFERENCE NOTES}

\subsection{Aim of the discipline}

The aim of the academic discipline \Discipline is to provide the students with theory of special-purpose digital computers, their construction and algorithms.

\stoptext

[-- Attachment #3: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: *****SPAM***** page numbering with make-up-pages
  2010-06-17 19:59 ` page numbering with make-up-pages Vyatcheslav Yatskovsky
@ 2010-06-17 21:20   ` Jaroslav Hajtmar
  0 siblings, 0 replies; 2+ messages in thread
From: Jaroslav Hajtmar @ 2010-06-17 21:20 UTC (permalink / raw)
  To: Vyatcheslav Yatskovsky; +Cc: ntg-context


When you enter:

  \setuppagenumber[number=4]

(no \setuppagenumbering[number=4]  !!!)


then is working OK.


Jaroslav




Dne 17.6.2010 21:59, Vyatcheslav Yatskovsky napsal(a):
> Hi, Please, I need urgent help with page numbering! I begin
>     my document with three "standardmakeup" pages, and expect fourth (normal)
>     one to have number 4. But it is 1, whatever I do. In particular, \setuppagenumbering[number=4]
>     has no effect. [...]
>    

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-17 21:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.1847.1276796988.4277.ntg-context@ntg.nl>
2010-06-17 19:59 ` page numbering with make-up-pages Vyatcheslav Yatskovsky
2010-06-17 21:20   ` *****SPAM***** " Jaroslav Hajtmar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).