Re: groff Digest, Vol 233, Issue 1

2024-03-02 Thread Riza Dindir
You might also use the ms macro package for your thesis. I do not need to mention, but... You can create macros for use in your thesis, for instance chapter headings, section headings. Pic, eqn, and tbl are helpers here for diagrams and the like. Back in the day, when I wrote my thesis I had to

Re: Regarding groff, soelim, and macros

2023-11-14 Thread Riza Dindir
les, and generate a huge document and run that through the groff processor. But did not want to do that, and wanted to know if that is possible with groff. Riza On Tue, Nov 14, 2023 at 7:18 AM G. Branden Robinson < g.branden.robin...@gmail.com> wrote: > Hi Riza, > > At 2023-11-14T06:59:54+0300,

Regarding groff, soelim, and macros

2023-11-13 Thread Riza Dindir
e .source commands, and generate a concatenated file and run that through the groff processor, but I would like to understand why this above does not work. Regards Riza Dindir

Re: using .so in a macro

2023-02-16 Thread Riza Dindir
e.g. preconv or other piping functions). > > I think you can just use soelim main.ms | ... | groff -ms -Tps > output.ps. > cat seems to be redundant here. > > Or even put pic and tbl directly to the groff line (soelim main.ms | groff > -ms -pic -tb -Tps > output). > &

Re: using .so in a macro

2023-02-16 Thread Riza Dindir
Hello Ralph, I was using soelim in my pipeline (cat main.ms | soelim | pic | tbl | groff -ms > main.ps). The problem was with soelim. I did not realize that. I first had it with double slashes, but then tried with four slashes... Removing soelim from the pipeline resolved the problem. What is

using .so in a macro

2023-02-16 Thread Riza Dindir
Hello, Is it possible to use the ".so" command in a macro, and pass in an argument from the macro. .de MC .so $1 .. .MC file.txt

Re: Pic question

2022-12-02 Thread Riza Dindir
Hello Ralph, Thank you very much for the help. Riza On Fri, Dec 2, 2022 at 12:53 PM Ralph Corderoy wrote: > > Hi Riza, > > > I have a location using a fraction like so "1/3 ". How can > > I get the x component of that location? > ... > > a = 1/3 ; > > print a.x; > > > > This fails at

Pic question

2022-12-01 Thread Riza Dindir
Hello All, I have a question regarding the pic tool. I have a location using a fraction like so "1/3 ". How can I get the x component of that location? I do this. a = 1/3 ; print a.x; This fails at the assignment and it says "syntax error before ','" Here A is a simple box. Thanks in advance

[bug #62909] [chem] does not restrict whitespace/comment changes to its own regions

2022-08-22 Thread Riza Dindir
Follow-up Comment #8, bug #62909 (project groff): I have created a github project for the script. https://github.com/rdindir/chem-na ___ Reply to this item at:

Re: [bug #62909] [chem] does not restrict whitespace/comment changes to its own regions

2022-08-22 Thread Riza Dindir
to run the script. Kind Regards, Riza Dindir On Mon, Aug 22, 2022 at 11:59 PM Dave wrote: > > Follow-up Comment #4, bug #62909 (project groff): > > Hi Riza, > > You mentioned in http://lists.gnu.org/r/groff/2022-08/msg00199.html that you > wrote an awk script to wor

[bug #62909] [chem] does not restrict whitespace/comment changes to its own regions

2022-08-22 Thread Riza Dindir
-aggressive chem tool. # Author: Riza Dindir # License: The GNU General Public License applies (<https://www.gnu.org/licenses/>) swd=$(dirname $0) awk -f ${swd}/_chem-na/chem-na.awk $* ___ Reply to this item at: <https://savanna

[bug #62909] [chem] does not restrict whitespace/comment changes to its own regions

2022-08-22 Thread Riza Dindir
viewed it in the preview). Hope that is not a problem. The license should be GNU general public license. The file is below == # This awk script is a non-aggressive chem tool. # Author: Riza Dindir # License

Re: About groff and dformat

2022-08-21 Thread Riza Dindir
it in the generated postscript file with a macro supplied by grops. In conclusion, troff/groff is a good alternative for creating documents. Regards Riza On Thu, Aug 18, 2022 at 4:28 PM Dave Kemper wrote: > > On 8/17/22, Riza Dindir wrote: > > When you use chem, you can not have > &g

[bug #62909] [chem] does not restrict whitespace/comment changes to its own regions

2022-08-18 Thread Riza Dindir
Follow-up Comment #3, bug #62909 (project groff): Hello Branden I was thinking of how I would get notifications, but then realized at the end of the page that I could add myself to the mail notification list. :) As to a solution, maybe a filter could be written that will accumulate the chem

[bug #62909] Preprocessror problem - Groff with dformat and chem

2022-08-17 Thread Riza Dindir
Follow-up Comment #1, bug #62909 (project groff): When I submitted this bug report, I did not have an account. How can I change the submitter. Currently the submitter is shown as None. ___ Reply to this item at:

Re: About groff and dformat

2022-08-17 Thread Riza Dindir
eric value of, can one use the \N'xx' control sequence? Would that change based on the font, or something else? Or will the control sequence \N'35' always be mapped to the character #? Regards, Riza On Wed, Aug 17, 2022 at 6:48 PM Thomas Dupond wrote: > > Riza Dindir wrote: > >

Re: About groff and dformat

2022-08-16 Thread Riza Dindir
| eqn | groff -ms > main.ps That solved the problem, and I can create the dformat in the document. Thanks for the help. Regards, Riza On Wed, Aug 17, 2022 at 6:59 AM Riza Dindir wrote: > > Hello Thomas, > > To make sure, I have this in my dformat.sh > > awk -f dform

Re: About groff and dformat

2022-08-16 Thread Riza Dindir
what is wrong. Regards, Riza On Tue, Aug 16, 2022 at 9:59 PM Thomas Dupond wrote: > > Riza Dindir wrote: > > > Hello All, > > Hi! > > > I am trying to get dformat to work. What I did was this. > > > > I first tried to include an example dformat sc

About groff and dformat

2022-08-16 Thread Riza Dindir
Hello All, I am trying to get dformat to work. What I did was this. I first tried to include an example dformat script into my document. I got the first example from the troff.org site (https://troff.org/prog.html). The first example for the dformat processor. That example has been using inline

Re: Regarding groff and eqn

2022-08-16 Thread Riza Dindir
Thank you Branden, that was it. Now I can create an inline math expression, although the inline math expression was nonsense in the document :) On Tue, Aug 16, 2022 at 4:23 PM Riza Dindir wrote: > > Oh oh. Tooo many mistakes. What was i thinking. Will try these. Thanks. > > On Tue,

Re: Regarding groff and eqn

2022-08-16 Thread Riza Dindir
Oh oh. Tooo many mistakes. What was i thinking. Will try these. Thanks. On Tue, Aug 16, 2022, 13:17 G. Branden Robinson < g.branden.robin...@gmail.com> wrote: > At 2022-08-16T12:56:30+0300, Riza Dindir wrote: > > I am using groff 1.22.4 on FreBSD 13.1. Wanted to write inlin

Regarding groff and eqn

2022-08-16 Thread Riza Dindir
Hello All, I am using groff 1.22.4 on FreBSD 13.1. Wanted to write inline equations (in a document that uses ms macros), and it does not give me any inline equations. I must be missing something or doing something wrong. Here is my simple document. .TH Inline math .NH Start .LP .EQ delim $$ .EN