SDOP(1)
π SDOP(1) β the manual, but make it make sense π
okay so bestie, you've stumbled into the SDOP(1) page from the General Commands Manual and honestly? you're about to have a time. Sit down, grab a strawberry π, and let's get into it.
β¨ NAME β¨
SDoP β a Simple DocBook Processor. that's it, that's the name, and it's giving exactly what it says on the tin π
πΈ SYNOPSIS πΈ
sdop [options] [source file]
π¦ DESCRIPTION π¦
okay so here's the whole vibe: sdop reads DocBook XML input, processes it into page images, and writes the result out as PostScript. then you can turn that into a PDF using an application such as ps2pdf and live your best life.
and why is SDoP "simple", you ask? two reasons, bestie, and neither of them is a read:
- (a) it does not check that the input conforms to the DTD π
- (b) it supports only a simple subset of DocBook features
if you don't hand it a source file, it just reads the standard input. easy.
π OPTIONS π
-dβ produce debugging output. add+alland you get voluminous output (like, truly a lot, no cap); some other words can be used to generate subsets of this.-helpor--helpβ list the available options. iconic behaviour, honestly.-o <output file>β specify an output file. to specify the standard output, use"-". the default is to replace the input file's extension with.ps, or to write to the standard output if the input is the standard input.-p <pagelist>β output only the given pages, counting from the start of the body of the document, that is, after the front matter and preface(s), if any. page numbers in the list are comma-separated, and ranges can be given using a hyphen.-pf <pagelist>β output only the given pages from the front matter, counting from the very first page of the document. page numbers in the list are comma-separated, and ranges can be given using a hyphen.-qβ suppress warnings for unsupported DocBook features (which are ignored). this overrides any setting in the input file.-qcβ suppress warnings for unsupported characters. this overrides any setting in the input file.-S <colon-separated directory list>β the given directories are searched in order for SDoP's shared data files, before searching the installed directory (usually/usr/local/share/sdop). this overrides any setting in anSDOP_SHAREenvironment variable.-wβ do not suppress warnings for unsupported DocBook features (which are ignored). this overrides any setting in the input file.-wcβ do not suppress warnings for unsupported characters. this overrides any setting in the input file.-vor--versionβ show SDoP's version and list any optional facilities that this implementation supports. main character energy, fr fr.
and a lil extra tea about page lists: a page list for -p (but not for -pf) may include odd or even, to further restrict which pages are output. if you want only odd or even pages from the frontmatter, you can use, for example, -p odd with an appropriate -pf setting. iykyk π
π ENVIRONMENT π
the environment variable SDOP_SHARE may be set to a colon-separated list of directories. these are searched in order for SDoP's shared data files, before searching the installed directory (usually /usr/local/share/sdop). the -S option can be used to override SDOP_SHARE. periodt.
π₯ FURTHER INFORMATION π₯
the SDoP manual gives a full description of the program and the features that it provides. go read it, bestie, it's lowkey a whole thing.
π DIAGNOSTICS AND RETURN CODES π
error messages are written to the standard error stream. the return code is 0 for success, and 1 if there have been any diagnostics more serious than a warning.
ngl,1is the "something's up" number.0is the slay number. that's the whole system π«Ά
π AUTHOR π
Philip Hazel Cambridge, England.
β REVISION β
Last updated: 23 November 2013 Copyright (c) 2013 Philip Hazel
okay and that's the whole page, bestie!! πβ¨ππ¦πΈπ π«Ά
this was the SDOP(1) manual from the General Commands Manual, last updated 23 November 2013, and the copyright belongs to Philip Hazel, 2013 β so like, credit where credit is due, always π now go process some DocBook, you absolute icon πβπ
π¦ where this page comes from
- debian bookworm: sdop 0.90-2
- debian trixie: sdop 1.10-3
- ubuntu jammy: sdop 0.90-1
- ubuntu noble: sdop 1.10-2build2
- ubuntu questing: sdop 1.10-3
- ubuntu resolute: sdop 1.10-3build1
- ubuntu stonking: sdop 1.10-3build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms