XFPT(1)

πŸ“¦
version 1.00 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– XFPT(1) β€” the General Commands Manual glow-up πŸ’–

okay bestie, pull up a chair, because we're about to talk about xfpt πŸ’… (that's section 1 of the General Commands Manual, for the record β€” she's official, she's documented, she's that girl).


✨ NAME ✨

xfpt β€” make XML from plain text πŸ¦‹


🌸 SYNOPSIS 🌸

xfpt [options] [source file]

πŸŽ€ DESCRIPTION πŸŽ€

so basically, xfpt takes a marked up text file and turns it into XML. no cap. it's giving "glow up via formatting" and we're obsessed. πŸ’–

the markup is simple, like genuinely lowkey adorable, and it comes in two flavors:

  • lines that begin with a dot β€” these are called "directive lines" πŸ‘‘
  • sequences in the text that begin with an ampersand β€” these are called "flags" ✨

and here's the tea: the flag sequences are not built-in. they're defined by directives. so like, you make the rules, you set the vibe, you run the show. 🫢

as well as the in-built directives, macros can be used to implement higher level concepts β€” highkey iconic behavior.

a standard set of macros and flags that generate DocBook XML is provided, so if that's your thing, slay. πŸ’…

there's a full description in the xfpt specification, which is distributed as a PDF file, an HTML file, and as xfpt source. so many formats, so many ways to read her. πŸ“šβœ¨


πŸ’œ OPTIONS πŸ’œ

  • -help or --help β€” this causes xfpt to output its "usage" information and then exit. she's telling you how she works, and then she's leaving. main character exit. πŸšͺ✨
  • -o file β€” 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. so if you don't say where it goes, she picks for you. πŸŽ€
  • -S directory β€” this specifies an alternative "share" directory in which to find standard configuration files. relocation era. πŸ¦‹
  • -v or --version β€” output the xfpt version and exit. a little "hi, it's me" moment. πŸ’–

🌈 AUTHOR 🌈

Philip Hazel Retired from University Computing Service Cambridge, England.


Last updated: 08 March 2023 🌸 Copyright (c) 2023 University of Cambridge. πŸ‘‘

and that's the whole page bestie, XFPT(1) out. mwah. πŸ’…πŸ’–πŸ¦‹

πŸ“¦ where this page comes from