From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CABA215800A for ; Sun, 6 Aug 2023 15:26:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF8232BC013; Sun, 6 Aug 2023 15:26:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 92CB32BC013 for ; Sun, 6 Aug 2023 15:26:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 65F32335C60 for ; Sun, 6 Aug 2023 15:26:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 98003DC8 for ; Sun, 6 Aug 2023 15:26:33 +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: <1691320180.86bdfe73f488081e6abc9397693e35b400cfc6b6.ulm@gentoo> Subject: [gentoo-commits] proj/pms:master commit in: / X-VCS-Repository: proj/pms X-VCS-Files: ebuild-env-vars.tex pms.cls X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 86bdfe73f488081e6abc9397693e35b400cfc6b6 X-VCS-Branch: master Date: Sun, 6 Aug 2023 15:26:33 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 885d12e7-509f-4d37-b032-45b26e985602 X-Archives-Hash: 1c903aa9ddbf396c4bbf1a14be0dfb39 Message-ID: <20230806152633.kRnwxh-dnWSKe35c6VyD5a6GShUF8NsIVV1g6g768L8@z> commit: 86bdfe73f488081e6abc9397693e35b400cfc6b6 Author: Ulrich Müller gentoo org> AuthorDate: Thu Aug 3 16:12:16 2023 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun Aug 6 11:09:40 2023 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=86bdfe73 Reformat the footnotes in the env variables longtable Signed-off-by: Ulrich Müller gentoo.org> ebuild-env-vars.tex | 12 ++++++++---- pms.cls | 3 +++ 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex index b8deb04..533936a 100644 --- a/ebuild-env-vars.tex +++ b/ebuild-env-vars.tex @@ -12,13 +12,17 @@ the various different \t{pkg_*} phases. Ebuilds must recalculate any variable th inconsistent variable. \begin{landscape} +% Reduce width of text area to make room for margin notes +\addtolength{\hsize}{-25mm} +\setlength{\linewidth}{\hsize} +\setlength{\columnwidth}{\hsize} +\addtolength{\footskip}{25mm} \reversemarginpar -\addtolength{\marginparsep}{-25mm} % Workaround for broken marginnote positioning in lscape environment \addtolength{\marginparsep}{-\textwidth} % FIXME -\setlength{\LTleft}{25mm plus 1fil} +\setlength{\LTleft}{0pt plus 1fil} \setlength{\LTright}{0pt plus 1fil} -\begin{longtable}{!{\extracolsep{\fill}} l P{7.5em} l p{0.5\linewidth}} +\begin{longtable}{!{\extracolsep{\fill}} l P{7.5em} l p{35em}} \caption{Defined variables\label{tab:defined-vars}}\\ \toprule \multicolumn{1}{c}{\textbf{Variable}} & @@ -34,7 +38,7 @@ inconsistent variable. \multicolumn{1}{c}{\textbf{Description}} \\ \midrule \endhead -\midrule +%\midrule \endfoot \bottomrule \endlastfoot diff --git a/pms.cls b/pms.cls index dcef98c..d1a85fa 100644 --- a/pms.cls +++ b/pms.cls @@ -22,8 +22,10 @@ \PassOptionsToPackage{utf8}{inputenc} \PassOptionsToPackage{quiet}{marginnote} \PassOptionsToPackage{nohyphen}{underscore} +\PassOptionsToPackage{hang,flushmargin}{footmisc} \PassOptionsToPackage{nottoc,notlot,notlof}{tocbibind} \PassOptionsToPackage{hyphens}{url} % url.sty implicitly loaded by hyperref +\PassOptionsToPackage{hyperfootnotes=false}{hyperref} % footmisc compatibility \PassOptionsToPackage{local}{gitinfo2} \PassOptionsToPackage{chapter}{algorithm} % algorithmic and algorithm to be loaded last to avoid failures @@ -41,6 +43,7 @@ marginnote, % Typeset a paragraph in the page margin paralist, % Additional list environments underscore, % Allow simple _ instead of \_ + footmisc, % Customise footnotes chngcntr, % Redefinition of counters tocbibind, % Add bibliography to table of contents float, % More control over float environments