daily pastebin goal
67%
SHARE
TWEET

Untitled

a guest Jan 20th, 2018 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. documentclass[]{article}
  2. usepackage{mwe}
  3. begin{document}
  4.  
  5. includegraphics[angle=90]{example-image}
  6.  
  7. end{document}
  8.    
  9. make4ht foo.tex
  10.    
  11. ls /usr/local/texlive/2017/texmf-dist/tex/latex/mwe/example-image.*
  12. /usr/local/texlive/2017/texmf-dist/tex/latex/mwe/example-image.eps
  13. /usr/local/texlive/2017/texmf-dist/tex/latex/mwe/example-image.jpg
  14. /usr/local/texlive/2017/texmf-dist/tex/latex/mwe/example-image.pdf
  15. /usr/local/texlive/2017/texmf-dist/tex/latex/mwe/example-image.png
  16. /usr/local/texlive/2017/texmf-dist/tex/latex/mwe/example-image.tex
  17.    
  18. Preamble{xhtml}
  19. makeatletter
  20. Configure{GraphicsAlt}{ALTifdefinedGrot@angleCss{img[src="PictureFile"]{transform: rotate(-Grot@angle deg);}}fi}
  21. makeatother
  22. begin{document}
  23. EndPreamble
  24.    
  25. img[src="sample0x.png"]{transform: rotate(-90deg);}
RAW Paste Data
Top