Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [doc]

doc is a package for documenting the source code of LaTeX packages and classes. doc is commonly used with the ltxdoc class and with the docstrip utility to extract the package code from the source. Questions about the .doc file format used by the Word processing software should be tagged with {msword} instead.

1
vote
1answer
40 views

How to use doc package \efill

I'm using indexing with the doc package and I've run in to an issue. When I have keys that are more than one word they justify over the whole column. I wanted to use the \efill macro to get the keys ...
1
vote
2answers
37 views

Using edef'd text with doctex pre/postamble

I'm updating my DocTeX template(s) given the model DTX file by Joseph Wright, who includes a readme guard from which the readme.txt is generated. The \delcarepre/postamble macros from DocTeX prefix \...
0
votes
1answer
37 views

Multiple copyright messages in ones doctex templates

I just realized that I have three copyright sections in my DocTeX templates ??? I was trying to merge my templates, generated from the DTXTut by Scott Pakin, with the model DTX file, proposed by ...
18
votes
3answers
483 views

About what TeX does after it finds commented conditionals with ltxdoc

When I thought I understood the concept of the doc package, LaTeX proved me wrong. I was trying to make a file to use with ltxdoc when I realised I could not use conditionals in the preamble because ...
2
votes
1answer
131 views

Change the comment character (%) for the doc class

When generating files from a *.dtx source, Docstrip discards lines starting with the comment character % (unless they contain guards %<guard>content). When typesetting the documentation with ...
18
votes
0answers
308 views

How to customize `l3doc`?

As I'm currently writing a package and started to use dtx format I wondered if there are alternative classes just using doc, so I started to use l3doc (since I use expl3 syntax). I'm pretty satisfied ...
2
votes
0answers
96 views

Wrong bookmarks with hypdoc

The following MWE points out that, with hypdoc package, the bookmark of the change history section is wrong: "Change History" instead of "Other title for change history". \documentclass{article} % \...