From: Michael Schuerig Date: 2005-06-15T23:30:31+09:00 Subject: Converting LaTeX/makeindex to YAML? I've got the index of a "well-known book" in LaTeX/makeindex format (.idx and .ind). I'm trying to convert this to YAML -- unfortunately, I'm utterly stuck. For an idea what an input file to makeindex looks like in this particular case, have a look at the excerpts at the end. I'm sorry, I can't make the complete files available without the authors consent. The point of the conversion is that I'd like to have a quick and easy way of accessing PDF documents through their index. The idea is to have a commandline tool or GUI dialog that allows to select an index term and tells a scriptable PDF viewer to go the respective page. For KDE's KPDF this is possible; probably Apple's PDF viewer is scriptable, too. Michael \indexentry{Library!Generator|hyperpage}{50} \indexentry{Generator library|hyperpage}{50} \indexentry{Block!transaction@as transaction|hyperpage}{50} \indexentry{Transactions|hyperpage}{50} \indexentry{\Ikey {<>}@\texttt {\Ivalue {<>}} class!\Ikey {<>}@\texttt {\Ivalue {<>}}|hyperpage}{51} \indexentry{\Ikey {<>} ZZZ@\texttt {\Ivalue {<>}} method!class \texttt {\Ivalue {<>}}|hyperpage}{51} \indexentry{\Ikey {<>}@\texttt {\Ivalue {<>}} module \Ikey {<>}@\texttt {\Ivalue {<>}} hyperpage}{51} \indexentry{\Ikey {<>} ZZZ@\texttt {\Ivalue {<>}} method!module \texttt {\Ivalue {<>}} hyperpage}{51} \indexentry{Block!closure@as closure|hyperpage}{52} -- Michael Schuerig This is not a false alarm mailto:michael@schuerig.de This is not a test http://www.schuerig.de/michael/ --Rush, Red Tide