equal
deleted
inserted
replaced
1 /****************************************************************************** |
1 /****************************************************************************** |
2 * |
2 * |
3 * |
3 * |
4 * |
4 * |
5 * |
5 * |
6 * Copyright (C) 1997-2008 by Dimitri van Heesch. |
6 * Copyright (C) 1997-2010 by Dimitri van Heesch. |
7 * |
7 * |
8 * Permission to use, copy, modify, and distribute this software and its |
8 * Permission to use, copy, modify, and distribute this software and its |
9 * documentation under the terms of the GNU General Public License is hereby |
9 * documentation under the terms of the GNU General Public License is hereby |
10 * granted. No representations are made about the suitability of this software |
10 * granted. No representations are made about the suitability of this software |
11 * for any purpose. It is provided "as is" without express or implied warranty. |
11 * for any purpose. It is provided "as is" without express or implied warranty. |
997 realHeight*=pageWidth/realWidth; |
997 realHeight*=pageWidth/realWidth; |
998 realWidth=pageWidth; |
998 realWidth=pageWidth; |
999 } |
999 } |
1000 |
1000 |
1001 //output << "}\n"; |
1001 //output << "}\n"; |
1002 output << ":\\begin{figure}[H]\n" |
1002 output << "\\begin{figure}[H]\n" |
1003 "\\begin{center}\n" |
1003 "\\begin{center}\n" |
1004 "\\leavevmode\n"; |
1004 "\\leavevmode\n"; |
1005 output << "\\includegraphics[height=" << realHeight << "cm]{" |
1005 output << "\\includegraphics[height=" << realHeight << "cm]{" |
1006 << fileName << "}" << endl; |
1006 << fileName << "}" << endl; |
1007 output << "\\end{center}\n" |
1007 output << "\\end{center}\n" |