Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove files, generated by dvipng. #9

Closed
wants to merge 2 commits into from
Closed

Remove files, generated by dvipng. #9

wants to merge 2 commits into from

Conversation

hpreusse
Copy link
Contributor

I notice that during build the program dvipng is called. After installing the Debian package and rebuilding I noticed that some files are not removed even by dist-clean. Consider the pull request.

@stloeffler
Copy link
Member

Interesting - this doesn't seem to happen on my system... Thanks for the PR!
Curiously, dvipng does not seem to be mentioned in the repository anywhere - I assume it is called automatically "under the hood" by your tex4ht installation.

Could you please tell me

  • how many index*.png files are produced (roughly); btw, I would prefer index*.png over index*png in the PR
  • what do they contain? single "special" characters/symbols, true figures, or something else....
  • What TeX distro are you using (and where did you get it from; e.g. Debian-packaged texlive, manually installed texlive, ...)?

@hpreusse
Copy link
Contributor Author

Curiously, dvipng does not seem to be mentioned in the repository anywhere - I assume it is called automatically "under the hood" by your tex4ht installation.

Thats what I guess too, as I didn't found the string "dvipng" in the source tree.

* how many `index*.png` files are produced (roughly); btw, I would prefer `index*.png` over `index*png` in the PR

index0x.png...index8x.png each for french and english.

* what do they contain? single "special" characters/symbols, true figures, or something else....

They contain just arrows, files atached. png.zip

* What TeX distro are you using (and where did you get it from; e.g. Debian-packaged texlive, manually installed texlive, ...)?

I'm packaging the texworks-manual for Debian, see our repository.

@hpreusse
Copy link
Contributor Author

Interesting - this doesn't seem to happen on my system... Thanks for the PR!
Curiously, dvipng does not seem to be mentioned in the repository anywhere - I assume it is called automatically "under the hood" by your tex4ht installation.

I noticed that dvipng is only called, if the patch for #8 is applied, which includes a removal of the tex4ht.env files. Not sure why these files are there, but using dvipng to convert dvi to png, seems to be more effective to me than "dvips -> gs -> convert", which is currently used.
Further: if the tex4ht.env files exists, these index...png files are created in subdir images, which is removed by the Makefile in subdir html.

@stloeffler
Copy link
Member

Closing as this has been superseded by #11

@stloeffler stloeffler closed this Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants