Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-pms
Navigation:
Lists: gentoo-pms: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: Christian Faulhammer <fauli@g.o>
From: Ciaran McCreesh <ciaran.mccreesh@...>
Subject: Re: EAPI feature labelling
Date: Fri, 10 Apr 2009 18:35:21 +0100
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.

Goodgood.

> 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 is...so 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
Attachment:
signature.asc (PGP signature)
References:
EAPI feature labelling
-- Ciaran McCreesh
Re: EAPI feature labelling
-- Christian Faulhammer
Navigation:
Lists: gentoo-pms: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: EAPI feature labelling
Next by thread:
PMS project in Gentoo
Previous by date:
Re: EAPI cheat sheet (for review)
Next by date:
Re: EAPI cheat sheet (for review)


Updated Jul 18, 2012

Summary: Archive of the gentoo-pms mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.