summaryrefslogtreecommitdiff
path: root/man/man.xsl
AgeCommit message (Collapse)AuthorFilesLines
2023-06-25man: add three blank lines, to separate the sections a little betterBenno Schulenberg1-0/+3
2023-06-23man: fix the last lines of the various tablesPeter Hutterer1-8/+6
For the Layouts, we use the XSL position()!=last() check to add the divider lines for all but the last element - this gets rid of the empty box after the custom layout. Also remove a superfluous empty lines at the top of each indidviual country code box. For all the other tables, remove the added line break before .TE which removes the last empty line in each table. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-06-23man: remove empty trailing cells from rowsPeter Hutterer1-3/+3
This __ line is actually the specifier for how many cells are in the table - our tables all have two elements only so let's shorten this and thus have the tables waste less space on-screen. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-06-22man: expand the option name min width to 25Peter Hutterer1-1/+1
This way the tables align a little bit nicer in the man page instead of every group having its own alignment. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-06-22man: use text entries for the option descriptionsPeter Hutterer1-4/+4
These may exceed the terminal width by quite a bit, so let's add those as text entries that can be wrapped. To have this work properly, we need to expand ('x') this column into the available space - whatever roff decides that space is. This way at least it doesnt try to wrap after single word or two. Output of a table entry changes from foo some description to this: foo T{ some description T} Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-06-22man: shut up line width warnings in the tablesPeter Hutterer1-3/+3
This is a GNU extension but supported (if ignored) by the BSD implementation according to [1]. Either way, it means we can pipe our man page into grep without excessive warnings. [1] https://man.openbsd.org/tbl.7 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-06-22man: drop the non-existing "left" option from the man tablesPeter Hutterer1-3/+3
This option doesn't seem to exist: tbl:<standard input>:1030: unrecognised global option 'left' Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2022-07-06man: expand the man page to mention libxkbcommon and the custom layoutPeter Hutterer1-2/+26
This may save us some typing in issue reports. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2022-07-06man: drop the custom man suffixesPeter Hutterer1-3/+3
Everyone's using the same numbers now. Welcome to the future. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2020-06-19man: swap __ for @ in the sed substitutionsPeter Hutterer1-12/+12
meson cannot replace __foo__ easily, it's built to substitute only @foo@. So as prep-work let's switch to that notation but add an extra sed to swap that back to the __foo__ notation for autotools. That one can't switch away from that either because it relies on MAN_SUBST which is filled in by xorg-macros.m4. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-06-13Use XSL to generate man page from the rules XMLPeter Hutterer1-0/+137
Generate a man-page from the evdev.xml through the xslt/man.xsl stylesheet. Adds a requirement on the xorg util-macros and xsltproc. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>