google-code-export / wiki2latex

Automatically exported from code.google.com/p/wiki2latex
0 stars 1 forks source link

magic Template needs \usepackage{graphicx} #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In w2l 0.11, if the user includes an image file via [[Image:hello.pdf]] then 
graphicx package needs to be included.   Simple solution is to add:

\usepackage{graphicx}

to 

w2lMagicTemplate.php

Original issue reported on code.google.com by brian.ku...@gmail.com on 13 Oct 2010 at 10:23

GoogleCodeExporter commented 9 years ago
I made a mistake.   \usepackage{graphicx} IS automatically included when 
[[Image:...]] is present.

I was manually including \includegraphics using <rawtex>, which does not 
automatically add graphicx.

(The reason I'm having this problem is because parsing  [[Image:...|5cm]]  
seems to ignore the width argument, which is why I am including it manually) 

Original comment by brian.ku...@gmail.com on 13 Oct 2010 at 10:34

GoogleCodeExporter commented 9 years ago

Original comment by hansgeorg.kluge@gmail.com on 14 Jan 2011 at 11:31

GoogleCodeExporter commented 9 years ago
Thank you very much for your report. I'm glad W2L worked as expected though :)

Original comment by hansgeorg.kluge@gmail.com on 14 Jan 2011 at 11:32

GoogleCodeExporter commented 9 years ago

Original comment by hansgeorg.kluge@gmail.com on 17 Feb 2011 at 10:38