nickrivers

Risposte nei forum create

Stai visualizzando 5 risposte – dal 1 al 5 (di 5 totali)
  • Autore
    Risposte
  • in risposta a: Latex e html #2444
    Up
    0
    Down
    ::


    Queste sono le modifiche che ho apportato al file prefs.pm durante l’installazione di latex2html:

    $prefs{‘EXTRAPATH’} = ‘C:\\Programmi\\Texmf\\miktex\\bin\\dvips’;
    $prefs{‘PREFIX’} = ‘C:\\Programmi\\Latex2html’;

    Premetto poi che activeperl 5.8 e ghostview sono installati:

    checking for old config file (cfgcache.pm)… not found (ok)
    checking for platform… MSWin32 (Windows 32 bit)
    checking for C:\Programmi\Perl\bin\perl.exe… C:\Programmi\Perl\bin\perl.exe
    checking perl version… 5.008003
    checking if perl supports some dbm… yes
    checking if perl globbing works… yes
    checking for tex… C:\Programmi\Texmf\miktex\bin\tex.exe
    checking for latex… C:\Programmi\Texmf\miktex\bin\latex.exe
    checking for initex… C:\Programmi\Texmf\miktex\bin\initex.exe
    checking for kpsewhich… C:\Programmi\Texmf\miktex\bin\kpsewhich.exe
    checking for kpsewhich syntax… ok (style=1)
    checking for TeX include path… /Programmi/Texmf/tex\latex\latex2html
    checking for mktexlsr… C:\Programmi\Texmf\miktex\bin\mktexlsr.exe
    checking for dvips… C:\Programmi\Texmf\miktex\bin\dvips.exe
    checking dvips version…

    In questo punto si bloccava allora ho premuto invio

    5.90a
    checking if dvips supports the combination of -E and -i -S 1… yes
    checking for html4-check… no
    checking for gswin32… no

    Ho provato a reinstallarlo inserendo la directory di ghostview nell’extrapath

    Warning: Will not be able to generate images due to above failure.
    checking for pnmflip… no
    Use of uninitialized value in concatenation (.) or string at config\config.pl li
    ne 2395.
    Warning: You may need to rely on LaTeX to generate images with effects.
    checking for ppmquant… no
    checking for pnmfile… no
    checking for pnmcat… no
    Use of uninitialized value in concatenation (.) or string at config\config.pl li
    ne 2395.
    Warning: You may need to rely on LaTeX to generate images with effects.
    checking for pbmmake… no
    Use of uninitialized value in concatenation (.) or string at config\config.pl li
    ne 2395.
    Warning: You may need to rely on LaTeX to generate images with effects.
    checking for ppmtogif… no
    checking for ppm2gif… no
    checking for pnmtopng… no
    checking for pnm2png… no
    checking for ppmtojpeg… no
    Use of uninitialized value in concatenation (.) or string at config\config.pl li
    ne 2400.
    Warning: You cannot directly translate/modify graphics of format.
    checking for pnmcut… no
    Use of uninitialized value in concatenation (.) or string at config\config.pl li
    ne 2395.
    Warning: You may need to rely on LaTeX to generate images with effects.
    checking for pnmpad… no
    Use of uninitialized value in concatenation (.) or string at config\config.pl li
    ne 2395.
    Warning: You may need to rely on LaTeX to generate images with effects.
    checking for pnmrotate… no
    Use of uninitialized value in concatenation (.) or string at config\config.pl li
    ne 2395.
    Warning: You may need to rely on LaTeX to generate images with effects.
    checking for pnmscale… no
    Use of uninitialized value in concatenation (.) or string at config\config.pl li
    ne 2395.
    Warning: You may need to rely on LaTeX to generate images with effects.
    checking for giftopnm… no
    Use of uninitialized value in concatenation (.) or string at config\config.pl li
    ne 2400.
    Warning: You cannot directly translate/modify graphics of format.
    checking for jpegtopnm… no
    Use of uninitialized value in concatenation (.) or string at config\config.pl li
    ne 2400.
    Warning: You cannot directly translate/modify graphics of format.
    checking for pngtopnm… C:\Programmi\Texmf\miktex\bin\pngtopnm.exe
    checking for tifftopnm… C:\Programmi\Texmf\miktex\bin\tifftopnm.exe
    checking for picttoppm… no
    Use of uninitialized value in concatenation (.) or string at config\config.pl li
    ne 2400.
    Warning: You cannot directly translate/modify graphics of format.
    checking for anytopnm… no
    Use of uninitialized value in concatenation (.) or string at config\config.pl li
    ne 2400.
    Warning: You cannot directly translate/modify graphics of format.
    checking for bmptoppm… no
    Use of uninitialized value in concatenation (.) or string at config\config.pl li
    ne 2400.
    Warning: You cannot directly translate/modify graphics of format.
    checking for pcxtoppm… C:\Programmi\Texmf\miktex\bin\pcxtoppm.exe
    checking for sgitopnm… no
    Use of uninitialized value in concatenation (.) or string at config\config.pl li
    ne 2400.
    Warning: You cannot directly translate/modify graphics of format.
    checking for xbmtopbm… no
    Use of uninitialized value in concatenation (.) or string at config\config.pl li
    ne 2400.
    Warning: You cannot directly translate/modify graphics of format.
    checking for xwdtopnm… no
    Use of uninitialized value in concatenation (.) or string at config\config.pl li
    ne 2400.
    Warning: You cannot directly translate/modify graphics of format.
    checking if multiple pipes work… no
    Unfortunately multiple pipes are not reliable on this OS.
    checking for temporary disk space… C:\WINDOWS\Temp
    creating cfgcache.pm
    creating test.bat
    creating install.bat
    Note: Will install…
    … executables to : C:\Programmi\Latex2html\bin
    … shared library items to : C:\Programmi\Latex2html
    … unshared library items to : C:\Programmi\Latex2html
    Starting build…
    … building latex2html
    build.pl (Revision 1.6)
    Building “latex2html.bat” from “latex2html.pin”
    … building pstoimg
    build.pl (Revision 1.6)
    config\build.pl: Warning: Skipping build of pstoimg because of missing external
    programs.
    … building texexpand
    build.pl (Revision 1.6)
    Building “texexpand.bat” from “texexpand.pin”
    … building configuration module
    build.pl (Revision 1.6)
    Building “l2hconf.pm” from “l2hconf.pin”
    Configuration procedure finished
    C:\Downloads\Late2html\latex2html-2002-2-1>

    lancio il file di prova test.bat e questo è il risultato

    C:\Downloads\Late2html\latex2html-2002-2-1>test
    … checking latex2html
    C:\Downloads\Late2html\latex2html-2002-2-1\latex2html.bat syntax OK
    … checking texexpand
    C:\Downloads\Late2html\latex2html-2002-2-1\texexpand.bat syntax OK
    … checking pstoimg
    Can’t open perl script “C:\Downloads\Late2html\latex2html-2002-2-1\pstoimg.bat”:
    No such file or directory

    C:\Downloads\Late2html\latex2html-2002-2-1>

    Ma i file che mi servono per convertire le immagini dove li trovo????

    in risposta a: Latex e html #2443
    Up
    0
    Down
    ::

    Mandaci i log.

    Stasera lo reinstallo e poi ti faccio avere i log…

    Grazie comunque

    in risposta a: Latex e html #2441
    Up
    0
    Down
    ::


    Buone nuove..
    ho passato il mio codice ad un mio conoscente che usa latex2html sono linux…
    Gli ha creato il file in un batter d’occhio senza problemi…
    Ora sorge un nuovo problema..
    Io sono sotto windows..
    Ho provato ad installare latex2html ma mi da degli errori..
    Dice che non trova alcuni file..
    non trova dvips .. (strano perchè è incorporato in miktex..)
    Qualcuno potrebbe dirmi quali sono i file che servono per installare latex2html ??
    Io ho i seguenti:
    latex2html
    activeperl
    ghostview

    Manca qualcosa???
    Nessuno ha un link che segua passo passo l’installazione??
    Grazie ancora…

    in risposta a: Latex e html #2440
    Up
    0
    Down
    ::

    $matematica$ il sistema cerca di rimpiazzare il numero più elevato possibile di caratteri con puro testo, è logico quindi che i reali diventano R. al contrario, se si usa \(matematica\) il tutto viene trasformato in .gif
    naturalmente \[ sostituisce $$

    Ciao, ho provato a modificare il codice come m’hai detto.
    Ho sostituito
    $\mathbb{R}$

    con

    \(
    \mathbb{R}
    \)

    compilato con il comando latex nomefile.tex
    ottengo il file .dvi
    ricompilo con il comando tex4ht nomefile.dvi
    ma il risultato cambia.
    Ottengo una normalissima R 🙁

    Ecco il codice che ho scritto:

    \documentclass[11pt]{article}
    \usepackage[latin1]{inputenc}
    \usepackage[italian]{babel}
    \usepackage{amsfonts}

    \begin{document}

    \(
    \mathbb{R}
    \)

    \end{document}

    Devo importare qualche altra package.
    Ho visto in qualche esempio il comando
    \usepackage[html]{tex4ht}
    Ma se lo inserisco e compilo con il tex4ht mi dice che non trova il file .css

    Cosa devo fare???
    Grazie ancora per l’interessamento

    P.S. Quando ho compilato con tex4ht, il compilatore m’ha dato il seguente warning:
    missing configuration for htf class 1..
    Per maggior chiarezza di dico che ho installato l’ultima versione di miktek..

    in risposta a: Latex e html #2437
    Up
    0
    Down
    ::


    Allora:
    I caratteri che m’aspetto come output sarebbero i classici caratteri matematici che stanno ad indicare i vari tipi di numeri.
    Z per gli interi, N per i naturali…
    Dovresti provare il codice e vedrai che la R dei reali ha la doppia barra verticale.
    Questo nel file pdf.
    Se però converto il file dvi in html tali caratteri non sono altro che semplici Z,N.

    Non è da escludersi; tuttavia, per quello che mi ricordo della mia esperienza con latex2html, l’output di caratteri che con il normale font non potevano essere renderizzati venivano trasformati in automatico in gif…

    Magari!!!, m’andrebbe bene che fossero anche immagini.

    Grazie mille

Stai visualizzando 5 risposte – dal 1 al 5 (di 5 totali)

Go to top