Documentation
¶
Index ¶
Constants ¶
View Source
const ( // SDNAMESPACE is the speedata XTS layout rules namespace SDNAMESPACE string = "urn:speedata.de/2021/xts/en" // LevelNotice is used for messages from Message LevelNotice = slog.Level(2) )
Variables ¶
View Source
var ( // Version is a semantic version Version string )
Functions ¶
func FindFontFiles ¶
func FindFontFiles() []string
FindFontFiles returns a list of all font files (otf,ttf)
Types ¶
type TypesettingError ¶ added in v0.0.3
A TypesettingError contains the information if it has been logged, so it does not appear more than once in the output.
func (TypesettingError) Error ¶ added in v0.0.3
func (te TypesettingError) Error() string
type XTSConfig ¶
type XTSConfig struct {
Datafile io.Reader
DumpFile io.Writer
FindFile func(string) (string, error)
Jobname string
Layoutfile io.Reader
Mode []string
Outfile io.WriteCloser
OutFilename string
SuppressInfo bool
Tracing []string
Variables map[string]any
}
XTSConfig is the configuration file for PDF generation.
Click to show internal directories.
Click to hide internal directories.