Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3271186
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T18:42:18+00:00 2026-05-17T18:42:18+00:00

I have scons set up to run pdflatex nicely on my latex documents and

  • 0

I have scons set up to run pdflatex nicely on my latex documents and stick the results in an output folder for me.

However, I haven’t been able to determine whether or not I can get it to use latex2rtf on my documents at the same time as well.

Is there any way to have scons do this automatically? Or is it going to have to be something I do manually after everything else is compiled?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T18:42:19+00:00Added an answer on May 17, 2026 at 6:42 pm

    As long as latex2rtf command is predictable (and I don’t know any reason why it wouldn’t be), you can get scons to run it.

    Here’s a simple example of creating a Builder for running latex2rtf on .tex to generate .rtf:

    env = Environment()
    
    LATEX2RTF = '/usr/local/bin/latex2rtf'
    latex2rtf_bld = Builder(action='%s $SOURCE -o $TARGET' % (LATEX2RTF),
                            suffix='.rtf', src_suffix='.tex')
    
    env.Append(BUILDERS={'RTF': latex2rtf_bld})
    
    env.RTF('chap1.rtf', 'chap1.tex')
    env.RTF('chap2.rtf', 'chap2.tex')
    env.Alias('gen-rtf', [ 'chap1.rtf', 'chap2.rtf' ])
    

    You may need to modify the latex2rtf action to suit your setup.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an SCons project set up as follows: Project/ SConstruct # SConscript('stuff/SConscript', variant_dir
I have a C++ library that I build using Scons which is eventually linked
I have a mystery here: I'm using Ubuntu SCons (package version 1.2.0.d20100117-1). I have
I am using Scons to build my C project. I have an external linker
I am trying to get started with scons . I have Python 3.0.1 and
I have been working on a recursive directory scan which scans folders and adds
I have a button called btnSubmit where i set the Form action attribute to
I have this set of rewrite rules: ########## Begin - Joomla! core SEF Section
I have a data set that is in the format 100 domain bacteria phylum
I'm using scons-qt plugin to build and link with Qt. I have to build

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.