Historique des modifications [retour]
cliquez ici pour masquer/afficher la révision 5

01 Jul '20, 18:58

samcarter's gravatar image

samcarter
8.6k2817

`\label` appelé par `\ref` est mauvais pour des glossaires glossaires, c'est pour des choses numérotées comme `\section` etc. % !TeX TS-program = pdflatex % | makeglossaries % | pdflatex % \documentclass[french,english]{scrartcl} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{babel} \usepackage{tipa} \usepackage{csquotes} \usepackage[hyperindex=false, colorlinks=true, pdfpagemode=FullScreen]{hyperref} \usepackage[ nonumberlist ]{glossaries} \makeglossaries \newcommand{ \dictentry}[2] {% \newglossaryentry{#1}{name=#1,description={#2}}% } \dictentry{Chewy}{\begin{IPA}[tSu\textlengthmark i]\end{IPA}. Moelleux.\\ Voir aussi \enquote{\gls{Airy}}}% \dictentry{Airy}{\begin{IPA}[tSu\textlengthmark i]\end{IPA}. Moelleux.\\ Ex. \emph{The transformation of dough into a light and airy loaf is, after all, chemistry in action, with a good side of physics}.\\ Voir aussi \enquote{\gls{Chewy}}}% \glsaddall \newglossarystyle{mylist}{% \renewenvironment{theglossary}% {\begin{description}}{\end{description}}% \renewcommand*{\glossaryheader}{}% \renewcommand*{\glsgroupheading}[1]{}% \renewcommand*{\glossentry}[2]{% \item[\glsentryitem{##1}% \glstarget{##1}{\glossentryname{##1}}.] \glossentrydesc{##1}\glspostdescription\space ##2}% \renewcommand*{\subglossentry}[3]{% \glssubentryitem{##2}% \glstarget{##2}{\strut}\space \glossentrydesc{##2}\glspostdescription\space ##3.}% \renewcommand*{\glsgroupskip}{\ifglsnogroupskip\else\indexspace\fi}% } \begin{document} \section*{Glossaire} \gls{Chewy} \addcontentsline{toc}{section}{Glossaire} \printglossary[style=mylist,title=]% \end{document} ![alt text][1] [1]: https://texnique.fr/osqa/upfiles/Screen_Shot_2020-07-01_at_17.41.14.png
cliquez ici pour masquer/afficher la révision 4

01 Jul '20, 18:46

samcarter's gravatar image

samcarter
8.6k2817

`\label` appelé par `\ref` est mauvais pour des glossaires % !TeX TS-program = pdflatex % | makeglossaries % | pdflatex % \documentclass[french,english]{scrartcl} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{babel} \usepackage{tipa} \usepackage{csquotes} \usepackage[hyperindex=false, colorlinks=true, pdfpagemode=FullScreen]{hyperref} \usepackage[ nonumberlist ]{glossaries} \makeglossaries \newcommand{ \dictentry}[2] {% \newglossaryentry{#1}{name=#1,description={#2}}% } \dictentry{Chewy}{\begin{IPA}[tSu\textlengthmark i]\end{IPA}. Moelleux.\\ Voir aussi \enquote{\gls{Airy}}.}% \enquote{\gls{Airy}}}% \dictentry{Airy}{\begin{IPA}[tSu\textlengthmark i]\end{IPA}. Moelleux.\\ Ex. \emph{The transformation of dough into a light and airy loaf is, after all, chemistry in action, with a good side of physics}.\\ Voir aussi \enquote{\gls{Chewy}}.}% \enquote{\gls{Chewy}}}% \glsaddall \newglossarystyle{mylist}{% \renewenvironment{theglossary}% {\begin{description}}{\end{description}}% \renewcommand*{\glossaryheader}{}% \renewcommand*{\glsgroupheading}[1]{}% \renewcommand*{\glossentry}[2]{% \item[\glsentryitem{##1}% \glstarget{##1}{\glossentryname{##1}}.] \glossentrydesc{##1}\glspostdescription\space ##2}% \renewcommand*{\subglossentry}[3]{% \glssubentryitem{##2}% \glstarget{##2}{\strut}\space \glossentrydesc{##2}\glspostdescription\space ##3.}% \renewcommand*{\glsgroupskip}{\ifglsnogroupskip\else\indexspace\fi}% } \begin{document} \section*{Glossaire} \gls{Chewy} \addcontentsline{toc}{section}{Glossaire} \printglossary[style=list,title=]% \printglossary[style=mylist,title=]% \end{document} ![alt text][1] [1]: https://texnique.fr/osqa/upfiles/Screen_Shot_2020-07-01_at_17.25.24.pnghttps://texnique.fr/osqa/upfiles/Screen_Shot_2020-07-01_at_17.41.14.png
cliquez ici pour masquer/afficher la révision 3

01 Jul '20, 18:31

samcarter's gravatar image

samcarter
8.6k2817

cliquez ici pour masquer/afficher la révision 2

01 Jul '20, 18:30

samcarter's gravatar image

samcarter
8.6k2817

cliquez ici pour masquer/afficher la révision 1

01 Jul '20, 18:28

samcarter's gravatar image

samcarter
8.6k2817

C'est votre première visite ici ? Consultez la FAQ !

×