![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to extract files one by one from a directory and let some processing happen | saniya | Shell Programming and Scripting | 7 | 05-23-2008 03:58 AM |
| Processing on a list of files | puneetla | Shell Programming and Scripting | 3 | 02-12-2008 05:48 AM |
| Two files processing | moutaz1983 | Shell Programming and Scripting | 2 | 01-03-2008 09:32 AM |
| FTP and Files processing | harish409 | UNIX for Advanced & Expert Users | 1 | 09-17-2007 06:12 AM |
| Processing files within a directory one by one | skyineyes | Shell Programming and Scripting | 1 | 07-15-2007 10:44 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Preparing LaTeX files using Sed/AWK for processing with latex2html
As the title states, my issue involves preparing LaTeX documents for processing with latex2html.
Within my LaTeX docs I have used a package which allows me to cleanly display source code listings. However the package is not supported by latex2html which, when processed, does not display the listing at all. An example of the command employed within a LaTeX doc is shown below: Code:
\lstinputlisting[label=sc:rfdec,caption=RF Decipher]{source/rfdec.c}
Code:
\begin{verbatim}
\\ Filename: source/rfdec.c
\\ Coded by: ...
\\ Date: ...
\\ Location: ...
#include <signal.h>
#include <time.h>
static void sig_rf(int)
int main(void)
{
.
.
.
}
\end{verbatim}
\label{sc:rfdec}
|
| Forum Sponsor | ||
|
|
|
||||
|
Make use of the sed feature given in the links below.
5.5 Append, Insert, and Change 5.11 Reading and Writing Files |
|
|||
|
Did you find a solution to your problem? I am also looking for a way to use lst listings with latex2html so perhaps you can share your conversion script? Even when it would be incomplete, you could help me a lot.
Thanks a lot in advance, Pieter |
|||
| Google The UNIX and Linux Forums |