Re: Proposed: next-generation alignment and adjustment control

2024-06-25 Thread Anton Shepelev
G. Branden Robinson, just quick commentincle on this: > So if "adjustment" is, as I claim, "the widening of > the spaces between words until glyphs abut both the > left and right margins", well, that's clearly not hap- > pening here. No, it is not. What you describe is "both" adjustment,

Re: Documenting a set of functions with -man

2024-06-17 Thread Anton Shepelev
G. Branden Robinson: > People frequently run into trouble because they usually > don't want the text of function prototypes filled, but the > prototypes can also get lengthy, and they don't know how > to make the text adapt to the available terminal width in > the absence of filling. (Short answe

Re: -man fails to use ANSI commands

2024-06-17 Thread Anton Shepelev
G. Branden Robinson to Anton Shepelev: > > This means that one must /set/ rather than unset > > GROFF_SGR to restore the normal nroff behavior. > > This advice, while still applicable to groff 1.22.4, is > becoming stale. Distributors that introduced the > GROFF_SGR Debia

Documenting a set of functions with -man

2024-06-12 Thread Anton Shepelev
Hello, all What is the covenstional way of documenting a set of C functions with -man? Have you any recommendations or examples about typesetting function declaraions, their return types and aruguments in a classic man-page? The .SY macro does not seem to work well for C, because its function de

Re: -man fails to use ANSI commands

2024-06-12 Thread Anton Shepelev
Anton Shepelev wrote to G. Branden Robinson: > > Check your environment for variables named "GROFF_SGR" > > (a Debianism) and "GROFF_NO_SGR". Unset them both and > > try "groff -man -Tutf8" again. > > `export | grep -i sgr' finds nothin

Re: GNU groff in articles

2023-11-21 Thread Anton Shepelev
Jim Hall: > Several weeks ago, I interviewed Dr. Marshall Kirk > McKusick about how he writes his books using groff: > https://technicallywewrite.com/2023/10/13/groffbooks McKusick writes about orphan elimination, end-of- line tweaking, and balancing of text on facing pages. Does that

Re: -man fails to use ANSI commands

2023-11-21 Thread Anton Shepelev
G. Branden Robinson to Anton Shepelev: > > I wonder what Debian user or developer dis- > > liked those SGR sequences emitted by groff... > > Well, here's one of them. > >https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=312935 > > ...with my leng

Re: -man fails to use ANSI commands

2023-11-20 Thread Anton Shepelev
G. Branden Robinson to Anton Shepelev: > > `export | grep -i sgr' finds nothing, unfortu- > > nately. Where else can I look for the reason of > > -man treating my virtual terminal as a printer? > > Once I find it, I will bring it up with the ad- > > minis

Re: -man fails to use ANSI commands

2023-11-19 Thread Anton Shepelev
. Branden Robinson to Anton Shepelev: > > instead of using ANSI control codes, and this has no > > intended effect. How can I cause `-man -Tutf8' to use > > ANSI codes? > > Check your environment for variables named "GROFF_SGR" (a > Debianism) and "GROFF_

-man fails to use ANSI commands

2023-11-19 Thread Anton Shepelev
Hello, all `groff -man -Tutf8' does not seem to handle font styles on my terminal. I have made sure that plain `groff' works as expected: This is .ft B strange .ft R indeed.

Re: groff_mm : problems with .DS

2021-02-21 Thread Anton Shepelev
Damian McGuckin to Anton Shepelev: > As you noticed, that 1.22.4 version of '-mm' solved the > fill-mode problem with '.DS'. > > However, when you use > >.DS 1 >.EQ (X) >... equation >.EN >.DE > > it places put the

Re: groff_mm : problems with .DS

2020-10-25 Thread Anton Shepelev
Damian McGuckin: > The bug is that while > > .DS 1 > > uses the standard indent, > > .DS 1 1 > > does NOT use the standard indent. Let us maybe share some examples of a) the current and b) the expected behavior. This e-mail is for- matted using mm, w

Re: groff_mm : problems with .DS

2020-10-23 Thread Anton Shepelev
Damian McGuckin: > I went back to a very old document using troff and > MM. It is a tutorial on using troff at the macro > package level without needing to know much about > the low level troff. I was contemplating updating > it and putting it out there. > > I am trying to use a display wi

Re: groff_mm : problems with .DS

2020-10-23 Thread Anton Shepelev
Damian McGuckin: > I went back to a very old document using troff and > MM. It is a tutorial on using troff at the macro > package level without needing to know much about > the low level troff. I was contemplating updating > it and putting it out there. > > I am trying to use a display wi

Re: [groff] [Groff] groff MM problem with AU/AT

2019-10-22 Thread Anton Shepelev
I wrote seven years ago: > OK, I have modified the patch (attached). > > But I am not sure how mm is supposed to handle > long signatures if they spread across the page > boundary: should it treat the .FC + .SG combina- > tion as an indivisible keep or not, e.t.c.; so I > did it the si

Re: [Groff] EQN with more symbols

2017-01-16 Thread Anton Shterenlikht
ff_char(7) for the list of symbols: man -t groff_char > somefile.ps Anton

Re: [Groff] PDF doesn't work on Windows

2016-04-30 Thread Anton Shepelev
hj.oertel: > by default groff generates PS, using the flag > -Tps. In Linux you can convert it to PDF using > the ps2pdf tool. Ditto on Windows, just install Ghostscript for this OS: http://ghostscript.com/download/gsdnld.html . -- () ascii ribbon campaign - against html e-mail /\ h

Re: [Groff] grohtml: macro error: RP is not allowed after the first page has started

2016-04-15 Thread Anton Shterenlikht
ce, still the white space between the last 2 words in the longer headers is gone. Perhaps an overflow somewhere? Thank you Anton

Re: [Groff] grohtml: macro error: RP is not allowed after the first page has started

2016-04-14 Thread Anton Shterenlikht
x27;\*(.T'html' .RP This exact command didn't work, but passing a user defined register to groff does work: .if \n[toc] .RP no I now build PostScript with -r toc=1, but not html. Many thanks Anton

Re: [Groff] grohtml: macro error: RP is not allowed after the first page has started

2016-04-14 Thread Anton Shterenlikht
ml Are restrictions on the placement of XS/XE documented somewhere? Thanks Anton

Re: [Groff] grohtml: macro error: RP is not allowed after the first page has started

2016-04-14 Thread Anton Shterenlikht
/doc.1:101: warning [p 2, 5.2i]: can't break line soelim doc.ref | pic | tbl | eqn -Tps:html | pre-grohtml -Dhtmlimg -r troff -ms -Thtml | post-grohtml -Dhtmlimg -r Many thanks for your help Anton

[Groff] grohtml: macro error: RP is not allowed after the first page has started

2016-04-14 Thread Anton Shterenlikht
ull .lf 1 ./doc.1 .\"$Id: doc.1 57 2016-04-13 14:34:10Z mexas $ .\" Copyright (c) 2016 Anton Shterenlikht, The University of Bristol .\" See LICENSE for licensing conditions .RP no .na .hy 0 .EQ delim ## .EN .DA .TL Parallel programming with Fortran 2008 coarrays .AU and so on. Wha

Re: [Groff] grohtml missing in groff 1.22?

2016-04-13 Thread Anton Shterenlikht
#x27;t break line soelim doc.ref | pic | tbl | eqn -Tps:html | pre-grohtml troff -ms -Thtml | post-grohtml I don't understand why it mentions doc.full, when I'm processing doc.ref? doc.ref is made by running refer on doc.full. doc.ref has this as its first line: .lf 1 doc.full Does this pose a problem for grohtml? What else am I doing wrong? Many thanks for all replies Anton

Re: [Groff] grohtml missing in groff 1.22?

2016-04-13 Thread Anton Shterenlikht
So how do I use grohtml? As groff -Thtml? Using groff -Thtml -V shows me this pipeline: soelim doc.1 | pic | tbl | eqn -Tps:html | pre-grohtml troff -ms -Thtml | post-grohtml What if I have a file that has already been processed by soelim and refer? What does -Tps:html mean? Thanks Anton

[Groff] grohtml missing in groff 1.22?

2016-04-13 Thread Anton Shterenlikht
ntact the FreeBSD groff maintainer, should a separate grohtml binary be built as part of groff-1.22? Thanks Anton

Re: [Groff] help debug pdfmark, pdfroff, PSPIC document

2016-03-01 Thread Anton Shterenlikht
>On 26/02/16 15:56, Anton Shterenlikht wrote: >> I've a document that is built with pdfroff. >> I use mspdf macro package and also PSPIC. >> >> This results in a document with 3 extra >> pages after the cover page, where all PostScript >> files, mention

[Groff] help debug pdfmark, pdfroff, PSPIC document

2016-02-26 Thread Anton Shterenlikht
ll my sources are at: https://sourceforge.net/p/coarrays/svn/HEAD/tree/head/doc/ Is my cover.ps wrong? Or perhaps pdfmark is incompatible with pspic? Please advise Thank you Anton

Re: [Groff] pdfmark XN help

2016-02-03 Thread Anton Shterenlikht
Hi Keith, Does pdfroff + mspdf understand PSPIC? When I use .PSPIC, the image appears twice - once where it should appear, and second time between the cover and TOC. Is there any other way to add images when using pdfroff + mspdf? Many thanks Anton

Re: [Groff] pdfroff: does spdf work well with RP?

2016-01-29 Thread Anton Shterenlikht
cover page, because ms' default TL, AU, AI, RP do not work well together with pdfmark? Thank you Anton

[Groff] pdfroff: does spdf work well with RP?

2016-01-29 Thread Anton Shterenlikht
file? Thanks Anton

Re: [Groff] pdfroff 1.22 calls groff 1.19 -help

2016-01-29 Thread Anton Shterenlikht
uality of packages is really, >really regrettable. Thank you. I got it to work. Are you saying this is something that should be properly fixed in the FreeBSD groff package? If so, I'll submit a PR for the port maintainer to have a look. Anton

[Groff] pdfroff 1.22 calls groff 1.19 -help

2016-01-29 Thread Anton Shterenlikht
usr/local/bin/pdfroff -mspdf z.1 > z.pdf troff: fatal error: can't find macro file spdf troff: fatal error: can't find macro file spdf $ I can't see anything relevant in pdfroff man page. Please help Thanks Anton

Re: [Groff] pdfmark XN help

2016-01-29 Thread Anton Shterenlikht
combine XN with adding reference links? Thanks again Anton

Re: [Groff] pdfmark XN help

2016-01-29 Thread Anton Shterenlikht
roff/1.22.2/tmac/spdf.tmac $ Using groff directly seems to work: $ /usr/local/bin/groff -Tpdf -ms -mpdfmark z.1 > z.pdf $ Am I using pdfroff wrong? Or is this some misconfig on my system? Thank you Anton

[Groff] pdfmark XN help

2016-01-27 Thread Anton Shterenlikht
The intro says that this document was produced with groff-1.19.1. So I wanted to ask, is pdfmark still maintained, or is it abandoned? Or perhaps there is an updated pdfmark.pdf somewhere? XN is defined in spdf.tmac, but I lack the skills to understand it. Please help/advise Thanks Anton

Re: [Groff] Requesting help for debugging groff build fail on NetBSD

2015-11-04 Thread Anton Shterenlikht
Carsten This is my FreeBSD build log: http://eis.bris.ac.uk/~mexas/groff1.22.2-freebsd.log Perhaps if you compare it with yours, you'll be able to narrow down the problem. Anton

Re: [Groff] Requesting help for debugging groff build fail on NetBSD

2015-11-04 Thread Anton Shterenlikht
http://svnweb.freebsd.org/ports/head/textproc/groff/ I can post the build log if it helps. (There should be some available online already, from FreeBSD package cluster, but perhaps they leave only broken build logs). Anton

Re: [Groff] Cannot understand this error from prfroff

2015-10-26 Thread Anton Shterenlikht
>So, having read the friendly manual, I decided to start working on my book.= > I wrote the following: > >.RP no >.TL >A Stranger World >.AU >Koz Ross >.AB no I think you need .AE after .AB. Anton

Re: [Groff] Trouble switching to groff, macro gives syntax error...

2015-09-16 Thread Anton Shterenlikht
Ralph, thank you This was a very useful Unix tutorial. Thanks Anton

Re: [Groff] Trouble switching to groff, macro gives syntax error...

2015-09-16 Thread Anton Shterenlikht
t occurs when sed closes its stdin, nroff's stdout, and how that >ripples back through the pipeline, causing yes(1) to stop? No, I don't. This really was my question. >From your answer I see it's not trivial. Thanks Anton

Re: [Groff] Trouble switching to groff, macro gives syntax error...

2015-09-16 Thread Anton Shterenlikht
2 a 2 a 2 a 2 a 2 a 2 a 2 a 2 a 2 a 2 a 2 a 2 a 2 a 2 a 2 a 2 a 2 a 2 a 2 a 2 a 2 a 2 a 2 a 2 a 2 a 2 a 2 a 2 a 2 a 2 a 3 a 3 a 3 a 3 a 3 $ Anton

Re: [Groff] How *not* to print References with -ms?

2015-09-10 Thread Anton Shterenlikht
*biblio-start-hook .\".rm REFERENCES .so j.ref .so r.ref .so c.ref .so p.ref .NH 2 So I don't understand why I get different behaviour between the big and a test documents. Anyway, many thanks for your help. Anton

[Groff] How *not* to print References with -ms?

2015-08-27 Thread Anton Shterenlikht
each file with references by refer separately. Then I use soelim to put together a single document. Then I use groff -ms on it. Thanks Anton

Re: [Groff] is .NP still in ms?

2015-02-04 Thread Anton Shterenlikht
>From keith.d.marsh...@ntlworld.com Wed Feb 4 06:06:14 2015 > >On 03/02/15 12:05, Anton Shterenlikht wrote: >> In the "UNIX processing handbook", 1988, there is a mention of .NP >> macro for ms macros. > >I assume you mean the reference on page 105, (in th

[Groff] is .NP still in ms?

2015-02-03 Thread Anton Shterenlikht
recognised macro requests? Is there an option to issue warnings for all not recognised requests? Thanks Anton

Re: [Groff] multiple lists of references in a document

2015-01-22 Thread Anton Shterenlikht
wonder if this is related. Will discuss with the FreeBSD psutils port maintainer. Thanks again Anton

[Groff] SOLVED: WAS: Re: multiple lists of references in a document

2015-01-22 Thread Anton Shterenlikht
1 > z.ps >$ cp z.ps z1.ps >$ diff z.ps z1.ps >$ psmerge -ozz.ps z.ps z1.ps > >z.ps: http://eis.bris.ac.uk/~mexas/z.ps >zz.ps: http://eis.bris.ac.uk/~mexas/zz.ps > >This is on FreeBSD 10.1-STABLE amd64, with >$ pkg info -xo groff psutils >groff-1.22.2_1 textproc/

[Groff] multiple lists of references in a document

2015-01-22 Thread Anton Shterenlikht
1.22.2_1 textproc/groff psutils-1.17_4 print/psutils I'd be grateful for any advice Thanks Anton

Re: [Groff] conditionals inside a table?

2014-12-05 Thread Anton Shterenlikht
e values may be given as > fractional numbers; however, fractional basic units are always rounded > to integers. > : > ((the available units explained)) Thank you. Is this included into any of the man pages. I tried to find, but couldn't, but I haven't searched all of groff man pages. Many thanks Anton

Re: [Groff] conditionals inside a table?

2014-12-05 Thread Anton Shterenlikht
4000 and if you leave u off it will >be evaluated in en's (of the order of 500 feet!). I confused stings with number registers. .nr n1 2i .ds s1 2i gives, for a device unit of 72000 n1=144000 s1="2i" Then \[n1]u is in units evaluating to 2 inches again, and \[s1] is just 2 inches. So it seems using strings is more natural. Many thanks Anton

Re: [Groff] conditionals inside a table?

2014-12-05 Thread Anton Shterenlikht
r; lw(\n[c1]u) lw(\n[c2]u) lw(\n[c3]u) lw(\n[c4]u) lw(\n[c5]u). Thanks Anton

[Groff] conditionals inside a table?

2014-12-04 Thread Anton Shterenlikht
i) lw(0.2i) lw(1i) lw(5i) lw(3i). However, it seems tbl doesn't understand this: tbl:wish.1:12: `.' not last character on line tbl:wish.1:12: giving up on this table Please advise Thanks Anton

Re: [Groff] ms .AB/.AE abstract loger than a page = macro error: cover sheet overflow

2014-09-05 Thread Anton Shterenlikht
>From ra...@inputplus.co.uk Fri Sep 5 11:38:30 2014 > >Hi Anton, > >> Of course the point of an abstract is to fit on one page. >> However, it is always good to know the rules exactly. >> So is ms supposed to behave in this way? > >It only has code to

[Groff] ms .AB/.AE abstract loger than a page = macro error: cover sheet overflow

2014-09-05 Thread Anton Shterenlikht
. However, it is always good to know the rules exactly. So is ms supposed to behave in this way? Thanks Anton

Re: [Groff] .mk/.rt not work across a page?

2014-09-04 Thread Anton Shterenlikht
m nor theirs (with "u" at the end) work. I guess this is because this feature is used to affect vertical position on a single page, not across pages. Anton

Re: [Groff] .mk/.rt not work across a page?

2014-09-04 Thread Anton Shterenlikht
>From ra...@inputplus.co.uk Thu Sep 4 12:49:40 2014 > >Hi Anton, > >> Also, in latex figures are treated as floats and the text can move >> before the figure, even if it's later than the fiture in the src, if >> there is some space left on the previous page, a

[Groff] .mk/.rt not work across a page?

2014-09-04 Thread Anton Shterenlikht
vious page, and the figure does not fit. I'm using ms and with simple .PS/.PE I cannot achive this behavior. Again, this might be the intended behaviour. In that case, what is the strategy to minimise unused space at the bottom of the pages? Thanks Anton

Re: [Groff] unquoted escape warning

2014-07-31 Thread Anton Shterenlikht
created even without the double quotes. Thank you Anton

[Groff] unquoted escape warning

2014-07-31 Thread Anton Shterenlikht
nu = lambda over { 2 ( lambda + mu ) } .EN What's the problem? Thanks Anton

Re: [Groff] \[-+] not available? why?

2014-07-30 Thread Anton Shterenlikht
To me .char \[-+] \f[S]\v'.05v'\z+\v'-.3v'\-\v'.3v'\v'-.05v'\f[] looks better vertically aligned, but it's just a bikeshed. Many thanks for all replies. Anton

Re: [Groff] \[-+] not available? why?

2014-07-29 Thread Anton Shterenlikht
moment. This is good, although it's a bit lower on the line than \[+-]. Anyway, with your example and with the UNIX Text Processing book, I'll be able to fine-tune it. Many thanks Anton

Re: [Groff] \[-+] not available? why?

2014-07-29 Thread Anton Shterenlikht
ot be known, they must be opposite for a and b. Yes, I use Postscript output. As far as I understood from Werner's reply, this symbol is now available via the PS driver. Anton

Re: [Groff] \[-+] not available? why?

2014-07-29 Thread Anton Shterenlikht
plus minus you can also use \[+-]. But \[-+] gives warning, and the groff_char(7) man page entry for this symbol is not clear to me. Anton

[Groff] \[-+] not available? why?

2014-07-29 Thread Anton Shterenlikht
I'm looking at groff_char(7) and see N/A \[-+]uni2213 u2213 or when I try using it: full.1:5686: warning: can't find special character `-+' How can I access the "minus plus" symbol? Thanks Anton

Re: [Groff] Three topics related to images

2014-06-20 Thread Anton Shterenlikht
I 4i left.eps 1i .rt .PSPIC -I 5i right.eps 1i .rt .PSPIC -I 6i left.eps 1i groff -ms -mpspic z.1 > z.ps The result: http://eis.bris.ac.uk/~mexas/z.ps Anton

Re: [Groff] bold greek, e.g. sigma ?

2014-06-03 Thread Anton Shterenlikht
are named >you may need to create a custom map file for afmtodit >and encoding file for grops.) > Thanks, I'm not so desperate... Anton

[Groff] bold greek, e.g. sigma ?

2014-06-03 Thread Anton Shterenlikht
Is it possible to have bold greek letters? Simply using .EQ bold sigma .EN doesn't seem to work. Please advise Thanks Anton

[Groff] a recent technical book in *roff - very impressive

2014-04-01 Thread Anton Shterenlikht
do it so well, it's certainly a motivation for me to invest some time in learning groff and related tools. Anton

Re: [Groff] ms TOC wanting - new macro - comments?

2014-03-20 Thread Anton Shterenlikht
I sent this to the list yesterday, but seems it didn't reach it, so trying to send again. ms table of contents (TOC) facilities are poor. The groff manual agrees with me. Moreover it suggests that NH macro should be modified [1]. Here's an easy macro that helps. Any comments? An

Re: [Groff] Mission statement, second draft

2014-03-20 Thread Anton Shterenlikht
is the easiest route for new users to prepare standard technical documents. The authors need know nothing about raw tex at all. Anton

Re: [Groff] gnuplot

2014-03-20 Thread Anton Shterenlikht
- >James Cloos OpenPGP: 1024D/ED7DAEA6 http://eis.bris.ac.uk/~mexas/zz.txz $ tar xvf zz.txz x z.1 x z.data x z.pic x z.plot x z.ps $ gnuplot z.plot $ groff -ep -ms z.1 > z.ps $ z.data is the data z.plot is a gnuplot to plot z.data z.pic is the resulting plot z.1 is a groff file z.ps is the resulting Postscript Anton

Re: [Groff] automatic equation numbering

2014-03-17 Thread Anton Shterenlikht
qns. (1a), (1b) ...". What am I missing? Also, how exactly do I run groff twice to resolve the first, forward-looking reference? Should I take care myself that some cross-referencing information is saved to files? Or is this done automatically with some command line options with ms? Many thanks Anton

[Groff] automatic equation numbering

2014-03-15 Thread Anton Shterenlikht
this with mm EC + mmroff, but it's very clunky. So I wanted to ask - what is the easiest way of achieving equation (or table, figure, etc. ) cross-referencing with groff? I've only tried mm and ms, but will try other macro packages if advised. Thanks Anton

Re: [Groff] Where do we go from here?

2013-11-17 Thread Anton Shepelev
Peter Schaffter: > Werner, you have fulfilled the role perfectly, and > I know I speak for everyone on the list when I say > you have earned not only our respect, but our ad- > miration. Being a lead developer entails qauli- > ties that go far beyond coding skills, not the > least of which

[Groff] Typesetting dashes

2013-11-17 Thread Anton Shepelev
Hello all, I should like to typeset em dashes surrounded by thin, say 1/4th en, spaces. To prevent a dash from starting a new line, the first space must be un- breakable. The second one must be discardable. Both spaces must be unstretchable. How to do it? The '\h' describption re

Re: [Groff] rationale for italic correction mechanism?

2013-11-14 Thread Anton Shepelev
Tadziu Hoffmann: > Thanks! Out of curiosity, I just ordered a used > copy. You should not have hurried: http://www.gpo.gov/fdsys/pkg/GPO-STYLEMANUAL-2008/pdf/GPO-STYLEMANUAL-2008.pdf > The book costs 12 Euros, and shipping from Aus- > tralia costs 18 Euros. :-| I had to order Clarke E

Re: [Groff] multiple postscript images in one figure?

2012-12-10 Thread Anton Shterenlikht
rlap. Cool, that's exactly what I was looking for. Many thanks. I'll now refer to my "Unix Text Processing" (1987) by Tim O'Reilly, D. Dougherty for more details of these two commands. Thanks again Anton

[Groff] multiple postscript images in one figure?

2012-12-10 Thread Anton Shterenlikht
caption for all (a)-(d). I know how to do it with latex, but not with groff. Thanks Anton

Re: [Groff] Get margin of a Postscript file

2012-12-10 Thread Anton Shepelev
Jerome Frgacic: > Here is the context : I'm student in Law and next > year I will have to write a memorandum. Neverthe- > less, this memorandum must be in MS Word format > which displease me greatly. This format is im- > posed to verify if we respect the instructions, > and especially

Re: [Groff] Included files are not preprocessed

2012-12-10 Thread Anton Shepelev
Werner LEMBERG: > Indeed. However, it's just a matter of taste to > handle funny preconv and soelim cases with either > >soelim | groff -K ... > > (current groff) or with > >preconv -e... | groff -s ... > > (patched groff) It didn't occur to me. There's no need to patch it then... -

Re: [Groff] Included files are not preprocessed

2012-12-05 Thread Anton Shepelev
Ralph Corderoy: > > mmst1: tr -d 15 < [infile]| groff -s -Kcp1251 -t > > -Tutf8>[outfile].txt > > mmst2: soelim [infile] | tr -d 15 | groff-Kcp1251 -t > > -Tutf8>[outfile].txt > > > > With the included test file (test.mm) the first > > call seems to

Re: [Groff] Macro packages

2012-10-04 Thread Anton Shterenlikht
till use latex, but for mainly text and image documents groff is a good alternative. Anton

Re: [Groff] Formatting mail with Groff

2012-09-28 Thread Anton Shepelev
trebol: > I've seen that hyphenation in mail is a bad idea. Then justified text is the same in that it makes re- formatting difficult. > No other way to prevent multiple pages to .pl > 1000? Another way would be to set up transparent page breaking, i.e. zero vertical margins, no keep

Re: [Groff] Macro packages

2012-09-27 Thread Anton Shepelev
trebol: >Thanks Aton.I think it's good that the > hyphenation character is independent of the rest > of the glyph's assigna- tions. For now I'll let > you rest of my newbie's questions, and I will con- > tinue studying how groff works. But I think in > a short time I'm go

Re: [Groff] Macro packages

2012-09-27 Thread Anton Shepelev
trebol: > [...] so I'm going to follow the Anton's advise. I see you are still having \(hy as the hyphenation character. You can specify a different character, the ASCII '-' for example, in unicode.tmac or else- where using the .shc request: .shc - -- () ascii ribbon campaign - agains

Re: [Groff] Macro packages

2012-09-24 Thread Anton Shepelev
re\groff\1.20.1\tmac\ > > unicode.tmac. This file is automatically loaded > > by the utf8 device. > > Thanks Anton. There is a way to control this be- > havior without changing this file? There is a > danger of create a misunderstanding with a actual- > ization. You c

Re: [Groff] Macro packages

2012-09-24 Thread Anton Shepelev
trebol: > I can use -Tascii, but as you may have noticed, > I'm not a English speaker, so I need send utf8 > mail, and formating with groff makes the work > easy. Any advice? Comment the mappings in share\groff\1.20.1\tmac\ unicode.tmac. This file is automatically loaded by the

Re: [Groff] which refer(1) field to use for edition

2012-09-14 Thread Anton Shterenlikht
From groff-bounces+mexas=bristol.ac...@gnu.org Fri Sep 14 01:02:45 2012 Anton -- On Thu, Sep 13, 2012, Anton Shterenlikht wrote: > I need to add book edition to a refer database entry. > There seems to be no dedicated edition field. Which &

[Groff] which refer(1) field to use for edition

2012-09-13 Thread Anton Shterenlikht
I need to add book edition to a refer database entry. There seems to be no dedicated edition field. Which field should I use? Thanks

Re: [Groff] Indexing these days with groff

2012-09-11 Thread Anton Shterenlikht
ng example. Cool! I'll give troff2page a go. Anton

Re: [Groff] does mom understand refer %X field?

2012-09-07 Thread Anton Shterenlikht
macro packages, like mm, ms, etc.? Thanks Anton

[Groff] help with mom bibliography

2012-09-06 Thread Anton Shterenlikht
; The output document contains no bibliography at all. There's only number 1 after the word "thesis", and even that is not superscript. Thanks Anton

[Groff] does mom understand refer %X field?

2012-09-06 Thread Anton Shterenlikht
k you Anton P.S. I like this groff thing more and more!

[Groff] refer does not work with mm?

2012-08-30 Thread Anton Shterenlikht
refer(1) man page suggests that refer output is incompartible with mm. My quick check shows that ms and me indeed work (produce the references section with all references), but mm does not. Is that correct? So if I want to use refer, I have to use either ms or me, right? Thanks Anton

Re: [Groff] how not to number the cover page? and not to show page number on the front page?

2012-08-23 Thread Anton Shepelev
I wrote: > My other suggestion... Correction: It is actually Anton Shterenlikht's, while I only proposed a way to implement it. -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments

Re: [Groff] how not to number the cover page? and not to show page number on the front page?

2012-08-23 Thread Anton Shepelev
Keith Marshall: > > Thanks, I missed the piece about hd*sect-pg. > > My version is definitely better then. > > Except for one fairly important issue: you are ad- > vocating exposure of what *should* be a private in- > terface, (according to naming convention), and is > thus *entirely* spe

Re: [Groff] how not to number the cover page? and not to show page number on the front page?

2012-08-23 Thread Anton Shepelev
Ralph Corderoy: > > Yes, and this is exactly what hd@set-page does. > > The documentation doesn't say that P is not > > read-only. I consider hd@set-page as a setter > > of the field P and therefore preferable to set- > > ting P directly. If it was not so trivial my > > mehtod would

Re: [Groff] how not to number the cover page? and not to show page number on the front page?

2012-08-23 Thread Anton Shepelev
Keith Marshall: > > I agree, but I didn't find a public mechanism to > > do that. > > Does the attached achieve the desired effect? > Agreed, it isn't intuitive: it's very picky about > the placement of the reassignment of register 'P', > and you have to set it to less than zero for it, >

Re: [Groff] how not to number the cover page? and not to show page number on the front page?

2012-08-23 Thread Anton Shepelev
Anton Shterenlikht: > Now that I sorted out my empty lines, I get the > cover page with no number. > > I tried groff -n option, but it seems to change > the number of only the cover page, which is not > shown anyway. The numbers of other pages are unaf- > fected.

Re: [Groff] how not to number the cover page? and not to show page number on the front page?

2012-08-23 Thread Anton Shterenlikht
From anton@gmail.com Thu Aug 23 14:43:42 2012 Keith Marshall: > > That is solved by (thanks to Anton Shepelev > ton@gmail.com>) > > > > .hd@set-page -1 > > > But that isn't really a

  1   2   3   4   >