Advertisement
Guest User

Untitled

a guest
Aug 6th, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.58 KB | None | 0 0
  1. pdflatex example.idx
  2. makeglossaries example
  3.  
  4. Package glossaries Warning: No file defined for glossary `[' on input line 86.
  5. ! Extra endcsname.
  6. @@do@wrglossary ...csname glo@#1@typeendcsname
  7. ]{string glossaryentry {...
  8. l.86 ...lossary type. It has a single gls{entry}
  9. in it.
  10.  
  11. % iffalse meta-comment
  12. %
  13. % Copyright (C) XXXX by Carel <Care@sx.so>
  14. % ----------------------------------------
  15. %
  16. % This file may be distributed and/or modified under the
  17. % conditions of the LaTeX Project Public License, either version 1.2
  18. % of this license or (at your option) any later version.
  19. % The latest version of this license is in:
  20. %
  21. % http://www.latex-project.org/lppl.txt
  22. %
  23. % and version 1.2 or later is part of all distributions of LaTeX
  24. % version 1999/12/01 or later.
  25. %
  26. % fi
  27. %
  28. % iffalse
  29. %<*driver>
  30. ProvidesFile{example.dtx}
  31. %</driver>
  32. %<package>NeedsTeXFormat{LaTeX2e}[1999/12/01]
  33. %<package>ProvidesPackage{example}
  34. %<*package>
  35. [2004/11/05 v1.0 .dtx example file]
  36. %</package>
  37. %
  38. %<*driver>
  39. documentclass{ltxdoc}
  40. usepackage[nomain]{glossaries}
  41. usepackage{example}[2004/11/05]
  42. EnableCrossrefs
  43. CodelineIndex
  44. RecordChanges
  45. makeglossaries
  46. begin{document}
  47. DocInput{example.dtx}
  48. PrintChanges
  49. PrintIndex
  50. end{document}
  51. %</driver>
  52. % fi
  53. %
  54. % CheckSum{0}
  55. %
  56. % CharacterTable
  57. % {Upper-case ABCDEFGHIJKLMNOPQRSTUVWXYZ
  58. % Lower-case abcdefghijklmnopqrstuvwxyz
  59. % Digits 123456789
  60. % Exclamation ! Double quote " Hash (number) #
  61. % Dollar $ Percent % Ampersand &
  62. % Acute accent ' Left paren ( Right paren )
  63. % Asterisk * Plus + Comma ,
  64. % Minus - Point . Solidus /
  65. % Colon : Semicolon ; Less than <
  66. % Equals = Greater than > Question mark ?
  67. % Commercial at @ Left bracket [ Backslash \
  68. % Right bracket ] Circumflex ^ Underscore _
  69. % Grave accent ` Left brace { Vertical bar |
  70. % Right brace } Tilde ~}
  71. %
  72. %
  73. % changes{v1.0}{2004/11/05}{Initial version}
  74. %
  75. % GetFileInfo{example.dtx}
  76. %
  77. % DoNotIndex{newcommand,newenvironment}
  78. %
  79. %
  80. % title{The textsf{Example} packagethanks{This document
  81. % corresponds to textsf{example}~fileversion, dated filedate.}}
  82. % author{Carel \ texttt{carel@so.sx}}
  83. %
  84. % maketitle
  85. %
  86. % section{Introduction}
  87. %
  88. % Put text here.
  89. %
  90. % section{Usage}
  91. %
  92. % Put text here.
  93. %
  94. % DescribeEnv{notes}
  95. %
  96. % Notes is an example glossary type. It has a single gls{entry} in it.
  97. %
  98. % StopEventually{}
  99. %
  100. % section{Implementation}
  101. %
  102. % begin{environment}{notes}
  103. % I define an example glossary environment called |notes|.
  104. % begin{macrocode}
  105. newglossary[egg]{example}{egd}{egn}{Example glossary}
  106. % end{macrocode}
  107. % end{environment}
  108. %
  109. % begin{macro}{notes}
  110. % I define a single entry in the new glossary format
  111. % begin{macrocode}
  112. newglossaryentry{entry}{
  113. name = entry,
  114. type = example,
  115. description = An example entry in notes,
  116. }
  117. % end{macrocode}
  118. % end{macro}
  119. %
  120. % Finale
  121. endinput
  122.  
  123. %%
  124. %% Copyright (C) XXXX by carel <carel@sx.so>
  125. %%
  126. %% This file may be distributed and/or modified under the conditions of
  127. %% the LaTeX Project Public License, either version 1.2 of this license
  128. %% or (at your option) any later version. The latest version of this
  129. %% license is in:
  130. %%
  131. %% http://www.latex-project.org/lppl.txt
  132. %%
  133. %% and version 1.2 or later is part of all distributions of LaTeX version
  134. %% 1999/12/01 or later.
  135. %%
  136.  
  137. input docstrip.tex
  138. keepsilent
  139.  
  140. usedir{tex/latex/example}
  141.  
  142. preamble
  143.  
  144. This is a generated file.
  145.  
  146. Copyright (C) XXXX by carel <carel@sx.so>
  147.  
  148. This file may be distributed and/or modified under the conditions of
  149. the LaTeX Project Public License, either version 1.2 of this license
  150. or (at your option) any later version. The latest version of this
  151. license is in:
  152.  
  153. http://www.latex-project.org/lppl.txt
  154.  
  155. and version 1.2 or later is part of all distributions of LaTeX version
  156. 1999/12/01 or later.
  157.  
  158. endpreamble
  159.  
  160. generate{file{example.sty}{from{example.dtx}{package}}}
  161.  
  162. obeyspaces
  163. Msg{*************************************************************}
  164. Msg{* *}
  165. Msg{* To finish the installation you have to move the following *}
  166. Msg{* file into a directory searched by TeX: *}
  167. Msg{* *}
  168. Msg{* skeleton.sty *}
  169. Msg{* *}
  170. Msg{* To produce the documentation run the file skeleton.dtx *}
  171. Msg{* through LaTeX. *}
  172. Msg{* *}
  173. Msg{* Happy TeXing! *}
  174. Msg{* *}
  175. Msg{*************************************************************}
  176.  
  177. endbatchfile
  178.  
  179. % iffalse meta-comment
  180. %
  181. % Copyright (C) XXXX by Carel <Care@sx.so>
  182. % ----------------------------------------
  183. %
  184. % This file may be distributed and/or modified under the
  185. % conditions of the LaTeX Project Public License, either version 1.2
  186. % of this license or (at your option) any later version.
  187. % The latest version of this license is in:
  188. %
  189. % http://www.latex-project.org/lppl.txt
  190. %
  191. % and version 1.2 or later is part of all distributions of LaTeX
  192. % version 1999/12/01 or later.
  193. %
  194. % fi
  195. %
  196. % iffalse
  197. %<*driver>
  198. ProvidesFile{Example.dtx}
  199. %</driver>
  200. %<package>NeedsTeXFormat{LaTeX2e}[1999/12/01]
  201. %<package>ProvidesPackage{Example}
  202. %<*package>
  203. [2004/11/05 v1.0 .dtx Example file]
  204. %</package>
  205. %
  206. %<*driver>
  207. documentclass{ltxdoc}
  208. usepackage[nomain]{glossaries}
  209. usepackage{Example}[2004/11/05]
  210. EnableCrossrefs
  211. CodelineIndex
  212. RecordChanges
  213. makeglossaries
  214. begin{document}
  215. DocInput{Example.dtx}
  216. PrintChanges
  217. PrintIndex
  218. end{document}
  219. %</driver>
  220. % fi
  221. %
  222. % CheckSum{0}
  223. %
  224. % CharacterTable
  225. % {Upper-case ABCDEFGHIJKLMNOPQRSTUVWXYZ
  226. % Lower-case abcdefghijklmnopqrstuvwxyz
  227. % Digits 123456789
  228. % Exclamation ! Double quote " Hash (number) #
  229. % Dollar $ Percent % Ampersand &
  230. % Acute accent ' Left paren ( Right paren )
  231. % Asterisk * Plus + Comma ,
  232. % Minus - Point . Solidus /
  233. % Colon : Semicolon ; Less than <
  234. % Equals = Greater than > Question mark ?
  235. % Commercial at @ Left bracket [ Backslash \
  236. % Right bracket ] Circumflex ^ Underscore _
  237. % Grave accent ` Left brace { Vertical bar |
  238. % Right brace } Tilde ~}
  239. %
  240. %
  241. % changes{v1.0}{2004/11/05}{Initial version}
  242. %
  243. % GetFileInfo{Example.dtx}
  244. %
  245. % DoNotIndex{newcommand,newenvironment}
  246. %
  247. %
  248. % title{The textsf{Example} packagethanks{This document
  249. % corresponds to textsf{Example}~fileversion, dated filedate.}}
  250. % author{Carel \ texttt{carel@so.sx}}
  251. %
  252. % maketitle
  253. %
  254. % section{Introduction}
  255. %
  256. % Put text here.
  257. %
  258. % section{Usage}
  259. %
  260. % Put text here.
  261. %
  262. % DescribeEnv{notes}
  263. %
  264. % Notes is an example glossary type. It has a single gls{entry} in it.
  265. %
  266. % StopEventually{}
  267. %
  268. % section{Implementation}
  269. %
  270. % begin{environment}{notes}
  271. % I define an example glossary environment called |notes|.
  272. % begin{macrocode}
  273. newglossary[egg]{example}{egd}{egn}{Example glossary}
  274. % end{macrocode}
  275. % end{environment}
  276. %
  277. % begin{macro}{notes}
  278. % I define a single entry in the new glossary format
  279. % begin{macrocode}
  280. newglossaryentry{entry}{
  281. name = entry,
  282. type = example,
  283. description = An example entry in notes,
  284. }
  285. % end{macrocode}
  286. % end{macro}
  287. %
  288. % printglossaries% added for testing purposes - just to be sure
  289. %
  290. % Finale
  291. endinput
  292.  
  293. %%
  294. %% Copyright (C) XXXX by carel <carel@sx.so>
  295. %%
  296. %% This file may be distributed and/or modified under the conditions of
  297. %% the LaTeX Project Public License, either version 1.2 of this license
  298. %% or (at your option) any later version. The latest version of this
  299. %% license is in:
  300. %%
  301. %% http://www.latex-project.org/lppl.txt
  302. %%
  303. %% and version 1.2 or later is part of all distributions of LaTeX version
  304. %% 1999/12/01 or later.
  305. %%
  306.  
  307. input docstrip.tex
  308. keepsilent
  309.  
  310. usedir{tex/latex/example}
  311.  
  312. preamble
  313.  
  314. This is a generated file.
  315.  
  316. Copyright (C) XXXX by carel <carel@sx.so>
  317.  
  318. This file may be distributed and/or modified under the conditions of
  319. the LaTeX Project Public License, either version 1.2 of this license
  320. or (at your option) any later version. The latest version of this
  321. license is in:
  322.  
  323. http://www.latex-project.org/lppl.txt
  324.  
  325. and version 1.2 or later is part of all distributions of LaTeX version
  326. 1999/12/01 or later.
  327.  
  328. endpreamble
  329.  
  330. generate{file{Example.sty}{from{Example.dtx}{package}}}
  331.  
  332. obeyspaces
  333. Msg{*************************************************************}
  334. Msg{* *}
  335. Msg{* To finish the installation you have to move the following *}
  336. Msg{* file into a directory searched by TeX: *}
  337. Msg{* *}
  338. Msg{* Example.sty *}
  339. Msg{* *}
  340. Msg{* To produce the documentation run the file Example.dtx *}
  341. Msg{* through LaTeX. *}
  342. Msg{* *}
  343. Msg{* Happy TeXing! *}
  344. Msg{* *}
  345. Msg{*************************************************************}
  346.  
  347. endbatchfile
  348.  
  349. %%
  350. %% This is file `Example.sty',
  351. %% generated with the docstrip utility.
  352. %%
  353. %% The original source files were:
  354. %%
  355. %% Example.dtx (with options: `package')
  356. %%
  357. %% This is a generated file.
  358. %%
  359. %% Copyright (C) XXXX by carel <carel@sx.so>
  360. %%
  361. %% This file may be distributed and/or modified under the conditions of
  362. %% the LaTeX Project Public License, either version 1.2 of this license
  363. %% or (at your option) any later version. The latest version of this
  364. %% license is in:
  365. %%
  366. %% http://www.latex-project.org/lppl.txt
  367. %%
  368. %% and version 1.2 or later is part of all distributions of LaTeX version
  369. %% 1999/12/01 or later.
  370. %%
  371. NeedsTeXFormat{LaTeX2e}[1999/12/01]
  372. ProvidesPackage{Example}
  373. [2004/11/05 v1.0 .dtx Example file]
  374. newglossary[egg]{example}{egd}{egn}{Example glossary}
  375. newglossaryentry{entry}{
  376. name = entry,
  377. type = example,
  378. description = An example entry in notes,
  379. }
  380. endinput
  381. %%
  382. %% End of file `Example.sty'.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement