Pierric Sans | 27 Apr 2013 14:33
Picon

Tricky ignore-special

Hi everybody !

I am building a new language rule set in order to create a dictionnary in this language. 

Let's say that we have the following entries: 

"ko" a simple root ; 
"ko=" a proclitic ;
"=ko" an enclitic ; 
"ko-" a prefix and
"-ko" a suffix.

The equal and minus signs are linguistic metadata explaining what kind of "word" it is. They are not actual letters. 

I want those entries to be sorted in the following order: 
"ko" ; "ko=" ; "=ko" ; "ko-" and "-ko"

How do I set the "ignore special" part in the perl script to make the equal (=) and the minus (-) signs to be ignored, but to make the word they follow (or are followed by) be placed in the correct order ? 

Thank you in advance to anyone who can help ! 

Best,

Pierric Sans
--
+33 (0)6 98 58 30 01
--
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
Ulrike Fischer | 24 Feb 2013 16:57
Picon

Spurious \hyperpage

I have the following minimal example:

\documentclass{article}
\usepackage{makeidx}
\makeindex
\begin{document}
\renewcommand\thepage{I\arabic{page}}
abc\index{abc}
\end{document}

And I have a test.xdy width this definition:

(define-location-class "Ausgabe" 
  ("roman-numerals-uppercase"  
   "arabic-numbers")
   :hierdepth 2) 

When I call

   xindy -M texindy -M test -L german-duden -C utf8 test.idx

I end with an unwanted \hyperpage command in the .ind:

  \item abc, \hyperpage{I1}

(My actual example is more complicated and there I even get nested
\hyperpage commands).

Where does it come from? 

It disappears if I remove the ":hierdepth 2". 

It also disappears if I add
(markup-locref :open "\hyperpage{" :close "}{}" :attr "hyperpage")

But both "solutions" are not really an option.

--

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
Ulrike Fischer | 22 Feb 2013 15:29
Picon

Attributes and cross-references

The xindy faq (http://xindy.sourceforge.net/doc/faq-1.html) claims
regarding attributes and cross-references

"Here we distinguish cleanly between attributes and cross
references."

But actually with LaTeX both uses the same syntax in index commands:

\index{attribute|textbf}
\index{markup|see{attribute}}

So what can I do, if I want both?

\index{textbf|textbf see{attribute}} doesn't work.

--

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
James Pascoe | 10 Aug 2012 11:22
Picon

Xindy on Mac OS 10.8

Hi Simon,

Thank you very much for responding to my message regarding running
xindy on Mac OS X 10.8 - the fact that you have xindy running on 10.8
is good to hear :-)

Would you mind tarring up your xindy installation and sending it over to me?
(In particular, I would like to have access to the binaries -
tex2xindy, xindy.run, xindy.mem etc.)

For some reason, I didn't receive your reply directly - moreover, I
saw your message in the digest email. If you could send me a tarball
direct to james <at> james-pascoe.com, that would be much appreciated.

Thank you again and have a good day,

James

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
James Pascoe | 9 Aug 2012 23:03
Favicon

Building xindy.run and xindy.mem on MAC OS X 10.8 (Mountain Lion)

Hi Everybody,

I recently upgraded my Mac Book Pro from OS X 10.7 (Lion) to OS X 10.8 (Mountain Lion). I am using xindy 2.2
and noticed that when I run xindy, I now receive the following message:

/opt/xindy-2.2/bin/../lib/xindy.run: /opt/xindy-2.2/bin/../lib/xindy.run: cannot execute
binary file

Would anybody be able to guide me through the process of building xindy.run / xindy.mem from source? I have rebuilt
tex2xindy from the 3.0 sources, but I am not sure how to go about rebuilding xindy.run and xindy.mem. Which package
should I download?

Many thanks for any help you can provide,

James
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Pierric Sans | 9 Jun 2012 19:12
Picon

Support for a new language

Hi everybody, 

I am a newbie in Xindy. I am typesetting my PhD thesis in XeLaTeX under Windows (no possibility to access a Linux computer in my lab), and using the "glossaries" package. I am trying to make an index on an indigenous language of Bolivia, for which no support is done, in Xindy. 

I have tried to open the "lang" files in my Texlive distribution, trying to "copy" them for my new language. For instance the "traditional-utf8-lang.xdy" file contains MANY weird symbols (I cannot find a way to see it correctly). Same for the "latin1" file. 

Could someone help me in creating a new language support ? The language is (I think) quite simple: it has only "classic" roman letters, with custum letter groups ("xh", "ty", etc.), and a "special" vowel: the i-bar (U+0268). 

Oh, and by the way, the language name is Chiquitano. It is spoken by 5000 indigenous people in Bolivia.

Thank you very much in advance,

Pierric Sans

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
j robinson | 9 Jun 2012 10:33
Picon
Favicon

FW: (te)xindy index references to footnotes

hi,

(apologies for sending this to the wrong address the first time around!)

i hope there is an obvious answer to this question, but can xindy be made to give references in the form <page>n<footnote number>?  with makeindex, this can be done with something like the following (which seems like a dirty trick):

\newcommand{\nn}{#2n#1}
\newcommand{\fntobeindexed}[1]{#1\index{#1|nn{\thefootnote}}}

but (i think, vaguely) xindy does something different than makeindex and its encapsulating mechanism.  at any rate, it seems to think i want a cross-reference macro because i get a warning in the form of:

WARNING: unknown cross-reference-class `nn'! (ignored)

but § 4.14 of the faq is for the wrong(?) type of 'cross-references'.

any advice/thoughts would be very helpful!

cheers,
jon.


"ubi enim durior pugna, ibi gloriosior inuenitur 'corona'."
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
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
Heilmann, Till | 2 Feb 2012 00:37
Picon
Favicon

ERROR: SLOT-VALUE: The class #<STANDARD-CLASS LOCREF:CROSSREF-LOCATION-REFERENCE> has no slot named BASE:ORDNUMS

CAVEAT: I haven't been able to construct a MWE of my problem so far (quite a complex case) but will keep
trying. In the meantime, I'll give it a shot anyway, because someone on this list might be familiar with the
error message.

Xindy (MacTeX 2011 release) dies on me like this:

Processing index... [10%] [20%]
ERROR: SLOT-VALUE: The class #<STANDARD-CLASS LOCREF:CROSSREF-LOCATION-REFERENCE> has no slot named BASE:ORDNUMS

… when processing a (Lua)TeX generated index file with the following command:

xindy -I latex -M modules filename.idx

… where modules.xdy is:

(require "latex.xdy")
(require "latex-loc-fmts.xdy")
(require "makeindex.xdy")
(require "german-sty.xdy")
(require "numeric-sort.xdy")
(require "word-order.xdy")
(require "lang/latin/caseisrt.xdy")
(define-location-class "arabic-page-numbers" ("arabic-numbers") :min-range-length 1)

The culprit here is the last line: (define-location-class "arabic-page-numbers" ...
Without it, xindy runs just fine.

Probably some of my \index{} commands (in turn containing custom commands for formatting the entries
etc.) cause the mess but so far I couldn't identify the source (might have something to do with my use of
LuaTeX, OTF fonts with fontspec, and custom tracking with microtype).

Does anyone now what the error (message) is about?

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
Vafa Khalighi | 24 Oct 2011 18:26
Picon

Why I am getting "ERROR: CHAR: index 0 should be less than the length of the string"

Consider this minimal example:

\documentclass[a4paper,11pt]{article}
\usepackage{makeidx}
\makeindex
\def\prior{پیشینی}
\begin{document}
Testing
\index{probability!{\prior}}
\printindex
\end{document}

after producing test.idx, when I run: xindy -L english -C utf8 -M texindy test.idx

I get:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Opening logfile "/dev/null" (done)
Reading indexstyle...
Loading module "/tmp/dwg7942lmg"...
Loading module "lang/english/utf8-lang.xdy"...
Loading module "lang/english/utf8.xdy"...
Finished loading module "lang/english/utf8.xdy".
Finished loading module "lang/english/utf8-lang.xdy".
Loading module "texindy.xdy"...
Loading module "numeric-sort.xdy"...
Finished loading module "numeric-sort.xdy".
Loading module "latex.xdy"...
Loading module "tex.xdy"...
Finished loading module "tex.xdy".
Finished loading module "latex.xdy".
Loading module "latex-loc-fmts.xdy"...
Finished loading module "latex-loc-fmts.xdy".
Loading module "makeindex.xdy"...
Finished loading module "makeindex.xdy".
Loading module "latin-lettergroups.xdy"...
Finished loading module "latin-lettergroups.xdy".
Finished loading module "texindy.xdy".
Finished loading module "/tmp/dwg7942lmg".
Finished reading indexstyle.
Finalizing indexstyle... (done)

Reading raw-index "/tmp/pS0741y3Ld"...
Finished reading raw-index.

Processing index...
ERROR: CHAR: index 0 should be less than the length of the string
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

makeindex has no problem with this so is this a bug of xindy or I am doing something incorrectly? (I am using TeXLive2011)

Thanks
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning <at> Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning <at> Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
VAFA KHALIGHI | 15 Sep 2011 12:15
Picon

Re: Does xindy behave differently on windows and Unix?

Also see this discussion.
------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/

Gmane