From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6BA2213888F for ; Fri, 16 Oct 2015 22:12:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5567EE07B2; Fri, 16 Oct 2015 22:12:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0288FE07B2 for ; Fri, 16 Oct 2015 22:12:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BF9B5340906 for ; Fri, 16 Oct 2015 22:12:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2716910D3 for ; Fri, 16 Oct 2015 22:12:04 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1444996724.9ba40ccf38cb460acac8292142b5404412bb7d3a.ulm@gentoo> Subject: [gentoo-commits] proj/pms:master commit in: / X-VCS-Repository: proj/pms X-VCS-Files: pms.cls X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 9ba40ccf38cb460acac8292142b5404412bb7d3a X-VCS-Branch: master Date: Fri, 16 Oct 2015 22:12:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9b5966a6-5944-4251-a5c9-130a6ed873c1 X-Archives-Hash: 544540ee90009d81bc3df6bf2d354418 commit: 9ba40ccf38cb460acac8292142b5404412bb7d3a Author: Ulrich Müller gentoo org> AuthorDate: Fri Oct 16 11:58:44 2015 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Fri Oct 16 11:58:44 2015 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=9ba40ccf pms.cls: Number all pages consecutively. To this effect, redefine the titlepage environment (which in its default implementation from report.cls unconditionally resets the page counter), since there seems to be no simpler way. pms.cls | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pms.cls b/pms.cls index e599702..af8e1b4 100644 --- a/pms.cls +++ b/pms.cls @@ -82,6 +82,9 @@ } \bibliographystyle{plainurl} +% Redefine the titlepage environment not to reset the page number +\renewenvironment{titlepage}{\newpage\thispagestyle{empty}}{\newpage} + % Enumerate subsubsections, but don't include them in the toc. \setcounter{secnumdepth}{3} \setcounter{tocdepth}{2}