[//000000001]: # (mpexpand \- Documentation toolbox) [//000000002]: # (Generated from file 'mpexpand\.man' by tcllib/doctools with format 'markdown') [//000000003]: # (Copyright © 2002 Andreas Kupries ) [//000000004]: # (Copyright © 2003 Andreas Kupries ) [//000000005]: # (mpexpand\(n\) 1\.0 tcllib "Documentation toolbox")
[ Main Table Of Contents | Table Of Contents | Keyword Index | Categories | Modules | Applications ]
# NAME mpexpand \- Markup processor # Table Of Contents - [Table Of Contents](#toc) - [Synopsis](#synopsis) - [Description](#section1) - [NOTES](#section2) - [Bugs, Ideas, Feedback](#section3) - [See Also](#seealso) - [Keywords](#keywords) - [Category](#category) - [Copyright](#copyright) # SYNOPSIS [__mpexpand__ ?\-module *module*? *format* *infile*|\- *outfile*|\-](#1) [__mpexpand\.all__ ?*\-verbose*? ?*module*?](#2) # DESCRIPTION This manpage describes a processor / converter for manpages in the doctools format as specified in __doctools\_fmt__\. The processor is based upon the package __[doctools](doctools\.md)__\. - __mpexpand__ ?\-module *module*? *format* *infile*|\- *outfile*|\- The processor takes three arguments, namely the code describing which formatting to generate as the output, the file to read the markup from, and the file to write the generated output into\. If the *infile* is "__\-__" the processor will read from __stdin__\. If *outfile* is "__\-__" the processor will write to __stdout__\. If the option *\-module* is present its value overrides the internal definition of the module name\. The currently known output formats are * __nroff__ The processor generates \*roff output, the standard format for unix manpages\. * __html__ The processor generates HTML output, for usage in and display by web browsers\. * __tmml__ The processor generates TMML output, the Tcl Manpage Markup Language, a derivative of XML\. * __latex__ The processor generates LaTeX output\. * __wiki__ The processor generates Wiki markup as understood by __wikit__\. * __list__ The processor extracts the information provided by __manpage\_begin__\. * __null__ The processor does not generate any output\. - __mpexpand\.all__ ?*\-verbose*? ?*module*? This command uses __mpexpand__ to generate all possible output formats for all manpages in the current directory\. The manpages are recognized through the extension "\.man"\. If *\-verbose* is specified the command will list its actions before executing them\. The *module* information is passed to __mpexpand__\. # NOTES Possible future formats are plain text, pdf and postscript\. # Bugs, Ideas, Feedback This document, and the package it describes, will undoubtedly contain bugs and other problems\. Please report such in the category *doctools* of the [Tcllib Trackers](http://core\.tcl\.tk/tcllib/reportlist)\. Please also report any ideas for enhancements you may have for either package and/or documentation\. When proposing code changes, please provide *unified diffs*, i\.e the output of __diff \-u__\. Note further that *attachments* are strongly preferred over inlined patches\. Attachments can be made by going to the __Edit__ form of the ticket immediately after its creation, and then using the left\-most button in the secondary navigation bar\. # SEE ALSO expander\(n\), format\(n\), formatter\(n\) # KEYWORDS [HTML](\.\./\.\./\.\./\.\./index\.md\#html), [TMML](\.\./\.\./\.\./\.\./index\.md\#tmml), [conversion](\.\./\.\./\.\./\.\./index\.md\#conversion), [manpage](\.\./\.\./\.\./\.\./index\.md\#manpage), [markup](\.\./\.\./\.\./\.\./index\.md\#markup), [nroff](\.\./\.\./\.\./\.\./index\.md\#nroff) # CATEGORY Documentation tools # COPYRIGHT Copyright © 2002 Andreas Kupries Copyright © 2003 Andreas Kupries