Commits

Stéphane GALLAND  committed 58c357a

Change the animated figures in chapter 1 to obtain a smooth transition between the slides.

  • Participants
  • Parent commits f879cb1

Comments (0)

Files changed (2)

File chapters/chapter1.tex

 	\end{minipage}
 \end{frame}
 
-\animatedslide[2]{Example of Scanning}{compiler_cycle_example}{width=\linewidth}
+\begin{frame}<2>{Example of Scanning}
+	\putat(270,-207){\includeanimatedfigure[width=.2\linewidth]{compiler_structure}}
+	\putat(0,-200){\includeanimatedfigure[width=.7\linewidth]{compiler_cycle_example}}
+\end{frame}
 
 \begin{frame}{Symbol Table}
 	\begin{itemize}
 	\end{minipage}
 \end{frame}
 
-\animatedslide[3]{Example of Syntax Analysis}{compiler_cycle_example}{width=\linewidth}
+\begin{frame}<3>{Example of Syntax Analysis}
+	\putat(270,-207){\includeanimatedfigure[width=.2\linewidth]{compiler_structure}}
+	\putat(0,-200){\includeanimatedfigure[width=.7\linewidth]{compiler_cycle_example}}
+\end{frame}
 
 \begin{frame}<4>{Semantic Analysis}
 	\putat(270,-207){\includeanimatedfigure[width=.2\linewidth]{compiler_structure}}
 	\end{minipage}
 \end{frame}
 
-\animatedslide[4]{Example of Semantic Analysis}{compiler_cycle_example}{width=\linewidth}
+\begin{frame}<4>{Example of Semantic Analysis}
+	\putat(270,-207){\includeanimatedfigure[width=.2\linewidth]{compiler_structure}}
+	\putat(0,-200){\includeanimatedfigure[width=.7\linewidth]{compiler_cycle_example}}
+\end{frame}
 
 \begin{frame}<5>{Intermediate Code Generator}
 	\putat(270,-207){\includeanimatedfigure[width=.2\linewidth]{compiler_structure}}
 	\end{itemize}
 \end{frame}
 
-\animatedslide[5]{Example of Intermediate Code Generator}{compiler_cycle_example}{width=\linewidth}
+\begin{frame}<5>{Example of Intermediate Code Generation}
+	\putat(270,-207){\includeanimatedfigure[width=.2\linewidth]{compiler_structure}}
+	\putat(0,-200){\includeanimatedfigure[width=.7\linewidth]{compiler_cycle_example}}
+\end{frame}
 
 \begin{frame}<6>{Machine-Independent Code Optimizer}
 	\putat(270,-207){\includeanimatedfigure[width=.2\linewidth]{compiler_structure}}
 
 \figureslide{Example of Optimization}{intermediate_code_optim}
 
-\animatedslide[6]{Example of Machine-Independent Code Optimizer}{compiler_cycle_example}{width=\linewidth}
+\begin{frame}<6>{Example of Machine-Independent Code Optimization}
+	\putat(270,-207){\includeanimatedfigure[width=.2\linewidth]{compiler_structure}}
+	\putat(0,-200){\includeanimatedfigure[width=.7\linewidth]{compiler_cycle_example}}
+\end{frame}
 
 \begin{frame}<7>{Code Generator}
 	\putat(270,-207){\includeanimatedfigure[width=.2\linewidth]{compiler_structure}}
 	\includegraphics[width=\linewidth]{code_generator_example}
 \end{frame}
 
-\animatedslide[7]{Example of Code Generation}{compiler_cycle_example}{width=\linewidth}
+\begin{frame}<7>{Example of Code Generation}
+	\putat(270,-207){\includeanimatedfigure[width=.2\linewidth]{compiler_structure}}
+	\putat(0,-200){\includeanimatedfigure[width=.7\linewidth]{compiler_cycle_example}}
+\end{frame}
 
 \section{Tools to create a compiler}
 

File imgs/chapter1/compiler_cycle_example+layers.svg

    xmlns="http://www.w3.org/2000/svg"
    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
-   width="455.83115"
-   height="301.52039"
+   width="346.26923"
+   height="286.58536"
    id="svg2"
    version="1.1"
    inkscape:version="0.48.3.1 r9886"
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
      inkscape:zoom="1.979899"
-     inkscape:cx="237.55339"
-     inkscape:cy="152.3896"
+     inkscape:cx="171.11969"
+     inkscape:cy="145.51878"
      inkscape:document-units="px"
      inkscape:current-layer="g3580"
      showgrid="false"
-     inkscape:window-width="1280"
-     inkscape:window-height="1000"
-     inkscape:window-x="1440"
+     inkscape:window-width="1440"
+     inkscape:window-height="876"
+     inkscape:window-x="0"
      inkscape:window-y="24"
      inkscape:window-maximized="1"
-     fit-margin-top="0"
-     fit-margin-left="0"
-     fit-margin-right="0"
-     fit-margin-bottom="0" />
+     fit-margin-top="2"
+     fit-margin-left="2"
+     fit-margin-right="2"
+     fit-margin-bottom="2" />
   <metadata
      id="metadata7">
     <rdf:RDF>
      inkscape:label="Base &lt;1-&gt;"
      inkscape:groupmode="layer"
      id="layer1"
-     transform="translate(463.25507,-316.98688)"
-     style="display:inline"
-     sodipodi:insensitive="true">
+     transform="translate(465.25921,-318.30307)"
+     style="display:none">
     <path
        transform="translate(-122.30239,485.98477)"
        style="color:#000000;fill:#faf0f6;fill-opacity:1;fill-rule:nonzero;stroke:#cc7aaa;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
      inkscape:groupmode="layer"
      id="layer2"
      inkscape:label="Analysis - LA &lt;2&gt;"
-     style="display:inline"
-     transform="translate(359.22568,0)"
-     sodipodi:insensitive="true">
+     style="display:none"
+     transform="translate(361.22982,-1.316186)">
     <g
        id="g3761-6"
        transform="translate(-32.96462,-471.8793)">
     </g>
   </g>
   <g
-     transform="translate(359.22568,0)"
+     transform="translate(361.22982,-1.316186)"
      style="display:inline"
      inkscape:label="Analysis - LA ex &lt;2-&gt;"
      id="g3444"
-     inkscape:groupmode="layer"
-     sodipodi:insensitive="true">
+     inkscape:groupmode="layer">
     <text
        sodipodi:linespacing="125%"
        id="text3454"
        sodipodi:nodetypes="cc" />
   </g>
   <g
-     style="display:inline"
+     style="display:none"
      inkscape:label="Analysis - SyA &lt;3&gt;"
      id="g3065"
      inkscape:groupmode="layer"
-     transform="translate(359.22568,0)"
-     sodipodi:insensitive="true">
+     transform="translate(361.22982,-1.316186)">
     <g
        transform="translate(-32.96462,-437.75437)"
        id="g3075">
     </g>
   </g>
   <g
-     transform="translate(359.22568,0)"
+     transform="translate(361.22982,-1.316186)"
      inkscape:groupmode="layer"
      id="g3482"
      inkscape:label="Analysis - SyA ex &lt;3-&gt;"
-     style="display:inline"
-     sodipodi:insensitive="true">
+     style="display:inline">
     <g
        transform="translate(303.93807,-395.23309)"
        id="g3492"
      inkscape:groupmode="layer"
      id="g3111"
      inkscape:label="Analysis - SeA &lt;4&gt;"
-     style="display:inline"
-     transform="translate(359.22568,0)"
-     sodipodi:insensitive="true">
+     style="display:none"
+     transform="translate(361.22982,-1.316186)">
     <g
        id="g3129"
        transform="translate(-32.96462,-401.94195)">
     </g>
   </g>
   <g
-     transform="translate(359.22568,0)"
+     transform="translate(361.22982,-1.316186)"
      style="display:inline"
      inkscape:label="Analysis - SeA ex &lt;4-&gt;"
      id="g3528"
-     inkscape:groupmode="layer"
-     sodipodi:insensitive="true">
+     inkscape:groupmode="layer">
     <g
        transform="translate(97.740582,-366.98336)"
        id="g3538"
        sodipodi:nodetypes="cc" />
   </g>
   <g
-     style="display:inline"
+     style="display:none"
      inkscape:label="Analysis - ICG &lt;5&gt;"
      id="g3158"
      inkscape:groupmode="layer"
-     transform="translate(359.22568,0)"
-     sodipodi:insensitive="true">
+     transform="translate(361.22982,-1.316186)">
     <g
        transform="translate(-32.96462,-366.12953)"
        id="g3184">
     </g>
   </g>
   <g
-     transform="translate(359.22568,0)"
+     transform="translate(361.22982,-1.316186)"
      inkscape:groupmode="layer"
      id="g3580"
      inkscape:label="Analysis - ICG ex &lt;5-&gt;"
      inkscape:groupmode="layer"
      id="g3204"
      inkscape:label="Analysis - MICO &lt;6&gt;"
-     style="display:inline"
-     transform="translate(359.22568,0)"
-     sodipodi:insensitive="true">
+     style="display:none"
+     transform="translate(361.22982,-1.316186)">
     <g
        id="g3240"
        transform="translate(-32.96462,-321.41712)">
     </g>
   </g>
   <g
-     transform="translate(359.22568,0)"
+     transform="translate(361.22982,-1.316186)"
      style="display:inline"
      inkscape:label="Analysis - MICO ex &lt;6-&gt;"
      id="g3598"
      inkscape:groupmode="layer"
      id="layer3"
      inkscape:label="Synthesis - CG &lt;7&gt;"
-     style="display:inline"
-     transform="translate(359.22568,0)"
-     sodipodi:insensitive="true">
+     style="display:none"
+     transform="translate(361.22982,-1.316186)">
     <g
        style="display:inline"
        id="g3761-3-7-7"
     </g>
   </g>
   <g
-     transform="translate(359.22568,0)"
+     transform="translate(361.22982,-1.316186)"
      style="display:inline"
      inkscape:label="Synthesis - CG ex &lt;7-&gt;"
      id="g3620"
-     inkscape:groupmode="layer"
-     sodipodi:insensitive="true">
+     inkscape:groupmode="layer">
     <text
        sodipodi:linespacing="125%"
        id="text3630"