Re: [Groff] Inline Images

2010-10-18 Thread Ted Harding
current-point for text insertion is then returned to the position where it was before the above is called. Then you have to work out how you want to get the text to wrap. You might use traps, or (more likely) simply do it by hand-and-eye! Ted. E-Mail: (Ted Harding) Fax-to-email: +44 (0)870 094 0861 Date: 18-Oct-10 Time: 13:20:35 -- XFMail --

RE: [Groff] Re: what about cip

2010-10-21 Thread Ted Harding
're coming from, Doug!). Amongst the list of contents: Cip user's manual: one picture is worth a thousand words Sally A. Browning To access the content, however, you need an ACM account. Ted. E-Mail: (Ted Harding

Re: [Groff] Include PostScript

2010-11-07 Thread Ted Harding
swid" of the new character \[mychar] in whatever context this occurs. Thus \[mychar] will always scale to have the same width as "N" in the current context. You can of course use some other specification for \n[msize] in "\R'msize ...'".

RE: [Groff] tbl bug with nospaces option

2010-11-11 Thread Ted Harding
at the logic has something to bite on: .TS H expand nospaces tab(@); l c r. \fBone @ two @ three\fP .TH 1 @\&@ 3 .TE then all is again fine. (you could put the "\&" anywhere amongst the spaces -- the above with it at the end is just one example). Ted. E-Mail: (Ted Harding) Fax-to-email: +44 (0)870 094 0861 Date: 11-Nov-10 Time: 10:17:41 -- XFMail --

Re: [Groff] labelling and referring

2010-11-29 Thread Ted Harding
Qnxt \\n+[EQno]\\$1 .ds EQnow \\n[EQno]\\$1 An example of what the output from my standard mechanism looks like can be seen at http://www.zen89632.zen.co.uk/R/EM_Aitken/em_aitken.pdf Ted. E-Mail: (Ted Harding) Fax-to-email: +44 (0)870 094 0861 Date: 29-Nov-10 Time: 20:08:56 -- XFMail --

RE: [Groff] Ellipsis and Cdots

2010-12-17 Thread Ted Harding
mething like In the International Phonetic Alphabet A is Alpha, B is Bravo, C is Charlie, \[el] , Z is Zulu (Or you could call it \[...] if you prefer ... )! Hoping this helps, Ted. E-Mail: (Ted Hardi

RE: [Groff] Ellipsis and Cdots

2010-12-17 Thread Ted Harding
to eqn. In practice, I prefer to retain control over the layout as in (for example): for $r ^=^ 1 , 2^ ,^^ldots^^, N$ Ted. On 17-Dec-10 09:18:12, Ted Harding wrote: > On 17-Dec-10 08:28:11, Cedric Sodhi wrote: >> Hello, >> according to man eqn an ellipsis of three subsequent dots will

Re: [Groff] EQN documentation

2011-01-16 Thread Ted Harding
llowing will work: .EQ I bold F ~=~ del phi .EN .EQ I bold F ~=~ grad phi .EN .EQ I define nabla %del% bold F ~=~ nabla phi .EN Hoping this helps! Ted. E-Mail: (Ted Harding) Fax-to-email: +44 (0)870 094 0861 Date: 16-Jan-11 Time: 13:01:49 -- XFMail --

Re: [Groff] EQN documentation

2011-01-17 Thread Ted Harding
, and would of course be freely available (and possibly appropriate for bundling with groff). So stand by. Ted. E-Mail: (Ted Harding) Fax-to-email: +44 (0)870 094 0861 Date: 17-Jan-11 Time: 17:55:39 -- XFMail --

Re: [Groff] EQN documentation

2011-01-17 Thread Ted Harding
ake > the current Groff EQN manpage and add (with my own words) what is > missing as for the traditional Roff EQN commands and the shortcuts such > as del/grad. I'd really dislike to see you doing this all on your own > without having contributed anything. > > > On Mon, Ja

Re: [Groff] EQN documentation

2011-01-20 Thread Ted Harding
m time to time. Comments (off-list if you prefer) welcome! Best wishes to all, Ted. ---- E-Mail: (Ted Harding) Fax-to-email: +44 (0)870 094 0861 Date: 20-Jan-11 Time: 19:04:49 -- XFMail --

Re: [Groff] groff.texinfo - section 5.21 - sentence difficult to

2011-01-22 Thread Ted Harding
suggest "request" rather than "command" (in line with basic groff terminology): "If the optional second argument to de is present it is used as the macro closure request instead of `..'" Ted (Saesneg). E-Mail: (Ted Harding) Fax-to-email: +44 (0)870 094 0861 Date: 22-Jan-11 Time: 11:25:54 -- XFMail --

Re: [Groff] EQN documentation

2011-01-29 Thread Ted Harding
On 20-Jan-11 19:04:53, Ted Harding wrote: > I would welcome comments and suggestions as I proceed, so I > shall be putting the current draft up on my web-page as it > progresses. The latest version is at > > http://www.zen89632.zen.co.uk/Groff/Eqn/eqnguide.pdf > > and it

Re: [Groff] EQN documentation

2011-01-30 Thread Ted Harding
and keep the comments coming! Best wishes to all, Ted. -------- E-Mail: (Ted Harding) Fax-to-email: +44 (0)870 094 0861 Date: 30-Jan-11 Time: 21:50:04 -- XFMail --

Re: [Groff] Misformatting of CR font in PIC macros

2011-02-04 Thread Ted Harding
box, and preserve alignment, use a space in the same font (TR) both times -- like: "\s12\fR \fP\fChash.c\fP" at 1.062,8.721 ljust "\s12\fR Filename\fP" at 1.062,9.096 ljust and *not* # "\s12\fC hash.c\fP" at 1.062,8.721 ljust # "\s12\fR Filename\fP" at

FW: Re: [Groff] Misformatting of CR font in PIC macros

2011-02-04 Thread Ted Harding
Since my message below has not been sent to me by the groff list (after 1 hour), nor has appeared in the archives, I am re-sending it (and taking the opportunity to add a further comment -- se at end). -FW: - Date: Fri, 04 Feb 2011 10:21:35 - (GMT) From: (Ted Harding) To: groff

Re: [Groff] Vertical space around displays in MM

2011-02-04 Thread Ted Harding
at is implied by these variables. Ted. E-Mail: (Ted Harding) Fax-to-email: +44 (0)870 094 0861 Date: 04-Feb-11 Time: 22:10:05 -- XFMail --

Re: [Groff] Graph Spanning Columns

2011-05-14 Thread Ted Harding
rk round this sort of issue, all involving a certain amount of "bare hands" work with groff commands. Hoping this helps, for a start! Ted. E-Mail: (Ted Harding) Fax-to-email: +44 (0)870 094 0861 Date: 14-May-11 Time: 22:55:05 -- XFMail --

Re: [Groff] Creating a table macro

2011-05-18 Thread Ted Harding
and simply creates troff code for what it finds between them. Probably the simplest way to "save some typing" is to use the copy-&-paste functionality of your editor to copy down an existing instance of the table setup lines. Some editors will alow you to defi

Re: [Groff] Creating a table macro

2011-05-18 Thread Ted Harding
( args > 0) \{\ > etc > \} > > to process unknown number of arguments? > > Looking through the mans and docs on while loops in groff, but will not > inquire further if this is not possible. > > Thanks again. > > Chad Roseburg > > > On 05/18/2011 12:

Re: [Groff] Creating a table macro

2011-05-19 Thread Ted Harding
emp after the first call to .Tblone are: .TS allbox tab(#); ce le le le le le. one#two#three#four#five#twentyfive .TE and, after the second call: .TS allbox tab(#); ce le le. eight#nine#ten and eleven .TE -------- E-Mail

Re: [Groff] Is it possible to split macro arguments?

2011-07-02 Thread Ted Harding
string res1 0 0 .ds res2 A4a72 .substring res2 1 1 .ds res3 A4a72 .substring res3 2 3 .ds res4 A4a72 .substring res4 4 4 would give res1 = A, res2 = 4, res3 = a7, res4 = 2. Does this help? Ted. E-Mail: (Ted Harding) Fax-to-e

[Groff] Tips & Tricks: Tables with abutting rules

2011-07-05 Thread Ted Harding
t, and similarly for the right-hand extent. Since the dummy columns are associated with zero-space separation from their neighbours, and have no content, they will have width 0, and thwe vertical rules will be flush left/right. Comments welcome! Best wishes

Re: [Groff] Tips & Tricks: Tables with abutting rules

2011-07-07 Thread Ted Harding
On 07-Jul-11 16:19:28, Ingo Schwarze wrote: > Hi, > > Werner LEMBERG wrote on Thu, Jul 07, 2011 at 02:01:04PM +0200: >> Ted Harding wrote: > >>> There is no 'tbl' option which allows a "no space" to be set in this >>> context. However, th

Re: [Groff] Tips & Tricks: Tables with abutting rules

2011-07-07 Thread Ted Harding
with no content and zero separation, before and/or after, as in .TS tab(#); r0|l r0|l. #left column#right column# .TE (The resulting "dummy" columns are invisible and have zero width). Do you think that this is sufficient? Best wishes, Ted. --

Re: [Groff] Comments affecting groff output?

2011-07-13 Thread Ted Harding
uding the space in col. 17 ' nf . \} . if (2=2) \{ \"Remove this comment including the space in col. 17 ' nf . \} (The trailing "\" is not essential). I agree that multiline conditionals are a bit tricky! Best wishes to all, Te

Re: [Groff] Comments affecting groff output?

2011-07-13 Thread Ted Harding
'pic' code -- without it, one gets unwanted vertical displacements. However, it also means that one can include blank lines in troff input to improve laypout for readability. However, when trying out Anton's code, I had forgotten about my '.blm' defi

[Groff] A trap with 'tbl'!

2011-07-29 Thread Ted Harding
put the entry \n+[lmno] into that column in each row. But I thougt I'd try to be clever ... Best wishes to all, Ted. E-Mail: (Ted Harding) Fax-to-email: +44 (0)870 094 0861 Date: 29-Jul-11 Time: 22:25:56 -- XFMail --

Re: [Groff] A trap with 'tbl'!

2011-07-30 Thread Ted Harding
e of the table. I then got the following code for the example I posted: .vs 5m .ds lmn \Z'\v'-1.5m'\h'-\w'\\n+[lmno]\0\0\0\0\0'u'\\n[lmno]' .nr lmno 0 1 .nr FM \n[FM]+5m .TS H expand tab(#); ce cw(2.0i) ce. Name (in Capitals)#Address#Signature _ .TH .T& |l

Re: [Groff] A trap with 'tbl'!

2011-07-30 Thread Ted Harding
x27;-\w'\\n+[lmno]\0\0\0\0\0'u'\\n[lmno]' was precisely to allow for the current width of \n[lmn] (which, in the present case might go up to 100+, or might not). Best wishes to all, Ted. E-Mail: (Ted Harding) Fax-to-email: +44 (0)870 094 0861 Date: 30-Jul-11 Time: 12:54:31 -- XFMail --

Re: [Groff] A trap with 'tbl'!

2011-07-31 Thread Ted Harding
On 31-Jul-11 13:10:36, Denis M. Wilson wrote: > Hello Ted, > > On Fri, 29 Jul 2011 22:25:59 +0100 (BST) > (Ted Harding) wrote: > >> Greetings All! >> I'm writing to flag up a little trap that one might >> fall into when using 'tbl'. >>

Re: [Groff] A trap with 'tbl'!

2011-07-31 Thread Ted Harding
; worked when I used > .nr VS 5m > .LP > > This is my command line: > groff -ww -t -ms infile > > Denis > > On Sun, 31 Jul 2011 15:19:36 +0100 (BST) > (Ted Harding) wrote: > >> On 31-Jul-11 13:10:36, Denis M. Wilson wrote: >> > Hello Te

Re: [Groff] Using groff & tbl for creating a CV

2011-08-09 Thread Ted Harding
his is going to be a rather lengthy description of a .br task that I had which is so long that groff is complaining about .br the length of the line T} 07/2003-04/2006|Yet Another Company I Worked For _ |The role I had there |T{ .IP - Some more tasks .IP - You will get the idea T} .TE Stand by for further suggestions (from me or others)! Ted. E-Mail: (Ted Harding) Fax-to-email: +44 (0)870 094 0861 Date: 09-Aug-11 Time: 22:28:04 -- XFMail --

Re: [Groff] Using groff & tbl for creating a CV

2011-08-09 Thread Ted Harding
in-line, as in Since \fB05/2006|My Company in Downtown\fP Hoping this helps! And hoping to incite others to contribute ideas! Ted. -------- E-Mail: (Ted Harding) Fax-to-email: +44 (0)870 094 0861 Date: 09-Aug-11 Time: 22:38:55 -- XFMail --

[Groff] Exact column widths in 'tbl'

2011-08-10 Thread Ted Harding
p.ps Further comments welcome! Ted. ------------ E-Mail: (Ted Harding) Fax-to-email: +44 (0)870 094 0861 Date: 10-Aug-11 Time: 12:53:48 -- XFMail --

Re: [Groff] multi-line headers/footers

2011-11-20 Thread Ted Harding
hat you want to achieve. Ted. -------- E-Mail: (Ted Harding) Fax-to-email: +44 (0)870 094 0861 Date: 20-Nov-11 Time: 08:46:40 -- XFMail --

Re: [Groff] filling object with a pattern

2011-11-30 Thread Ted Harding
code. I will try to work out how this can be done, but not just now! Ted. ------------ E-Mail: (Ted Harding) Fax-to-email: +44 (0)870 094 0861 Date: 30-Nov-11 Time: 22:52:23 -- XFMail --

Re: [Groff] filling object with a pattern

2011-12-01 Thread Ted Harding
On 01-Dec-11 11:59:31, Krzysztof Żelechowski wrote: > Użytkownik (Ted Harding) napisał: >> What is missing, which would allow your need to be filled >> equally simply, is an attribute (say "hatched") which would >> work similarly: >> >>box w

Re: [Groff] holistic widow elimination

2012-01-07 Thread Ted Harding
ting the number of lines is pulling back the leftovers of hyphenated words onto the same line as their parent, since that can often reduce the number of lines in a paragraph by 1. To do this, pick and mix the above methods according to taste, All such approaches imply making the changes to the fo

Re: [Groff] holistic widow elimination

2012-01-07 Thread Ted Harding
On 08-Jan-2012 Deri James wrote: > On Saturday 07 Jan 2012 22:59:46 Ted Harding wrote: >> Just a few somewhat random thoughts. I've been through this >> sort of thing too often for it to be easy or quick to summarise! > > I remember reading (on this list) a PHD the

Re: [Groff] Parsing specific section of man page

2012-01-22 Thread Ted Harding
he section if "Section" matches the name of th section. Even then, this would only output a single section. If you wanted to choose more than one section you would have to devise a more complicated system! (Could be done, but no-one is going to re-write the man pages like this anyway)!

Re: [Groff] Parsing specific section of man page

2012-01-22 Thread Ted Harding
Follow-up to my previous reply: On 22-Jan-2012 Ted Harding wrote: > On 22-Jan-2012 Siteshwar Vashisht wrote: >> Hi, >> Is there any option in groff to parse only a specifiec >> section of man page? For e.g. when I say >> >> groff -X -P -resolution -P100 -man pas

Re: [Groff] Parsing specific section of man page

2012-01-22 Thread Ted Harding
connection (1200 baud at the time), so I wrote it in FORTRAN (the only compilable language I could obtain for the machine at the time). It worked OK. Then, later, I found a C compiler (Aztec C, if anyone remembers that)[*] and that worked even better (and was an interesting exercise in learning C). Ted.

Re: [Groff] Using variables from register within fractions or equations

2012-02-10 Thread Ted Harding
le: .EQ X = "\n[subno]" over "\n+[subno]" .EN but, as I said, that sort of thing is not needed for your application as described. Hoping this helps, Ted. - E-Mail: (Ted Harding) Date: 10-Feb-2012 Time: 10:14:03 This message was sent by XFMail -

Re: [Groff] Using variables from register within fractions or equations

2012-02-11 Thread Ted Harding
'\\*n')/2 > .ds x \\$1 > .substring x 0 0 > .if \\nm=1 \Z'\|\\*x'\c > .if \\nm=2 \Z'\|\\*x'\c > \Z'\\*W'\c > \h'\\nwu'\v'1m'\\*n\v'-1m'\h'\\nwu'\\$2 > .nr n +1 > .. > .\" > .sp 3c > .ps 12 > .vs 14 > .\" > .nr m 1 > .Z > I am > .Q honored > to be with you today at your > .Q commencement . > .nr m 2 > .Z > I am > .Q honored > to be with you today at your > .Q commencement . > .nr m 3 > .Z > I am > .Q honored > to be with you today at your > .Q commencement . Beautifully crafted, Tadziu! Ted. - E-Mail: (Ted Harding) Date: 11-Feb-2012 Time: 22:07:30 This message was sent by XFMail -

Re: [Groff] Figure with subtitle in MS

2012-03-05 Thread Ted Harding
se mom for that, after all? >> >> The mom macros implement no special handling for PSPIC. Neither do >> they implement keeps, so I wouldn't look to them as a solution. >> >> -- >> Peter Schaffter >> >> Author of The Binbrook Caucus >> http://www.schaffter.ca > - E-Mail: (Ted Harding) Date: 05-Mar-2012 Time: 18:47:09 This message was sent by XFMail -

Re: [Groff] Fancier placement of PSPICs?

2012-03-07 Thread Ted Harding
) to allow for the space which is occupied by the graphic, enter the text and, when the text has reached the point where it the next line will be output below the graphic, re-set to the oroginal values using .po, .ll, .in; and then carry on as usual. Hoping this helps (it's a potentially big topi

Re: [Groff] looping in Pic

2012-03-15 Thread Ted Harding
.PS nLines=20 lineWidth=3i interlineHeight=0.2 line lineWidth; for i=1 to (nLines-1) do { line lineWidth at last line.start +(0i, -interlineHeight) } .PE Ted. - E-Mail: (Ted Harding) Date: 15-Mar-2012 Time: 23:45:12 This message was sent by XFMail -

Re: [Groff] Moving the footer up in ms

2012-04-17 Thread Ted Harding
d will be self-contained and should not interfere with anything else (unless you choose your settings so that it overwrites something above it ... ). --------- E-Mail: (Ted Harding) Date: 17-Apr-2012 Time: 08:26:31 This message was sent by XFMail -

Re: [Groff] Trouble with mm

2012-04-18 Thread Ted Harding
aracters, so that one can write, for instance, \[Tch]a\[i:]kovski\[i:] ) -- but this requires a further call of a macro to define the Cyrillics). Best wishes to all, Ted. - E-Mail: (Ted Harding) Date: 18-Apr-2012 Time: 21:32:46 This message was sent by XFMail -

Re: [Groff] Google+

2012-04-18 Thread Ted Harding
1", not 0? Not that I'm helping > > --jkl Let me help ... IxHUBnrPmuSCFrrURlPkpvhRDghbPCfJuuVQtRKnetWeqfdffE NXTVxkVTWuKaymQHgvSxGwgRAQVLtXVGlOMwZXFGqzgJvcCWto xNvaXrvnsPmKzWOHXTpwXWYwYZMcfkuECpkCPggGrYAWAUUfad UePSGaWtnXseTygfUOiHgwYpWAeROlkrorQmEekABhzNANAzat Ted. ------

Re: [Groff] Eric Raymond on groff and TeX

2012-05-03 Thread Ted Harding
contexts one may wish to underline instead, which gets more complicated in groff (and would be defined in macros rather than in strings). Then its implementation would look different, though it stills seems to be to come to the same thing. Best wishes to all, Ted. -------

Re: [Groff] Beginner Groff issue: number registers inside macros

2012-06-27 Thread Ted Harding
g is more typically > .sp .5v > > You may need to set a variable that enables you to deal with the > first instance of a paragraph, then do the right thing for > subsequent ones. > > Clarke Specifically (with reference to your request for a blank line in 2nd and later invocat

[Groff] Placement problem with coloured circles in pic

2012-07-05 Thread Ted Harding
and r=1 circles get displaced! Any comments? Ted. --------- E-Mail: (Ted Harding) Date: 05-Jul-2012 Time: 21:33:27 This message was sent by XFMail -

Re: [Groff] Subscripts

2012-07-30 Thread Ted Harding
e style of this by defining your own version of \*< and \*> as strings, using .ds < [...] .ds > [...] to, for instance, move down a different amount, or not change the point size by so much, etc. Hoping this helps, Ted. - E-Mail: (Ted Harding) Date: 31-Jul-2012 Time: 00:03:43 This message was sent by XFMail -

Re: [Groff] [OOPS!] Subscripts

2012-07-30 Thread Ted Harding
OOPS! [see at end] On 30-Jul-2012 23:03:47 Ted Harding wrote: > On 30-Jul-2012 22:06:18 Timothy Groves wrote: >> I need to embed subscripts in my document. In particular, I want >> something that in eqn would be expressed as 'V sub 0' and 'V sub 1'. >&g

Re: [Groff] oddity in pic : absolute positioning requires "move" first.

2012-08-07 Thread Ted Harding
urgent\s0\fP" at (0.8i, 0i) > ljust ; > "\f[BMR]\s11 \[radiobutton] not important and not urgent\s0\fP" at(3.5i, > 0i) ljust ; > .PE > > With this fix, it does work as intended. > I use cygwin with groff version 1.21. > I'd like to know if it's a normal behaviour, and if indeed, can someone > explain the logic ? > > Thanks. > > -- > Emmanuel - E-Mail: (Ted Harding) Date: 07-Aug-2012 Time: 10:28:43 This message was sent by XFMail -

Re: [Groff] Question re: groff to PS to PDF to Microsoft Word...

2012-08-12 Thread Ted Harding
- I'm not an habitual OO user (still less a Word etc user ... ). Best wishes to all, Ted. - E-Mail: (Ted Harding) Date: 12-Aug-2012 Time: 19:26:55 This message was sent by XFMail -

Re: [Groff] fetching a register's numeric value

2012-08-31 Thread Ted Harding
mats produces the result: 9 0 ix i 9 0 ix i And you could extend the macro to get the value from some register other than \n%, using a second argument, e.g. .de getnum .ds rf \\g[\\$1] .af \\$1 1 .nr \\$2 \\n[\\$1] .af \\$1 \\*[rf] .. so that ".getnum reg1 reg2" would put the numerical

Re: [Groff] Indexing these days with groff

2012-09-09 Thread Ted Harding
gt;> >> Unix Text Processing >> >> available at >> ftp://ftp.ffii.org/pub/groff/contrib/documentation/utp/utp-1.0.tar.gz >> >> I found the CSTR quite difficult. Has anybody some recent experience >> in indexing or some newer helpers? >> BTW. I would try to do it with the mom macro package >> >> Greetings, Johann >> > > > -- > () ascii ribbon campaign - against html e-mail > /\ www.asciiribbon.org - against proprietary attachments > - E-Mail: (Ted Harding) Date: 09-Sep-2012 Time: 21:01:21 This message was sent by XFMail -

Re: [Groff] Table cell vertical align

2012-09-10 Thread Ted Harding
some different number of lines in the text block (say 4), then use \v'3v'. And so on. The \v'-4v' returns the vertical position to the original position at line 1, so that if you have further columns they are not affected by the vertical movement in column 2. Hoping this helps, T

Re: [Groff] Table cell vertical align

2012-09-11 Thread Ted Harding
athaway, | | > |with whom he had three | | > |children | Text | > +-----------+--+ > $ > > Cheers, Ralph. Well spotted, Ralph! I had overlooked/forgotten the 'd' specifier. - E-Mail: (Ted Harding) Date: 11-Sep-2012 Time: 10:23:09 This message was sent by XFMail -

Re: [Groff] Table cell vertical align

2012-09-11 Thread Ted Harding
lipped that "u" into neghbour' -- he would have been setting it up himself! However, my then (1991) installation of groff is no longer accessible, so I can't check directly. Anyone know? Ted. - E-Mail: (Ted Harding) Date: 11-Sep-2012 Time: 18:43:15 This message was sent by XFMail -

Re: [Groff] Table cell vertical align

2012-09-11 Thread Ted Harding
t, then I think one can say that Werner created it anew, and then, in my opinion, has not "mixed up" US and UK spelling, but has simply chosen one in preference to the other! Best wishes to all, Ted. - E-Mail: (Ted Harding) Date: 11-Sep-2012 Time: 19:17:44 This message was sent by XFMail -

Re: [Groff] Table cell vertical align

2012-09-12 Thread Ted Harding
needing >> another standardising patch. Leaving it as is saves future work. ;-) >> >> Cheers, Ralph. > > Amen. > > -- > Mike Bianchi And from me too! Ted. - E-Mail: (Ted Harding) Date: 12-Sep-2012 Time: 11:21:39 This message was sent by XFMail -

Re: [Groff] \n[rst] and \n[rsb] inside a string

2012-10-02 Thread Ted Harding
ct \\*[direct] .. you should find that it does the right thing, since now, when called, .indirect re-reads \*[direct] and evaluates \n[rst] and \n[rsb] at their ambient values. Hoping this helps, Ted. - E-Mail: (Ted Harding) Date: 28-Sep-2012 Time: 22:52:59 This message was sent by XFMail -

Re: [Groff] rotating a pic block

2012-10-24 Thread Ted Harding
quot;) was an oversight! Best wishes to all, Ted. >> Many thanks. >> >> --jkl >> > > > -- > () ascii ribbon campaign - against html e-mail > /\ www.asciiribbon.org - against proprietary attachments > - E-Mail: (Ted Harding) Date: 24-Oct-2012 Time: 21:13:49 This message was sent by XFMail -

Re: [Groff] A few mom incompetencies

2012-11-17 Thread Ted Harding
hes (etc.). Hoping this helps. To understand the rest of your query, we need to see the example you geberated. Ted. - E-Mail: (Ted Harding) Date: 17-Nov-2012 Time: 19:58:51 This message was sent by XFMail -

Re: [Groff] A few mom incompetencies

2012-11-18 Thread Ted Harding
with the br tag :-) but putting in several .BR tag does'nt seem to work >> here. So how to do that. >> >> Thanks >> Mikkel >> - E-Mail: (Ted Harding) Date: 18-Nov-2012 Time: 13:07:43 This message was sent by XFMail -

Re: [Groff] producing a booklet with groff ?

2012-11-18 Thread Ted Harding
o produce a booklet. You would need to replace "-pa4" (which is for 8.3 × 11.7) in the command by "-pletter" (which is for 8 1/2 x 11). 'psbook' and 'psnup' are both part of the 'ghostscript' suite of programs. Hoping this helps, Ted. - E-Mail: (Ted Harding) Date: 18-Nov-2012 Time: 21:43:57 This message was sent by XFMail -

Re: [Groff] producing a booklet with groff ?

2012-11-19 Thread Ted Harding
lph. You're correct, Ralph! Sorry, it seems I was writing of the back of my head there ... Cheers, Ted. - E-Mail: (Ted Harding) Date: 19-Nov-2012 Time: 17:45:38 This message was sent by XFMail -

Re: [Groff] (no subject)

2012-11-23 Thread Ted Harding
On 23-Nov-2012 22:11:35 Anonymous wrote: > Subject: Re: Exact column widths in 'tbl' > References: > >>Greetings all! >>This is a follow-up to Chriss Schaller's query yesterday, >>and the subsequent replies. I have opened e new thread, >>since it is a topic of general interest. > >>Of course the

Re: [Groff] Backgound image slightly higher on page one

2012-12-01 Thread Ted Harding
t on page 1 (by, presumably, 1 VS), so that (relative to the text) the picture on page 2 appears slightly raised (by one VS). So I'm pretty sure that Tadziu's explanation is the correct one. And the solution to the problem is to do something like ".LP" to get things going text

Re: [Groff] What does 'groff <<

2012-12-02 Thread Ted Harding
On 02-Dec-2012 18:40:11 Clarke Echols wrote: > In a recent email the syntax: > > groff << > was used. > > I've used Unix/Linux for over 25 years, and I've never seen > that "triple redirect" before. What does it do? I get nowhere > with a Google search because it ignores the '<<<'. > > T

[Groff] Fractional point-sizes in groff with PS

2012-12-04 Thread Ted Harding
t;invisibly"). This may be of interest to some, and I would also welcome comments from anyone who has more insight into how to do this sort of thing! Best wishes to all, Ted. - E-Mail: (Ted Harding) Date: 04-Dec-2012 Time: 23:05:48 This message was sent by XFMail -

Re: [Groff] Get margin of a Postscript file

2012-12-09 Thread Ted Harding
tend. The reason for asking you these questions is that there are various possible sorts of relevant information, which may or may not be present in a given PostScript file (depending on what software made it, and on options which the user may have chosen). Best wishes, Ted. ----

Re: [Groff] Get margin of a Postscript file

2012-12-09 Thread Ted Harding
rd... > > On Sun, 09 Dec 2012 12:31:27 -, Ted Harding wrote : >> And to Ralph's question I would add: Tell us exactly *what* you >> want to know! > > So, as you say, I want to know how far from the left-hand edge of the paper, > and from the right-hand edge,

Re: [Groff] Get margin of a Postscript file

2012-12-10 Thread Ted Harding
at a PS file can pretend to meet the criteria! However, maybe I'm getting cynical ... Best wishes to all, Ted. - E-Mail: (Ted Harding) Date: 11-Dec-2012 Time: 07:43:58 This message was sent by XFMail -

Re: [Groff] troff command line args converted to lower case

2013-01-16 Thread Ted Harding
ff v1.22.1) > Denis Hmmm ... I get: troff -ww -dpaper=A4 -dcA5 <<'END' > .tm PAPER = \*[paper] c = \*[c] > .ex > END PAPER = A4 c = A5 (But: groff version 1.18.1) Ted. - E-Mail: (Ted Harding) Date: 16-Jan-2013 Time: 15:02:50 This message was sent by XFMail -

Re: [Groff] Macro to detect end of line

2013-02-02 Thread Ted Harding
en a new (and superfluous) blank page can be triggered (in ms macros at least). But this is a case of springing the "bottom of page" trap, and does not relate, I think, to what smoore is experiencing. So yes, please, a simple example! Ted. --------- E-

Re: [Groff] .mso for groff_hdtbl(7)

2013-02-04 Thread Ted Harding
with each other and with ms). If, for instance, you were to write groff -tpe -mm -ms -me -Tps then the Universe would fall apart! So (while I have not studied hdtbl) I suspect that groff -man -mhdtbl ... plants incompatibilities, leading to errors. Ted. - E-Mail: (Ted Harding) Date: 04-Feb-2013 Time: 23:18:41 This message was sent by XFMail -

Re: [Groff] Unkown mathematical sign

2013-02-16 Thread Ted Harding
quot; "\(md" }% sdefine forall %{ type "operator" "\(fa" }% sdefine thereis %{ type "operator" "\(te" }% sdefine suchthat %{ type "operator" vcenter roman ":" }% sdefine in %{ type "binary" vcenter "\(mo" }% sdefine notin %{ type "binary" vcenter "\(nm" }% sdefine asymp %{ type "binary" vcenter "\v'0.1n'\s[\En[.s]*12u/10u]\(ti\s0\v'-0.1n'" }% Hoping this helps. Please follow up with further queries if any further help is needed! Best wishes, Ted. - E-Mail: (Ted Harding) Date: 16-Feb-2013 Time: 10:47:27 This message was sent by XFMail -

Re: [Groff] New project: `RUNOFF'

2013-05-06 Thread Ted Harding
I finally tracked it down to: http://cvs.savannah.gnu.org/viewvc/groff/contrib/?root=groff&pathrev=MAIN where these is a link to RUNOFF. Here there are 4 files: ChangeLog Makefile.sub groff_filenames.man runoff.man Best wishes to all, Ted. --------- E

Re: [Groff] Rotate text in pic

2013-09-26 Thread Ted Harding
he use of "\" makes this command equivalent to: line -> from (0,0) to (0,2) sprintf("%.2f",dist) aligned above And, of course, if you just want text set in a particular direction, but without a visible line, then also use the "invis" attribute. For example:

Re: [Groff] tables side-by-side

2013-10-26 Thread Ted Harding
.2#13.5 24/09/2013#3.4#11.6##30/09/2013#5.9#114.1 24/09/2013#4.5#12.7##\01/10/2013#6.5#15.6 25/09/2013#5.1#13.2##\02/10/2013#7.2#16.5 .T& |c s s|c|c s s|. _##_ .TE The result (from my machine) is attached as PDF: twotablesinone.p

Re: [Groff] tables side-by-side

2013-10-26 Thread Ted Harding
on whether or not a keep was needed. > > I'm obviously doing something wrong, because 1) the second table doesn' > line up, and 2) the way it doesn't line up varies, and 3) the keep > behavior varies according to where the table falls. > > What's the right way, please? > > --jkl > > - E-Mail: (Ted Harding) Date: 26-Oct-2013 Time: 19:15:57 This message was sent by XFMail -

Re: [Groff] Multiple Lines Equation

2013-10-26 Thread Ted Harding
ry has prompted me to add a section on "multiple-line equations", so here is the result. The new section is on pages 5-6 of the attached PDF: eqnguide.pdf Comments welcome! Best wishes to all, Ted. --------- E-Mail: (Ted Harding) Date: 26-Oc

Re: [Groff] Multiple Lines Equation

2013-10-27 Thread Ted Harding
le, I would be happy to so the same for you some day. Cheers, Ted. - E-Mail: (Ted Harding) Date: 27-Oct-2013 Time: 18:12:09 This message was sent by XFMail - eqnguide.pdf Description: eqnguide.pdf

Re: [Groff] tables side-by-side

2013-11-03 Thread Ted Harding
[See in-line below] On 02-Nov-2013 22:05:01 James K. Lowden wrote: > On Sat, 26 Oct 2013 19:16:02 +0100 (BST) > (Ted Harding) wrote: > >> Follow-up: I have found the source of your pronblem (the one >> to do with vertical displacement). When a table is oujtput using >>

Re: [Groff] tables side-by-side

2013-11-04 Thread Ted Harding
ne will output This is a line 1 This is a line 4 This is a line Hoping this helps! Ted. --------- E-Mail: (Ted Harding) Date: 04-Nov-2013 Time: 22:49:14 This message was sent by XFMail -

Re: [Groff] The future redux

2014-03-08 Thread Ted Harding
stage. Just a further thought! My basic attitude to using [gt]roff is that you can let the built-ins do their job so long as it comes out right, but for the "final run" you may need to get those tweezers, leadings and wedges out and shift stuff around by hand! Best wishes to all, Ted. - E-Mail: (Ted Harding) Date: 08-Mar-2014 Time: 20:33:25 This message was sent by XFMail -

Re: [Groff] automatic equation numbering

2014-03-15 Thread Ted Harding
y to implement a two-pass technique (such as is typical for page-numbers etc.) in order to be able to refer to equations qhich have yet to be defined. This problem does not arise for equations labelled with text (such as "[Normal]") since they are fixed strings which can be defined at the

Re: [Groff] Mission statement

2014-03-16 Thread Ted Harding
is what matters! On a closely related issue: I quite regularly need to compute, within a groff run, a numerical value which has a fractional part for insertion in the text, or for computing fractional spacings, motions, etc. This can be done using 'pic', which has good computational capa

Re: [Groff] Mission statement

2014-03-16 Thread Ted Harding
only there for the /10. What's puzzling me now is the >?5 since that's not "otherwise use 5 points" but 5 scaled points?" Thanks for the comments. It shows that I was over-reacting to the absence of non-integer arthmetic when it comes to setting point sizes (though the point I raised in my original mail about slowing down the rate of reduction with successive super/subscripting is a fair one, I think). With best wishes, Ted. - E-Mail: (Ted Harding) Date: 16-Mar-2014 Time: 20:32:50 This message was sent by XFMail -

Re: [Groff] Mission statement

2014-03-16 Thread Ted Harding
) 'eqn' does not put the "z" in, so I think between us we have uncovered a deficiency in 'eqn'. Quite where in the 'eqn' code this lurks is not obvious (to me at the moment). Or maybe, as you suggest, it is only there because of the "/10" and 'eqn

Re: [Groff] automatic equation numbering

2014-03-17 Thread Ted Harding
s that ... (x)=exp(-2x2)/2 (1) Eqns. (1a), (1b) ... The reason for the "can't find special character" warnings is that the font-set for -Tascii is simply the ASCII character set, which does not include Greek characters or mathematical symbols, namely in the case of your example special character `*p' Greek pi special character `sqrt' Square root sign special character `sqrtex' Square root extension [1] special character `*f' Greek phi [1]: The square root extension is a line which can be attached to the top of the vertical part of the square root sign to make it taller (i.e. to match a tall expression to the right of it). Hoping this helps, Ted. - E-Mail: (Ted Harding) Date: 17-Mar-2014 Time: 17:12:02 This message was sent by XFMail -

Re: [Groff] Mission statement, second draft

2014-03-19 Thread Ted Harding
back to "runoff", a program originally written for preparation of printed text. Manpages came a bit layer. And, finally, a comment about PDF. Some people have deprecated it. But, if you created a carefully formatted document to send to someone else, then usually this needs to be in PDF. UNIX/MacOS and Linux users, if they know what they are doing, can access PS. But many do no know what thney are doing, and they -- and of course Windows users -- will only be able to cope with PDF. I have, in the past, had the experience of sending PS files to people who opened them in Word (with autosave mode active, of course) who then (a) could not make sense of what they saw, and (b) screwed up the original file because autosave arbitrarily overwrote parts of it! I think PDF is here to stay for quite a long time, and is needed, and I do not admit "anti-PDF" as arguments for not needing groff->PD->PDF capability. > -- Steve > -- > Steve Izma > - Best wishes to all, Ted. - E-Mail: (Ted Harding) Date: 19-Mar-2014 Time: 19:01:45 This message was sent by XFMail -

Re: [Groff] Letterspacing

2014-03-26 Thread Ted Harding
either method (whichever comes out best) or use them in combination. Best wishes to all, Ted. - E-Mail: (Ted Harding) Date: 26-Mar-2014 Time: 21:58:10 This message was sent by XFMail -

Re: [Groff] Formatting algorithm

2014-04-23 Thread Ted Harding
t; .pb and .pe, usable within macro definitions, but also available >> on-the-fly in cases where the user needs to specify the block of text >> that constitutes a paragraph. > > Of course, in the interests of semantic markup, it may be useful to have > a macro which would ex

Re: [Groff] `groff_char.7' works only for `man', but not for `groff'

2014-05-27 Thread Ted Harding
ttp://www.xenopsyche.com/ip/junk/tao.html (and not entirely irrelevant to current efforts ... )! Best wishes to all, Ted. - E-Mail: (Ted Harding) Date: 27-May-2014 Time: 17:24:18 This message was sent by XFMail -

<    1   2   3   4   5   >