-
-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better glossaries #800
Comments
I manage this in a custom make pdf function defined at https://github.com/jkitchin/scimax/blob/master/ox-manuscript/ox-manuscript.el#L435. You could consider using #INCLUDE: files to put them in another file. I haven't tried that in a while. I am sure it is a pain to use latex_header_extra though. I don't know how easy it is to include a texfile in the right place though. |
Thanks for the function, I'll look into I've been trying to use org-mode macros to simplify using the headers, such as (setq org-export-global-macros
'(("glossentry" . "#+latex_header_extra: \\newglossaryentry{$1}{name=$2, description={$3}}"))) So with
We should get something decent, possibly multi-line as long as the macro encompasses the description part of the glossary entry. For some reason this doesn't always work, I could reproduce the example in the doc with this method but a long description tripped up LaTeX, I don't know if it's because of line wrapping or because I had commas in the description, which have to be escaped because macros use commas to separate arguments. Thanks for the help! |
You can now use |
Inserting them in the table at the top works great, thanks! |
Thanks very much for org-ref, an amazing tool which I rely upon daily. I'd like to add a somewhat related comment to this discussion. Hopefully, it will preserve the sanity of any further reader who, like myself, tries to combine classic thesis [1] with org-ref. If, after the suggestions above, your
Then your probably hit the same bug as me. The problem is on an obscure combination of classic thesis with glossary as per this SO question [2]. I personally solved it by adding the following (
I do not claim this to be the best solution. The SO question provides a lot of detail, which is probably meaningful to someone who actually knows LaTeX. But this would at least allow you to get on with your life. [1] ClassicThesis – A “classically styled” thesis package |
Hi,
This is both a question and a somewhat helpful post. I had to use glossaries recently and when I tried the minimal example from the manual, it didn't work as
makeglossaries
was not ran in the shell.This can easily be fixed by creating an
~/.latexmkrc
file (on Linux) and write to it:and it'll be running smoothly, this is explained here.
My question the following : how do I get large
latex_header_extra
blocks to write glossary entries? It's a real pain to write multi-line headers and I wondered in there was a better way?Thanks for the excellent package
The text was updated successfully, but these errors were encountered: