Problems of .pdf format graphic or image when using htlatex to convert .tex to html
up vote
1
down vote
favorite
Recently I have worked on converting .tex to .html. I have solved a lot of problems with the help of @michal.h21. the last question is about the image problem.
I use the MiKTeX system, it is basic-miktex-2.9.6361-x64 from miktex2.9, and installed on a Windows 7 system.
The code I use is the following:
documentclass[12pt]{article}
usepackage{subfigure}
usepackage{graphicx}
begin{document}
The main problem here is as listed: 1, the figure can not be changed well engough, 2 the tabe is also not so good 3, espeially is the refrence list that can not be listed one by one.
speccial character test.
begin{figure}[h]
centering
subfigure{
includegraphics[width=0.45 textwidth]{pdffigure//AAA.pdf}
label{AAA}
}
subfigure{
includegraphics[width=0.45 textwidth]{pdffigure//BBB.pdf}
label{BBB}
}
caption{(a) is the picuture to be tested (b) is the picture to be tested.}
label{Emission}
end{figure}
The figure is in figure ref{AAA}. And also the picuture b is also tested in figure ref{BBB}.
end{document}
pdffigure
is the folder I put all the figures.
I use the command as below
htlatex Test.tex
However, the figure is not correctly displayed. But if I change the .pdf figures to .eps figures, there will be no errors.
So the result is like the figure above. I have tried a lot of configuration from stackexchange, but it does work so well. It seems if the system is TeX Live distrubtion, there is no such errors. However, now I used a different system.
PS, this up and down problems could be solved by one post solving the up and down display. But still this can not solve the .pdf suffix problem.
Anyone has some suggestions?
graphics pdf tex4ht htlatex
add a comment |
up vote
1
down vote
favorite
Recently I have worked on converting .tex to .html. I have solved a lot of problems with the help of @michal.h21. the last question is about the image problem.
I use the MiKTeX system, it is basic-miktex-2.9.6361-x64 from miktex2.9, and installed on a Windows 7 system.
The code I use is the following:
documentclass[12pt]{article}
usepackage{subfigure}
usepackage{graphicx}
begin{document}
The main problem here is as listed: 1, the figure can not be changed well engough, 2 the tabe is also not so good 3, espeially is the refrence list that can not be listed one by one.
speccial character test.
begin{figure}[h]
centering
subfigure{
includegraphics[width=0.45 textwidth]{pdffigure//AAA.pdf}
label{AAA}
}
subfigure{
includegraphics[width=0.45 textwidth]{pdffigure//BBB.pdf}
label{BBB}
}
caption{(a) is the picuture to be tested (b) is the picture to be tested.}
label{Emission}
end{figure}
The figure is in figure ref{AAA}. And also the picuture b is also tested in figure ref{BBB}.
end{document}
pdffigure
is the folder I put all the figures.
I use the command as below
htlatex Test.tex
However, the figure is not correctly displayed. But if I change the .pdf figures to .eps figures, there will be no errors.
So the result is like the figure above. I have tried a lot of configuration from stackexchange, but it does work so well. It seems if the system is TeX Live distrubtion, there is no such errors. However, now I used a different system.
PS, this up and down problems could be solved by one post solving the up and down display. But still this can not solve the .pdf suffix problem.
Anyone has some suggestions?
graphics pdf tex4ht htlatex
why//
inpdffigure//AAA.pdf
?
– David Carlisle
Oct 25 '17 at 19:07
unrelated to images butit{Pi}
it
is deprecated, but if you do use it it does not take an argument and by default it has no effect onPi
– David Carlisle
Oct 25 '17 at 19:09
pdffigure is the folder i put all the figures. also it is non related to it . this command is just a font command. i deleted if this si confusing. it is about htlatex image .pdf.
– shqiang
Oct 25 '17 at 19:52
I queried//
as it is likely to be a syntax error in some filesystems, the syntax should be/
.it
is unrelated but the syntax shown above is wrong,so I thought I would mention it.
– David Carlisle
Oct 25 '17 at 20:06
thanks for your comment. the thing is if the suffix is .eps, there is no error as indicated.
– shqiang
Oct 25 '17 at 21:09
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Recently I have worked on converting .tex to .html. I have solved a lot of problems with the help of @michal.h21. the last question is about the image problem.
I use the MiKTeX system, it is basic-miktex-2.9.6361-x64 from miktex2.9, and installed on a Windows 7 system.
The code I use is the following:
documentclass[12pt]{article}
usepackage{subfigure}
usepackage{graphicx}
begin{document}
The main problem here is as listed: 1, the figure can not be changed well engough, 2 the tabe is also not so good 3, espeially is the refrence list that can not be listed one by one.
speccial character test.
begin{figure}[h]
centering
subfigure{
includegraphics[width=0.45 textwidth]{pdffigure//AAA.pdf}
label{AAA}
}
subfigure{
includegraphics[width=0.45 textwidth]{pdffigure//BBB.pdf}
label{BBB}
}
caption{(a) is the picuture to be tested (b) is the picture to be tested.}
label{Emission}
end{figure}
The figure is in figure ref{AAA}. And also the picuture b is also tested in figure ref{BBB}.
end{document}
pdffigure
is the folder I put all the figures.
I use the command as below
htlatex Test.tex
However, the figure is not correctly displayed. But if I change the .pdf figures to .eps figures, there will be no errors.
So the result is like the figure above. I have tried a lot of configuration from stackexchange, but it does work so well. It seems if the system is TeX Live distrubtion, there is no such errors. However, now I used a different system.
PS, this up and down problems could be solved by one post solving the up and down display. But still this can not solve the .pdf suffix problem.
Anyone has some suggestions?
graphics pdf tex4ht htlatex
Recently I have worked on converting .tex to .html. I have solved a lot of problems with the help of @michal.h21. the last question is about the image problem.
I use the MiKTeX system, it is basic-miktex-2.9.6361-x64 from miktex2.9, and installed on a Windows 7 system.
The code I use is the following:
documentclass[12pt]{article}
usepackage{subfigure}
usepackage{graphicx}
begin{document}
The main problem here is as listed: 1, the figure can not be changed well engough, 2 the tabe is also not so good 3, espeially is the refrence list that can not be listed one by one.
speccial character test.
begin{figure}[h]
centering
subfigure{
includegraphics[width=0.45 textwidth]{pdffigure//AAA.pdf}
label{AAA}
}
subfigure{
includegraphics[width=0.45 textwidth]{pdffigure//BBB.pdf}
label{BBB}
}
caption{(a) is the picuture to be tested (b) is the picture to be tested.}
label{Emission}
end{figure}
The figure is in figure ref{AAA}. And also the picuture b is also tested in figure ref{BBB}.
end{document}
pdffigure
is the folder I put all the figures.
I use the command as below
htlatex Test.tex
However, the figure is not correctly displayed. But if I change the .pdf figures to .eps figures, there will be no errors.
So the result is like the figure above. I have tried a lot of configuration from stackexchange, but it does work so well. It seems if the system is TeX Live distrubtion, there is no such errors. However, now I used a different system.
PS, this up and down problems could be solved by one post solving the up and down display. But still this can not solve the .pdf suffix problem.
Anyone has some suggestions?
graphics pdf tex4ht htlatex
graphics pdf tex4ht htlatex
edited Nov 29 at 14:11
siracusa
4,53511128
4,53511128
asked Oct 25 '17 at 18:52
shqiang
244
244
why//
inpdffigure//AAA.pdf
?
– David Carlisle
Oct 25 '17 at 19:07
unrelated to images butit{Pi}
it
is deprecated, but if you do use it it does not take an argument and by default it has no effect onPi
– David Carlisle
Oct 25 '17 at 19:09
pdffigure is the folder i put all the figures. also it is non related to it . this command is just a font command. i deleted if this si confusing. it is about htlatex image .pdf.
– shqiang
Oct 25 '17 at 19:52
I queried//
as it is likely to be a syntax error in some filesystems, the syntax should be/
.it
is unrelated but the syntax shown above is wrong,so I thought I would mention it.
– David Carlisle
Oct 25 '17 at 20:06
thanks for your comment. the thing is if the suffix is .eps, there is no error as indicated.
– shqiang
Oct 25 '17 at 21:09
add a comment |
why//
inpdffigure//AAA.pdf
?
– David Carlisle
Oct 25 '17 at 19:07
unrelated to images butit{Pi}
it
is deprecated, but if you do use it it does not take an argument and by default it has no effect onPi
– David Carlisle
Oct 25 '17 at 19:09
pdffigure is the folder i put all the figures. also it is non related to it . this command is just a font command. i deleted if this si confusing. it is about htlatex image .pdf.
– shqiang
Oct 25 '17 at 19:52
I queried//
as it is likely to be a syntax error in some filesystems, the syntax should be/
.it
is unrelated but the syntax shown above is wrong,so I thought I would mention it.
– David Carlisle
Oct 25 '17 at 20:06
thanks for your comment. the thing is if the suffix is .eps, there is no error as indicated.
– shqiang
Oct 25 '17 at 21:09
why
//
in pdffigure//AAA.pdf
?– David Carlisle
Oct 25 '17 at 19:07
why
//
in pdffigure//AAA.pdf
?– David Carlisle
Oct 25 '17 at 19:07
unrelated to images but
it{Pi}
it
is deprecated, but if you do use it it does not take an argument and by default it has no effect on Pi
– David Carlisle
Oct 25 '17 at 19:09
unrelated to images but
it{Pi}
it
is deprecated, but if you do use it it does not take an argument and by default it has no effect on Pi
– David Carlisle
Oct 25 '17 at 19:09
pdffigure is the folder i put all the figures. also it is non related to it . this command is just a font command. i deleted if this si confusing. it is about htlatex image .pdf.
– shqiang
Oct 25 '17 at 19:52
pdffigure is the folder i put all the figures. also it is non related to it . this command is just a font command. i deleted if this si confusing. it is about htlatex image .pdf.
– shqiang
Oct 25 '17 at 19:52
I queried
//
as it is likely to be a syntax error in some filesystems, the syntax should be /
. it
is unrelated but the syntax shown above is wrong,so I thought I would mention it.– David Carlisle
Oct 25 '17 at 20:06
I queried
//
as it is likely to be a syntax error in some filesystems, the syntax should be /
. it
is unrelated but the syntax shown above is wrong,so I thought I would mention it.– David Carlisle
Oct 25 '17 at 20:06
thanks for your comment. the thing is if the suffix is .eps, there is no error as indicated.
– shqiang
Oct 25 '17 at 21:09
thanks for your comment. the thing is if the suffix is .eps, there is no error as indicated.
– shqiang
Oct 25 '17 at 21:09
add a comment |
3 Answers
3
active
oldest
votes
up vote
2
down vote
accepted
The PDF
support have been added to tex4ht
last week, so it should work if you update your TeX distribution. If you can't update it, you can use the following configuration file, which is modified version of the code added to the tex4ht
core:
Preamble{xhtml}
NewConfigure{PdfConvert}{2}
makeatletter
catcode`:=11
edefsvg@ext{.svg}
ifxPictExtsvg@ext
Configure{PdfConvert}{svg}{"pdf2svg 'Gin@base.pdf' 'Gin@base-Gin@page.a:PdfConvert' Gin@page"}
else
Configure{PdfConvert}{png}{"rungs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 ifxGin@page@emptyelse -dFirstPage='Gin@page' -dLastPage='Gin@page'fispace -sOutputFile='Gin@base-Gin@page.a:PdfConvert' Gin@base.pdf"}
fi
Configure{graphics*}
{pdf}
{ifdefinedGin@pageelsedefGin@page{1}fi%
Needs{b:PdfConvert}%
edefsvg:filename{Gin@base-Gin@page.a:PdfConvert}
{Configure{Needs}{File: svg:filename}Needs{}}%
Picture[a:GraphicsAlt]{{svg:filename} csname a:Gin-dimendcsname
}}
catcode`:=12
makeatother
begin{document}
EndPreamble
It converts pdf
to png
by default. It also supports svg
conversion, which can be requested using the svg
option, but you need pdf2svg
command installed on your system for this support.
It is also important to create special files with image dimension for all pictures, in order to get correct size of the images. It can be done using command
ebb -x pdffigure/*.pdf
This is the result with some dummy images:
1
thanks for you comment again. I have checked my package tex4ht, it is dated 28,May this year. the newest version you mentioned i didn't find it. i also tryed your code listed above, the problem is not solved still. the image is not displayed, same as the figure in the post. i have tryed a lot code found on this website, it did not work. a solution would be including in the final stage, only in the .html stage, no matter it is .pdf , .png, .eps etc,making image embed process easier. i attached my log file below with the code you list as above.
– shqiang
Oct 26 '17 at 9:13
@shqiang it seems thatrungs
command isn't included in Miktex, it also doesn't ship recent version oftex4ht. Try to replace
rungs` withgs
inConfigure{PdfConvert}{png}
.
– michal.h21
Oct 26 '17 at 9:31
i use the package manager and the update to update all the package, still the package is dated 27, july. this is the newest. i found the package you mentioned at ctan.org/search/?phrase=tex4ht. but how should i override this package to the system ? after i replace rungs with gs, still gs command is not recognisable.
– shqiang
Oct 26 '17 at 13:13
@shqiang tex4ht version on CTAN is also outdated, the actual one is included in TeX Live or in the source repository.
– michal.h21
Oct 26 '17 at 14:42
@shqiang it seems thatgs
is named asmgs
in Miktex
– michal.h21
Oct 26 '17 at 14:51
|
show 2 more comments
up vote
1
down vote
I worked on the "'rungs' is not recognized" problem and found that the Ghost Script command varies from one operating system to another. The Linux and Windows commands are:
- Linux: gs
- Windows:mgs
Also, I realized that it is more appropriate to use the double quoting to define the -sOutputFIle
, i.e. "Gin@base-.a:PdfConvert"
instead of 'Gin@base-Gin@page.a:PdfConvert'
.
Then the following config file script worked fine for me on a linux operating system:
Preamble{xhtml}
NewConfigure{PdfConvert}{2}
makeatletter
catcode`:=11
edefsvg@ext{.svg}
ifxPictExtsvg@ext
Configure{PdfConvert}{svg}{"pdf2svg 'Gin@base.pdf' 'Gin@base-Gin@page.a:PdfConvert' Gin@page"}
else
Configure{PdfConvert}{png}{"gs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 ifxGin@page@emptyelse -dFirstPage='Gin@page' -dLastPage='Gin@page'fispace -sOutputFile="Gin@base-.a:PdfConvert" Gin@base.pdf"}
fi
Configure{graphics*}
{pdf}
{ifdefinedGin@pageelsedefGin@page{1}fi%
Needs{b:PdfConvert}%
edefsvg:filename{Gin@base-Gin@page.a:PdfConvert}
{Configure{Needs}{File: svg:filename}Needs{}}%
Picture[a:GraphicsAlt]{{svg:filename} csname a:Gin-dimendcsname
}}
catcode`:=12
makeatother
begin{document}
EndPreamble
With this code in a file named my.cfg
on the TeX folder you can run:
htlatex theTexFile my
Hope it could help ;)
add a comment |
up vote
0
down vote
i trye michal.h21 code, from prevous lot of posts, it works well for other people. but it did not work on my computer. Add the configure mentioned above, i list the compiling log file below
C:Z Publications2017textowordtest>htlatex Fancypattern myhtml.cfg
C:Z Publications2017textowordtest>latex makeatletterdefHCode{futureletH
CodeHChar}defHChar{ifx"HCodedefHCode"##1"{Link##1}expandafterHCodeels
eexpandafterLinkfi}defLink#1.a.b.c.{g@addto@macro@documentclasshook{Requ
irePackage[#1,html]{tex4ht}}letHCodedocumentstyledefdocumentstyle{letdocu
mentstyleHCodeexpandafterdefcsname tex4htendcsname{#1,html}defHCode####1{
documentstyle[tex4ht,}@ifnextchar[{HCode}{documentstyle[tex4ht]}}}makeatoth
erHCode myhtml.cfg.a.b.c.input Fancypattern
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6350 64-bit)
entering extended mode
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 75 language(s) loaded.
(Fancypattern.tex ("C:Program FilesMiKTeX 2.9texlatexbasearticle.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:Program FilesMiKTeX 2.9texlatexbasesize12.clo"))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htusepackage.4ht)
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.sty"
****************************************
* Local config file subfigure.cfg used *
****************************************
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.cfg"))
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphicx.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicskeyval.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphics.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicstrig.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphics-cfggraphics.cfg")
("C:Program FilesMiKTeX 2.9texlatexgraphics-defdvips.def"))) (myhtml.cfg
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.4ht
::::::::::::::::::::::::::::::::::::::::::
TeX4ht info is available in the log file
::::::::::::::::::::::::::::::::::::::::::
) (C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty
--- needs --- tex4ht Fancypattern ---
(Fancypattern.tmp) (Fancypattern.xref)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htlatex.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htfontmath.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htarticle.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htsubfigure.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphicx.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphics.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htdvips.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(Fancypattern.aux)) [1] [2]
l.17 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Plas
maimage1.pdf (no BoundingBox) ---
l.21 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Spat
ialEmissionPPicxorignial.pdf (no BoundingBox) ---
[3] [4] (Fancypattern.aux) )
Output written on Fancypattern.dvi (4 pages, 12364 bytes).
Transcript written on Fancypattern.log.
C:Z Publications2017textowordtest>latex makeatletterdefHCode{futureletH
CodeHChar}defHChar{ifx"HCodedefHCode"##1"{Link##1}expandafterHCodeels
eexpandafterLinkfi}defLink#1.a.b.c.{g@addto@macro@documentclasshook{Requ
irePackage[#1,html]{tex4ht}}letHCodedocumentstyledefdocumentstyle{letdocu
mentstyleHCodeexpandafterdefcsname tex4htendcsname{#1,html}defHCode####1{
documentstyle[tex4ht,}@ifnextchar[{HCode}{documentstyle[tex4ht]}}}makeatoth
erHCode myhtml.cfg.a.b.c.input Fancypattern
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6350 64-bit)
entering extended mode
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 75 language(s) loaded.
(Fancypattern.tex ("C:Program FilesMiKTeX 2.9texlatexbasearticle.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:Program FilesMiKTeX 2.9texlatexbasesize12.clo"))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htusepackage.4ht)
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.sty"
****************************************
* Local config file subfigure.cfg used *
****************************************
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.cfg"))
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphicx.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicskeyval.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphics.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicstrig.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphics-cfggraphics.cfg")
("C:Program FilesMiKTeX 2.9texlatexgraphics-defdvips.def"))) (myhtml.cfg
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.4ht
::::::::::::::::::::::::::::::::::::::::::
TeX4ht info is available in the log file
::::::::::::::::::::::::::::::::::::::::::
) (C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty
--- needs --- tex4ht Fancypattern ---
(Fancypattern.tmp) (Fancypattern.xref)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htlatex.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htfontmath.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htarticle.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htsubfigure.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphicx.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphics.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htdvips.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(Fancypattern.aux)) [1] [2]
l.17 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Plas
maimage1.pdf (no BoundingBox) ---
l.21 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Spat
ialEmissionPPicxorignial.pdf (no BoundingBox) ---
[3] [4] (Fancypattern.aux) )
Output written on Fancypattern.dvi (4 pages, 12364 bytes).
Transcript written on Fancypattern.log.
C:Z Publications2017textowordtest>latex makeatletterdefHCode{futureletH
CodeHChar}defHChar{ifx"HCodedefHCode"##1"{Link##1}expandafterHCodeels
eexpandafterLinkfi}defLink#1.a.b.c.{g@addto@macro@documentclasshook{Requ
irePackage[#1,html]{tex4ht}}letHCodedocumentstyledefdocumentstyle{letdocu
mentstyleHCodeexpandafterdefcsname tex4htendcsname{#1,html}defHCode####1{
documentstyle[tex4ht,}@ifnextchar[{HCode}{documentstyle[tex4ht]}}}makeatoth
erHCode myhtml.cfg.a.b.c.input Fancypattern
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6350 64-bit)
entering extended mode
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 75 language(s) loaded.
(Fancypattern.tex ("C:Program FilesMiKTeX 2.9texlatexbasearticle.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:Program FilesMiKTeX 2.9texlatexbasesize12.clo"))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htusepackage.4ht)
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.sty"
****************************************
* Local config file subfigure.cfg used *
****************************************
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.cfg"))
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphicx.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicskeyval.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphics.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicstrig.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphics-cfggraphics.cfg")
("C:Program FilesMiKTeX 2.9texlatexgraphics-defdvips.def"))) (myhtml.cfg
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.4ht
::::::::::::::::::::::::::::::::::::::::::
TeX4ht info is available in the log file
::::::::::::::::::::::::::::::::::::::::::
) (C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty
--- needs --- tex4ht Fancypattern ---
(Fancypattern.tmp) (Fancypattern.xref)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htlatex.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htfontmath.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htarticle.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htsubfigure.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphicx.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphics.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htdvips.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(Fancypattern.aux)) [1] [2]
l.17 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Plas
maimage1.pdf (no BoundingBox) ---
l.21 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Spat
ialEmissionPPicxorignial.pdf (no BoundingBox) ---
[3] [4] (Fancypattern.aux) )
Output written on Fancypattern.dvi (4 pages, 12364 bytes).
Transcript written on Fancypattern.log.
C:Z Publications2017textowordtest>tex4ht Fancypattern -i/tex4ht/ht-fonts/ -e
win32/tex4ht.env
----------------------------
tex4ht.c (2012-07-25-19:36 Windows MiKTeX)
tex4ht Fancypattern
-i/tex4ht/ht-fonts/
-ewin32/tex4ht.env
(C:/Program Files/MiKTeX 2.9/tex4ht/base/win32/tex4ht.env)
(C:/Users/zhang/AppData/Roaming/MiKTeX/2.9/tex4ht/ht-fonts/iso8859/1/charset/uni
code.4hf)
(C:/Program Files/MiKTeX 2.9/fonts/tfm/public/cm/cmr12.tfm)
(C:/Users/zhang/AppData/Roaming/MiKTeX/2.9/tex4ht/ht-fonts/alias/lm/lm-rep-cmrm/
cmr.htf)
Searching `lm-rep-cmrm.htf' for `cmr12.htf'
(C:/Users/zhang/AppData/Roaming/MiKTeX/2.9/tex4ht/ht-fonts/unicode/lm/lm-rep-cmr
m.htf)
(C:/Program Files/MiKTeX 2.9/fonts/tfm/public/cm/cmr10.tfm)
(C:/Users/zhang/AppData/Roaming/MiKTeX/2.9/tex4ht/ht-fonts/alias/lm/lm-rep-cmrm/
cmr.htf)
Searching `lm-rep-cmrm.htf' for `cmr10.htf'
(C:/Users/zhang/AppData/Roaming/MiKTeX/2.9/tex4ht/ht-fonts/unicode/lm/lm-rep-cmr
m.htf)
[1 file Fancypattern.html
file Fancypattern.css
file Fancypattern.tmp
] [2] [3] [4]
Execute script `Fancypattern.lg'
C:Z Publications2017textowordtest>t4ht Fancypattern -ewin32/tex4ht.env
----------------------------
t4ht.c (2012-07-25-19:28 MiKTeX)
t4ht Fancypattern
-ewin32/tex4ht.env
(C:/Program Files/MiKTeX 2.9/tex4ht/base/win32/tex4ht.env)
Entering Fancypattern.lg
Entering Fancypattern.css
Entering Fancypattern.tmp
System call: rungs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 -dFirstPage='1'
-dLastPage='1' -sOutputFile='pdffigure//Plasmaimage1-1.png' pdffigure//Plasmaima
ge1.pdf
'rungs' is not recognized as an internal or external command,
operable program or batch file.
--- Warning --- System return: 1
System call: rungs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 -dFirstPage='1'
-dLastPage='1' -sOutputFile='pdffigure//SpatialEmissionPPicxorignial-1.png' pdff
igure//SpatialEmissionPPicxorignial.pdf
'rungs' is not recognized as an internal or external command,
operable program or batch file.
--- Warning --- System return: 1
C:Z Publications2017textowordtest>
the mythml.cfg file containing the code mentioned above
add a comment |
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
The PDF
support have been added to tex4ht
last week, so it should work if you update your TeX distribution. If you can't update it, you can use the following configuration file, which is modified version of the code added to the tex4ht
core:
Preamble{xhtml}
NewConfigure{PdfConvert}{2}
makeatletter
catcode`:=11
edefsvg@ext{.svg}
ifxPictExtsvg@ext
Configure{PdfConvert}{svg}{"pdf2svg 'Gin@base.pdf' 'Gin@base-Gin@page.a:PdfConvert' Gin@page"}
else
Configure{PdfConvert}{png}{"rungs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 ifxGin@page@emptyelse -dFirstPage='Gin@page' -dLastPage='Gin@page'fispace -sOutputFile='Gin@base-Gin@page.a:PdfConvert' Gin@base.pdf"}
fi
Configure{graphics*}
{pdf}
{ifdefinedGin@pageelsedefGin@page{1}fi%
Needs{b:PdfConvert}%
edefsvg:filename{Gin@base-Gin@page.a:PdfConvert}
{Configure{Needs}{File: svg:filename}Needs{}}%
Picture[a:GraphicsAlt]{{svg:filename} csname a:Gin-dimendcsname
}}
catcode`:=12
makeatother
begin{document}
EndPreamble
It converts pdf
to png
by default. It also supports svg
conversion, which can be requested using the svg
option, but you need pdf2svg
command installed on your system for this support.
It is also important to create special files with image dimension for all pictures, in order to get correct size of the images. It can be done using command
ebb -x pdffigure/*.pdf
This is the result with some dummy images:
1
thanks for you comment again. I have checked my package tex4ht, it is dated 28,May this year. the newest version you mentioned i didn't find it. i also tryed your code listed above, the problem is not solved still. the image is not displayed, same as the figure in the post. i have tryed a lot code found on this website, it did not work. a solution would be including in the final stage, only in the .html stage, no matter it is .pdf , .png, .eps etc,making image embed process easier. i attached my log file below with the code you list as above.
– shqiang
Oct 26 '17 at 9:13
@shqiang it seems thatrungs
command isn't included in Miktex, it also doesn't ship recent version oftex4ht. Try to replace
rungs` withgs
inConfigure{PdfConvert}{png}
.
– michal.h21
Oct 26 '17 at 9:31
i use the package manager and the update to update all the package, still the package is dated 27, july. this is the newest. i found the package you mentioned at ctan.org/search/?phrase=tex4ht. but how should i override this package to the system ? after i replace rungs with gs, still gs command is not recognisable.
– shqiang
Oct 26 '17 at 13:13
@shqiang tex4ht version on CTAN is also outdated, the actual one is included in TeX Live or in the source repository.
– michal.h21
Oct 26 '17 at 14:42
@shqiang it seems thatgs
is named asmgs
in Miktex
– michal.h21
Oct 26 '17 at 14:51
|
show 2 more comments
up vote
2
down vote
accepted
The PDF
support have been added to tex4ht
last week, so it should work if you update your TeX distribution. If you can't update it, you can use the following configuration file, which is modified version of the code added to the tex4ht
core:
Preamble{xhtml}
NewConfigure{PdfConvert}{2}
makeatletter
catcode`:=11
edefsvg@ext{.svg}
ifxPictExtsvg@ext
Configure{PdfConvert}{svg}{"pdf2svg 'Gin@base.pdf' 'Gin@base-Gin@page.a:PdfConvert' Gin@page"}
else
Configure{PdfConvert}{png}{"rungs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 ifxGin@page@emptyelse -dFirstPage='Gin@page' -dLastPage='Gin@page'fispace -sOutputFile='Gin@base-Gin@page.a:PdfConvert' Gin@base.pdf"}
fi
Configure{graphics*}
{pdf}
{ifdefinedGin@pageelsedefGin@page{1}fi%
Needs{b:PdfConvert}%
edefsvg:filename{Gin@base-Gin@page.a:PdfConvert}
{Configure{Needs}{File: svg:filename}Needs{}}%
Picture[a:GraphicsAlt]{{svg:filename} csname a:Gin-dimendcsname
}}
catcode`:=12
makeatother
begin{document}
EndPreamble
It converts pdf
to png
by default. It also supports svg
conversion, which can be requested using the svg
option, but you need pdf2svg
command installed on your system for this support.
It is also important to create special files with image dimension for all pictures, in order to get correct size of the images. It can be done using command
ebb -x pdffigure/*.pdf
This is the result with some dummy images:
1
thanks for you comment again. I have checked my package tex4ht, it is dated 28,May this year. the newest version you mentioned i didn't find it. i also tryed your code listed above, the problem is not solved still. the image is not displayed, same as the figure in the post. i have tryed a lot code found on this website, it did not work. a solution would be including in the final stage, only in the .html stage, no matter it is .pdf , .png, .eps etc,making image embed process easier. i attached my log file below with the code you list as above.
– shqiang
Oct 26 '17 at 9:13
@shqiang it seems thatrungs
command isn't included in Miktex, it also doesn't ship recent version oftex4ht. Try to replace
rungs` withgs
inConfigure{PdfConvert}{png}
.
– michal.h21
Oct 26 '17 at 9:31
i use the package manager and the update to update all the package, still the package is dated 27, july. this is the newest. i found the package you mentioned at ctan.org/search/?phrase=tex4ht. but how should i override this package to the system ? after i replace rungs with gs, still gs command is not recognisable.
– shqiang
Oct 26 '17 at 13:13
@shqiang tex4ht version on CTAN is also outdated, the actual one is included in TeX Live or in the source repository.
– michal.h21
Oct 26 '17 at 14:42
@shqiang it seems thatgs
is named asmgs
in Miktex
– michal.h21
Oct 26 '17 at 14:51
|
show 2 more comments
up vote
2
down vote
accepted
up vote
2
down vote
accepted
The PDF
support have been added to tex4ht
last week, so it should work if you update your TeX distribution. If you can't update it, you can use the following configuration file, which is modified version of the code added to the tex4ht
core:
Preamble{xhtml}
NewConfigure{PdfConvert}{2}
makeatletter
catcode`:=11
edefsvg@ext{.svg}
ifxPictExtsvg@ext
Configure{PdfConvert}{svg}{"pdf2svg 'Gin@base.pdf' 'Gin@base-Gin@page.a:PdfConvert' Gin@page"}
else
Configure{PdfConvert}{png}{"rungs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 ifxGin@page@emptyelse -dFirstPage='Gin@page' -dLastPage='Gin@page'fispace -sOutputFile='Gin@base-Gin@page.a:PdfConvert' Gin@base.pdf"}
fi
Configure{graphics*}
{pdf}
{ifdefinedGin@pageelsedefGin@page{1}fi%
Needs{b:PdfConvert}%
edefsvg:filename{Gin@base-Gin@page.a:PdfConvert}
{Configure{Needs}{File: svg:filename}Needs{}}%
Picture[a:GraphicsAlt]{{svg:filename} csname a:Gin-dimendcsname
}}
catcode`:=12
makeatother
begin{document}
EndPreamble
It converts pdf
to png
by default. It also supports svg
conversion, which can be requested using the svg
option, but you need pdf2svg
command installed on your system for this support.
It is also important to create special files with image dimension for all pictures, in order to get correct size of the images. It can be done using command
ebb -x pdffigure/*.pdf
This is the result with some dummy images:
The PDF
support have been added to tex4ht
last week, so it should work if you update your TeX distribution. If you can't update it, you can use the following configuration file, which is modified version of the code added to the tex4ht
core:
Preamble{xhtml}
NewConfigure{PdfConvert}{2}
makeatletter
catcode`:=11
edefsvg@ext{.svg}
ifxPictExtsvg@ext
Configure{PdfConvert}{svg}{"pdf2svg 'Gin@base.pdf' 'Gin@base-Gin@page.a:PdfConvert' Gin@page"}
else
Configure{PdfConvert}{png}{"rungs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 ifxGin@page@emptyelse -dFirstPage='Gin@page' -dLastPage='Gin@page'fispace -sOutputFile='Gin@base-Gin@page.a:PdfConvert' Gin@base.pdf"}
fi
Configure{graphics*}
{pdf}
{ifdefinedGin@pageelsedefGin@page{1}fi%
Needs{b:PdfConvert}%
edefsvg:filename{Gin@base-Gin@page.a:PdfConvert}
{Configure{Needs}{File: svg:filename}Needs{}}%
Picture[a:GraphicsAlt]{{svg:filename} csname a:Gin-dimendcsname
}}
catcode`:=12
makeatother
begin{document}
EndPreamble
It converts pdf
to png
by default. It also supports svg
conversion, which can be requested using the svg
option, but you need pdf2svg
command installed on your system for this support.
It is also important to create special files with image dimension for all pictures, in order to get correct size of the images. It can be done using command
ebb -x pdffigure/*.pdf
This is the result with some dummy images:
answered Oct 25 '17 at 21:39
michal.h21
28.9k445103
28.9k445103
1
thanks for you comment again. I have checked my package tex4ht, it is dated 28,May this year. the newest version you mentioned i didn't find it. i also tryed your code listed above, the problem is not solved still. the image is not displayed, same as the figure in the post. i have tryed a lot code found on this website, it did not work. a solution would be including in the final stage, only in the .html stage, no matter it is .pdf , .png, .eps etc,making image embed process easier. i attached my log file below with the code you list as above.
– shqiang
Oct 26 '17 at 9:13
@shqiang it seems thatrungs
command isn't included in Miktex, it also doesn't ship recent version oftex4ht. Try to replace
rungs` withgs
inConfigure{PdfConvert}{png}
.
– michal.h21
Oct 26 '17 at 9:31
i use the package manager and the update to update all the package, still the package is dated 27, july. this is the newest. i found the package you mentioned at ctan.org/search/?phrase=tex4ht. but how should i override this package to the system ? after i replace rungs with gs, still gs command is not recognisable.
– shqiang
Oct 26 '17 at 13:13
@shqiang tex4ht version on CTAN is also outdated, the actual one is included in TeX Live or in the source repository.
– michal.h21
Oct 26 '17 at 14:42
@shqiang it seems thatgs
is named asmgs
in Miktex
– michal.h21
Oct 26 '17 at 14:51
|
show 2 more comments
1
thanks for you comment again. I have checked my package tex4ht, it is dated 28,May this year. the newest version you mentioned i didn't find it. i also tryed your code listed above, the problem is not solved still. the image is not displayed, same as the figure in the post. i have tryed a lot code found on this website, it did not work. a solution would be including in the final stage, only in the .html stage, no matter it is .pdf , .png, .eps etc,making image embed process easier. i attached my log file below with the code you list as above.
– shqiang
Oct 26 '17 at 9:13
@shqiang it seems thatrungs
command isn't included in Miktex, it also doesn't ship recent version oftex4ht. Try to replace
rungs` withgs
inConfigure{PdfConvert}{png}
.
– michal.h21
Oct 26 '17 at 9:31
i use the package manager and the update to update all the package, still the package is dated 27, july. this is the newest. i found the package you mentioned at ctan.org/search/?phrase=tex4ht. but how should i override this package to the system ? after i replace rungs with gs, still gs command is not recognisable.
– shqiang
Oct 26 '17 at 13:13
@shqiang tex4ht version on CTAN is also outdated, the actual one is included in TeX Live or in the source repository.
– michal.h21
Oct 26 '17 at 14:42
@shqiang it seems thatgs
is named asmgs
in Miktex
– michal.h21
Oct 26 '17 at 14:51
1
1
thanks for you comment again. I have checked my package tex4ht, it is dated 28,May this year. the newest version you mentioned i didn't find it. i also tryed your code listed above, the problem is not solved still. the image is not displayed, same as the figure in the post. i have tryed a lot code found on this website, it did not work. a solution would be including in the final stage, only in the .html stage, no matter it is .pdf , .png, .eps etc,making image embed process easier. i attached my log file below with the code you list as above.
– shqiang
Oct 26 '17 at 9:13
thanks for you comment again. I have checked my package tex4ht, it is dated 28,May this year. the newest version you mentioned i didn't find it. i also tryed your code listed above, the problem is not solved still. the image is not displayed, same as the figure in the post. i have tryed a lot code found on this website, it did not work. a solution would be including in the final stage, only in the .html stage, no matter it is .pdf , .png, .eps etc,making image embed process easier. i attached my log file below with the code you list as above.
– shqiang
Oct 26 '17 at 9:13
@shqiang it seems that
rungs
command isn't included in Miktex, it also doesn't ship recent version of tex4ht. Try to replace
rungs` with gs
in Configure{PdfConvert}{png}
.– michal.h21
Oct 26 '17 at 9:31
@shqiang it seems that
rungs
command isn't included in Miktex, it also doesn't ship recent version of tex4ht. Try to replace
rungs` with gs
in Configure{PdfConvert}{png}
.– michal.h21
Oct 26 '17 at 9:31
i use the package manager and the update to update all the package, still the package is dated 27, july. this is the newest. i found the package you mentioned at ctan.org/search/?phrase=tex4ht. but how should i override this package to the system ? after i replace rungs with gs, still gs command is not recognisable.
– shqiang
Oct 26 '17 at 13:13
i use the package manager and the update to update all the package, still the package is dated 27, july. this is the newest. i found the package you mentioned at ctan.org/search/?phrase=tex4ht. but how should i override this package to the system ? after i replace rungs with gs, still gs command is not recognisable.
– shqiang
Oct 26 '17 at 13:13
@shqiang tex4ht version on CTAN is also outdated, the actual one is included in TeX Live or in the source repository.
– michal.h21
Oct 26 '17 at 14:42
@shqiang tex4ht version on CTAN is also outdated, the actual one is included in TeX Live or in the source repository.
– michal.h21
Oct 26 '17 at 14:42
@shqiang it seems that
gs
is named as mgs
in Miktex– michal.h21
Oct 26 '17 at 14:51
@shqiang it seems that
gs
is named as mgs
in Miktex– michal.h21
Oct 26 '17 at 14:51
|
show 2 more comments
up vote
1
down vote
I worked on the "'rungs' is not recognized" problem and found that the Ghost Script command varies from one operating system to another. The Linux and Windows commands are:
- Linux: gs
- Windows:mgs
Also, I realized that it is more appropriate to use the double quoting to define the -sOutputFIle
, i.e. "Gin@base-.a:PdfConvert"
instead of 'Gin@base-Gin@page.a:PdfConvert'
.
Then the following config file script worked fine for me on a linux operating system:
Preamble{xhtml}
NewConfigure{PdfConvert}{2}
makeatletter
catcode`:=11
edefsvg@ext{.svg}
ifxPictExtsvg@ext
Configure{PdfConvert}{svg}{"pdf2svg 'Gin@base.pdf' 'Gin@base-Gin@page.a:PdfConvert' Gin@page"}
else
Configure{PdfConvert}{png}{"gs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 ifxGin@page@emptyelse -dFirstPage='Gin@page' -dLastPage='Gin@page'fispace -sOutputFile="Gin@base-.a:PdfConvert" Gin@base.pdf"}
fi
Configure{graphics*}
{pdf}
{ifdefinedGin@pageelsedefGin@page{1}fi%
Needs{b:PdfConvert}%
edefsvg:filename{Gin@base-Gin@page.a:PdfConvert}
{Configure{Needs}{File: svg:filename}Needs{}}%
Picture[a:GraphicsAlt]{{svg:filename} csname a:Gin-dimendcsname
}}
catcode`:=12
makeatother
begin{document}
EndPreamble
With this code in a file named my.cfg
on the TeX folder you can run:
htlatex theTexFile my
Hope it could help ;)
add a comment |
up vote
1
down vote
I worked on the "'rungs' is not recognized" problem and found that the Ghost Script command varies from one operating system to another. The Linux and Windows commands are:
- Linux: gs
- Windows:mgs
Also, I realized that it is more appropriate to use the double quoting to define the -sOutputFIle
, i.e. "Gin@base-.a:PdfConvert"
instead of 'Gin@base-Gin@page.a:PdfConvert'
.
Then the following config file script worked fine for me on a linux operating system:
Preamble{xhtml}
NewConfigure{PdfConvert}{2}
makeatletter
catcode`:=11
edefsvg@ext{.svg}
ifxPictExtsvg@ext
Configure{PdfConvert}{svg}{"pdf2svg 'Gin@base.pdf' 'Gin@base-Gin@page.a:PdfConvert' Gin@page"}
else
Configure{PdfConvert}{png}{"gs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 ifxGin@page@emptyelse -dFirstPage='Gin@page' -dLastPage='Gin@page'fispace -sOutputFile="Gin@base-.a:PdfConvert" Gin@base.pdf"}
fi
Configure{graphics*}
{pdf}
{ifdefinedGin@pageelsedefGin@page{1}fi%
Needs{b:PdfConvert}%
edefsvg:filename{Gin@base-Gin@page.a:PdfConvert}
{Configure{Needs}{File: svg:filename}Needs{}}%
Picture[a:GraphicsAlt]{{svg:filename} csname a:Gin-dimendcsname
}}
catcode`:=12
makeatother
begin{document}
EndPreamble
With this code in a file named my.cfg
on the TeX folder you can run:
htlatex theTexFile my
Hope it could help ;)
add a comment |
up vote
1
down vote
up vote
1
down vote
I worked on the "'rungs' is not recognized" problem and found that the Ghost Script command varies from one operating system to another. The Linux and Windows commands are:
- Linux: gs
- Windows:mgs
Also, I realized that it is more appropriate to use the double quoting to define the -sOutputFIle
, i.e. "Gin@base-.a:PdfConvert"
instead of 'Gin@base-Gin@page.a:PdfConvert'
.
Then the following config file script worked fine for me on a linux operating system:
Preamble{xhtml}
NewConfigure{PdfConvert}{2}
makeatletter
catcode`:=11
edefsvg@ext{.svg}
ifxPictExtsvg@ext
Configure{PdfConvert}{svg}{"pdf2svg 'Gin@base.pdf' 'Gin@base-Gin@page.a:PdfConvert' Gin@page"}
else
Configure{PdfConvert}{png}{"gs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 ifxGin@page@emptyelse -dFirstPage='Gin@page' -dLastPage='Gin@page'fispace -sOutputFile="Gin@base-.a:PdfConvert" Gin@base.pdf"}
fi
Configure{graphics*}
{pdf}
{ifdefinedGin@pageelsedefGin@page{1}fi%
Needs{b:PdfConvert}%
edefsvg:filename{Gin@base-Gin@page.a:PdfConvert}
{Configure{Needs}{File: svg:filename}Needs{}}%
Picture[a:GraphicsAlt]{{svg:filename} csname a:Gin-dimendcsname
}}
catcode`:=12
makeatother
begin{document}
EndPreamble
With this code in a file named my.cfg
on the TeX folder you can run:
htlatex theTexFile my
Hope it could help ;)
I worked on the "'rungs' is not recognized" problem and found that the Ghost Script command varies from one operating system to another. The Linux and Windows commands are:
- Linux: gs
- Windows:mgs
Also, I realized that it is more appropriate to use the double quoting to define the -sOutputFIle
, i.e. "Gin@base-.a:PdfConvert"
instead of 'Gin@base-Gin@page.a:PdfConvert'
.
Then the following config file script worked fine for me on a linux operating system:
Preamble{xhtml}
NewConfigure{PdfConvert}{2}
makeatletter
catcode`:=11
edefsvg@ext{.svg}
ifxPictExtsvg@ext
Configure{PdfConvert}{svg}{"pdf2svg 'Gin@base.pdf' 'Gin@base-Gin@page.a:PdfConvert' Gin@page"}
else
Configure{PdfConvert}{png}{"gs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 ifxGin@page@emptyelse -dFirstPage='Gin@page' -dLastPage='Gin@page'fispace -sOutputFile="Gin@base-.a:PdfConvert" Gin@base.pdf"}
fi
Configure{graphics*}
{pdf}
{ifdefinedGin@pageelsedefGin@page{1}fi%
Needs{b:PdfConvert}%
edefsvg:filename{Gin@base-Gin@page.a:PdfConvert}
{Configure{Needs}{File: svg:filename}Needs{}}%
Picture[a:GraphicsAlt]{{svg:filename} csname a:Gin-dimendcsname
}}
catcode`:=12
makeatother
begin{document}
EndPreamble
With this code in a file named my.cfg
on the TeX folder you can run:
htlatex theTexFile my
Hope it could help ;)
edited Nov 29 at 14:08
siracusa
4,53511128
4,53511128
answered Nov 29 at 13:49
groussea
111
111
add a comment |
add a comment |
up vote
0
down vote
i trye michal.h21 code, from prevous lot of posts, it works well for other people. but it did not work on my computer. Add the configure mentioned above, i list the compiling log file below
C:Z Publications2017textowordtest>htlatex Fancypattern myhtml.cfg
C:Z Publications2017textowordtest>latex makeatletterdefHCode{futureletH
CodeHChar}defHChar{ifx"HCodedefHCode"##1"{Link##1}expandafterHCodeels
eexpandafterLinkfi}defLink#1.a.b.c.{g@addto@macro@documentclasshook{Requ
irePackage[#1,html]{tex4ht}}letHCodedocumentstyledefdocumentstyle{letdocu
mentstyleHCodeexpandafterdefcsname tex4htendcsname{#1,html}defHCode####1{
documentstyle[tex4ht,}@ifnextchar[{HCode}{documentstyle[tex4ht]}}}makeatoth
erHCode myhtml.cfg.a.b.c.input Fancypattern
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6350 64-bit)
entering extended mode
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 75 language(s) loaded.
(Fancypattern.tex ("C:Program FilesMiKTeX 2.9texlatexbasearticle.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:Program FilesMiKTeX 2.9texlatexbasesize12.clo"))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htusepackage.4ht)
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.sty"
****************************************
* Local config file subfigure.cfg used *
****************************************
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.cfg"))
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphicx.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicskeyval.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphics.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicstrig.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphics-cfggraphics.cfg")
("C:Program FilesMiKTeX 2.9texlatexgraphics-defdvips.def"))) (myhtml.cfg
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.4ht
::::::::::::::::::::::::::::::::::::::::::
TeX4ht info is available in the log file
::::::::::::::::::::::::::::::::::::::::::
) (C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty
--- needs --- tex4ht Fancypattern ---
(Fancypattern.tmp) (Fancypattern.xref)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htlatex.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htfontmath.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htarticle.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htsubfigure.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphicx.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphics.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htdvips.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(Fancypattern.aux)) [1] [2]
l.17 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Plas
maimage1.pdf (no BoundingBox) ---
l.21 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Spat
ialEmissionPPicxorignial.pdf (no BoundingBox) ---
[3] [4] (Fancypattern.aux) )
Output written on Fancypattern.dvi (4 pages, 12364 bytes).
Transcript written on Fancypattern.log.
C:Z Publications2017textowordtest>latex makeatletterdefHCode{futureletH
CodeHChar}defHChar{ifx"HCodedefHCode"##1"{Link##1}expandafterHCodeels
eexpandafterLinkfi}defLink#1.a.b.c.{g@addto@macro@documentclasshook{Requ
irePackage[#1,html]{tex4ht}}letHCodedocumentstyledefdocumentstyle{letdocu
mentstyleHCodeexpandafterdefcsname tex4htendcsname{#1,html}defHCode####1{
documentstyle[tex4ht,}@ifnextchar[{HCode}{documentstyle[tex4ht]}}}makeatoth
erHCode myhtml.cfg.a.b.c.input Fancypattern
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6350 64-bit)
entering extended mode
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 75 language(s) loaded.
(Fancypattern.tex ("C:Program FilesMiKTeX 2.9texlatexbasearticle.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:Program FilesMiKTeX 2.9texlatexbasesize12.clo"))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htusepackage.4ht)
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.sty"
****************************************
* Local config file subfigure.cfg used *
****************************************
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.cfg"))
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphicx.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicskeyval.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphics.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicstrig.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphics-cfggraphics.cfg")
("C:Program FilesMiKTeX 2.9texlatexgraphics-defdvips.def"))) (myhtml.cfg
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.4ht
::::::::::::::::::::::::::::::::::::::::::
TeX4ht info is available in the log file
::::::::::::::::::::::::::::::::::::::::::
) (C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty
--- needs --- tex4ht Fancypattern ---
(Fancypattern.tmp) (Fancypattern.xref)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htlatex.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htfontmath.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htarticle.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htsubfigure.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphicx.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphics.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htdvips.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(Fancypattern.aux)) [1] [2]
l.17 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Plas
maimage1.pdf (no BoundingBox) ---
l.21 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Spat
ialEmissionPPicxorignial.pdf (no BoundingBox) ---
[3] [4] (Fancypattern.aux) )
Output written on Fancypattern.dvi (4 pages, 12364 bytes).
Transcript written on Fancypattern.log.
C:Z Publications2017textowordtest>latex makeatletterdefHCode{futureletH
CodeHChar}defHChar{ifx"HCodedefHCode"##1"{Link##1}expandafterHCodeels
eexpandafterLinkfi}defLink#1.a.b.c.{g@addto@macro@documentclasshook{Requ
irePackage[#1,html]{tex4ht}}letHCodedocumentstyledefdocumentstyle{letdocu
mentstyleHCodeexpandafterdefcsname tex4htendcsname{#1,html}defHCode####1{
documentstyle[tex4ht,}@ifnextchar[{HCode}{documentstyle[tex4ht]}}}makeatoth
erHCode myhtml.cfg.a.b.c.input Fancypattern
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6350 64-bit)
entering extended mode
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 75 language(s) loaded.
(Fancypattern.tex ("C:Program FilesMiKTeX 2.9texlatexbasearticle.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:Program FilesMiKTeX 2.9texlatexbasesize12.clo"))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htusepackage.4ht)
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.sty"
****************************************
* Local config file subfigure.cfg used *
****************************************
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.cfg"))
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphicx.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicskeyval.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphics.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicstrig.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphics-cfggraphics.cfg")
("C:Program FilesMiKTeX 2.9texlatexgraphics-defdvips.def"))) (myhtml.cfg
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.4ht
::::::::::::::::::::::::::::::::::::::::::
TeX4ht info is available in the log file
::::::::::::::::::::::::::::::::::::::::::
) (C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty
--- needs --- tex4ht Fancypattern ---
(Fancypattern.tmp) (Fancypattern.xref)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htlatex.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htfontmath.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htarticle.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htsubfigure.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphicx.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphics.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htdvips.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(Fancypattern.aux)) [1] [2]
l.17 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Plas
maimage1.pdf (no BoundingBox) ---
l.21 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Spat
ialEmissionPPicxorignial.pdf (no BoundingBox) ---
[3] [4] (Fancypattern.aux) )
Output written on Fancypattern.dvi (4 pages, 12364 bytes).
Transcript written on Fancypattern.log.
C:Z Publications2017textowordtest>tex4ht Fancypattern -i/tex4ht/ht-fonts/ -e
win32/tex4ht.env
----------------------------
tex4ht.c (2012-07-25-19:36 Windows MiKTeX)
tex4ht Fancypattern
-i/tex4ht/ht-fonts/
-ewin32/tex4ht.env
(C:/Program Files/MiKTeX 2.9/tex4ht/base/win32/tex4ht.env)
(C:/Users/zhang/AppData/Roaming/MiKTeX/2.9/tex4ht/ht-fonts/iso8859/1/charset/uni
code.4hf)
(C:/Program Files/MiKTeX 2.9/fonts/tfm/public/cm/cmr12.tfm)
(C:/Users/zhang/AppData/Roaming/MiKTeX/2.9/tex4ht/ht-fonts/alias/lm/lm-rep-cmrm/
cmr.htf)
Searching `lm-rep-cmrm.htf' for `cmr12.htf'
(C:/Users/zhang/AppData/Roaming/MiKTeX/2.9/tex4ht/ht-fonts/unicode/lm/lm-rep-cmr
m.htf)
(C:/Program Files/MiKTeX 2.9/fonts/tfm/public/cm/cmr10.tfm)
(C:/Users/zhang/AppData/Roaming/MiKTeX/2.9/tex4ht/ht-fonts/alias/lm/lm-rep-cmrm/
cmr.htf)
Searching `lm-rep-cmrm.htf' for `cmr10.htf'
(C:/Users/zhang/AppData/Roaming/MiKTeX/2.9/tex4ht/ht-fonts/unicode/lm/lm-rep-cmr
m.htf)
[1 file Fancypattern.html
file Fancypattern.css
file Fancypattern.tmp
] [2] [3] [4]
Execute script `Fancypattern.lg'
C:Z Publications2017textowordtest>t4ht Fancypattern -ewin32/tex4ht.env
----------------------------
t4ht.c (2012-07-25-19:28 MiKTeX)
t4ht Fancypattern
-ewin32/tex4ht.env
(C:/Program Files/MiKTeX 2.9/tex4ht/base/win32/tex4ht.env)
Entering Fancypattern.lg
Entering Fancypattern.css
Entering Fancypattern.tmp
System call: rungs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 -dFirstPage='1'
-dLastPage='1' -sOutputFile='pdffigure//Plasmaimage1-1.png' pdffigure//Plasmaima
ge1.pdf
'rungs' is not recognized as an internal or external command,
operable program or batch file.
--- Warning --- System return: 1
System call: rungs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 -dFirstPage='1'
-dLastPage='1' -sOutputFile='pdffigure//SpatialEmissionPPicxorignial-1.png' pdff
igure//SpatialEmissionPPicxorignial.pdf
'rungs' is not recognized as an internal or external command,
operable program or batch file.
--- Warning --- System return: 1
C:Z Publications2017textowordtest>
the mythml.cfg file containing the code mentioned above
add a comment |
up vote
0
down vote
i trye michal.h21 code, from prevous lot of posts, it works well for other people. but it did not work on my computer. Add the configure mentioned above, i list the compiling log file below
C:Z Publications2017textowordtest>htlatex Fancypattern myhtml.cfg
C:Z Publications2017textowordtest>latex makeatletterdefHCode{futureletH
CodeHChar}defHChar{ifx"HCodedefHCode"##1"{Link##1}expandafterHCodeels
eexpandafterLinkfi}defLink#1.a.b.c.{g@addto@macro@documentclasshook{Requ
irePackage[#1,html]{tex4ht}}letHCodedocumentstyledefdocumentstyle{letdocu
mentstyleHCodeexpandafterdefcsname tex4htendcsname{#1,html}defHCode####1{
documentstyle[tex4ht,}@ifnextchar[{HCode}{documentstyle[tex4ht]}}}makeatoth
erHCode myhtml.cfg.a.b.c.input Fancypattern
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6350 64-bit)
entering extended mode
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 75 language(s) loaded.
(Fancypattern.tex ("C:Program FilesMiKTeX 2.9texlatexbasearticle.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:Program FilesMiKTeX 2.9texlatexbasesize12.clo"))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htusepackage.4ht)
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.sty"
****************************************
* Local config file subfigure.cfg used *
****************************************
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.cfg"))
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphicx.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicskeyval.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphics.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicstrig.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphics-cfggraphics.cfg")
("C:Program FilesMiKTeX 2.9texlatexgraphics-defdvips.def"))) (myhtml.cfg
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.4ht
::::::::::::::::::::::::::::::::::::::::::
TeX4ht info is available in the log file
::::::::::::::::::::::::::::::::::::::::::
) (C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty
--- needs --- tex4ht Fancypattern ---
(Fancypattern.tmp) (Fancypattern.xref)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htlatex.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htfontmath.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htarticle.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htsubfigure.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphicx.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphics.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htdvips.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(Fancypattern.aux)) [1] [2]
l.17 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Plas
maimage1.pdf (no BoundingBox) ---
l.21 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Spat
ialEmissionPPicxorignial.pdf (no BoundingBox) ---
[3] [4] (Fancypattern.aux) )
Output written on Fancypattern.dvi (4 pages, 12364 bytes).
Transcript written on Fancypattern.log.
C:Z Publications2017textowordtest>latex makeatletterdefHCode{futureletH
CodeHChar}defHChar{ifx"HCodedefHCode"##1"{Link##1}expandafterHCodeels
eexpandafterLinkfi}defLink#1.a.b.c.{g@addto@macro@documentclasshook{Requ
irePackage[#1,html]{tex4ht}}letHCodedocumentstyledefdocumentstyle{letdocu
mentstyleHCodeexpandafterdefcsname tex4htendcsname{#1,html}defHCode####1{
documentstyle[tex4ht,}@ifnextchar[{HCode}{documentstyle[tex4ht]}}}makeatoth
erHCode myhtml.cfg.a.b.c.input Fancypattern
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6350 64-bit)
entering extended mode
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 75 language(s) loaded.
(Fancypattern.tex ("C:Program FilesMiKTeX 2.9texlatexbasearticle.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:Program FilesMiKTeX 2.9texlatexbasesize12.clo"))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htusepackage.4ht)
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.sty"
****************************************
* Local config file subfigure.cfg used *
****************************************
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.cfg"))
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphicx.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicskeyval.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphics.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicstrig.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphics-cfggraphics.cfg")
("C:Program FilesMiKTeX 2.9texlatexgraphics-defdvips.def"))) (myhtml.cfg
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.4ht
::::::::::::::::::::::::::::::::::::::::::
TeX4ht info is available in the log file
::::::::::::::::::::::::::::::::::::::::::
) (C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty
--- needs --- tex4ht Fancypattern ---
(Fancypattern.tmp) (Fancypattern.xref)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htlatex.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htfontmath.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htarticle.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htsubfigure.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphicx.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphics.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htdvips.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(Fancypattern.aux)) [1] [2]
l.17 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Plas
maimage1.pdf (no BoundingBox) ---
l.21 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Spat
ialEmissionPPicxorignial.pdf (no BoundingBox) ---
[3] [4] (Fancypattern.aux) )
Output written on Fancypattern.dvi (4 pages, 12364 bytes).
Transcript written on Fancypattern.log.
C:Z Publications2017textowordtest>latex makeatletterdefHCode{futureletH
CodeHChar}defHChar{ifx"HCodedefHCode"##1"{Link##1}expandafterHCodeels
eexpandafterLinkfi}defLink#1.a.b.c.{g@addto@macro@documentclasshook{Requ
irePackage[#1,html]{tex4ht}}letHCodedocumentstyledefdocumentstyle{letdocu
mentstyleHCodeexpandafterdefcsname tex4htendcsname{#1,html}defHCode####1{
documentstyle[tex4ht,}@ifnextchar[{HCode}{documentstyle[tex4ht]}}}makeatoth
erHCode myhtml.cfg.a.b.c.input Fancypattern
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6350 64-bit)
entering extended mode
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 75 language(s) loaded.
(Fancypattern.tex ("C:Program FilesMiKTeX 2.9texlatexbasearticle.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:Program FilesMiKTeX 2.9texlatexbasesize12.clo"))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htusepackage.4ht)
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.sty"
****************************************
* Local config file subfigure.cfg used *
****************************************
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.cfg"))
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphicx.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicskeyval.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphics.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicstrig.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphics-cfggraphics.cfg")
("C:Program FilesMiKTeX 2.9texlatexgraphics-defdvips.def"))) (myhtml.cfg
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.4ht
::::::::::::::::::::::::::::::::::::::::::
TeX4ht info is available in the log file
::::::::::::::::::::::::::::::::::::::::::
) (C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty
--- needs --- tex4ht Fancypattern ---
(Fancypattern.tmp) (Fancypattern.xref)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htlatex.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htfontmath.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htarticle.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htsubfigure.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphicx.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphics.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htdvips.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(Fancypattern.aux)) [1] [2]
l.17 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Plas
maimage1.pdf (no BoundingBox) ---
l.21 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Spat
ialEmissionPPicxorignial.pdf (no BoundingBox) ---
[3] [4] (Fancypattern.aux) )
Output written on Fancypattern.dvi (4 pages, 12364 bytes).
Transcript written on Fancypattern.log.
C:Z Publications2017textowordtest>tex4ht Fancypattern -i/tex4ht/ht-fonts/ -e
win32/tex4ht.env
----------------------------
tex4ht.c (2012-07-25-19:36 Windows MiKTeX)
tex4ht Fancypattern
-i/tex4ht/ht-fonts/
-ewin32/tex4ht.env
(C:/Program Files/MiKTeX 2.9/tex4ht/base/win32/tex4ht.env)
(C:/Users/zhang/AppData/Roaming/MiKTeX/2.9/tex4ht/ht-fonts/iso8859/1/charset/uni
code.4hf)
(C:/Program Files/MiKTeX 2.9/fonts/tfm/public/cm/cmr12.tfm)
(C:/Users/zhang/AppData/Roaming/MiKTeX/2.9/tex4ht/ht-fonts/alias/lm/lm-rep-cmrm/
cmr.htf)
Searching `lm-rep-cmrm.htf' for `cmr12.htf'
(C:/Users/zhang/AppData/Roaming/MiKTeX/2.9/tex4ht/ht-fonts/unicode/lm/lm-rep-cmr
m.htf)
(C:/Program Files/MiKTeX 2.9/fonts/tfm/public/cm/cmr10.tfm)
(C:/Users/zhang/AppData/Roaming/MiKTeX/2.9/tex4ht/ht-fonts/alias/lm/lm-rep-cmrm/
cmr.htf)
Searching `lm-rep-cmrm.htf' for `cmr10.htf'
(C:/Users/zhang/AppData/Roaming/MiKTeX/2.9/tex4ht/ht-fonts/unicode/lm/lm-rep-cmr
m.htf)
[1 file Fancypattern.html
file Fancypattern.css
file Fancypattern.tmp
] [2] [3] [4]
Execute script `Fancypattern.lg'
C:Z Publications2017textowordtest>t4ht Fancypattern -ewin32/tex4ht.env
----------------------------
t4ht.c (2012-07-25-19:28 MiKTeX)
t4ht Fancypattern
-ewin32/tex4ht.env
(C:/Program Files/MiKTeX 2.9/tex4ht/base/win32/tex4ht.env)
Entering Fancypattern.lg
Entering Fancypattern.css
Entering Fancypattern.tmp
System call: rungs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 -dFirstPage='1'
-dLastPage='1' -sOutputFile='pdffigure//Plasmaimage1-1.png' pdffigure//Plasmaima
ge1.pdf
'rungs' is not recognized as an internal or external command,
operable program or batch file.
--- Warning --- System return: 1
System call: rungs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 -dFirstPage='1'
-dLastPage='1' -sOutputFile='pdffigure//SpatialEmissionPPicxorignial-1.png' pdff
igure//SpatialEmissionPPicxorignial.pdf
'rungs' is not recognized as an internal or external command,
operable program or batch file.
--- Warning --- System return: 1
C:Z Publications2017textowordtest>
the mythml.cfg file containing the code mentioned above
add a comment |
up vote
0
down vote
up vote
0
down vote
i trye michal.h21 code, from prevous lot of posts, it works well for other people. but it did not work on my computer. Add the configure mentioned above, i list the compiling log file below
C:Z Publications2017textowordtest>htlatex Fancypattern myhtml.cfg
C:Z Publications2017textowordtest>latex makeatletterdefHCode{futureletH
CodeHChar}defHChar{ifx"HCodedefHCode"##1"{Link##1}expandafterHCodeels
eexpandafterLinkfi}defLink#1.a.b.c.{g@addto@macro@documentclasshook{Requ
irePackage[#1,html]{tex4ht}}letHCodedocumentstyledefdocumentstyle{letdocu
mentstyleHCodeexpandafterdefcsname tex4htendcsname{#1,html}defHCode####1{
documentstyle[tex4ht,}@ifnextchar[{HCode}{documentstyle[tex4ht]}}}makeatoth
erHCode myhtml.cfg.a.b.c.input Fancypattern
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6350 64-bit)
entering extended mode
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 75 language(s) loaded.
(Fancypattern.tex ("C:Program FilesMiKTeX 2.9texlatexbasearticle.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:Program FilesMiKTeX 2.9texlatexbasesize12.clo"))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htusepackage.4ht)
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.sty"
****************************************
* Local config file subfigure.cfg used *
****************************************
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.cfg"))
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphicx.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicskeyval.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphics.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicstrig.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphics-cfggraphics.cfg")
("C:Program FilesMiKTeX 2.9texlatexgraphics-defdvips.def"))) (myhtml.cfg
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.4ht
::::::::::::::::::::::::::::::::::::::::::
TeX4ht info is available in the log file
::::::::::::::::::::::::::::::::::::::::::
) (C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty
--- needs --- tex4ht Fancypattern ---
(Fancypattern.tmp) (Fancypattern.xref)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htlatex.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htfontmath.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htarticle.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htsubfigure.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphicx.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphics.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htdvips.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(Fancypattern.aux)) [1] [2]
l.17 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Plas
maimage1.pdf (no BoundingBox) ---
l.21 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Spat
ialEmissionPPicxorignial.pdf (no BoundingBox) ---
[3] [4] (Fancypattern.aux) )
Output written on Fancypattern.dvi (4 pages, 12364 bytes).
Transcript written on Fancypattern.log.
C:Z Publications2017textowordtest>latex makeatletterdefHCode{futureletH
CodeHChar}defHChar{ifx"HCodedefHCode"##1"{Link##1}expandafterHCodeels
eexpandafterLinkfi}defLink#1.a.b.c.{g@addto@macro@documentclasshook{Requ
irePackage[#1,html]{tex4ht}}letHCodedocumentstyledefdocumentstyle{letdocu
mentstyleHCodeexpandafterdefcsname tex4htendcsname{#1,html}defHCode####1{
documentstyle[tex4ht,}@ifnextchar[{HCode}{documentstyle[tex4ht]}}}makeatoth
erHCode myhtml.cfg.a.b.c.input Fancypattern
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6350 64-bit)
entering extended mode
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 75 language(s) loaded.
(Fancypattern.tex ("C:Program FilesMiKTeX 2.9texlatexbasearticle.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:Program FilesMiKTeX 2.9texlatexbasesize12.clo"))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htusepackage.4ht)
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.sty"
****************************************
* Local config file subfigure.cfg used *
****************************************
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.cfg"))
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphicx.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicskeyval.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphics.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicstrig.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphics-cfggraphics.cfg")
("C:Program FilesMiKTeX 2.9texlatexgraphics-defdvips.def"))) (myhtml.cfg
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.4ht
::::::::::::::::::::::::::::::::::::::::::
TeX4ht info is available in the log file
::::::::::::::::::::::::::::::::::::::::::
) (C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty
--- needs --- tex4ht Fancypattern ---
(Fancypattern.tmp) (Fancypattern.xref)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htlatex.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htfontmath.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htarticle.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htsubfigure.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphicx.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphics.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htdvips.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(Fancypattern.aux)) [1] [2]
l.17 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Plas
maimage1.pdf (no BoundingBox) ---
l.21 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Spat
ialEmissionPPicxorignial.pdf (no BoundingBox) ---
[3] [4] (Fancypattern.aux) )
Output written on Fancypattern.dvi (4 pages, 12364 bytes).
Transcript written on Fancypattern.log.
C:Z Publications2017textowordtest>latex makeatletterdefHCode{futureletH
CodeHChar}defHChar{ifx"HCodedefHCode"##1"{Link##1}expandafterHCodeels
eexpandafterLinkfi}defLink#1.a.b.c.{g@addto@macro@documentclasshook{Requ
irePackage[#1,html]{tex4ht}}letHCodedocumentstyledefdocumentstyle{letdocu
mentstyleHCodeexpandafterdefcsname tex4htendcsname{#1,html}defHCode####1{
documentstyle[tex4ht,}@ifnextchar[{HCode}{documentstyle[tex4ht]}}}makeatoth
erHCode myhtml.cfg.a.b.c.input Fancypattern
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6350 64-bit)
entering extended mode
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 75 language(s) loaded.
(Fancypattern.tex ("C:Program FilesMiKTeX 2.9texlatexbasearticle.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:Program FilesMiKTeX 2.9texlatexbasesize12.clo"))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htusepackage.4ht)
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.sty"
****************************************
* Local config file subfigure.cfg used *
****************************************
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.cfg"))
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphicx.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicskeyval.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphics.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicstrig.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphics-cfggraphics.cfg")
("C:Program FilesMiKTeX 2.9texlatexgraphics-defdvips.def"))) (myhtml.cfg
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.4ht
::::::::::::::::::::::::::::::::::::::::::
TeX4ht info is available in the log file
::::::::::::::::::::::::::::::::::::::::::
) (C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty
--- needs --- tex4ht Fancypattern ---
(Fancypattern.tmp) (Fancypattern.xref)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htlatex.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htfontmath.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htarticle.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htsubfigure.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphicx.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphics.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htdvips.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(Fancypattern.aux)) [1] [2]
l.17 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Plas
maimage1.pdf (no BoundingBox) ---
l.21 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Spat
ialEmissionPPicxorignial.pdf (no BoundingBox) ---
[3] [4] (Fancypattern.aux) )
Output written on Fancypattern.dvi (4 pages, 12364 bytes).
Transcript written on Fancypattern.log.
C:Z Publications2017textowordtest>tex4ht Fancypattern -i/tex4ht/ht-fonts/ -e
win32/tex4ht.env
----------------------------
tex4ht.c (2012-07-25-19:36 Windows MiKTeX)
tex4ht Fancypattern
-i/tex4ht/ht-fonts/
-ewin32/tex4ht.env
(C:/Program Files/MiKTeX 2.9/tex4ht/base/win32/tex4ht.env)
(C:/Users/zhang/AppData/Roaming/MiKTeX/2.9/tex4ht/ht-fonts/iso8859/1/charset/uni
code.4hf)
(C:/Program Files/MiKTeX 2.9/fonts/tfm/public/cm/cmr12.tfm)
(C:/Users/zhang/AppData/Roaming/MiKTeX/2.9/tex4ht/ht-fonts/alias/lm/lm-rep-cmrm/
cmr.htf)
Searching `lm-rep-cmrm.htf' for `cmr12.htf'
(C:/Users/zhang/AppData/Roaming/MiKTeX/2.9/tex4ht/ht-fonts/unicode/lm/lm-rep-cmr
m.htf)
(C:/Program Files/MiKTeX 2.9/fonts/tfm/public/cm/cmr10.tfm)
(C:/Users/zhang/AppData/Roaming/MiKTeX/2.9/tex4ht/ht-fonts/alias/lm/lm-rep-cmrm/
cmr.htf)
Searching `lm-rep-cmrm.htf' for `cmr10.htf'
(C:/Users/zhang/AppData/Roaming/MiKTeX/2.9/tex4ht/ht-fonts/unicode/lm/lm-rep-cmr
m.htf)
[1 file Fancypattern.html
file Fancypattern.css
file Fancypattern.tmp
] [2] [3] [4]
Execute script `Fancypattern.lg'
C:Z Publications2017textowordtest>t4ht Fancypattern -ewin32/tex4ht.env
----------------------------
t4ht.c (2012-07-25-19:28 MiKTeX)
t4ht Fancypattern
-ewin32/tex4ht.env
(C:/Program Files/MiKTeX 2.9/tex4ht/base/win32/tex4ht.env)
Entering Fancypattern.lg
Entering Fancypattern.css
Entering Fancypattern.tmp
System call: rungs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 -dFirstPage='1'
-dLastPage='1' -sOutputFile='pdffigure//Plasmaimage1-1.png' pdffigure//Plasmaima
ge1.pdf
'rungs' is not recognized as an internal or external command,
operable program or batch file.
--- Warning --- System return: 1
System call: rungs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 -dFirstPage='1'
-dLastPage='1' -sOutputFile='pdffigure//SpatialEmissionPPicxorignial-1.png' pdff
igure//SpatialEmissionPPicxorignial.pdf
'rungs' is not recognized as an internal or external command,
operable program or batch file.
--- Warning --- System return: 1
C:Z Publications2017textowordtest>
the mythml.cfg file containing the code mentioned above
i trye michal.h21 code, from prevous lot of posts, it works well for other people. but it did not work on my computer. Add the configure mentioned above, i list the compiling log file below
C:Z Publications2017textowordtest>htlatex Fancypattern myhtml.cfg
C:Z Publications2017textowordtest>latex makeatletterdefHCode{futureletH
CodeHChar}defHChar{ifx"HCodedefHCode"##1"{Link##1}expandafterHCodeels
eexpandafterLinkfi}defLink#1.a.b.c.{g@addto@macro@documentclasshook{Requ
irePackage[#1,html]{tex4ht}}letHCodedocumentstyledefdocumentstyle{letdocu
mentstyleHCodeexpandafterdefcsname tex4htendcsname{#1,html}defHCode####1{
documentstyle[tex4ht,}@ifnextchar[{HCode}{documentstyle[tex4ht]}}}makeatoth
erHCode myhtml.cfg.a.b.c.input Fancypattern
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6350 64-bit)
entering extended mode
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 75 language(s) loaded.
(Fancypattern.tex ("C:Program FilesMiKTeX 2.9texlatexbasearticle.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:Program FilesMiKTeX 2.9texlatexbasesize12.clo"))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htusepackage.4ht)
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.sty"
****************************************
* Local config file subfigure.cfg used *
****************************************
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.cfg"))
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphicx.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicskeyval.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphics.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicstrig.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphics-cfggraphics.cfg")
("C:Program FilesMiKTeX 2.9texlatexgraphics-defdvips.def"))) (myhtml.cfg
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.4ht
::::::::::::::::::::::::::::::::::::::::::
TeX4ht info is available in the log file
::::::::::::::::::::::::::::::::::::::::::
) (C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty
--- needs --- tex4ht Fancypattern ---
(Fancypattern.tmp) (Fancypattern.xref)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htlatex.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htfontmath.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htarticle.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htsubfigure.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphicx.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphics.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htdvips.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(Fancypattern.aux)) [1] [2]
l.17 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Plas
maimage1.pdf (no BoundingBox) ---
l.21 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Spat
ialEmissionPPicxorignial.pdf (no BoundingBox) ---
[3] [4] (Fancypattern.aux) )
Output written on Fancypattern.dvi (4 pages, 12364 bytes).
Transcript written on Fancypattern.log.
C:Z Publications2017textowordtest>latex makeatletterdefHCode{futureletH
CodeHChar}defHChar{ifx"HCodedefHCode"##1"{Link##1}expandafterHCodeels
eexpandafterLinkfi}defLink#1.a.b.c.{g@addto@macro@documentclasshook{Requ
irePackage[#1,html]{tex4ht}}letHCodedocumentstyledefdocumentstyle{letdocu
mentstyleHCodeexpandafterdefcsname tex4htendcsname{#1,html}defHCode####1{
documentstyle[tex4ht,}@ifnextchar[{HCode}{documentstyle[tex4ht]}}}makeatoth
erHCode myhtml.cfg.a.b.c.input Fancypattern
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6350 64-bit)
entering extended mode
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 75 language(s) loaded.
(Fancypattern.tex ("C:Program FilesMiKTeX 2.9texlatexbasearticle.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:Program FilesMiKTeX 2.9texlatexbasesize12.clo"))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htusepackage.4ht)
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.sty"
****************************************
* Local config file subfigure.cfg used *
****************************************
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.cfg"))
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphicx.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicskeyval.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphics.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicstrig.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphics-cfggraphics.cfg")
("C:Program FilesMiKTeX 2.9texlatexgraphics-defdvips.def"))) (myhtml.cfg
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.4ht
::::::::::::::::::::::::::::::::::::::::::
TeX4ht info is available in the log file
::::::::::::::::::::::::::::::::::::::::::
) (C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty
--- needs --- tex4ht Fancypattern ---
(Fancypattern.tmp) (Fancypattern.xref)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htlatex.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htfontmath.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htarticle.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htsubfigure.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphicx.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphics.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htdvips.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(Fancypattern.aux)) [1] [2]
l.17 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Plas
maimage1.pdf (no BoundingBox) ---
l.21 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Spat
ialEmissionPPicxorignial.pdf (no BoundingBox) ---
[3] [4] (Fancypattern.aux) )
Output written on Fancypattern.dvi (4 pages, 12364 bytes).
Transcript written on Fancypattern.log.
C:Z Publications2017textowordtest>latex makeatletterdefHCode{futureletH
CodeHChar}defHChar{ifx"HCodedefHCode"##1"{Link##1}expandafterHCodeels
eexpandafterLinkfi}defLink#1.a.b.c.{g@addto@macro@documentclasshook{Requ
irePackage[#1,html]{tex4ht}}letHCodedocumentstyledefdocumentstyle{letdocu
mentstyleHCodeexpandafterdefcsname tex4htendcsname{#1,html}defHCode####1{
documentstyle[tex4ht,}@ifnextchar[{HCode}{documentstyle[tex4ht]}}}makeatoth
erHCode myhtml.cfg.a.b.c.input Fancypattern
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6350 64-bit)
entering extended mode
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 75 language(s) loaded.
(Fancypattern.tex ("C:Program FilesMiKTeX 2.9texlatexbasearticle.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:Program FilesMiKTeX 2.9texlatexbasesize12.clo"))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htusepackage.4ht)
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.sty"
****************************************
* Local config file subfigure.cfg used *
****************************************
("C:Program FilesMiKTeX 2.9texlatexsubfiguresubfigure.cfg"))
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphicx.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicskeyval.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphics.sty"
("C:Program FilesMiKTeX 2.9texlatexgraphicstrig.sty")
("C:Program FilesMiKTeX 2.9texlatexgraphics-cfggraphics.cfg")
("C:Program FilesMiKTeX 2.9texlatexgraphics-defdvips.def"))) (myhtml.cfg
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.4ht
::::::::::::::::::::::::::::::::::::::::::
TeX4ht info is available in the log file
::::::::::::::::::::::::::::::::::::::::::
) (C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4httex4ht.sty
--- needs --- tex4ht Fancypattern ---
(Fancypattern.tmp) (Fancypattern.xref)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htlatex.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htfontmath.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htarticle.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htsubfigure.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphicx.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htgraphics.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4htdvips.4ht
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4.4ht)
(C:UserszhangAppDataRoamingMiKTeX2.9texgenerictex4hthtml4-math.4ht))
(Fancypattern.aux)) [1] [2]
l.17 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Plas
maimage1.pdf (no BoundingBox) ---
l.21 --- TeX4ht warning --- Cannot determine size of graphic in pdffigure//Spat
ialEmissionPPicxorignial.pdf (no BoundingBox) ---
[3] [4] (Fancypattern.aux) )
Output written on Fancypattern.dvi (4 pages, 12364 bytes).
Transcript written on Fancypattern.log.
C:Z Publications2017textowordtest>tex4ht Fancypattern -i/tex4ht/ht-fonts/ -e
win32/tex4ht.env
----------------------------
tex4ht.c (2012-07-25-19:36 Windows MiKTeX)
tex4ht Fancypattern
-i/tex4ht/ht-fonts/
-ewin32/tex4ht.env
(C:/Program Files/MiKTeX 2.9/tex4ht/base/win32/tex4ht.env)
(C:/Users/zhang/AppData/Roaming/MiKTeX/2.9/tex4ht/ht-fonts/iso8859/1/charset/uni
code.4hf)
(C:/Program Files/MiKTeX 2.9/fonts/tfm/public/cm/cmr12.tfm)
(C:/Users/zhang/AppData/Roaming/MiKTeX/2.9/tex4ht/ht-fonts/alias/lm/lm-rep-cmrm/
cmr.htf)
Searching `lm-rep-cmrm.htf' for `cmr12.htf'
(C:/Users/zhang/AppData/Roaming/MiKTeX/2.9/tex4ht/ht-fonts/unicode/lm/lm-rep-cmr
m.htf)
(C:/Program Files/MiKTeX 2.9/fonts/tfm/public/cm/cmr10.tfm)
(C:/Users/zhang/AppData/Roaming/MiKTeX/2.9/tex4ht/ht-fonts/alias/lm/lm-rep-cmrm/
cmr.htf)
Searching `lm-rep-cmrm.htf' for `cmr10.htf'
(C:/Users/zhang/AppData/Roaming/MiKTeX/2.9/tex4ht/ht-fonts/unicode/lm/lm-rep-cmr
m.htf)
[1 file Fancypattern.html
file Fancypattern.css
file Fancypattern.tmp
] [2] [3] [4]
Execute script `Fancypattern.lg'
C:Z Publications2017textowordtest>t4ht Fancypattern -ewin32/tex4ht.env
----------------------------
t4ht.c (2012-07-25-19:28 MiKTeX)
t4ht Fancypattern
-ewin32/tex4ht.env
(C:/Program Files/MiKTeX 2.9/tex4ht/base/win32/tex4ht.env)
Entering Fancypattern.lg
Entering Fancypattern.css
Entering Fancypattern.tmp
System call: rungs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 -dFirstPage='1'
-dLastPage='1' -sOutputFile='pdffigure//Plasmaimage1-1.png' pdffigure//Plasmaima
ge1.pdf
'rungs' is not recognized as an internal or external command,
operable program or batch file.
--- Warning --- System return: 1
System call: rungs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 -dFirstPage='1'
-dLastPage='1' -sOutputFile='pdffigure//SpatialEmissionPPicxorignial-1.png' pdff
igure//SpatialEmissionPPicxorignial.pdf
'rungs' is not recognized as an internal or external command,
operable program or batch file.
--- Warning --- System return: 1
C:Z Publications2017textowordtest>
the mythml.cfg file containing the code mentioned above
answered Oct 26 '17 at 9:25
shqiang
244
244
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f398025%2fproblems-of-pdf-format-graphic-or-image-when-using-htlatex-to-convert-tex-to-h%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
why
//
inpdffigure//AAA.pdf
?– David Carlisle
Oct 25 '17 at 19:07
unrelated to images but
it{Pi}
it
is deprecated, but if you do use it it does not take an argument and by default it has no effect onPi
– David Carlisle
Oct 25 '17 at 19:09
pdffigure is the folder i put all the figures. also it is non related to it . this command is just a font command. i deleted if this si confusing. it is about htlatex image .pdf.
– shqiang
Oct 25 '17 at 19:52
I queried
//
as it is likely to be a syntax error in some filesystems, the syntax should be/
.it
is unrelated but the syntax shown above is wrong,so I thought I would mention it.– David Carlisle
Oct 25 '17 at 20:06
thanks for your comment. the thing is if the suffix is .eps, there is no error as indicated.
– shqiang
Oct 25 '17 at 21:09