wml::fmt::xtable(3)

πŸ“¦
version 2.32.0 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing

πŸ’– wml::fmt::xtable β€” HTML tables through Advanced Syntax πŸ’–

okay bestie, welcome to wml::fmt::xtable(3), straight outta the EN Tools manual set ✨ this one is short, sweet, and honestly kinda iconic β€” it's your backstage pass to making HTML tables without losing your entire mind πŸŽ€


✨ SYNOPSIS ✨

like, here's the whole vibe in one code block, no cap:

#use wml::fmt::xtable

<xtable table-options>
  initial text (e.g. <caption> ... </caption>).
  (X, Y) options for cell (X, Y)
  text for cell (X,Y)...
  ((X,Y)) options for header cell X,Y
  text for header cell (X,Y)...
</xtable>

look at that. she's giving organized chaos. we love to see it πŸ’…


🌸 DESCRIPTION 🌸

so here's the tea πŸ“: this thing is literally just a WML wrapper. that's it. that's the whole job. it exists to interface with the freetable(1) utility, which takes its advanced table syntax and converts it into plain, boring, regular HTML table markup code 🌈

want the actual deets? go read freetable(1). she's the main character here, this page is just the group chat forwarding her message 🫢


πŸ’€ CAVEATS πŸ’€

okay so this is the part where we get serious for two seconds, because this one will bite you 🧚

an error gets reported if the xtable body contains ePerl code. not a vibe. not a drill. 😭

so, to survive:

  • the special variable IPP_NOSYNCLINES has to be written onto #include lines (go check wml_p1_ipp(1) for that one πŸ‘‘)
  • and macros expanded by mp4h(1) must not print ePerl code. periodt. πŸ’…
fr fr, do not skip this. the error is real and she is not shy about showing up.

πŸ‘‘ AUTHOR πŸ‘‘

the icon, the legend, the whole entire moment:

  • Ralf S. Engelschall
  • rse@engelschall.com
  • www.engelschall.com

we stan 🫢✨


πŸ¦‹ REQUIRES πŸ¦‹

  • Internal: P1, P2, P3, freetable (PATH)
  • External: --

(the External list said nothing. she's quiet. mysterious. we respect it πŸ’œ)


⭐ SEE ALSO ⭐

iykyk 😌


okay that's the whole page bestie, tysm for reading πŸ’– this lil gem is from the EN Tools crew, dated 2020-11-29 β€” and yes, that's the same date stamped in the footer, she keeps it consistent 🌸 mwah, go build some tables πŸŽ€πŸ’…

πŸ“¦ where this page comes from