bug-groff
[Top][All Lists]
Advanced

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

[bug #61437] [PATCH] Fix definition of movements '\d' and '\r'


From: G. Branden Robinson
Subject: [bug #61437] [PATCH] Fix definition of movements '\d' and '\r'
Date: Wed, 10 Nov 2021 17:55:18 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #4, bug #61437 (project groff):


[comment #3 comment #3:]
>   My patch is not invalid, but the invalidation is.

You don't say how.

>   The current documentation claims for troff:
> 
> 1) \d means \v'0.5v'
> 
> 2) \r means \v'-1v'
> 
>   How does the example proof that?

Did you interpret it, or convert it to PostScript and inspect the result?

> a) To make things clear, explanation should have been added
> to the output of each line

I'm working on a rewrite of groff_out(5), but even in its existing state, it
can be followed.  If you want to argue over the magnitude of small movements
in *roff, at some point you're going to have to familiarize yourself with the
device-independent ("intermediate") output format.

> b) A third case is missing, showing the choice the patch makes.

I didn't see any reason to do so.  Vertical motions are generally not made in
ems in typography, as I understand it.

If you won't look at the output, look at the source.

https://git.savannah.gnu.org/cgit/groff.git/tree/src/roff/troff/input.cpp#n2029

https://git.savannah.gnu.org/cgit/groff.git/tree/src/roff/troff/input.cpp#n2159

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61437>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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