Heilmann, Till | 14 Feb 2012 19:04
Picon
Favicon

Cross references as last subitem of an entry

Is there a way of having seealso-cross references as the very last subitem at the end of an index entry?

Currently, I have

(markup-crossref-list :class "seealso" :open "~n\subitem\seealso{" :sep "; " :close "}{}")
(define-location-class-order ("roman-page-numbers"
			      "arabic-page-numbers"
			      "see"
			      "seealso"))

But that puts the cross reference at the top of all possible subitems.

Thanks,
Till
--

-- 
Dr. Till A. Heilmann
Obermann Fellow-in-Residence, Spring 2012

The University of Iowa
Obermann Center for Advanced Studies
111 Church St
Iowa City IA 52242
United States of America

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
(Continue reading)

Joachim Schrod | 26 Feb 2012 00:03
Picon
Favicon

Re: Cross references as last subitem of an entry

Heilmann, Till writes:
> Is there a way of having seealso-cross references as the very last subitem at the end of an index entry?

I've waited 11 days to find the time to try it out, but that doesn't
seem to happen, and next week I'm on the road, too.

> Currently, I have
> 
> (markup-crossref-list :class "seealso" :open "~n\subitem\seealso{" :sep "; " :close "}{}")
> (define-location-class-order ("roman-page-numbers"
> 			      "arabic-page-numbers"
> 			      "see"
> 			      "seealso"))

Try

(define-location-class-order (("roman-page-numbers"
				"arabic-page-numbers")
			      ("see"
			       "seealso")))

(Note the added parenthesis.) Does this work and make a difference?
Not tested, just from memory, etc., bla bla. You get it. ;-)

Cheers,
	Joachim

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Joachim Schrod			Email: jschrod <at> acm.org
(Continue reading)


Gmane