The problem is simple to describe: When I build this file
----------- t.tex ------------------------- \documentclass{article}% \usepackage{html} \begin{document} this is \verb=some text= \end{document}
using the command
latex2html t.tex
The inline verbatim does NOT appear in the HTML
------ generated HTML --------- <P> this is <code></code> <P>
This ONLY happens when the file t.tex is on a windows disk (i.e. NTFS) and I have the disk mounted as shared folder so as to access my data from Linux running inside a VBox.
I use windows, and I have VBox and I have Linux as guest OS.
Hence, the picture is like this
Linux inside VBox | | +-----------------+---------------------+ | | /media/windows/t.tex /home/me/t.tex (NTFS file system) (ext4 file system) VBOX shared folder
and the only difference is that in one case t.tex is located on actuall windows disk, but mounted from Linux by the VBox software as shared folder read/write access. While in the other case, the same copy of t.tex sits on a Linux file system.
No other difference. In both cases, I use Linux commands and software for everything.
When the file t.tex is on windows disk, and I then compile it using the -debug command like this
latex2html -debug -tmp /home/me/TMP t.tex
Then the scratch TMP folder is not deleted. Here is a zip file of its content
latex2html -debug -verbosity 10 t.tex 2&> out.txt
the generated HTML file is missing the verb above.
This is the output of the above command
cat out.txt >cat out.txt Note: Loading /home/me/.latex2html-init Note: Initialising with file: /home/me/.latex2html-init *** initialise *** This is LaTeX2HTML Version 2008 (1.71) by Nikos Drakos, Computer Based Learning Unit, University of Leeds. Revised and extended by: Marcus Hennecke, Ross Moore, Herb Swan and others ...producing markup for HTML version 4.0 Extension: loading /usr/share/latex2html/versions/latin1.pl HTML version: loading /usr/share/latex2html/versions/html4_0.pl *** processing declarations *** Starting at 1336599460 seconds *** check modes *** *** file: t.tex *** OPENING /media/nabbasi/foo/t.tex Cannot create directory ./: File exists, reusing it. Note: Working directory is /media/nabbasi/foo Note: Images will be generated in /tmp/l2h13695 *** calling `texexpand' *** *** `texexpand' done *** *** database open *** Loading /usr/share/latex2html/styles/texdefs.perl... Package: loading /usr/share/latex2html/styles/article.perl Package: loading /usr/share/latex2html/styles/html.perl Reading ...TMP/t Info: bracketings found: 4 new commands: .egroup 0:!:\end<<0>>tex2html_bgroup<<0>>:!:} .endgroup 0:!:\end<<0>>tex2html_begingroup<<0>>:!:} .begingroup 0:!:\begin<<0>>tex2html_begingroup<<0>>:!:} .bgroup 0:!:\begin<<0>>tex2html_bgroup<<0>>:!:} new environments: new counters and dependencies: .(subsection,subsubsection).(chapter,section).(section,subsection).(subsubsection,paragraph).(paragraph,subparagraph).(subparagraph,paragraph).(subsection,section).(section,chapter).(subsubsection,subsection).(paragraph,subsubsection) theorem counters: ++ tokenizing: ()\\(egroup|endgroup|begingroup|bgroup)(([^a-zA-Z \t])|[ \t]+|$) substituting new commands: ()\\(egroup|endgroup|begingroup|bgroup)(([^a-zA-Z \t])|[ \t]+|$) initial size: 175, resulting size: 172 *** substituting metacommands done *** *** wrapping environments *** \(\)\[\]$$ wrap math: wrapping raw arg commands @ WRAPPED: par as wrap_cmd_par@ WRAPPED: par as wrap_cmd_par@ WRAPPED: par as wrap_cmd_par *** End-of-partition *** \documentclass<<1>>article<<1>> \usepackage<<2>>html<<2>> \begin<<5>>tex2html_deferred<<5>>\par\end<<6>>tex2html_deferred<<6>> \begin<<3>>document<<3>> \begin<<7>>tex2html_deferred<<7>>\par\end<<8>>tex2html_deferred<<8>> this is <tex2html_verb_mark>1<tex2html_verb_mark> \begin<<9>>tex2html_deferred<<9>>\par\end<<10>>tex2html_deferred<<10>> \end<<4>>document<<4>> DBM: new_command open... DBM: new_theorem open... DBM: dependent open... appending file: TMP/part_001 total length: 366 characters total length: 366 characters Translating ... 0/1:top of t: for t.htm *** translating preamble *** IN::{group 1} :article OUT: {1} 7 :article IN::{group 2} :html OUT: {2} 4 :html \documentclass<#1#>article<#1#> \usepackage<#2#>html<#2#> \latextohtmlditchpreceding.documentclass IN: \documentclass<#1#>article<#1#> \usepackage<#2#>html<#2#> \latextohtmlditchpreceding -> .usepackage IN: \usepackage<#2#>html<#2#> \latextohtmlditchpreceding -> .latextohtmlditchpreceding IN: \latextohtmlditchpreceding -> PREAMBLE: discarding... \documentclass<<1>>article<<1>> \usepackage<<2>>html<<2>> \latextohtmlditchpreceding *** preamble done *** *** Translating environments *** IN-A {tex2html_deferred 7} \par .par IN: \par -> OUT-A {tex2html_deferred 7} <P> IN-A {tex2html_deferred 9} \par .par IN: \par -> OUT-A {tex2html_deferred 9} <P> *** Translating commands *** <P> this is <tex2html_verb_mark>1<tex2html_verb_mark> <P> *** Translations done *** 1/1:sectionstar:.sectionstar IN: \sectionstar<<1>><<2>>\infopagename<<2>><<1>> \textohtmlinfopage IN::{group 3} :<<2>>\infopagename<<2>> IN::{group 2} :\infopagename .infopagename IN: \infopagename -> OUT: {2} 23 :About this document ... OUT: {3} 33 :<#2#>About this document ...<#2#> -> "About this document ..." for node1.htm *** Translating environments *** *** Translating commands *** <H1><A NAME="SECTION00010000000000000000"> About this document ...</A> </H1> \textohtmlinfopage.textohtmlinfopage IN: <H1><A NAME="SECTION00010000000000000000"> About this document ...</A> </H1> \textohtmlinfopage -> <H1><A NAME="SECTION00010000000000000000"> About this document ...</A> </H1> *** Translations done *** *** making images *** *** updating image cache *** removing unnecessary images *** *** no more images *** *** post-process *** Doing section links .... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 t.htm t 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 : out 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 : sub 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 : yes *** replace markers *** *** post-post-process *** . 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 node1.htm About this document ... IN::{group 4} :\childlinksname .childlinksname IN: \childlinksname -> OUT: {4} 28 :<STRONG>Subsections</STRONG> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 : out 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 : out 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 *** replace markers *** *** post-post-process *** *** post-processed *** Copying navigation icons ... SAVE_FILE:index: index.pl EMPTY SAVE_ARRAY:section_info in FILE: sections.pl SAVE_ARRAY:toc_section_info in FILE: contents.pl SAVE_ARRAY:external_labels in FILE: labels.pl SAVE_ARRAY:external_latex_labels in FILE: labels.pl SAVE_FILE:cached_env_img: images.pl EMPTY Done. Timing: 1 seconds >
>cd >cat ./.latex2html-init $FONT_SIZE = "12pt"; $WHITE_BACKGROUND = 1; $LOCAL_ICONS = 1; $MAX_SPLIT_DEPTH = 4; $SHORTEXTN = 1; $ANTI_ALIAS = 1; $ANTI_ALIAS_TEXT = 1; $HTML_VERSION = '4.0'; $MATH_SCALE_FACTOR = 1.8; $DISP_SCALE_FACTOR = 1.0; $FIGURE_SCALE_FACTOR = 1.0; $TRANSPARENT_FIGURES = 1; $NO_SUBDIR = 1; $DISCARD_PS = 0; $DVIPSOPT = '-E'; $LATEX_COLOR = ""; 1; >
>uname -a Linux me-VirtualBox 3.0.0-19-generic #33-Ubuntu SMP Thu Apr 19 19:05:57 UTC 2012 i686 i686 i386 GNU/Linux >latex -v pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian) kpathsea version 5.0.0 Copyright 2009 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). There is NO warranty. Redistribution of this software is covered by the terms of both the pdfTeX copyright and the Lesser GNU General Public License. For more information about these matters, see the file named COPYING and the pdfTeX source. Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). Compiled with libpng 1.2.46; using libpng 1.2.46 Compiled with zlib 1.2.3.4; using zlib 1.2.3.4 Compiled with poppler version 0.16.7 >latex2html -v defined(%hash) is deprecated at /usr/bin/latex2html line 515. (Maybe you should just omit the defined()?) defined(%hash) is deprecated at /usr/bin/latex2html line 2087. (Maybe you should just omit the defined()?) defined(%hash) is deprecated at /usr/bin/latex2html line 9088. (Maybe you should just omit the defined()?) Note: Loading /home/me/.latex2html-init Note: Initialising with file: /home/me/.latex2html-init This is LaTeX2HTML Version 2008 (1.71) by Nikos Drakos, Computer Based Learning Unit, University of Leeds. >
me 2012-05-10