[l2h] Icons in Navigation
Hello, I have the following problem: I want to use my own icons in the topnavigation, so I created some nice .gif-files and put them into my pics-directory. In the directoy where I generate my HTML-files, I have a .latex2html-init . I included the following lines: $LOCAL_ICONS = 1; $ALTERNATIVE_ICONS = ../pics/; %icons = ( 'up' , 'up.gif', 'up_inactive', 'up_g.gif', 'next', 'next.gif', 'previous', 'prev.gif', 'previous_inactive', 'prev_g.gif', 'contents', 'contents.gif', ); This doesn't work, l2h still uses .png-files which are located in the original l2h-directory (/usr/local/share/lib/latex2html/icons). I also tried %icons = ( 'up' , '../pics/up.gif', 'up_inactive', '../pics/up_g.gif', 'next', '../pics/next.gif', 'previous', '../pics/prev.gif', 'previous_inactive', '../pics/prev_g.gif', 'contents', '../pics/contents.gif', ); in my local .latex2html-init, but this doesn't work either. What do I have to do to make l2h use my icons instead of the original ones? Thank you in advance, Tanja Wittke ___ latex2html mailing list [EMAIL PROTECTED] http://tug.org/mailman/listinfo/latex2html
[l2h] already generated image inclusion
Hello, I'd like to use already generated images (png) in a converted latex2html document for the OSCAR project (oscar.sf.net). Original images are screenshots and are then converted to eps automatically. I wonder how to use the original images (png) into the HTML document rendered by latex2html. The default behavior is to convert images to png with a given scale factor which produce a poor quality output (png-eps-png !). I tried to use the /graphicspath{} command of the graphicx package and the --prefix command line argument of latex2html but the path of the images is still absolute : SRC=/home/ben/oscar/doc/installation/3a_sbs-wizard-step1.png instead of the wanted SRC=3a_sbs-wizard-step1.png or even better SRC=figs/3a_sbs-wizard-step1.png I'm sorry if this question is already explained in the doc/FAQ/Mailing List archive. I did some searching bu was not able to solve my problem. Thanks by advance for any pointer to a solution ;-)) Ben -- Benoit des Ligneris Etudiant au Doctorat -- Ph. D. Student Web :http://benoit.des.ligneris.net/ President du - GULUS - president http://www.gulus.org/ Mydynaweb Developpe(u)r: http://mydynaweb.net/ GPG/PGP Key http://benoit.des.ligneris.net/linux/gpg.txt ___ latex2html mailing list [EMAIL PROTECTED] http://tug.org/mailman/listinfo/latex2html
Re: [l2h] already generated image inclusion
Hello, I'd like to use already generated images (png) in a converted latex2html document for the OSCAR project (oscar.sf.net). Original images are screenshots and are then converted to eps automatically. I wonder how to use the original images (png) into the HTML document rendered by latex2html. The default behavior is to convert images to png with a given scale factor which produce a poor quality output (png-eps-png !). \usepackage{html} \htmladdimg[options]{URL} It worked but I've got now another problem ! I don't wan't my images to be include twice (one automatically generated from the eps and the other one added with the \htmladdimg command). I tried to play with the \latex and \begin{latexonly}... commands and environments but without success. Most of the time, my figure environment are complex and include some subfigure but without success. However, after several trial and error, this solution is still not working ;-(( Here is a code sample of a typical figure with the: \begin{figure}[ht!] \htmladdimg{figs/4a_sbs-build-image1.png} \htmladdimg{figs/4b_sbs-build-image2.png} \htmladdimg{figs/4c_sbs-build-image3.png} \begin{latexonly} \begin{center} \centerline{ \includegraphics[scale=\imgscale]{figs/4a_sbs-build-image1.\sbsext} } \vspace{\imgvskip} \centerline{ \includegraphics[scale=\imgscale]{figs/4b_sbs-build-image2.\sbsext} \hspace{\imghskip} \includegraphics[scale=\imgscale]{figs/4c_sbs-build-image3.\sbsext} } \end{center} \end{latexonly} \caption{Step 2 -- Building the image.} \label{fig:sbs-build-image} \end{figure} However, it does not work at all : no figure is present in the HTML document. What is the proper procedure to have the awaited behavior ? Maybe I can now refine my initial question / feature request : Is it possible that, if an included image of the same name (but with a bitmap extension (.gif, .png, .jpg) is already present in the same directory of the image, latex2html use (and copy?) the bitmap image instead of an automatically generated bitmap image from the original (well, from LaTeX and LaTeX2Html point of vue !!). I think that this will allow documents that use eps generated images (ie from bitmap images like screenshots) to be directly usable with latex2html with a very good quality and without any modification/specific code to the original LaTeX document. Once again, if such a feature exists, I'm sorry for the rethinking and requestionning ! Ben -- Benoit des Ligneris Etudiant au Doctorat -- Ph. D. Student Web :http://benoit.des.ligneris.net/ President du - GULUS - president http://www.gulus.org/ Mydynaweb Developpe(u)r: http://mydynaweb.net/ GPG/PGP Key http://benoit.des.ligneris.net/linux/gpg.txt ___ latex2html mailing list [EMAIL PROTECTED] http://tug.org/mailman/listinfo/latex2html
Re: [l2h] already generated image inclusion
Hello, \usepackage{html} \htmladdimg[options]{URL} It worked but I've got now another problem ! I don't wan't my images to be include twice (one automatically generated from the eps and the other one added with the \htmladdimg command). I tried to play with the \latex and \begin{latexonly}... commands and Yes; that is the right approach. But you can use the *conditional comments* : %begin{latexonly} ... ... ... %end{latexonly} which simplify the processing for LaTeX (since it just ignores them, and doesn't require the extra wrapping of an environment). environments but without success. Most of the time, my figure environment are complex and include some subfigure but without success. However, after several trial and error, this solution is still not working ;-(( Here is a code sample of a typical figure with the: \begin{figure}[ht!] \htmladdimg{../figs/4a_sbs-build-image1.png} \htmladdimg{../figs/4b_sbs-build-image2.png} \htmladdimg{../figs/4c_sbs-build-image3.png} ^^^ your images are in a subdirectory of the parent directory \begin{latexonly} \begin{center} \centerline{ \includegraphics[scale=\imgscale]{figs/4a_sbs-build-image1.\sbsext} } \vspace{\imgvskip} \centerline{ \includegraphics[scale=\imgscale]{figs/4b_sbs-build-image2.\sbsext} \hspace{\imghskip} \includegraphics[scale=\imgscale]{figs/4c_sbs-build-image3.\sbsext} } \end{center} \end{latexonly} \caption{Step 2 -- Building the image.} \label{fig:sbs-build-image} \end{figure} However, it does not work at all : no figure is present in the HTML document. What is the proper procedure to have the awaited behavior ? Your figures are 1-level higher in the directory tree, than where the HTML pages reside. You must include the extra ../ to account for this. \htmladdimg takes an arbitrary URL (could be anywhere on the web) as parameter, so it is up to you to get it right. Once again, if such a feature exists, I'm sorry for the rethinking and requestionning ! You need to think about the directory structure that results, after the LaTeX2HTML job has been done. Hope this helps, Ross Ben -- Benoit des Ligneris Etudiant au Doctorat -- Ph. D. Student Web :http://benoit.des.ligneris.net/ President du - GULUS - president http://www.gulus.org/ Mydynaweb Developpe(u)r: http://mydynaweb.net/ GPG/PGP Key http://benoit.des.ligneris.net/linux/gpg.txt ___ latex2html mailing list [EMAIL PROTECTED] http://tug.org/mailman/listinfo/latex2html ___ latex2html mailing list [EMAIL PROTECTED] http://tug.org/mailman/listinfo/latex2html