This directory contains the manual page for pptx-builder.
# From the project root
man docs/pptx-builder.1# Generate plain text version
man docs/pptx-builder.1 | col -b > docs/pptx-builder.txt
# Or use groff directly
groff -man -Tascii docs/pptx-builder.1 | less# Generate PDF version
groff -man -Tps docs/pptx-builder.1 | ps2pdf - docs/pptx-builder.pdf# Generate HTML version
groff -man -Thtml docs/pptx-builder.1 > docs/pptx-builder.htmlTo install the man page system-wide (requires sudo):
# Copy to system man pages directory
sudo cp docs/pptx-builder.1 /usr/local/share/man/man1/
# Update man database
sudo mandb # Linux
# or
sudo /usr/libexec/makewhatis /usr/local/share/man # macOS
# Now you can use:
man pptx-builderThe file pptx-builder.1 is written in troff/groff format, which is the standard for Unix man pages. The .1 extension indicates it's a "User Commands" manual (section 1).
Traditional Unix man page sections:
- Section 1: User commands (our file)
- Section 2: System calls
- Section 3: Library functions
- Section 4: Special files
- Section 5: File formats
- Section 6: Games
- Section 7: Miscellaneous
- Section 8: System administration
The man page uses troff markup. Common macros:
.TH- Title header.SH- Section header.B- Bold text.I- Italic text.TP- Tagged paragraph.nf/.fi- No-fill mode (for code blocks).IP- Indented paragraph.RS/.RE- Relative indent start/end
See man 7 groff_man for full documentation.
View the complete man page with all formatting:
man docs/pptx-builder.1Search within man page (once viewing):
/pattern- Search forward?pattern- Search backwardn- Next matchN- Previous matchq- Quit