DVI to RTF
Dear All,
Is it possible to convert from the DVI format to RTF format? Or PDF to RTF? Or PS to RTF? Or DSC to RTF?
Basically I have the LaTeX source file and would like to have the document in RTF format too. Is this possible? BTW, I can view the RTF format using AbiWord. Is there any other RTF viewer?
Thank you for your time.
Cheers,
anna
Signature · 7 lines
Get your free e-mail account at http://www.linuxmail.org - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
On 26 Apr 2002 00:29:27 +0530
G Anna <[email protected]> scribbled intuitively:
Quoted 8 lines
Dear All,
Is it possible to convert from the DVI format to RTF format? Or PDF to RTF? Or PS to RTF? Or DSC to RTF?
Basically I have the LaTeX source file and would like to have the document in RTF format too. Is this possible? BTW, I can view the RTF format using AbiWord. Is there any other RTF viewer?
=================================
StarOffice, OpenOffice, Applixware, all have wordprocessors that should handle rtf well. WordPerfect 8.0 will as well.
Mike
Signature · 9 lines
"He may look like an idiot and talk like an idiot but don't let that fool you....., he really is an idiot." -Groucho Marx - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Mike,
Quoted 9 lines
Quoted 6 lines
Is it possible to convert from the DVI format to RTF format? Or PDF to RTF? Or PS to RTF? Or DSC to RTF?
Basically I have the LaTeX source file and would like to have the document in RTF format too. Is this possible? BTW, I can view the RTF format using AbiWord. Is there any other RTF viewer?
=================================
StarOffice, OpenOffice, Applixware, all have wordprocessors that should handle rtf well. WordPerfect 8.0 will as well.
Well, yes, you may be correct, but the original question remains valid. A double conversion greatly increases the problems, and so a direct conversion from LaTeX to RTF would be better.
Although I lack experience with it, there is a tex2rtf utility, which converts to rtf, HTML, etc. Here's the home page:
www.anthemion.co.uk/tex2rtf/contents.htm You can get the source to compile it yourself for unix, or you can get binaries for Linux, HP, Windows, etc.
Haines Brown
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Phantom executables
In reply to Michael ScottalineI installed RedHat 7.2 on new hardware, and have been haunted by a frequent problem. When I try to run certain binary exectables, I get:
[brownh@langhans tex2rtf]$ ./163nogui
bash: ./163nogui: No such file or directory
However,
[brownh@langhans tex2rtf]$ ls -l 16*
-rwxrwxrwx 1 brownh brownh 196812 Mar 26 16:20 163nogui
and, for an executable script test file in the same directory:
[brownh@langhans tex2rtf]$ ./test-executable
I am executing this file
Is this a sign that I need to include an older libc library?
Haines Brown
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: Phantom executables
Quoted 11 lines
[brownh@langhans tex2rtf]$ ./163nogui
bash: ./163nogui: No such file or directory
[brownh@langhans tex2rtf]$ ls -l 16*
-rwxrwxrwx 1 brownh brownh 196812 Mar 26 16:20 163noguiand, for an executable script test file in the same directory:
[brownh@langhans tex2rtf]$ ./test-executable
I am executing this fileIs this a sign that I need to include an older libc library?
Usually. The most common cause of this is a funny dynamic linker. Try going:
readelf -l ./153nogui
and look for a line something like
[Requesting program interpreter: /lib/ld.so.1]
If you don't have the interpreter in the right place, you'll get No such file or directory errors. The easiest way is then probably to recompile the broken program, or failing that use an old libc.
If you do have the interpreter, or readelf can't find it, I'd be somewhat confused.
Steven Smith,
[email protected].
Re: Phantom executables
Steven,
You suggested that my executable that only returns the error, "File not found" is probably the result of a broken or misplaced intepreter. When I run (163nogui being the troublesone executable):
[root@langhans tex2rtf]# ldd ./163nogui /usr/bin/ldd: ./163nogui: No such file or directory
This means it can't find a library, and so the first question is the interpreter. I do have /lib/ld-linux.so.2, which is a symlink to ld-linux.2.2.4.so.
Apparently I was previously also using an old interpreter that was located on my old hardware, so I copied over ld-linux.so.1->ld-linux.1.9.5. Now, instead of the error message, ldd tells me what I need, and this led mt to create a symlink from libm.so.5 to my new libm-2.2.2.so, after which I get:
[root@langhans tex2rtf]# ldd ./163nogui
libm.so.5 => /lib/libm.so.5 (0x40023000) libstdc++.so.27 => not found libc.so.5 => /lib/libc.so.5 (0x40046000) libc.so.6 => /lib/libc.so.6 (0x40184000) ld-linux.so.2 => /lib/ld-linux.so.2 (0x402c2000) ...
It looks like I'll have get the old libstdc++.so.27 and I should be in business. I see that in rpmfind there's a libc-5.4.46-2 RPM for i386 that provides libstdc++.so.27. I've downloaded but not yet installed it.
It looks like I should simply install this old libc-5, and it will provide the libstdc++.27 that I need. However, I hope this installation of old libraries won't upset my system.
I mention all this in the hope will confirm I'm on the right track and that I should not suffer ill effects from installing the RPM.
Haines Brown
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: Phantom executables
Quoted 11 lines
It looks like I'll have get the old libstdc++.so.27 and I should be in business. I see that in rpmfind there's a libc-5.4.46-2 RPM for i386 that provides libstdc++.so.27. I've downloaded but not yet installed it.
It looks like I should simply install this old libc-5, and it will provide the libstdc++.27 that I need. However, I hope this installation of old libraries won't upset my system.
I mention all this in the hope will confirm I'm on the right track and that I should not suffer ill effects from installing the RPM.
Everything you've said sounds reasonable, and just installing the RPM should work.
Having said that, you might want to use the following, slightly convoluted, method to install, as this should make any errors easier to recover from.
1) Copy /lib/* into /lib.bak
2) Add a line ``/lib.bak'' at the top of /etc/ld.so.conf.
3) Run ldconfig. This is usually /sbin/ldconfig, but occasionally /lib/ldconfig
4) Install the RPM.
5) From a shell, go ``export LD_LIBRARY_PATH=/lib''. Any programs started from that shell will now use the new libc. If it suffers ugly errors, copy /lib.bak back into /lib and rerun ldconfig. You might want to give the --remove-destination switch to cp. Obviously, it will be easier to run cp from a shell which isn't broken.
6) If there are no errors, remove the /lib.bak line from ld.so.conf and rerun ldconfig. All programs started from now on should use the new libc. I would recommend rebooting at this point.
If, after you've rebooted, nothing works any more, try booting again but specifying LD_LIBRARY_PATH=/lib.bak on the command line.
Once everything's working, you can remove lib.bak.
It might be a good idea to have SASH installed before you try this, as it doesn't need libc and might be useful for recovering if something goes wrong. Boot disks and rescue disks are also useful.
Steven Smith,
[email protected].
Disclaimer: I'm not going to blow away my libc just to test this for you. Sorry.
Re: Phantom executables
In reply to Haines BrownQuoted 5 lines · Haines Brown
I installed RedHat 7.2 on new hardware, and have been haunted by a frequent problem. When I try to run certain binary exectables, I get:
[brownh@langhans tex2rtf]$ ./163nogui
bash: ./163nogui: No such file or directory
Recompile. The 'file' that bash can't find is the dynamic linker. You'll get the same results with:
% ldd ./163nogui
Elias
Signature · 6 lines
http://gnewtellium.sourceforge.net MP3 is not a crime. - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 2 lines
Basically I have the LaTeX source file and would like to have the document in RTF format too. Is this possible?
I don't know of any way to convert a DVI to RTF, but you should be able to convert LaTeX using latex2rtf (latex2rtf.sourceforge.net).
(Disclaimer: I've never tried this program.)
Steven Smith,
[email protected].