groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff] grohtml peculiarities


From: Werner LEMBERG
Subject: [Groff] grohtml peculiarities
Date: Fri, 12 Jul 2002 22:49:07 +0200 (CEST)

Gaius,


in your last (original) patch there was the following snippet for
an-old.tmac:

  .  ie \\n[an-html] \{\
  .    in 0
  .    ll -\\n[an-margin]u
  .    if !\\n[an-div?] .di an-div
  .  \}
  .  el \{\
  .    if !\\n[an-div?] .di an-div
  .    in 0
  .    ll -\\n[an-margin]u
  .  \}

which I've simplified to

  .  in 0
  .  ll -\\n[an-margin]u
  .  if !\\n[an-div?] .di an-div

Theoretically, the `ie' and `el' parts should behave identically -- a
diversion only stores the output, and it shouldn't matter whether the
line length and indentation is changed immediately before or after the
start of the diversion.  Apparently, the situation is different for
grohtml.  You know that both .ll and .in emit special HTML tags, I
know that also, but probably nobody else knows it.  So please document
(in groff.texinfo) which requests do something special in html mode
together with examples to demonstrate its correct usage.


    Werner

reply via email to

[Prev in Thread] Current Thread [Next in Thread]