Gentoo Archives: gentoo-pms

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: Christian Faulhammer <fauli@g.o>
Cc: gentoo-pms@l.g.o
Subject: Re: [gentoo-pms] EAPI feature labelling
Date: Fri, 10 Apr 2009 17:35:50
Message-Id: 20090410183521.62c21a62@snowmobile
In Reply to: Re: [gentoo-pms] EAPI feature labelling by Christian Faulhammer
On Fri, 10 Apr 2009 19:05:12 +0200
Christian Faulhammer <fauli@g.o> wrote:
> > 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.
> 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.
I don't really mind what they look like. Those commands I wrote were just things I could get working quickly. I'll leave the "making it look pretty" to you or anyone else who feels like messing with it.
> > 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}}
Hokey, I'll start playing with those. Thanks. -- Ciaran McCreesh


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