groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff] Included files are not preprocessed


From: Anton Shepelev
Subject: [Groff] Included files are not preprocessed
Date: Fri, 20 Jul 2012 18:33:14 +0400

Hello all,

I have a problem designing well-strucutred documents
consisting of several  files.   Files  included  via
.mso,  .so,  or -m, are never run through preproces-
sors.  For example, it is very incovenient to use  a
macro  package containing Russian text together with
-K, and it is  impossible  to  initialize  eqn  from
within an included file.

Another  option  could  be to list all those file as
parameters to groff, or send them to  groff's  stan-
dard  input,  but  this  has the disadvantage of the
need to create an individual make- or  .bat  or  .sh
script in which all the used files must be hard-cod-
ed, together with their paths.

I want to keep all the inclusions to the source file
itself like:

    .mso ant-stacks
    .mso ant-statement-form
    .\" and so on...
    Source of the document using above
    macro packages

making  it  more autonomous and portable, so that it
could be typeset with a generic groff commandline.

Can you suggest a way to achieve this?

-- 
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments



reply via email to

[Prev in Thread] Current Thread [Next in Thread]