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: Ciaran McCreesh <ciaran.mccreesh@...>
From: Christian Faulhammer <fauli@g.o>
Subject: Re: EAPI feature labelling
Date: Fri, 10 Apr 2009 19:05:12 +0200
Hi,

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

> 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 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}}

V-Li

-- 
Christian Faulhammer, Gentoo Lisp project
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode

<URL:http://gentoo.faulhammer.org/>
Attachment:
signature.asc (PGP signature)
Replies:
Re: EAPI feature labelling
-- Ciaran McCreesh
References:
EAPI feature labelling
-- Ciaran McCreesh
Navigation:
Lists: gentoo-pms: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
EAPI feature labelling
Next by thread:
Re: EAPI feature labelling
Previous by date:
EAPI feature labelling
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.