On June 15, 2003 02:47 am, Thomas CLive Richards wrote:
> Is there planned support for a glossary of terms feature like MS Word
> has? So, you'd select a word, and click on "glossary item", and then (in
> a popup window), enter a description of the word. In the back of your
> document, a glossary would build itself...
>
>
> This would be extremely useful to me, and i have an idea it could be
> done with an ERT or two, but i don't know a thing about latex, so that's
> of no use to me..
My thesis is due tomorrow, and I just got around to making a list of 
acronyms and symbols. It's not a glossary, but along similar lines.

>From LyX I exported the manuscript as an ascii file. Then I grep'd it for 
capitalized words like this:
        grep "[A-Z][A-Z]" thesis.txt > thesis_acronyms.txt

This gave me a file containing all lines with words containing two or more 
capitalized letters in succession. Then I scanned the file manually in vi, 
deleting each line one-by-one, and whenever I came across a new acronym I 
typed it into a "list" environment in the frontmatter of the LyX document. 
It only took about two hours. 

The mathematical symbols were found by exporting the manuscript as a latex 
file, then grepping it for "$" with
        grep "\\$" thesis.tex > thesis_symbols.txt

then putting each symbol into a list in the frontmatter by hand as I did 
with the acronyms.

Cheers,
Johnathan
-- 
Johnathan K. Burchill, Ph.D. candidate
Department of Physics and Astronomy
University of Calgary
2500 University Drive N.W.
Calgary, AB T2N 1N4
Canada

(403) 217-4286
[EMAIL PROTECTED]

Reply via email to