Gentoo Archives: gentoo-pms

From: Christian Faulhammer <fauli@g.o>
To: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
Cc: gentoo-pms@l.g.o
Subject: Re: [gentoo-pms] EAPI feature labelling
Date: Fri, 10 Apr 2009 16:05:26
Message-Id: 20090410190512.5109d94c@terra.solaris
In Reply to: [gentoo-pms] EAPI feature labelling by Ciaran McCreesh

Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>:

> I'm using this for development: > > \newcommand{\featureref}[1]{\b{feat:#1} on page~\pageref{feat:#1}} > \newcommand{\compactfeatureref}[1]{\b{feat:#1}~p\pageref{feat:#1}} > \newcommand{\featurelabel}[1]{\label{feat:#1} > \visiblelabel{feat:#1} } \newcommand{\visiblelabel}[1]{\b{[#1]}}
What you use is not really important as long as you use the new commands and they will be defined in such a way that they use the \label and \ref commands. <- Great sentence. Do you really want to bold the references? You will visually overload the page. For proof-reading this may be ok, but the end version should use \emph.
> Is this going to work, or do I need to change how I'm doing anything? > Can you suggest a better \featurelabel that does the margin box thing > and that will work even if placed in an \item or \table or whatever?
\newcommand{\featurelabel}[1]{\marginpar{\framebox{feat:#1}}\label{feat:#1}} was my initial idea. and kill \visiblelabel. Lists should be no problem, table I had a look around and my friend Markus Kohm has a solution: \usepackage{marginnote} % written by Markus Kohm and available in % TeXLive \newcommand{\featurelabel}[1]{\marginnote{\framebox{feat:#1}}\label{feat:#1}} V-Li -- Christian Faulhammer, Gentoo Lisp project <URL:>, #gentoo-lisp on FreeNode <URL:>


File name MIME type
signature.asc application/pgp-signature


Subject Author
Re: [gentoo-pms] EAPI feature labelling Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>