MSC-GENERATOR(1)
MSC-GENERATOR(1) π
okay bestie, so this is MSC-GENERATOR(1), and she lives in the User Commands section of the manual. Iconic placement honestly. It's a command-line girlie and she's about to make your terminal look β¨gorgeousβ¨.
π NAME π
msc-gen β draws signalling charts from textual descriptions π
like... you type words, and charts happen. the way that works?? chemistry fr fr π
β¨ SYNOPSIS β¨
msc-gen [OPTIONS] [infile]
that's it. that's the whole vibe check. π¦ [OPTIONS] in square brackets means optional (as always, square brackets = optional, no cap), and [infile] is your input file β also optional, also bracketed, so don't panic if you're just trying stuff out. πΈ
more coming, bestie, don't go anywhere π
β¨ DESCRIPTION β¨
Msc-generator draws signalling charts from textual descriptions. That's the whole vibe: you write text, it hands you a chart. Iconic behaviour honestly. π
π Program information
-h,--helpβ shows you this help and then dips out. Bye bestie. π-lβ displays the program license and exits. The legal girly pop moment.--versionβ displays version information and exits. So you know exactly which era of msc-gen you're living in.
π Operation mode selection
--guiβ this mode pops up a GUI for interactive editing of a chart. Some options apply in GUI mode too, such as-Sto start an empty chart of a given type;infileto open a file;--nodesigns,-Dto control design libraries; and-Fand-Lto control the default font.--tei-modeβ putsmsc-generatorinto text editor integration mode. In this modemsc-gencan produce colour syntax highlighting, quick error, text indent, and hinting/autocomplete information. Input file(s) are read from standard input, output is written to standard output, so no input or output filename can be specified and options-iand-oare invalid. Same deal with the-Toption, but-Sis mandatory. Option--tei-modeimplies-Pnoas well. See the documentation for the deets. π§--list-embeddedβ lists the charts embedded in a PPT file. Little treasure hunt energy. π
π¦ Input control
<infile>β the file from which to read input. If specified as-, input will be read from stdin (and-Smust be used). The filename extension determines what type of chart the input file contains. You can also specify a PNG image, in which case Msc-generator searches for the chart text embedded in an iTXT chunk. You can also specify a PPT file optionally followed by a slide number, like:my.pptx:2. In this case the chart text is looked for in the PPT file on the given slide (2). You can omit the slide if the file contains only one embedded chart. If the slide contains multiple embedded charts, you can append a number (in increasing Z-order of the chart) to select one. You can embed charts with Msc-generator using, e.g.,-T embed:1, or update embedded charts by using them both as input and output:
msc-gen my.pptx:2:1 -T embed:2:1 -o my.pptx
-i<infile> β to retain compatibility withmscgen, this is an alternate way to specify the input file. Legacy bestie support, we love her. π«Ά-S<lang> β forces Msc-generator to interpret the input file as a specific type of chart. This overrides the guess from the filename extension. Current chart types aresignallingfor Signalling Charts,graphfor Graphviz graphs, andblockfor Block Diagrams.--utf8β forces the input file to be interpreted as UTF-8, even if it does not look like it. Gaslighting the parser, but make it β¨ intentional.--utf16β forces the input file to be interpreted as UTF-16, even if it looks like UTF-8 or ASCII.--opt=<chart_option>=<value>β these options will be evaluated before the input file. Any value here will be overwritten by a conflicting option in the file. So the file always gets the final word, lowkey.--design=<chart_design>β any chart design can be specified here, taking precedence over the design specified in the input file. Main character energy, the design here wins. π
π Output control
-a[h]β automatic pagination. Only used with full-page output. If specified, scale cannot beauto. Specifying-ahwill insert a heading after automatically inserted page breaks.-D<design_file> β loads a file containing additional chart design definitions. You can have multiple of this option to load several design files, after the default ones. These files are loaded even if--nodesignsis specified. Sneaky but valid.-eβ if the output type is PNG, specifying this will embed the chart text into the PNG file as an iTXt chunk. In case of multiple pages (and multiple output files) all will have it embedded. Results in a warning if the output type is not PNG. β οΈ-F<font> β use the specified font. This must be a font name available in the local system, and it overrides theMSCGEN_FONTenvironment variable if that is also set. (On Linux\Unix try fontconfig.)-L<lang> β use the specified language to select fonts. It must be an RFC 3066 style language specifier, and will override any value in theMSCGEN_FONT_LANGenvironment variable. Use either 2 letter lang codes, such asjafor Japanese,zhfor Chinese, etc. Ignored on Windows, as font names are language specific there.-m{lrud}=<margin>β useful only for full-page output, specifies the margin. A separate option is needed to specify the left, right, upwards and downwards margins, denoted by the second letter of the option. Margins are to be specified in inches (number only) or in centimeters, if appended withcm(no spaces). The default margin is half inches everywhere.--nodesignsβ if you specify this, no design files will be loaded (except the ones you specify with-D). This is useful to increase performance when you do not use them anyway. Speed demon era. π₯--nopathsβ only the filename will be printed in error messages, without its path.-o<file> β writes output to the named file. If omitted, the input filename will be appended by an extension suitable for the output format. If neither input nor output file is given,msc-gen_out.*will be used. Specifying-will result in the output being written to standard output.-p[=<page size>β full-page output. (PDF or PPT only, automatically implied for PPT.) In this case the chart is drawn on fixed-size pages (following pagination) with one pixel equaling to 1/72 inches for PDF and 1/96 inches for PPT. If a chart page is larger than a physical page it is simply cropped with a warning. Setting the scale with the-soption enables zooming. Page size can be set to ISO sizes from A0 to A6, and to US sizes, such asletter,legal,ledgerandtabloid. Append apor anlfor portrait and landscape, respectively (except fortabloidandledger, which are by definition portrait and landscape, resp.). E.g., useA4p,A2lorletter_l. Default isA4pfor PDF andwidescreen_lfor PPT, but you can also useon_screen_4_3_loron_screen_16_9as well.--no-pedantic--pedanticβ set or unset the pedantic chart option (defaults to what is set in the design lib or false if not defined).-Pnoβ no progress indicator displayed.-qβ no progress indicator displayed, plus any finalSuccess.is also suppressed. On success with no warningsmsc-genprints nothing. Silent treatment, but make it β¨correctβ¨.-s=<scale>β can be used to scale chart size up or down. Default is1.0. Cannot be used together with any of the-xor-yoptions. Only for bitmap or full-page output (-p). For full-page output, you can set <scale> towidthwhich results in the chart width being set to the page width, or toauto, which scales such that all pages fit. For full-page output, you can specify multiple-soptions, which makesmsc-gentry them in the order specified until one is found for which no pages need to be cropped. If none is such, the last one will be used and a warning will be given.-T<type> β specifies the output file type, which may bepng,eps,pdf,svg,pptoremf(if supported on your system). Default ispng. The tokenismapproduces an NCSA formatted ismap file. The tokenlmapis accepted and results in a text file listing (the first line of) all labels and their page number and coordinates.srcwill simply save the chart text; useful if you want to extract the source of charts embedded in PNG and PPT input files. You can also useembedwith a PPT output file to append a page with a PNG of the chart that includes the chart text (and can be later edited by Msc-generator).embed:<page>will add the PNG to an existing page, whileembed:<page>:<chart>will update an existing chart (<chart> is the number of the chart on that page in Z-order starting from 1).--TIβ additional Technical Info is printed about compilation. Nerd mode activated, respectfully. π€-va=<center|up|down>-ha=<center|left|right>β set the vertical and horizontal alignment within a page for fullpage output.-Wnoβ no warnings displayed.-x=<width>β specifies chart width (in pixels). Only for bitmap output.-y=<height>β specifies chart height (in pixels). If only one of-xor-yis specified, the aspect ratio is kept. Only for bitmap output.--fps=<fps>β can be used to select the maximum frames per second for the GUI. Silently ignored when not using the GUI. Ignored on Windows, as there frame presentation is synchronized to the refresh of the screen, maxing the FPS to the screen FPS.
π Signalling chart specific options
--force-mscgenβ forces the chart to be interpreted inmscgenmode. Note that many Msc-generator attributes, commands and keywords are still recognized. This setting makes conflicting syntax be interpreted asmscgenwould do. Without this switch, Msc-generator uses themscgenmode only if the chart starts with the textmsc {.--prevent-mscgenβ prevents the chart from being interpreted inmscgenmode. Note that somemscgenattributes and symbols are still recognized. This setting makes conflicting syntax be interpreted as Msc-generator would do. Without this switch, Msc-generator uses themscgenmode if the chart starts with the textmsc {.-Wno-mscgenβ disables warnings for deprecated constructs kept only for backwards compatibility withmscgen. Has no effect with--force-mscgen, in that case no such warnings are emitted anyway.
π Environment variables
MSCGEN_FONTβ can be used to define the default font similar to the-Foption.MSCGEN_FONT_LANGβ can be used to define the default language for fontconfig based systems, similar to the-Loption.MSCGEN_NOFONTβ when set (to any value), Msc-generator draws no text to any output (but considers the place of the text at layout as normally). Useful for testing.MSCGEN_FPSβ when set to a number, the GUI will use it as maximum frames per second. Can be overridden by the--fpsoption. Ignored on Windows, as there frame presentation is synchronized to the refresh of the screen, maxing the FPS to the screen FPS.
π COPYRIGHT π
Copyright Β© 2008-2024 Zoltan Turanyi β and bestie, listen, Msc-generator comes with ABSOLUTELY NO WARRANTY. None. Zero. Nada. π Like, if it breaks it's not on them, fr fr.
But also!! It's free software π, and you're totally welcome to redistribute it under certain conditions β no gatekeeping here. Wanna see the receipts? Just type:
msc-gen -l
and the details are all yours. slay. β¨
π SEE ALSO π
Okay so the full documentation for Msc-generator lives as a Texinfo manual π (yes, really, Texinfo is iconic in its own vintage way, iykyk). If the info and Msc-generator programs are properly installed at your site, then running:
info msc-gen
gives you access to the complete manual. π«Ά Go off, read the whole thing.
And that's the whole page, bestie!! π This was Msc-generator v8.6.4 (using Deaβ¦) β dated July 2026 β and the manual page is MSC-GENERATOR(1). Mwah. π ππ¦
π¦ where this page comes from
- ubuntu stonking: msc-generator 8.6.4+dfsg-2 Β· AGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms