As far as I got, by playing around, the '\c' doesn't matter. It seems
that the additional page comes from an additional call to the
default page break.
Using a custom trap, just disable it in your end trap:
8<
.\"
.\" run: groff em-test.groff > em-test.ps
.\"
.nr PAGE-trap 20c
.nr
I see an argumentation of user model against the system model point of
view. That will never do, because they are different.
Secondly, you are fighting about the name (identifier) of an escape
sequence using arguments valid of an description. That doesn't make
sense.
Generally the name 'zero
I did three things:
1) wrapped the what_should_become_a_string inside a custom object [].
(See the braces of the macro.) This makes the 'if' statements (and
more) possible.
2) I placed those object directly, as you can do with any graphic object
(incl. strings) in pic. Annotation labels are
.PS
define label_for {[
if $1 == 0 then { "Entête Ethernet" } else {
if $1 == 1 then { "Entête IP"} else {
if $1 == 2 then { "Entête TCP" } else {
if $1 == 3 then { "Donnees applicatives" } else {
} } } }
]}
w = 3 ; h = 2; margin = .2 ; tr = 2 *
On Sat, 28 Nov 2020 01:32:33 +0100
Tadziu Hoffmann wrote:
> > eqn does well, however .PS/.PE doesn't seem to be processed by
> > [g]pic on inserting.
> >
> > I compiled using: groff -e -p test.groff > test.ps
>
> The eqnrc is inserted by eqn, but in the pipeline run by
> "groff -e -p",
On Fri, 27 Nov 2020 15:17:49 +0100
Tadziu Hoffmann wrote:
> > edit: ~/.groff/eqnrc
> > define eqnrc_version % 0.0 %
> >
> > and got "define eqnrc_version % 0.0 %" literally included on top of
> > the created .ps-file.
>
> Despite the name, eqnrc can contain all sorts of troff input,
>
On Fri, 13 Nov 2020 13:43:56 +0100
Tadziu Hoffmann wrote:
> > element of set is '\[mo]'. Would it still be logical to expand
> > the synax for eqn to add it as a keyword?
>
> I would just put something like
>
> define member % type relation \[mo] %
> define emptyset % \[es] %
>
>
On Wed, 22 Aug 2018 11:55:26 -0400
Peter Schaffter wrote:
> On Tue, Aug 21, 2018, Holger Herrlich wrote:
> > > On Mon, 20 Aug 2018 15:24:39 -0400
> > > Peter Schaffter wrote:
> >
> > > set and change every applicable type parameter: family, font,
On Mon, 20 Aug 2018 23:22:44 +0200
Tadziu Hoffmann wrote:
> > A macro package does not hide the controls any more than writing
> > macros yourself does. A macro package aggregates the requests
> > needed to perform typesetting functions for convenience, not
> > opacity.
>
> Well said.
On Mon, 20 Aug 2018 15:24:39 -0400
Peter Schaffter wrote:
> set and change every applicable type parameter: family, font, size,
> colour, leading, spacing, indent, quad, fill, and vertical
> placement.
>
> In other words, mom expands creative options rather than limiting
> them. That's the
hically).
Sorry again, Holger
On Thu, 16 Aug 2018 11:55:59 +0200
Holger Herrlich wrote:
> On Sat, 11 Aug 2018 18:12:18 +0200
> Ingo Schwarze wrote:
>
> [context removed however]
> > Oh, and why don't you just pick one of the existing macro sets?
>
> Here are some r
On Sat, 11 Aug 2018 18:12:18 +0200
Ingo Schwarze wrote:
[context removed however]
> Oh, and why don't you just pick one of the existing macro sets?
Here are some reasons to avoid frameworks like Latex or mom. (You may
ask yourself why I mention Latex as well and further on talk about
BTW,
In the case of jpeg-files I finally switched to gimp's fu-script to
convert pictures to groffable eps-files. Gimp seems to me as of very
high quality.
I attached a pbm version of the script still leaving jpeg artifacts as
comments. Further info of fu-script functions is provided by gimp's
Thank you, that single line does the job.
Lg Holger
On 03/30/2012 12:30 AM, Tadziu Hoffmann wrote:
However, is it possible to fix it at the groff level.
I don't think so.
Have to correct myself. If device escapes count as at the
groff level then it is possible with the following
Hi,
I have a problem setting a line of rotated text (test.groff). Output
device is post script.
Here is some processing (test.sh) that all succeeds but finally on a
call to ps2pdf the page containing the rotated line itself is rotated by
180deg.
Reasons unclear. A preceeding void helped,
On 02/17/2012 02:45 PM, maouinin wrote:
\h'\\nwu'\v'1m'\\*n\v'-1m'\h'\\nwu'\\$2
father on:
\*n \ recalls string of name n
\v'-1m' \ vertical move up one (1) line (m), this is a value.
Note that \v for instance will interpret values by a default unit, used
in absence of one given. Thereas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
groff-file:
.TS
center box;
l s s
l c s s c s s
l |6 n0.5i c1 n |6 n1 c1 n.
Format DIN-A
.sp .5
mm in
_
DIN-A0 841 \[mu] 118933.11 \[mu] 46.81
DIN-A1 594 \[mu] 841 23.39 \[mu] 33.11
DIN-A2 420 \[mu]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
How about floating point distances. I got an error, cause of .
finalizes the preamble. (Of cause one may use 0 distances at the
preamble and put horizontal spaces in the table data.)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
18 matches
Mail list logo