repo.or.cz
/
troff.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
dpost.ps: increase linewidth to match groff
[troff.git]
/
eqn
/
mark.c
blob
f02e677942141c732151dfb09d222f145196c7f3
1
#include
"e.h"
2
3
void
mark
(
int
p1
)
4
{
5
markline
=
1
;
6
printf
(
".ds %d
\\
k(09
\\
*(%d
\n
"
,
p1
,
p1
);
7
yyval
=
p1
;
8
dprintf
(
".
\t
mark %d
\n
"
,
p1
);
9
}
10
11
void
lineup
(
int
p1
)
12
{
13
markline
=
2
;
14
if
(
p1
==
0
) {
15
yyval
=
salloc
();
16
printf
(
".ds %d
\\
h'|
\\
n(09u'
\n
"
,
yyval
);
17
}
18
dprintf
(
".
\t
lineup %d
\n
"
,
p1
);
19
}