Search found 276 matches

by nlct
Thu Nov 07, 2019 3:57 pm
Forum: MakeIndex, Nomenclature, Glossaries and Acronyms
Topic: Superfluous comma in with \glsaddallunused
Replies: 2
Views: 61000

Superfluous comma in with \glsaddallunused

\glsaddallunused is designed to iterate over all defined entries and perform \glsadd[format=glsignore]{label} for every entry that hasn't been marked as used .

The \gls command (and its plural and case-changing variants) is intended as the primary way of referencing entries. This has a notion of ...
by nlct
Mon Mar 04, 2019 1:11 pm
Forum: MakeIndex, Nomenclature, Glossaries and Acronyms
Topic: glossaries automake option does not work with \clearpage at end of document
Replies: 2
Views: 14715

glossaries automake option does not work with \clearpage at end of document

If you have at least v4.42 you can use the automake=immediate package option, which will use the shell escape at the start of \makeglossaries before the glossary files are opened.

Regards
Nicola Talbot
by nlct
Tue Jul 24, 2018 6:02 pm
Forum: General
Topic: Hacking with LaTeX! How to protect?
Replies: 2
Views: 9036

Hacking with LaTeX! How to protect?

There are also some TeX Live security settings in texmf.cnf regarding I/O. You can use kpsewhich -a texmf.cnf to find the file. Input ( \input or \openin ) is governed by openin_any and output ( \openout ) is governed by openout_any . The most secure setting is p (paranoid)
openin_any = p
openout ...
by nlct
Tue Jul 24, 2018 5:38 pm
Forum: Fonts & Character Sets
Topic: List of Abbrevations as Chapter
Replies: 7
Views: 12838

List of Abbrevations as Chapter

The reason for the list of abbreviations appearing as a section rather than a chapter is because you have explicitly instructed the glossaries package to do this with the section package option:
\usepackage[toc,% add the glossary/list of abbreviations to the table of contents
nopostdot ...
by nlct
Tue Jul 24, 2018 5:28 pm
Forum: Fonts & Character Sets
Topic: Glossaries: abbreviation names in bold
Replies: 9
Views: 12294

Glossaries: abbreviation names in bold

The glossary style can be set globally using the style package option. For example:
\usepackage[style=long]{glossaries}
or you can set it locally within the optional argument of \printglossary . For example:
\printglossary[title=List of Abbreviations,type=\acronymtype,style=long]
There's a ...
by nlct
Mon Mar 05, 2018 7:22 pm
Forum: Fonts & Character Sets
Topic: Accents not showing even with UTF8
Replies: 4
Views: 12016

Accents not showing even with UTF8

Unicode char èco (U+DA)
The character è has the Unicode value U+00E8. The error message shows U+DA, which suggests that the file has been saved with the wrong encoding. You need to configure TeXShop to use UTF-8. See, for example, TeXShop doesn't remember file encoding.

Regards
Nicola Talbot
by nlct
Wed Feb 21, 2018 4:45 pm
Forum: MakeIndex, Nomenclature, Glossaries and Acronyms
Topic: Trouble with glossary
Replies: 1
Views: 8091

Trouble with glossary

You don't need:
\addcontentsline{toc}{chapter}{List of Abbreviations}
Just use:
\usepackage[acronym,toc]{glossaries}
By double entries, do you mean that there are multiple items with the same entry information, for example

FB Foo Bar, 1
FB Foo Bar, 1
or do you mean some entries have more ...
by nlct
Wed Feb 21, 2018 4:30 pm
Forum: Graphics, Figures & Tables
Topic: Good replacement for xfig
Replies: 8
Views: 12414

Good replacement for xfig

You can use flowframtk to draw images and then export to pgf code. You can provide alternative LaTeX code for text areas . (It's a reimplementation of jpgfdraw and is still a little experimental, so I'm not sure if it qualifies as a good replacement. :) One day I'll have the time to do some more ...
by nlct
Mon Jan 22, 2018 1:12 am
Forum: General
Topic: Database, List, References
Replies: 6
Views: 6471

Database, List, References

You could try using the glossaries-extra package. For example:
\documentclass{article}

\usepackage{longtable}
\usepackage[nostyles]{glossaries-extra}

\newcommand*{\newoperation}[4]{%
\newglossaryentry{#1}{name={#2},symbol={#3},description={#4}}%
}
\newcommand*{\operationref}[1]{%
\glsdisp{#1 ...
by nlct
Mon Jan 22, 2018 12:33 am
Forum: Page Layout
Topic: Date and timestamp in footer as well as pagenumber
Replies: 1
Views: 8631

Date and timestamp in footer as well as pagenumber

For the page number on the right you just need to change "C" to "R":
\fancyfoot[R]{\thepage}
For the date and time stamp, do you mean the time stamp of the document build? If so, you can use \DTMnow from the datetime2 package:
\fancyfoot[L]{\DTMnow}
If you mean the time stamp of the included PDF ...