CTAN Comprehensive TeX Archive Network

Verzeichnis macros/latex/contrib/docref

README.md

Package: DocRef v0.1 2026-10-23

Cross-references to labeled sections in external package documentation.

Description

docref resolves a label in another package’s documentation source and prints its section number. It requires Lua, discovers common source filenames automatically, and can also scan simple \input and \include files. Unresolved references print ?? and produce a warning.

Installation

Keep docref.sty and docref.lua together, either beside your document or in a -searchable directory.

Usage

Use \docref{<package>}{<label>} for a reference. If automatic discovery does not locate a source, register it with the optional \DocRefSource{<package>}{<source-file>} command:

~latex documentclass{article} usepackage{docref}

% Optional: specify the documentation source explicitly DocRefSource{mypackage}{mypackage-manual.tex}

begin{document} See Section~docref{mypackage}{sec:overview}. end{document} ~

Section numbers are read from source text; titles and page numbers are not provided.

Documentation

See the main manual for configuration and examples.

License and maintainer

  • License: LPPL 1.3c or later.
  • Maintainer: Amer Amikhteh.

Herunterladen des vollständigen Inhalts dieses Pakets in einem Zip-Archiv (38.7k).

Docref – References to sections in external package documentation

This is a Lua package for referencing sections in external package documentation. It provides the \docref command, which resolves a label in another package's documentation and prints its section number. The package maintains a cache of document metadata and supports explicit source-file registration when necessary.

PaketDocref
Fehlermeldungen
Repository
Version0.1 2026-10-23
LizenzenThe Project Public License 1.3c
Copyright2026 Amer Amikhteh
BetreuerAmer Amikhteh
ThemenLabel und Reference
...
Gästebuch Seiten-Struktur Impressum Autor kontaktieren