Re: [groff] Alignment problems in pic drawing when using \X'ps: exec

2018-07-24 Thread Jennifer Sayers
Dear Everyone, Thank you very much for diagnosing my problem and solving it!  I had spent several hours trying to figure out what was going wrong.  Now I see in the pic manual that "command" outputs a *line*, which of course has an end of line character, causing the shift down the page, as has

Re: [groff] Alignment problems in pic drawing when using \X'ps: exec

2018-07-24 Thread Ralph Corderoy
Hi Russ, > I already found documented I can't see how \c is any kind of a > solution where the grops man page that's effectively being called by > the X command states: This isn't specific to grops or the use of `ps:' in the `\X' escape. $ cat ralph.tr .PS command "foo bar" linet

Re: [groff] Alignment problems in pic drawing when using \X'ps: exec

2018-07-24 Thread Russell Hyer
Hi Ralph, Thanks for that input, but as I already found documented I can't see how \c is any kind of a solution where the grops man page that's effectively being called by the X command states: "grops man page where it states: " \X'ps: exec code' This executes the arbitrary

Re: [groff] Alignment problems in pic drawing when using \X'ps: exec

2018-07-24 Thread Ralph Corderoy
Hi Jen, > I have boiled down my problem to the following short example: Thanks. $ cat jen.tr .PS #command "\X'ps: exec 0 setlinecap'" linethick = 2 line right 1 move right 0.5 #command "\X'ps: exec 1 setlinecap'" line right 2 .PE $ > The tail of the Post

[groff] Alignment problems in pic drawing when using \X'ps: exec

2018-07-23 Thread Jennifer Sayers
Hello!  I am trying to use a feature of groff that I haven't used before, and I'm running into a bit of trouble. I have a gpic drawing where I want to have some lines with round endcaps and some with square ones.  (So, it's not a matter of using the BP feature to set the endcap style for the w