XFPT(1) General Commands Manual XFPT(1)

# [NAME](#NAME)

xfpt - make XML from plain text

# [SYNOPSIS](#SYNOPSIS)

**xfpt \[options] \[source file]**

# [DESCRIPTION](#DESCRIPTION)

**xfpt** converts a marked up text file to XML. The markup is simple and consists of lines that begin with a dot ("directive lines") and sequences in the text that begin with an ampersand ("flags"). The flag sequences are not built-in, but are defined by directives. As well as the in-built directives, macros can be used to implement higher level concepts. A standard set of macros and flags that generate DocBook XML is provided. There is a full description in the **xfpt** specification, which is distributed as a PDF file, an HTML file, and as **xfpt** source.

# [OPTIONS](#OPTIONS)

[**-help** or **--help**](#help)

This causes **xfpt** to output its "usage" information and then exit.

[**-o** *file*](#o)

This specifies the output file. The default is the standard output if no source file is given, and the source file name with a *.xml* extension otherwise.

[**-S** *directory*](#S)

This specifies an alternative "share" directory in which to find standard configuration files.

[**-v** or **--version**](#v)

Output the **xfpt** version and exit.

# [AUTHOR](#AUTHOR)

Philip Hazel  
Retired from University Computing Service  
Cambridge, England.

Last updated: 08 March 2023  
Copyright (c) 2023 University of Cambridge.

---

Document: xfpt(1) from xfpt 1.00-r2 (Chainguard OS)
Source: https://github.com/PhilipHazel/xfpt
