From 14af3f447439750920f754792b89f113d019076a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 22 May 2007 17:41:52 +0000 Subject: texpower update git-svn-id: svn://tug.org/texlive/trunk@4334 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/texpower/00readme.txt | 215 ------- Master/texmf-dist/doc/latex/texpower/01install.txt | 2 +- Master/texmf-dist/doc/latex/texpower/02changes.txt | 45 ++ .../texmf-dist/doc/latex/texpower/FAQ-display.tex | 53 +- .../texmf-dist/doc/latex/texpower/FAQ-printout.tex | 36 +- .../texmf-dist/doc/latex/texpower/MakeExamples.sh | 46 ++ Master/texmf-dist/doc/latex/texpower/__TPcfg.tex | 7 +- .../texmf-dist/doc/latex/texpower/__TPindexing.tex | 1 + .../texmf-dist/doc/latex/texpower/__TPpreamble.tex | 29 +- .../doc/latex/texpower/bckwrdexample.tex | 26 +- .../texmf-dist/doc/latex/texpower/bgndexample.tex | 27 +- .../texmf-dist/doc/latex/texpower/divexample.tex | 27 +- Master/texmf-dist/doc/latex/texpower/dummy.java | 7 + .../texmf-dist/doc/latex/texpower/fancyexample.tex | 177 ++++++ Master/texmf-dist/doc/latex/texpower/fancystep.tex | 29 - Master/texmf-dist/doc/latex/texpower/fig-1.mps | 22 + Master/texmf-dist/doc/latex/texpower/fig-2.mps | 121 ++++ Master/texmf-dist/doc/latex/texpower/fig-3.mps | 25 + Master/texmf-dist/doc/latex/texpower/foilsdemo.tex | 8 +- Master/texmf-dist/doc/latex/texpower/fulldemo.tex | 164 ++--- .../texmf-dist/doc/latex/texpower/hilitexample.tex | 33 +- .../texmf-dist/doc/latex/texpower/ifmslidemo.tex | 10 +- Master/texmf-dist/doc/latex/texpower/manual.pdf | Bin 316046 -> 330148 bytes Master/texmf-dist/doc/latex/texpower/manual.tex | 118 ++-- .../texmf-dist/doc/latex/texpower/mathexample.tex | 36 +- .../texmf-dist/doc/latex/texpower/panelexample.tex | 20 +- .../texmf-dist/doc/latex/texpower/parexample.tex | 27 +- .../texmf-dist/doc/latex/texpower/pdfscrdemo.tex | 10 +- .../texmf-dist/doc/latex/texpower/pdfslidemo.tex | 8 +- .../texmf-dist/doc/latex/texpower/picexample.tex | 27 +- .../doc/latex/texpower/picltxexample.tex | 16 +- .../texmf-dist/doc/latex/texpower/picpsexample.tex | 17 +- Master/texmf-dist/doc/latex/texpower/pp4sldemo.tex | 8 +- .../texmf-dist/doc/latex/texpower/prosperdemo.tex | 7 +- .../texmf-dist/doc/latex/texpower/seminardemo.tex | 10 +- .../texmf-dist/doc/latex/texpower/simpledemo.tex | 11 +- .../texmf-dist/doc/latex/texpower/slidesdemo.tex | 8 +- .../doc/latex/texpower/spanelexample.tex | 7 +- .../texmf-dist/doc/latex/texpower/tabexample.tex | 33 +- .../texmf-dist/doc/latex/texpower/tpslifonts.zip | Bin 0 -> 29103 bytes .../doc/latex/texpower/tpslifonts/tpslifonts.pdf | Bin 75698 -> 0 bytes .../texmf-dist/doc/latex/texpower/verbexample.tex | 98 +++ Master/texmf-dist/metapost/texpower/fig-1.mps | 22 - Master/texmf-dist/metapost/texpower/fig-2.mps | 121 ---- Master/texmf-dist/metapost/texpower/fig-3.mps | 25 - Master/texmf-dist/source/latex/texpower/Makefile | 10 + .../texmf-dist/source/latex/texpower/powersem.dtx | 4 +- .../source/latex/texpower/texpower-addons.dtx | 494 +-------------- .../source/latex/texpower/texpower-cfg.dtx | 4 +- .../source/latex/texpower/texpower-doc.dtx | 684 ++++++--------------- .../texmf-dist/source/latex/texpower/texpower.dtx | 347 ++++++++--- .../texmf-dist/source/latex/texpower/tpbundle.ins | 18 +- .../texmf-dist/source/latex/texpower/tplists.dtx | 666 ++++++++++++++++++++ Master/texmf-dist/tex/latex/texpower/automata.sty | 1 + .../texmf-dist/tex/latex/texpower/fixseminar.sty | 1 + Master/texmf-dist/tex/latex/texpower/powersem.cls | 1 + Master/texmf-dist/tex/latex/texpower/texpower.sty | 259 +++++--- Master/texmf-dist/tex/latex/texpower/tpcolors.cfg | 1 + Master/texmf-dist/tex/latex/texpower/tplists.sty | 213 +++---- Master/texmf-dist/tex/latex/texpower/tpoptions.cfg | 1 + Master/texmf-dist/tex/latex/texpower/tppstcol.sty | 1 + Master/texmf-dist/tex/latex/texpower/tpsem-a4.sty | 1 + .../texmf-dist/tex/latex/texpower/tpsettings.cfg | 1 + Master/texmf-dist/tpm/texpower.tpm | 24 +- Master/texmf/lists/texpower | 16 +- 65 files changed, 2135 insertions(+), 2351 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/texpower/00readme.txt create mode 100644 Master/texmf-dist/doc/latex/texpower/02changes.txt create mode 100644 Master/texmf-dist/doc/latex/texpower/MakeExamples.sh create mode 100644 Master/texmf-dist/doc/latex/texpower/dummy.java create mode 100644 Master/texmf-dist/doc/latex/texpower/fancyexample.tex delete mode 100644 Master/texmf-dist/doc/latex/texpower/fancystep.tex create mode 100644 Master/texmf-dist/doc/latex/texpower/fig-1.mps create mode 100644 Master/texmf-dist/doc/latex/texpower/fig-2.mps create mode 100644 Master/texmf-dist/doc/latex/texpower/fig-3.mps create mode 100644 Master/texmf-dist/doc/latex/texpower/tpslifonts.zip delete mode 100644 Master/texmf-dist/doc/latex/texpower/tpslifonts/tpslifonts.pdf create mode 100644 Master/texmf-dist/doc/latex/texpower/verbexample.tex delete mode 100644 Master/texmf-dist/metapost/texpower/fig-1.mps delete mode 100644 Master/texmf-dist/metapost/texpower/fig-2.mps delete mode 100644 Master/texmf-dist/metapost/texpower/fig-3.mps create mode 100644 Master/texmf-dist/source/latex/texpower/tplists.dtx (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/texpower/00readme.txt b/Master/texmf-dist/doc/latex/texpower/00readme.txt deleted file mode 100644 index 8c8b03bc1bb..00000000000 --- a/Master/texmf-dist/doc/latex/texpower/00readme.txt +++ /dev/null @@ -1,215 +0,0 @@ -====================================================================== - - TeXPower bundle - Creating dynamic online presentations with LaTeX - - alpha version (v0.1) - This readme file last changed on July 26, 2004 - -Developers: Stephan Lehmke - Lehrstuhl Informatik I - Universität Dortmund - Dortmund, Germany - - Hans Fr. Nordhaug - Molde, Norway - -====================================================================== - - TeXPower is a bundle of packages intended to provide - an `all-inclusive' environment for designing pdf - `screen presentations' to be viewed with Adobe Acrobat[tm] - reader in full-screen mode, especially for projecting - `online' with a video beamer. - - The features provided include: - - * `dynamic' features like incremental building of pages, - animated diagrams and such. - - * support for `navigation panels' - - * support for page backgrounds - - * advanced color management (`logical markup' for colors supplying - `color sets' for different background colors, `dimming' and inverting - of colors etc.) and color highlighting. - - * advanced font configuration. - -====================================================================== - -The TeXPower project homepage is located at SourceForge: - - - -The mailing list is also located at SourceForge: - - - -====================================================================== - -Contents: -========= - -So far, the bundle contains the following files and directories: - - -00readme.txt - This file. - -01install.txt - Installation instructions. - -Makefile - Builds documentation and unpacks dtx-files. - (Only useful on Unix-like systems.) - -texpower.dtx - Documented TeX source for the texpower package. - -powersem.dtx - Documented TeX source for the powersem class. - -texpower-cfg.dtx - Configuration files for the texpower package. - -texpower-addons.dtx - Documented TeX source for auxilliary packages and classes which use or - augment the TeXPower bundle. - -texpower-doc.dtx - TeX source for documentation, examples and demos for the TeXPower - bundle. Compiled examples can be downloaded from - - -tpbundle.ins - Docstrip batchfile that generates all the files described below from the - texpower dtx-files (described above). - -tpslifonts (directory) - Contains the tpslifonts package and an example. - -contrib (directory) - Contains some additions to the TeXPower bundle contributed by other people. - -Generated files: -================ - -texpower.sty (from texpower.dtx) - - Implements commands for presentation effects. This includes - * color management and highlighting; - * incremental displaying of pages; - * navigation helpers; - * setting page backgrounds and `panels'. - - The code should work with all ways of PDF creation. - -tpcolors.cfg (from texpower-cfg.dtx) -tpoptions.cfg (from texpower-cfg.dtx) -tpsettings.cfg (from texpower-cfg.dtx) - - Configuration files for texpower.sty. - -powersem.cls (from powersem.dtx) - - A wrapper for seminar which sets up everything for dynamic - presentations. For this alpha version, it doesn't do much - more than load seminar.cls and do some bug fixes. - - \documentclass{powersem} should be used as a replacement for - \documentclass{seminar}. powersem loads seminar and passes all - options to seminar. - -automata.sty (from texpower-addons.sty) - - Experimental package for drawing automata in the sense of - theoretical computer science (using PSTricks) and animating - them with TeXPower. - Only DFA and Mealy automata are supported so far. - - -fixseminar.sty (from texpower-addons.sty) - - A small fix to seminar in conjunction with pdf generation - (respect magnification in page dimensions setting). - - -tplists.sty (from texpower-addons.sty) - - This package provides dynamic lists. Read the start of the file - for documentation and an example. - - -tppstcol.sty (from texpower-addons.sty) - - A replacement for ``pstcol.sty'' with some quirks corrected. - - -tpsem-a4.sty (from texpower-addons.sty) - - An LaTeX2e-fied sem-a4.sty (part of seminar). - -FAQ-display.tex / FAQ-printout.tex (from texpower-doc.dtx) - - Frequently asked questions (FAQ) for the TeXPower bundle. - -manual.tex (from texpower-doc.dtx) - - Manual for the TeXPower bundle. - -fulldemo.tex (from texpower-doc.dtx) - - Most examples in one file together with the manual. - -*example.tex (from texpower-doc.dtx) - - Misc. examples for the TeXPower bundle. - -*demo.tex (from texpower-doc.dtx) - - Misc. demos using the TeXPower bundle. - -__TPpreamble.tex (from texpower-doc.dtx) - - Generic preamble used by most of the examples. - -__TPcfg.tex (from texpower-doc.dtx) - - Configuration used in __TPpreamble.tex and the FAQ/manual. - -__TPindexing.tex (from texpower-doc.dtx) - - Indexing support for the manual/fulldemo. - -fig-#.mps (from texpower-doc.dtx) - - Figures (in Metapost postscript format) used in the examples/demos - - - - -====================================================================== - -Disclaimer: -=========== - -Beware. This is work in progress. Use only if you know what you're -doing. During the subsequent error correction and extension of the -functionality, the syntax and implementation of the macros are liable -to change. - -So far, the files themselves contain only scarce inline documentation, -as the code is too much of a moving target to make rigorous -documentation a sensible endeavour. As soon as this bundle is ready -for beta release, I will make fully documented dtx files. - -====================================================================== - -License: -======== - -The TeXPower bundle is distributed under the GNU General Public license -. - diff --git a/Master/texmf-dist/doc/latex/texpower/01install.txt b/Master/texmf-dist/doc/latex/texpower/01install.txt index c42691cdbc6..004fb97cdfb 100644 --- a/Master/texmf-dist/doc/latex/texpower/01install.txt +++ b/Master/texmf-dist/doc/latex/texpower/01install.txt @@ -28,7 +28,7 @@ Installing the TeXPower bundle is very easy: makeindex -s gglo.ist -o .gls .glo makeindex -s gind.ist -o .ind .idx latex .dtx - where is "texpower" and "powersem". + where is "texpower", "powersem" or "tplists". 4) The rest of the files - documentation, examples and demos - can be moved to diff --git a/Master/texmf-dist/doc/latex/texpower/02changes.txt b/Master/texmf-dist/doc/latex/texpower/02changes.txt new file mode 100644 index 00000000000..1ed7be885e9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/texpower/02changes.txt @@ -0,0 +1,45 @@ +## TeXPower 0.2 - April 8, 2005 + +Changes in texpower.sty v0.2: + + - Fixed bugs #1029803 and #1073319 reported at SourceForge. + - Made the handling of whatsits smarter (making write to file and hyperref + commands stepwise-aware), i.e, relaxed filtering. + - Added option/command to turn on/off the old aggressive/robust filtering. + - Added fragilesteps environment. + +Other changes in TeXPower bundle: + + - For tplists.sty v0.2: + - Added flipdesc, stepdesc, dimdesc lists for easy dynamic description lists. + - Improved behaviour when not in display mode. + - Fixed step lists behaviour when in display mode, but without colors. + - Added noflipendstep option and a setup command to enable setting of all options + anywhere in the document. + - Updated documentation and improved examples/demos. + - No other packages or classes changed. + +## TeXPower 0.1b - July 27, 2004 + +Changes in texpower.sty since v0.0.9d: + + - Removed font stuff (now resides in tpslifonts.sty). + - Fixed display errors with some packages like pdfscreen related to \shipout + - Color management extended a little to integrate better with LaTeX. + - Made \step-like commands give better error messages when outside \stepwise. + - Moved source to dtx-format. This made the examples/demos much easier to + read. + +Other changes in texpower bundle since v0.0.9d: + + - powersem.cls and tpslifonts.sty now in dtx format. (No other changes.) + - tpslifonts documentation moved out of manual.tex and into tpslifonts.dtx + - manual updated, only minor changes. + - tplists.sty. New (experimental) addon package for texpower which provides easy + dynamic lists. Currently there are stepped, flipped and dimmed versions of + itemize and enumerate (and corresponding lists from the eqlist and paralist + package). + +## TeXPower before 0.1b + +Look inside the (old) files for a changelog. diff --git a/Master/texmf-dist/doc/latex/texpower/FAQ-display.tex b/Master/texmf-dist/doc/latex/texpower/FAQ-display.tex index e5b983fd433..d6da0632346 100644 --- a/Master/texmf-dist/doc/latex/texpower/FAQ-display.tex +++ b/Master/texmf-dist/doc/latex/texpower/FAQ-display.tex @@ -4,11 +4,12 @@ %% %% The original source files were: %% -%% texpower-doc.dtx (with options: `faq-disp,faq,end') +%% texpower-doc.dtx (with options: `version,faq-disp,faq,end') %% %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -25,35 +26,11 @@ %% given in the file `00readme.txt'. %% \ProvidesFile{FAQ-display.tex}% - [2004/07/27 TeXPower FAQ] -%----------------------------------------------------------------------------------------------------------------- -% File: FAQ-display.tex -% -% Frequently Asked Questions list for the TeXPower bundle (screen version). -% -% This file can be compiled with pdfLaTeX or (standard) LaTeX. When using standard LaTeX, the dvi file produced should -% be processed with -% -% dvips -Ppdf -j0 FAQ-display -% -% afterwards processing the resulting ps file with -% -% distill FAQ-display.ps -% -% (The syntax is for a unix system with tetex 1.0 and distiller 3. Modify appropriately for other configurations.) -% -% The resulting pdf file is meant for presenting `interactively' with Adobe Acrobat Reader. -% -%----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 May 31, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Jun 14, 2000: Changed slidesmag to 4 so slides look less `squeezed'. The `display' version is for demonstrating -% effects, not a template for `real' presentations. -% + [2005/04/07 TeXPower FAQ] + +% Version info used in titles +\def\tpversion{v0.2 of April 8, 2005} -%----------------------------------------------------------------------------------------------------------------- % Enable all color emphasis and highlighting options; use a light background and slifonts. \PassOptionsToPackage{coloremph,colormath,colorhighlight,lightbackground}{texpower} @@ -86,22 +63,6 @@ % \begin{document} \begin{slide} -% -%----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 May 31, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Jun 9, 2000: Some additions in the `problems' and `how to' section. -% -% v0.0.3 Jun 15, 2000: Additions in the `usage', `how to', and `problems' sections. -% -% v0.0.4 Jun 22, 2000: Additions in the `usage' and `problems' section. -% -% v0.0.5 May 15, 2003: Update related to move to SourceForge.net. -% -\def\docversion{v0.0.5 of May 15, 2003} -\def\tpversion{v0.0.9d of May 15, 2003} \providecommand{\vanishcolor}{} @@ -113,7 +74,7 @@ \makeslidetitle {% Frequently asked questions list% - \thanks{FAQ \docversion\ for \TeX Power \tpversion\ (alpha).}% + \thanks{FAQ for \TeX Power \tpversion .}% }% \setcounter{firststep}{0} diff --git a/Master/texmf-dist/doc/latex/texpower/FAQ-printout.tex b/Master/texmf-dist/doc/latex/texpower/FAQ-printout.tex index 87134a5f0a0..1c2d378ecfe 100644 --- a/Master/texmf-dist/doc/latex/texpower/FAQ-printout.tex +++ b/Master/texmf-dist/doc/latex/texpower/FAQ-printout.tex @@ -4,11 +4,12 @@ %% %% The original source files were: %% -%% texpower-doc.dtx (with options: `faq-print,faq,enddoc') +%% texpower-doc.dtx (with options: `version,faq-print,faq,enddoc') %% %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -25,17 +26,10 @@ %% given in the file `00readme.txt'. %% \ProvidesFile{FAQ-printout.tex}% - [2004/07/27 TeXPower FAQ] -%----------------------------------------------------------------------------------------------------------------- -% File: FAQ-printout.tex -% -% Frequently Asked Questions list for the TeXPower bundle (printout version). -% -%----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 May 31, 2000: First version for the pre-alpha release of TeXPower. -% + [2005/04/07 TeXPower FAQ] + +% Version info used in titles +\def\tpversion{v0.2 of April 8, 2005} \documentclass[12pt]{scrartcl} @@ -111,22 +105,6 @@ % \begin{document} -% -%----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 May 31, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Jun 9, 2000: Some additions in the `problems' and `how to' section. -% -% v0.0.3 Jun 15, 2000: Additions in the `usage', `how to', and `problems' sections. -% -% v0.0.4 Jun 22, 2000: Additions in the `usage' and `problems' section. -% -% v0.0.5 May 15, 2003: Update related to move to SourceForge.net. -% -\def\docversion{v0.0.5 of May 15, 2003} -\def\tpversion{v0.0.9d of May 15, 2003} \providecommand{\vanishcolor}{} @@ -138,7 +116,7 @@ \makeslidetitle {% Frequently asked questions list% - \thanks{FAQ \docversion\ for \TeX Power \tpversion\ (alpha).}% + \thanks{FAQ for \TeX Power \tpversion .}% }% \setcounter{firststep}{0} diff --git a/Master/texmf-dist/doc/latex/texpower/MakeExamples.sh b/Master/texmf-dist/doc/latex/texpower/MakeExamples.sh new file mode 100644 index 00000000000..15b363b9b37 --- /dev/null +++ b/Master/texmf-dist/doc/latex/texpower/MakeExamples.sh @@ -0,0 +1,46 @@ +#!/bin/sh +# +# Script (for *nix) to compile all examples and demos. +# +# Remarks: +# Not compiling bgndexample - too time consuming + +# Handling powersem based examples/demos which +# must go the latex+dvips+ps2pdf route: +for file in \ + bckwrdexample \ + divexample \ + fancyexample \ + hilitexample \ + mathexample \ + panelexample \ + parexample \ + picexample \ + tabexample \ + spanelexample \ + prosperdemo \ + seminardemo +do + echo "Compiling $file.tex" + latex -interaction=batchmode $file.tex > /dev/null + latex -interaction=batchmode $file.tex > /dev/null + dvips -q $file.dvi + ps2pdf $file.ps +done + +# Examples/demos which can be compiled with pdflatex: +for file in \ + verbexample \ + foilsdemo \ + ifmslidemo \ + pdfslidemo \ + simpledemo \ + pdfscrdemo \ + pp4sldemo \ + slidesdemo +do + echo "Compiling $file.tex" + pdflatex -interaction=batchmode $file > /dev/null + pdflatex -interaction=batchmode $file > /dev/null +done + diff --git a/Master/texmf-dist/doc/latex/texpower/__TPcfg.tex b/Master/texmf-dist/doc/latex/texpower/__TPcfg.tex index 6f0849b455c..dacd1b8c3c1 100644 --- a/Master/texmf-dist/doc/latex/texpower/__TPcfg.tex +++ b/Master/texmf-dist/doc/latex/texpower/__TPcfg.tex @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -25,17 +26,11 @@ %% given in the file `00readme.txt'. %% %----------------------------------------------------------------------------------------------------------------- -% File: __TPcfg.tex % % Code for user-specific configuration of TeXPower documentation files. % % This file is input by others. Don't compile it separately. % -%----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 Mar 22, 2000: First version for the pre-alpha release of TeXPower. -% \hypersetup{baseurl={http://texpower.sourceforge.net/doc/}} \hypersetup{pdfsubject={Documentation and Examples for the texpower package}} \hypersetup{pdfauthor={Stephan Lehmke}} diff --git a/Master/texmf-dist/doc/latex/texpower/__TPindexing.tex b/Master/texmf-dist/doc/latex/texpower/__TPindexing.tex index a4ffed15c34..77fa4518d5f 100644 --- a/Master/texmf-dist/doc/latex/texpower/__TPindexing.tex +++ b/Master/texmf-dist/doc/latex/texpower/__TPindexing.tex @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License diff --git a/Master/texmf-dist/doc/latex/texpower/__TPpreamble.tex b/Master/texmf-dist/doc/latex/texpower/__TPpreamble.tex index bc45308322b..9d252487268 100644 --- a/Master/texmf-dist/doc/latex/texpower/__TPpreamble.tex +++ b/Master/texmf-dist/doc/latex/texpower/__TPpreamble.tex @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -55,18 +56,6 @@ % Document class powersem, based on seminar.cls for simulating ppower via latex+distiller (instead of pdflatex). % {powersem} -%----------------------------------------------------------------------------------------------------------------- -% -% First part of the preamble of TeXPower demos. -% -%----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 Mar 20, 2000: First version for the pre-alpha release of TeXPower. -% v0.0.2 Mar 21, 2000: Remedying an incompatibility between LaTeX releases concerning the implementation of -% \@iiiparbox (Apr 11: this code is now part of texpower.sty). -% v0.0.3 Apr 11, 2000: Color emphasis code moved into texpower. -% %----------------------------------------------------------------------------------------------------------------- % Set slide margins rather small for maximum use of space. This is a demo, remember. @@ -120,24 +109,10 @@ \let\name=\textsc -% Second part of the preamble of TeXPower demos. -% -%----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 Mar 20, 2000: First version for the pre-alpha release of TeXPower. -% v0.0.2 Mar 22, 2000: Now loading the config file. -% v0.0.3 Mar 29, 2000: texpower doesn't load hyperref any more; there's now a package fixseminar. -% v0.0.4 Apr 19, 2000: Added \slidetitle command. -% v0.0.5 Sep 11, 2000: Added plainpages=false to the hyperref options to get correct page anchors. -% v0.0.5 Sep 11, 2002: Slight changes to title page. -% - - %----------------------------------------------------------------------------------------------------------------- % We load hyperref and fixseminar which fixes some problems with seminar. % -\usepackage[plainpages=false,bookmarksopen,colorlinks,urlcolor=red,pdfpagemode=FullScreen]{hyperref} +\usepackage[ps2pdf,plainpages=false,bookmarksopen,colorlinks,urlcolor=red,pdfpagemode=FullScreen]{hyperref} \usepackage{fixseminar} %----------------------------------------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/doc/latex/texpower/bckwrdexample.tex b/Master/texmf-dist/doc/latex/texpower/bckwrdexample.tex index 09153a30d7f..ef617a68e94 100644 --- a/Master/texmf-dist/doc/latex/texpower/bckwrdexample.tex +++ b/Master/texmf-dist/doc/latex/texpower/bckwrdexample.tex @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -25,34 +26,11 @@ %% given in the file `00readme.txt'. %% \ProvidesFile{bckwrdexample.tex}% - [2004/07/27 TeXPower example file] + [2005/04/07 TeXPower example file] %----------------------------------------------------------------------------------------------------------------- -% File: bckwrdexample.tex % % Backwards writing example for the package texpower.sty. % -% This file can be compiled with pdfLaTeX or (standard) LaTeX. When using standard LaTeX, the dvi file produced should -% be processed with -% -% dvips -Ppdf -j0 bckwrdexample -% -% afterwards processing the resulting ps file with -% -% distill bckwrdexample.ps -% -% (The syntax is for a unix system with tetex 1.0 and distiller 3. Modify appropriately for other configurations.) -% -% The resulting pdf file is meant for presenting `interactively' with Adobe Acrobat Reader. -% -%----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 Mar 20, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Apr 26, 2000: Some small changes in preparation of the update to TeXpower v0.0.7. -% -% v0.0.3 May 18, 2000: New file name to avoid confusion with ``background''. -% %----------------------------------------------------------------------------------------------------------------- % Set background color to black and use slifonts. diff --git a/Master/texmf-dist/doc/latex/texpower/bgndexample.tex b/Master/texmf-dist/doc/latex/texpower/bgndexample.tex index f5f6a0e3e1d..0b88a48271c 100644 --- a/Master/texmf-dist/doc/latex/texpower/bgndexample.tex +++ b/Master/texmf-dist/doc/latex/texpower/bgndexample.tex @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -25,25 +26,11 @@ %% given in the file `00readme.txt'. %% \ProvidesFile{bgndexample.tex}% - [2004/07/27 TeXPower example file] + [2005/04/07 TeXPower example file] %----------------------------------------------------------------------------------------------------------------- -% File: bgndexample.tex % % Background style example for the package texpower.sty. % -% This file can be compiled with pdfLaTeX or (standard) LaTeX. When using standard LaTeX, the dvi file produced should -% be converted to pdf afterwards (using dvips+distill/ps2pdf or dvipdf, for instance). -% -% The resulting pdf file is meant for presenting `interactively' with Adobe Acrobat Reader. -% -%----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 Aug 10, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Apr 29, 2003: Adapted to TeXPower v0.0.9c. -% -%COMMENT %----------------------------------------------------------------------------------------------------------------- % Use slifonts and a dark background. @@ -87,16 +74,6 @@ % \begin{document} \begin{slide} -%----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 Aug 12, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Apr 29, 2003: Adapted to TeXPower v0.0.9c. -% -%----------------------------------------------------------------------------------------------------------------- -% - \centerslidestrue \title{The \TeX Power bundle\\[2ex]{\normalfont Structured diff --git a/Master/texmf-dist/doc/latex/texpower/divexample.tex b/Master/texmf-dist/doc/latex/texpower/divexample.tex index 42a4f15783d..46be745a11c 100644 --- a/Master/texmf-dist/doc/latex/texpower/divexample.tex +++ b/Master/texmf-dist/doc/latex/texpower/divexample.tex @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -25,35 +26,11 @@ %% given in the file `00readme.txt'. %% \ProvidesFile{divexample.tex}% - [2004/07/27 TeXPower example file] + [2005/04/07 TeXPower example file] %----------------------------------------------------------------------------------------------------------------- -% File: divexample.tex % % Divisibility example (demonstrating \step's optional arguments) for the package texpower.sty. % -% This file can be compiled with pdfLaTeX or (standard) LaTeX. When using standard LaTeX, the dvi file produced should -% be processed with -% -% dvips -Ppdf -j0 divexample -% -% afterwards processing the resulting ps file with -% -% distill divexample.ps -% -% (The syntax is for a unix system with tetex 1.0 and distiller 3. Modify appropriately for other configurations.) -% -% The resulting pdf file is meant for presenting `interactively' with Adobe Acrobat Reader. -% -%----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 Mar 20, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Apr 26, 2000: Some small changes in preparation of the update to TeXpower v0.0.7. -% -% v0.0.3 May 18, 2000: New file name. -% - %----------------------------------------------------------------------------------------------------------------- % We input the generic preamble. diff --git a/Master/texmf-dist/doc/latex/texpower/dummy.java b/Master/texmf-dist/doc/latex/texpower/dummy.java new file mode 100644 index 00000000000..9c66e4e5424 --- /dev/null +++ b/Master/texmf-dist/doc/latex/texpower/dummy.java @@ -0,0 +1,7 @@ + public int dummy(int n) { + if (n<1) { + return 0; + } else { + return 1; + } + } diff --git a/Master/texmf-dist/doc/latex/texpower/fancyexample.tex b/Master/texmf-dist/doc/latex/texpower/fancyexample.tex new file mode 100644 index 00000000000..25f93791d05 --- /dev/null +++ b/Master/texmf-dist/doc/latex/texpower/fancyexample.tex @@ -0,0 +1,177 @@ +%% +%% This is file `fancyexample.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% texpower-doc.dtx (with options: `fancyexample') +%% +%% -------------------------------------------------------------- +%% TeXPower bundle - dynamic online presentations with LaTeX +%% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug +%% +%% This program is free software; you can redistribute it and/or +%% modify it under the terms of the GNU General Public License +%% as published by the Free Software Foundation; either version 2 +%% of the License, or (at your option) any later version. +%% +%% This program is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% -------------------------------------------------------------- +%% +%% The list of all files belonging to the TeXPower bundle is +%% given in the file `00readme.txt'. +%% +\ProvidesFile{fancyexample.tex}% + [2005/04/07 TeXPower example file] + +\documentclass[KOMA,letterpaper,landscape,display,calcdimensions]{powersem} + +\usepackage{graphicx} + +\usepackage{soul} + +\usepackage{palatino} + +\usepackage[ps2pdf,pdfpagemode={FullScreen}]{hyperref} +\usepackage{fixseminar} +\usepackage[whitebackground]{texpower} + +\slidesmag{5} + +\slideframe{none} +\pagestyle{empty} + +\renewcommand{\slideleftmargin}{2cm} +\renewcommand{\sliderightmargin}{2cm} +\renewcommand{\slidetopmargin}{2cm} +\renewcommand{\slidebottommargin}{2cm} + +\newcounter{nosteps} +\setcounter{nosteps}{10} % Controls the "resolution" - a value of 100 gives a *very* long compilation time. +\newcounter{mycount} + +\makeatletter +\DeclareRobustCommand*\appearI[1] +{% + \SOUL@setup + \def\SOUL@everytoken{\makebox[\widthof{\the\SOUL@token\SOUL@setkern\SOUL@charkern}]{\scalebox{#1}{\the\SOUL@token\SOUL@setkern\SOUL@charkern}}}% + \SOUL@% + }% +\DeclareRobustCommand*\appearII[1] +{% + \SOUL@setup + \def\SOUL@everytoken{\makebox[\widthof{\the\SOUL@token\SOUL@setkern\SOUL@charkern}*\real{#1}]{\the\SOUL@token\SOUL@setkern\SOUL@charkern}}% + \SOUL@% + }% +\DeclareRobustCommand*\appearIII[1] +{% + \SOUL@setup + \def\SOUL@everyspace{\rule{.3em}{\fboxrule}}% + \def\SOUL@everysyllable{\the\SOUL@syllable\SOUL@setkern\SOUL@charkern\rule{#1}{\fboxrule}}% + \SOUL@% + }% +\DeclareRobustCommand*\appearIV[1] +{% + \SOUL@setup + \def\SOUL@everytoken{\makebox[\widthof{\the\SOUL@token\SOUL@setkern\SOUL@charkern}+2em-2em*\real{#1}]{\scalebox{#1}{\setcounter{mycount}{\value{nosteps}*4-\value{nosteps}*4*\real{#1}}\rotatebox[origin=c]{\themycount}{\the\SOUL@token\SOUL@setkern\SOUL@charkern}}}}% + \SOUL@% + }% +\makeatother + +\begin{document} +\begin{slide} + \pageDuration{1}% + \stepwise + {% + \begin{center} + \movie*{\value{nosteps}}{0.01}[\pageDuration{1}] + {% + \makebox[0pt] + {\rule{2\textwidth-2\textwidth/\value{nosteps}*\value{substep}}{0pt}`Twas brillig, and the slithy toves}% + } + + \movie*{\value{nosteps}}{0.01}[\pageDuration{1}] + {% + \mkfactor{\mag}{\value{substep}/\value{nosteps}}% + \scalebox{\mag}{Did gyre and gimble in the wabe:}% + } + + \movie*{\value{nosteps}}{0.01}[\pageDuration{1}] + {% + \mkfactor{\mag}{5*(\value{nosteps}-\value{substep})/\value{nosteps}+1pt}% + \makebox[0pt]{\scalebox{\mag}[1]{All mimsy were the borogoves,}}% + } + + \movie*{\value{nosteps}}{0.01}[\pageDuration{1}] + {% + \mkfactor{\mag}{\value{substep}/\value{nosteps}}% + \colorbetween[\mag]{mycolor}{textcolor}{pagecolor} + \textcolor{mycolor}{And the mome raths outgrabe.}% + } + + \medskip + + \movie*{\value{nosteps}}{0.01}[\pageDuration{1}] + {% + \mkfactor{\mag}{\value{substep}/\value{nosteps}}% + \appearI{\mag}{"Beware the Jabberwock, my son!}% + } + + \movie*{\value{nosteps}}{0.01}[\pageDuration{1}] + {% + \mkfactor{\mag}{\value{substep}/\value{nosteps}}% + \appearII{\mag}{The jaws that bite, the claws that catch!}% + } + + \movie{\value{nosteps}}{0.01}[\pageDuration{0.01}] + {% + \makebox[0pt]{\appearIII{(\thenosteps pt-\thesubstep pt)*\real{1.5}}{Beware the Jubjub bird, and shun}}% + }% + % + \step{\afterstep{\pageDuration{1}}Beware the Jubjub bird, and shun} + + \movie*{\value{nosteps}}{0.01}[\pageDuration{1}] + {% + \mkfactor{\mag}{\value{substep}/\value{nosteps}}% + \setcounter{mycount}{2*(\value{nosteps}-\value{substep})}% + \strut\rotatebox[origin=c]{\themycount}{\makebox[0pt]{\smash{\scalebox{\mag}{The frumious Bandersnatch!"}}}}% + } + + \medskip + + \movie*{\value{nosteps}}{0.01}[\pageDuration{1}] + {% + \mkfactor{\mag}{\value{substep}/\value{nosteps}}% + \hspace*{\fill}% + \emph + {% + \rlap + {% + \makebox[\widthof{Lewis Carroll}] + {\rule{5cm-5cm/\value{nosteps}*\value{substep}}{0pt}\strut\raisebox{1cm-1cm/\value{nosteps}*\value{substep}}[0pt][0pt]{\appearIV{\mag}{Lewis Carroll}}}% + }% + \rlap + {% + \makebox[\widthof{Lewis Carroll}] + {\strut\raisebox{1.5cm-1.5cm/\value{nosteps}*\value{substep}}[0pt][0pt]{\appearIV{\mag}{Lewis Carroll}}\rule{4cm-4cm/\value{nosteps}*\value{substep}}{0pt}}% + }% + \rlap + {% + \makebox[\widthof{Lewis Carroll}] + {\rule{3cm-3cm/\value{nosteps}*\value{substep}}{0pt}\strut\raisebox{-.5cm+.5cm/\value{nosteps}*\value{substep}}[0pt][0pt]{\appearIV{\mag}{Lewis Carroll}}}% + }% + \makebox[\widthof{Lewis Carroll}] + {\strut\raisebox{-1cm+1cm/\value{nosteps}*\value{substep}}[0pt][0pt]{\appearIV{\mag}{Lewis Carroll}}\rule{6cm-6cm/\value{nosteps}*\value{substep}}{0pt}}% + }% + } + \end{center} + } +\end{slide} +\end{document} +\endinput +%% +%% End of file `fancyexample.tex'. diff --git a/Master/texmf-dist/doc/latex/texpower/fancystep.tex b/Master/texmf-dist/doc/latex/texpower/fancystep.tex deleted file mode 100644 index 0ae938cae30..00000000000 --- a/Master/texmf-dist/doc/latex/texpower/fancystep.tex +++ /dev/null @@ -1,29 +0,0 @@ -%% -%% This is file `fancystep.tex', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% texpower-doc.dtx (with options: `fancystep') -%% -%% -------------------------------------------------------------- -%% TeXPower bundle - dynamic online presentations with LaTeX -%% Copyright (C) 1999-2004 Stephan Lehmke -%% -%% This program is free software; you can redistribute it and/or -%% modify it under the terms of the GNU General Public License -%% as published by the Free Software Foundation; either version 2 -%% of the License, or (at your option) any later version. -%% -%% This program is distributed in the hope that it will be useful, -%% but WITHOUT ANY WARRANTY; without even the implied warranty of -%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -%% GNU General Public License for more details. -%% -------------------------------------------------------------- -%% -%% The list of all files belonging to the TeXPower bundle is -%% given in the file `00readme.txt'. -%% -\endinput -%% -%% End of file `fancystep.tex'. diff --git a/Master/texmf-dist/doc/latex/texpower/fig-1.mps b/Master/texmf-dist/doc/latex/texpower/fig-1.mps new file mode 100644 index 00000000000..940642202f1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/texpower/fig-1.mps @@ -0,0 +1,22 @@ +%!PS +%%BoundingBox: 0 0 58 58 +%%Creator: MetaPost +%%CreationDate: 2004.03.23:0921 +%%Pages: 1 +%%EndProlog +%%Page: 1 1 + 1 0 0 setrgbcolor +newpath 0.25 28.59645 moveto +0.25 12.94115 12.94115 0.25 28.59645 0.25 curveto +44.25175 0.25 56.9429 12.94115 56.9429 28.59645 curveto +56.9429 40.7281 36.86218 45.12794 28.59645 28.59645 curveto +20.33072 12.06496 0.25 16.4648 0.25 28.59645 curveto closepath fill + 0 0.5 dtransform truncate idtransform setlinewidth pop [] 0 setdash + 1 setlinejoin 10 setmiterlimit +newpath 0.25 28.59645 moveto +0.25 12.94115 12.94115 0.25 28.59645 0.25 curveto +44.25175 0.25 56.9429 12.94115 56.9429 28.59645 curveto +56.9429 44.25175 44.25175 56.9429 28.59645 56.9429 curveto +12.94115 56.9429 0.25 44.25175 0.25 28.59645 curveto closepath stroke +showpage +%%EOF diff --git a/Master/texmf-dist/doc/latex/texpower/fig-2.mps b/Master/texmf-dist/doc/latex/texpower/fig-2.mps new file mode 100644 index 00000000000..308793a3876 --- /dev/null +++ b/Master/texmf-dist/doc/latex/texpower/fig-2.mps @@ -0,0 +1,121 @@ +%!PS +%%BoundingBox: 0 0 310 204 +%%Creator: MetaPost +%%CreationDate: 2004.03.24:1259 +%%Pages: 1 +%%EndProlog +%%Page: 1 1 + 0 0.1 1 setrgbcolor +newpath 0 112.92435 moveto +14.17323 88.37553 lineto +42.51968 88.37553 lineto +28.34645 112.92435 lineto + closepath fill + 1 0 0 setrgbcolor +newpath 34.01566 112.92435 moveto +48.18889 88.37553 lineto +76.53534 88.37553 lineto +62.3621 112.92435 lineto + closepath fill + 0 0.1 1 setrgbcolor +newpath 68.03131 112.92435 moveto +82.20454 88.37553 lineto +110.551 88.37553 lineto +96.37776 112.92435 lineto + closepath fill +newpath 102.04697 112.92435 moveto +116.2202 88.37553 lineto +144.56665 88.37553 lineto +130.39342 112.92435 lineto + closepath fill +newpath 17.00783 83.46584 moveto +31.18106 58.91702 lineto +59.52751 58.91702 lineto +45.35428 83.46584 lineto + closepath fill +newpath 51.02348 83.46584 moveto +65.19672 58.91702 lineto +93.54317 58.91702 lineto +79.36993 83.46584 lineto + closepath fill +newpath 85.03914 83.46584 moveto +99.21237 58.91702 lineto +127.55882 58.91702 lineto +113.38559 83.46584 lineto + closepath fill +newpath 119.0548 83.46584 moveto +133.22803 58.91702 lineto +161.57448 58.91702 lineto +147.40125 83.46584 lineto + closepath fill +newpath 34.01566 54.00732 moveto +48.18889 29.45851 lineto +76.53534 29.45851 lineto +62.3621 54.00732 lineto + closepath fill +newpath 68.03131 54.00732 moveto +82.20454 29.45851 lineto +110.551 29.45851 lineto +96.37776 54.00732 lineto + closepath fill +newpath 102.04697 54.00732 moveto +116.2202 29.45851 lineto +144.56665 29.45851 lineto +130.39342 54.00732 lineto + closepath fill +newpath 136.06262 54.00732 moveto +150.23586 29.45851 lineto +178.5823 29.45851 lineto +164.40907 54.00732 lineto + closepath fill +newpath 51.02348 24.54881 moveto +65.19672 0 lineto +93.54317 0 lineto +79.36993 24.54881 lineto + closepath fill +newpath 85.03914 24.54881 moveto +99.21237 0 lineto +127.55882 0 lineto +113.38559 24.54881 lineto + closepath fill +newpath 119.0548 24.54881 moveto +133.22803 0 lineto +161.57448 0 lineto +147.40125 24.54881 lineto + closepath fill +newpath 153.07045 24.54881 moveto +167.24368 0 lineto +195.59013 0 lineto +181.4169 24.54881 lineto + closepath fill + 0 0.7 1 setrgbcolor +newpath 182.83432 203.75488 moveto +133.22803 117.83403 lineto +138.18874 109.24179 lineto +192.75575 203.75488 lineto + closepath fill + 0 0.5 1 setrgbcolor +newpath 216.84998 203.75488 moveto +199.84215 174.29637 lineto +150.23586 88.37552 lineto +157.67693 75.48715 lineto +212.24394 170.00024 lineto +231.73213 203.75488 lineto + closepath fill + 0 0.3 1 setrgbcolor +newpath 250.86565 203.75488 moveto +216.84998 144.83786 lineto +167.24368 58.917 lineto +177.16512 41.73251 lineto +231.73213 136.2456 lineto +270.70853 203.75488 lineto + closepath fill + 0 0.1 1 setrgbcolor +newpath 284.8813 203.75488 moveto +233.8578 115.37935 lineto +184.25151 29.4585 lineto +198.42474 4.90968 lineto +309.6849 203.75488 lineto + closepath fill +showpage +%%EOF diff --git a/Master/texmf-dist/doc/latex/texpower/fig-3.mps b/Master/texmf-dist/doc/latex/texpower/fig-3.mps new file mode 100644 index 00000000000..ab237da83b2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/texpower/fig-3.mps @@ -0,0 +1,25 @@ +%!PS +%%BoundingBox: 0 0 296 26 +%%Creator: MetaPost +%%CreationDate: 2004.03.24:1531 +%%Pages: 1 +%*Font: lcmssb8 8.504 7.97011 41:988e7c0000000002 +%%EndProlog +%%Page: 1 1 + 0.4 0.7 1 setrgbcolor +newpath 0 0 moveto +283.46451 0 lineto +295.44437 25.6907 lineto +11.97986 25.6907 lineto + closepath fill + 1 setgray +23.16316 9.27249 moveto +(UNIVERSIT) lcmssb8 8.504 fshow +82.72096 10.5127 moveto +(\177) lcmssb8 8.504 fshow +81.86467 9.27249 moveto +(AT) lcmssb8 8.504 fshow +101.67796 9.27249 moveto +(DORTMUND) lcmssb8 8.504 fshow +showpage +%%EOF diff --git a/Master/texmf-dist/doc/latex/texpower/foilsdemo.tex b/Master/texmf-dist/doc/latex/texpower/foilsdemo.tex index fc2ff715a31..775128d812e 100644 --- a/Master/texmf-dist/doc/latex/texpower/foilsdemo.tex +++ b/Master/texmf-dist/doc/latex/texpower/foilsdemo.tex @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -25,17 +26,12 @@ %% given in the file `00readme.txt'. %% \ProvidesFile{foilsdemo.tex}% - [2004/07/27 TeXPower example file] + [2005/04/07 TeXPower example file] %----------------------------------------------------------------------------------------------------------------- -% File: foilsdemo.tex % % Simple examples the for combining the foils class with the dynamic features provided by the package texpower.sty. % %----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 May 25, 2000: First version for the pre-alpha release of TeXPower. -% \documentclass[landscape]{foils} diff --git a/Master/texmf-dist/doc/latex/texpower/fulldemo.tex b/Master/texmf-dist/doc/latex/texpower/fulldemo.tex index fac601aa535..a599c3fcc34 100644 --- a/Master/texmf-dist/doc/latex/texpower/fulldemo.tex +++ b/Master/texmf-dist/doc/latex/texpower/fulldemo.tex @@ -4,7 +4,7 @@ %% %% The original source files were: %% -%% texpower-doc.dtx (with options: `fulldemo') +%% texpower-doc.dtx (with options: `version,fulldemo') %% texpower-doc.dtx (with options: `picexample-src') %% texpower-doc.dtx (with options: `tabexample-src') %% texpower-doc.dtx (with options: `mathexample-src') @@ -17,6 +17,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -33,50 +34,10 @@ %% given in the file `00readme.txt'. %% \ProvidesFile{fulldemo.tex}% - [2004/07/27 TeXPower full demo and manual] -%----------------------------------------------------------------------------------------------------------------- -% File: fulldemo.tex -% -% Demo & Manual for the package texpower.sty (pre-alpha release). -% -% This file can be compiled with pdfLaTeX or (standard) LaTeX. When using standard LaTeX, the dvi file produced should -% be processed with -% -% dvips -Ppdf fulldemo -% -% afterwards processing the resulting ps file with -% -% distill fulldemo.ps -% -% (The syntax is for a unix system with tetex 1.0 and distiller 3. Modify appropriately for other configurations.) -% -% The resulting pdf file is meant for presenting `interactively' with Adobe Acrobat Reader. -% -%----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 Oct 26, 1999: seven examples completed; parts of inline documentation -% -% v0.0.2 Feb 18, 2000: inline documentation of examples completed -% -% v0.0.3 Mar 1, 2000: added examples for \pause and page transitions; Documentation section started -% -% v0.0.4 Mar 10, 2000: Documentation for the first pre-alpha release completed -% -% v0.0.5 Mar 20, 2000: Documentation split into several files to reduce compilation problems; tested with pdflatex -% -% v0.0.6 May 2, 2000: Some small changes in preparation of the update to TeXpower v0.0.7. -% -% v0.0.7 May 24, 2000: Some small changes in preparation of the update to TeXpower v0.0.8. -% -% v0.0.8 Aug 29, 2000: Added backgroundstyle command for the update to TeXpower v0.0.9. -% - - -%----------------------------------------------------------------------------------------------------------------- + [2005/04/07 TeXPower full demo and manual] -% Version info -\def\tpversion{v0.0.9d of May 15, 2003 (alpha)} +% Version info used in titles +\def\tpversion{v0.2 of April 8, 2005} % Enable all color emphasis and highlighting options; use a light background and slifonts. @@ -102,6 +63,7 @@ {% Yes. % PsTricks is used for creating the picture example. + \usepackage[noxcolor]{pstricks} \usepackage{pstcol} \usepackage{pst-node} @@ -181,12 +143,12 @@ \newslide \minisec{Disclaimer} - This is a \emph{alpha} release of the \TeX Power bundle. + This is still work inprogress. During the subsequent error correction and extension of the functionality, the syntax and implementation of the macros described here are liable to change. - The transformation to the dtx format is also not completed. + Even though we are using dtx-files, these are still not fully documented dtx-files. \newslide @@ -272,13 +234,9 @@ % \newcommand{\tabend}{\\\hline}% - \stepwise - {% - \hrule height 0pt\relax% This is neccessary to avoid a glitch in vertical spacing. Don't ask me why. I'll try to get - % this right until the first alpha version. + \liststepwise{% \begin{center} - \step - {% + \step{% \begin{tabular}{|l|l|l|} \hline They can & be built & line by line% @@ -323,7 +281,7 @@ % frame is reduced. \setlength{\highlightboxsep}{1pt}% % - \begin{align} + \begin{align*} \lefteqn {% \min @@ -451,7 +409,7 @@ \right) \right) } - \end{align} + \end{align*} }% \newslide % @@ -772,44 +730,11 @@ Instead of displaying incrementally, we can just `flip through' some items by hi \addtocontents{toc}{\protect\clearpage} -% -%----------------------------------------------------------------------------------------------------------------- -% -% Documentation of the TeXPower bundle. -% -% Autor: Stephan Lehmke -% -% v0.0.1 Mar 20, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Mar 29, 2000: Added `usage and basic options' section. -% -% v0.0.3 Apr 04, 2000: Added `Color Emphasis and Highlighting' section. -% -% v0.0.4 Apr 12, 2000: A lot of small additions in preparation of the update to TeXpower v0.0.7. -% -% v0.0.5 May 31, 2000: Updated for TeXpower v0.0.8. -% -% v0.0.6 Jun 09, 2000: Some updates for TeXpower v0.0.8b. -% -% v0.0.6a Jun 13, 2000: Some updates for TeXpower v0.0.8c. -% -% v0.0.6b Jun 23, 2000: Some updates for TeXpower v0.0.8e. -% -% v0.0.6c Jul 25, 2000: Some updates for TeXpower v0.0.8g. Colors section rewritten for new color management kernel. -% -% v0.0.7 May 15, 2003: Added index and updates for TeXpower v0.0.9d. -% -% v0.0.8 July 27, 2004: Added the "Miscellaneous commands" section. Moved the tpslifonts doc into tpslifonts.dtx. -% -%----------------------------------------------------------------------------------------------------------------- -% -\def\docversion{v0.0.8 of July 27, 2004} -\def\tpversion{v0.1b of July 27, 2004} \makeslidetitle {% Documentation% - \thanks{Documentation \docversion\ for \TeX Power \tpversion\ (alpha).}% + \thanks{Documentation for \TeX Power \tpversion .}% }% The \TeX Power bundle contains style and class files for creating dynamic online presentations with \LaTeX. @@ -841,9 +766,6 @@ The other, more sophisticated examples demonstrate the expressive power of the \code{texpower} package. Look at the commented code of these examples to find out how to achieve special effects and create your own presentation effects with \TeX Power. -For the first \emph{alpha} release, this documentation will be completed. For the first \emph{beta} release, when the -code is a little more stable, the \code{texpower} package will be made into a properly documented \code{.dtx} file. - \newslide %----------------------------------------------------------------------------------------------------------------- @@ -904,11 +826,22 @@ This way, not only `visible' page contents will be duplicated, but also some `in side effects. For instance, a \macroname{section} command creates a whatsit for writing the table of contents entry. Duplicating this -whatsit will also duplicate the toc entry. +whatsit will also duplicate the toc entry. So, whatsit items effecting file access are inhibited when duplicating page +material. \newslide -So, whatsit items effecting file access are inhibited when duplicating page material. +The current version of \code{texpower} is a little smarter when handling whatsits. Some commands (related to writing to +files and hyperlinks) are made stepwise-aware. This means that links can point to the actual subpage where the +anchor is and not to the last (sub)page of an incremental page. However, if you want the old behaviour just use +\begin{description} +\item[\present{option: \code{oldfiltering}}]\indexpckopt{texpower}{oldfiltering} switches on the old + (pre 0.2) very aggressive/robust filtering of whatsits. +\end{description} +The \code{oldfiltering} can be turned on and off inside the document using \macroname{oldfilteringon/off}. This command is +useful if \code{texpower} isn't smart enough... + +\newslide A second type of whatsits is created by \TeX's \macroname{special} command which is used for instance for color management. Some drivers, like \code{dvips} and \code{textures}, use a color stack which is controlled by @@ -991,6 +924,10 @@ There are some boolean registers provided and set automatically by \code{texpowe \subsection{Miscellaneous commands}\label{Sec:MiscCmd} Some important commands that don't fit in the latter sections: \begin{description} +\item[\present{\macroname{oldfilteringon}}]\indexmacro{oldfilteringon} + reverts to the old (pre v0.2) aggressive/robust filtering of whatsits. +\item[\present{\macroname{oldfilteringoff}}]\indexmacro{oldfilteringoff} + turns on the new better treatment of whatsits. \item[\present{\commandapp{currentpagevalue}{\carg{value}}}]\indexmacro{currentpagevalue} sets how to find the number of the current page, \commandapp{value}{page} is default. Used to name the hyper target on the first subpage of every page. Also used in the @@ -1003,6 +940,17 @@ Some important commands that don't fit in the latter sections: \newslide +\subsection{Page Anchors}\label{Sec:PageAnch} + +For each physical page \TeX Power (when in display mode) makes a number of subpages - this is +the dynamics. For convenience \TeX Power defines an anchor to the first subpage of physical page n, +\code{firstpage.n}\indexcode{firstpage.n}. The standard page anchor for physical page n, +\code{page.n}\indexcode{page.n}, points to the last subpage of physical page n. If you want to +link to any other subpage just insert a \macroname{hyperlink} in the standard way assuming you haven't +turned on the old filtering (\ref{Sec:Dupl}). + +\newslide + \subsection{Dependencies on other packages} \code{textpower} always loads the packages \code{ifthen} and \code{calc}, as the extended command syntax provided by these is indispensable for the macros to work. They are in the \code{base} and \code{tools} area of the \LaTeX{} @@ -1043,8 +991,8 @@ The following packages are neccessary for certain features of \code{texpower}: \subsection{What else is part of the \TeX Power bundle?} Besides the package \code{texpower} (which is described here), there are four more packages, \code{tpslifonts}, \code{fixseminar}, \code{automata} and -\code{tplists}, and one document class, -\code{powersem}, in the \TeX Power bundle which so far have no documentation +\code{tplists}, and one document class, \code{powersem}, in the \TeX Power bundle. +Except for \code{tpslifonts} and \code{tplists} these files have no documentation of their own. They will be described in this section until they are turned into \code{dtx} files producing their own documentation. @@ -1161,7 +1109,7 @@ automata are supported so far. \minisec{The package \code{tplists}}\indexfile{tplists}{package} Experimental package providing easy dynamic lists. Currently there are stepped, flipped and dimmed versions of itemize and enumerate (and corresponding lists from the \code{eqlist} and \code{paralist} package). For more information -and an example read the start of the file \code{tplists.sty}. +and an example, compile (and then read) the file \code{tplists.dtx}. \newslide @@ -1260,8 +1208,8 @@ and an example read the start of the file \code{tplists.sty}. \emph{completely} into \carg{contents}, where \macroname{step} can be used freely (see \nameref{Sec:Ex}). \item As \carg{contents} is read as a macro argument, constructs involving \concept{catcode} changes (like - \macroname{verb} or language switches) won't work in \carg{contents}. Using a suggestion by \name{Ross - Moore}, I hope to remedy this until the \emph{alpha} release. + \macroname{verb} or language switches) won't work in \carg{contents} \textbf{unless} you use the + \code{fragilesteps} environment (\ref{Sec:fragilesteps}). \newslide @@ -1285,13 +1233,19 @@ and an example read the start of the file \code{tplists.sty}. Commands accessing toc files and such (like \macroname{section}) are taken care of by the whatsit suppression mechanism (compare section \ref{Sec:Dupl}). + \end{enumerate} - Labels and hyperlinks work sort of (giving a lot of warnings though). + \newslide - I will try to remedy remaining problems until the first \emph{alpha} release. - \end{enumerate} + \subsection{\code{fragilesteps} environment}\label{Sec:fragilesteps}% - \newslide + The \code{fragilesteps}\indexcode{fragilesteps} environment is a wrapper around \macroname{stepwise} + that makes it possible to use verbatim. The code for this environment is based on similar code from beamer - an + excellent presentation class written by Till Tantau - thanks! Using the \code{fragilesteps} environment + enables the use of the \code{listings} package to display code line by line. There are some examples in + \code{verbexample.tex}. + + \newslide \subsection{\macroname{boxedsteps} and \macroname{nonboxedsteps}}\label{Sec:boxedsteps}% By default, \carg{stepcontents} belonging to a \macroname{step} which is not yet `active' are ignored altogether. This @@ -1338,10 +1292,8 @@ and an example read the start of the file \code{tplists.sty}. \subsection{Custom versions of \macroname{stepwise}}% Sometimes, it might happen that vertical spacing is different on every page of a sequence generated by - \macroname{stepwise}, making lines `wobble'. - - This is caused by interactions between different ways vertical spacing is added to the page. Hopefully, problems - caused this way can be reduced until the first \emph{alpha} release. + \macroname{stepwise}, making lines `wobble'. This is usually fixed if you use \macroname{liststepwise} or + \macroname{parstepwise} (described below) in stead of \macroname{stepwise}. \newslide diff --git a/Master/texmf-dist/doc/latex/texpower/hilitexample.tex b/Master/texmf-dist/doc/latex/texpower/hilitexample.tex index 2cd8be37ed5..bb430d875c9 100644 --- a/Master/texmf-dist/doc/latex/texpower/hilitexample.tex +++ b/Master/texmf-dist/doc/latex/texpower/hilitexample.tex @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -25,41 +26,11 @@ %% given in the file `00readme.txt'. %% \ProvidesFile{hilitexample.tex}% - [2004/07/27 TeXPower example file] + [2005/04/07 TeXPower example file] %----------------------------------------------------------------------------------------------------------------- -% File: hilitexample.tex % % Highlighting example for the package texpower.sty. % -% This file can be compiled with pdfLaTeX or (standard) LaTeX. When using standard LaTeX, the dvi file produced should -% be processed with -% -% dvips -Ppdf -j0 hilitexample -% -% afterwards processing the resulting ps file with -% -% distill hilitexample.ps -% -% (The syntax is for a unix system with tetex 1.0 and distiller 3. Modify appropriately for other configurations.) -% -% The resulting pdf file is meant for presenting `interactively' with Adobe Acrobat Reader. -% -%----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 Mar 20, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Apr 27, 2000: Some small changes in preparation of the update to TeXpower v0.0.7. -% Added demo for \highlighttext. -% Itemize demo now checks whether color is activated. -% -% v0.0.3 May 26, 2000: Added an example for how to make the text in a paragraph `stand out' from the background. -% -% v0.0.4 Jun 07, 2000: Now using \hidedimmed and \highlightenhanced. -% -% v0.0.5 Jul 19, 2000: stepitemize example rewritten for TeXPower v0.0.8g. -% - %----------------------------------------------------------------------------------------------------------------- % Use slifonts. diff --git a/Master/texmf-dist/doc/latex/texpower/ifmslidemo.tex b/Master/texmf-dist/doc/latex/texpower/ifmslidemo.tex index b1177f70190..e3583c0fb3b 100644 --- a/Master/texmf-dist/doc/latex/texpower/ifmslidemo.tex +++ b/Master/texmf-dist/doc/latex/texpower/ifmslidemo.tex @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -25,19 +26,12 @@ %% given in the file `00readme.txt'. %% \ProvidesFile{ifmslidemo.tex}% - [2004/07/27 TeXPower example file] + [2005/04/07 TeXPower example file] %----------------------------------------------------------------------------------------------------------------- -% File: ifmslidemo.tex % % Simple examples the for combining the ifmslide package with the dynamic features provided by the package texpower.sty. % %----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 May 25, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Jul 31, 2000: Slightly updated for ifmslide v0.43. -% \documentclass[KOMA,landscape,display]{powersem} diff --git a/Master/texmf-dist/doc/latex/texpower/manual.pdf b/Master/texmf-dist/doc/latex/texpower/manual.pdf index a85adf08dd9..372532cd75e 100644 Binary files a/Master/texmf-dist/doc/latex/texpower/manual.pdf and b/Master/texmf-dist/doc/latex/texpower/manual.pdf differ diff --git a/Master/texmf-dist/doc/latex/texpower/manual.tex b/Master/texmf-dist/doc/latex/texpower/manual.tex index 472db32a79a..4b9112957ab 100644 --- a/Master/texmf-dist/doc/latex/texpower/manual.tex +++ b/Master/texmf-dist/doc/latex/texpower/manual.tex @@ -4,11 +4,12 @@ %% %% The original source files were: %% -%% texpower-doc.dtx (with options: `manual,docu,enddoc') +%% texpower-doc.dtx (with options: `version,manual,docu,enddoc') %% %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -25,19 +26,10 @@ %% given in the file `00readme.txt'. %% \ProvidesFile{manual.tex}% - [2004/07/27 TeXPower manual] -%----------------------------------------------------------------------------------------------------------------- -% File: manual.tex -% -% (Preliminary) documentation of the TeXPower bundle. -% -%----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 Mar 20, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Apr 11, 2000: Now producing a document which is meant for printing on paper. -% + [2005/04/07 TeXPower manual] + +% Version info used in titles +\def\tpversion{v0.2 of April 8, 2005} \documentclass[12pt]{scrartcl} @@ -129,44 +121,11 @@ % \begin{document} -% -%----------------------------------------------------------------------------------------------------------------- -% -% Documentation of the TeXPower bundle. -% -% Autor: Stephan Lehmke -% -% v0.0.1 Mar 20, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Mar 29, 2000: Added `usage and basic options' section. -% -% v0.0.3 Apr 04, 2000: Added `Color Emphasis and Highlighting' section. -% -% v0.0.4 Apr 12, 2000: A lot of small additions in preparation of the update to TeXpower v0.0.7. -% -% v0.0.5 May 31, 2000: Updated for TeXpower v0.0.8. -% -% v0.0.6 Jun 09, 2000: Some updates for TeXpower v0.0.8b. -% -% v0.0.6a Jun 13, 2000: Some updates for TeXpower v0.0.8c. -% -% v0.0.6b Jun 23, 2000: Some updates for TeXpower v0.0.8e. -% -% v0.0.6c Jul 25, 2000: Some updates for TeXpower v0.0.8g. Colors section rewritten for new color management kernel. -% -% v0.0.7 May 15, 2003: Added index and updates for TeXpower v0.0.9d. -% -% v0.0.8 July 27, 2004: Added the "Miscellaneous commands" section. Moved the tpslifonts doc into tpslifonts.dtx. -% -%----------------------------------------------------------------------------------------------------------------- -% -\def\docversion{v0.0.8 of July 27, 2004} -\def\tpversion{v0.1b of July 27, 2004} \makeslidetitle {% Documentation% - \thanks{Documentation \docversion\ for \TeX Power \tpversion\ (alpha).}% + \thanks{Documentation for \TeX Power \tpversion .}% }% The \TeX Power bundle contains style and class files for creating dynamic online presentations with \LaTeX. @@ -198,9 +157,6 @@ The other, more sophisticated examples demonstrate the expressive power of the \code{texpower} package. Look at the commented code of these examples to find out how to achieve special effects and create your own presentation effects with \TeX Power. -For the first \emph{alpha} release, this documentation will be completed. For the first \emph{beta} release, when the -code is a little more stable, the \code{texpower} package will be made into a properly documented \code{.dtx} file. - \newslide %----------------------------------------------------------------------------------------------------------------- @@ -261,11 +217,22 @@ This way, not only `visible' page contents will be duplicated, but also some `in side effects. For instance, a \macroname{section} command creates a whatsit for writing the table of contents entry. Duplicating this -whatsit will also duplicate the toc entry. +whatsit will also duplicate the toc entry. So, whatsit items effecting file access are inhibited when duplicating page +material. \newslide -So, whatsit items effecting file access are inhibited when duplicating page material. +The current version of \code{texpower} is a little smarter when handling whatsits. Some commands (related to writing to +files and hyperlinks) are made stepwise-aware. This means that links can point to the actual subpage where the +anchor is and not to the last (sub)page of an incremental page. However, if you want the old behaviour just use +\begin{description} +\item[\present{option: \code{oldfiltering}}]\indexpckopt{texpower}{oldfiltering} switches on the old + (pre 0.2) very aggressive/robust filtering of whatsits. +\end{description} +The \code{oldfiltering} can be turned on and off inside the document using \macroname{oldfilteringon/off}. This command is +useful if \code{texpower} isn't smart enough... + +\newslide A second type of whatsits is created by \TeX's \macroname{special} command which is used for instance for color management. Some drivers, like \code{dvips} and \code{textures}, use a color stack which is controlled by @@ -348,6 +315,10 @@ There are some boolean registers provided and set automatically by \code{texpowe \subsection{Miscellaneous commands}\label{Sec:MiscCmd} Some important commands that don't fit in the latter sections: \begin{description} +\item[\present{\macroname{oldfilteringon}}]\indexmacro{oldfilteringon} + reverts to the old (pre v0.2) aggressive/robust filtering of whatsits. +\item[\present{\macroname{oldfilteringoff}}]\indexmacro{oldfilteringoff} + turns on the new better treatment of whatsits. \item[\present{\commandapp{currentpagevalue}{\carg{value}}}]\indexmacro{currentpagevalue} sets how to find the number of the current page, \commandapp{value}{page} is default. Used to name the hyper target on the first subpage of every page. Also used in the @@ -360,6 +331,17 @@ Some important commands that don't fit in the latter sections: \newslide +\subsection{Page Anchors}\label{Sec:PageAnch} + +For each physical page \TeX Power (when in display mode) makes a number of subpages - this is +the dynamics. For convenience \TeX Power defines an anchor to the first subpage of physical page n, +\code{firstpage.n}\indexcode{firstpage.n}. The standard page anchor for physical page n, +\code{page.n}\indexcode{page.n}, points to the last subpage of physical page n. If you want to +link to any other subpage just insert a \macroname{hyperlink} in the standard way assuming you haven't +turned on the old filtering (\ref{Sec:Dupl}). + +\newslide + \subsection{Dependencies on other packages} \code{textpower} always loads the packages \code{ifthen} and \code{calc}, as the extended command syntax provided by these is indispensable for the macros to work. They are in the \code{base} and \code{tools} area of the \LaTeX{} @@ -400,8 +382,8 @@ The following packages are neccessary for certain features of \code{texpower}: \subsection{What else is part of the \TeX Power bundle?} Besides the package \code{texpower} (which is described here), there are four more packages, \code{tpslifonts}, \code{fixseminar}, \code{automata} and -\code{tplists}, and one document class, -\code{powersem}, in the \TeX Power bundle which so far have no documentation +\code{tplists}, and one document class, \code{powersem}, in the \TeX Power bundle. +Except for \code{tpslifonts} and \code{tplists} these files have no documentation of their own. They will be described in this section until they are turned into \code{dtx} files producing their own documentation. @@ -518,7 +500,7 @@ automata are supported so far. \minisec{The package \code{tplists}}\indexfile{tplists}{package} Experimental package providing easy dynamic lists. Currently there are stepped, flipped and dimmed versions of itemize and enumerate (and corresponding lists from the \code{eqlist} and \code{paralist} package). For more information -and an example read the start of the file \code{tplists.sty}. +and an example, compile (and then read) the file \code{tplists.dtx}. \newslide @@ -617,8 +599,8 @@ and an example read the start of the file \code{tplists.sty}. \emph{completely} into \carg{contents}, where \macroname{step} can be used freely (see \nameref{Sec:Ex}). \item As \carg{contents} is read as a macro argument, constructs involving \concept{catcode} changes (like - \macroname{verb} or language switches) won't work in \carg{contents}. Using a suggestion by \name{Ross - Moore}, I hope to remedy this until the \emph{alpha} release. + \macroname{verb} or language switches) won't work in \carg{contents} \textbf{unless} you use the + \code{fragilesteps} environment (\ref{Sec:fragilesteps}). \newslide @@ -642,13 +624,19 @@ and an example read the start of the file \code{tplists.sty}. Commands accessing toc files and such (like \macroname{section}) are taken care of by the whatsit suppression mechanism (compare section \ref{Sec:Dupl}). + \end{enumerate} + + \newslide - Labels and hyperlinks work sort of (giving a lot of warnings though). + \subsection{\code{fragilesteps} environment}\label{Sec:fragilesteps}% - I will try to remedy remaining problems until the first \emph{alpha} release. - \end{enumerate} + The \code{fragilesteps}\indexcode{fragilesteps} environment is a wrapper around \macroname{stepwise} + that makes it possible to use verbatim. The code for this environment is based on similar code from beamer - an + excellent presentation class written by Till Tantau - thanks! Using the \code{fragilesteps} environment + enables the use of the \code{listings} package to display code line by line. There are some examples in + \code{verbexample.tex}. - \newslide + \newslide \subsection{\macroname{boxedsteps} and \macroname{nonboxedsteps}}\label{Sec:boxedsteps}% By default, \carg{stepcontents} belonging to a \macroname{step} which is not yet `active' are ignored altogether. This @@ -695,10 +683,8 @@ and an example read the start of the file \code{tplists.sty}. \subsection{Custom versions of \macroname{stepwise}}% Sometimes, it might happen that vertical spacing is different on every page of a sequence generated by - \macroname{stepwise}, making lines `wobble'. - - This is caused by interactions between different ways vertical spacing is added to the page. Hopefully, problems - caused this way can be reduced until the first \emph{alpha} release. + \macroname{stepwise}, making lines `wobble'. This is usually fixed if you use \macroname{liststepwise} or + \macroname{parstepwise} (described below) in stead of \macroname{stepwise}. \newslide diff --git a/Master/texmf-dist/doc/latex/texpower/mathexample.tex b/Master/texmf-dist/doc/latex/texpower/mathexample.tex index 64a54d2d0a7..1cbdc65d42e 100644 --- a/Master/texmf-dist/doc/latex/texpower/mathexample.tex +++ b/Master/texmf-dist/doc/latex/texpower/mathexample.tex @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -25,40 +26,11 @@ %% given in the file `00readme.txt'. %% \ProvidesFile{mathexample.tex}% - [2004/07/27 TeXPower example file] + [2005/04/07 TeXPower example file] %----------------------------------------------------------------------------------------------------------------- -% File: mathexample.tex % % Math example for the package texpower.sty. % -% This file can be compiled with pdfLaTeX or (standard) LaTeX. When using standard LaTeX, the dvi file produced should -% be processed with -% -% dvips -Ppdf -j0 mathexample -% -% afterwards processing the resulting ps file with -% -% distill mathexample.ps -% -% (The syntax is for a unix system with tetex 1.0 and distiller 3. Modify appropriately for other configurations.) -% -% The resulting pdf file is meant for presenting `interactively' with Adobe Acrobat Reader. -% -%----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 Mar 20, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Apr 19, 2000: Using \bstep instead of \boxedsteps. -% -% v0.0.3 Apr 27, 2000: Some small changes in preparation of the update to TeXpower v0.0.7. -% -% v0.0.4 May 24, 2000: texpower 0.0.8 now supports equation numbers in the argument of \stepwise, so align* was -% changed to align. -% - - - %----------------------------------------------------------------------------------------------------------------- % Enable all color emphasis and highlighting options. Use white background and slifonts. @@ -108,7 +80,7 @@ % frame is reduced. \setlength{\highlightboxsep}{1pt}% % - \begin{align} + \begin{align*} \lefteqn {% \min @@ -236,7 +208,7 @@ \right) \right) } - \end{align} + \end{align*} }% \newslide \end{slide} diff --git a/Master/texmf-dist/doc/latex/texpower/panelexample.tex b/Master/texmf-dist/doc/latex/texpower/panelexample.tex index 75a83b7e7a5..08c6ae17d57 100644 --- a/Master/texmf-dist/doc/latex/texpower/panelexample.tex +++ b/Master/texmf-dist/doc/latex/texpower/panelexample.tex @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -25,28 +26,11 @@ %% given in the file `00readme.txt'. %% \ProvidesFile{panelexample.tex}% - [2004/07/27 TeXPower example file] + [2005/04/07 TeXPower example file] %------------------------------------------------------------------------------ -% File: panelexample.tex % % Example for the panel facilities of TeXPower. % -% This file can be compiled with pdfLaTeX or (standard) LaTeX. When -% using standard LaTeX, the dvi file produced should -% be converted to pdf afterwards (using dvips+distill/ps2pdf or -% dvipdf, for instance). -% -% The resulting pdf file is meant for presenting `interactively' with -% Adobe Acrobat Reader. -% -%------------------------------------------------------------------------------ -% Author: Stephan Lehmke -% -% v0.1 Nov 14, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.2 May 02, 2003: English version. -% - %------------------------------------------------------------------------------ % Enable all color emphasis and highlighting options. Use white % background and slifonts. diff --git a/Master/texmf-dist/doc/latex/texpower/parexample.tex b/Master/texmf-dist/doc/latex/texpower/parexample.tex index bbdbf49134f..b9549f36f76 100644 --- a/Master/texmf-dist/doc/latex/texpower/parexample.tex +++ b/Master/texmf-dist/doc/latex/texpower/parexample.tex @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -25,35 +26,11 @@ %% given in the file `00readme.txt'. %% \ProvidesFile{parexample.tex}% - [2004/07/27 TeXPower example file] + [2005/04/07 TeXPower example file] %----------------------------------------------------------------------------------------------------------------- -% File: parexample.tex % % Paragraph example for the package texpower.sty. % -% This file can be compiled with pdfLaTeX or (standard) LaTeX. When using standard LaTeX, the dvi file produced should -% be processed with -% -% dvips -Ppdf -j0 parexample -% -% afterwards processing the resulting ps file with -% -% distill parexample.ps -% -% (The syntax is for a unix system with tetex 1.0 and distiller 3. Modify appropriately for other configurations.) -% -% The resulting pdf file is meant for presenting `interactively' with Adobe Acrobat Reader. -% -%----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 Mar 20, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Apr 27, 2000: Some small changes in preparation of the update to TeXpower v0.0.7. -% -% v0.0.3 May 26, 2000: Added an example for \hidetext. -% - %----------------------------------------------------------------------------------------------------------------- % Use slifonts. diff --git a/Master/texmf-dist/doc/latex/texpower/pdfscrdemo.tex b/Master/texmf-dist/doc/latex/texpower/pdfscrdemo.tex index 58758d639d9..2d65c54c623 100644 --- a/Master/texmf-dist/doc/latex/texpower/pdfscrdemo.tex +++ b/Master/texmf-dist/doc/latex/texpower/pdfscrdemo.tex @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -25,20 +26,13 @@ %% given in the file `00readme.txt'. %% \ProvidesFile{pdfscrdemo.tex}% - [2004/07/27 TeXPower example file] + [2005/04/07 TeXPower example file] %----------------------------------------------------------------------------------------------------------------- -% File: pdfscrdemo.tex % % Simple examples the for combining the pdfscreen package with the dynamic features provided by the package % texpower.sty. % %----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 May 25, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Jul 31, 2000: Slightly updated for PDFScreen v.1.5. -% \documentclass[12pt]{article} diff --git a/Master/texmf-dist/doc/latex/texpower/pdfslidemo.tex b/Master/texmf-dist/doc/latex/texpower/pdfslidemo.tex index be9d71974cd..d839b8cdbe6 100644 --- a/Master/texmf-dist/doc/latex/texpower/pdfslidemo.tex +++ b/Master/texmf-dist/doc/latex/texpower/pdfslidemo.tex @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -25,17 +26,12 @@ %% given in the file `00readme.txt'. %% \ProvidesFile{pdfslidemo.tex}% - [2004/07/27 TeXPower example file] + [2005/04/07 TeXPower example file] %----------------------------------------------------------------------------------------------------------------- -% File: pdfslidemo.tex % % Simple examples the for combining the pdfslide package with the dynamic features provided by the package texpower.sty. % %----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 May 25, 2000: First version for the pre-alpha release of TeXPower. -% \documentclass{article} diff --git a/Master/texmf-dist/doc/latex/texpower/picexample.tex b/Master/texmf-dist/doc/latex/texpower/picexample.tex index b9ba79b0a34..481a955157e 100644 --- a/Master/texmf-dist/doc/latex/texpower/picexample.tex +++ b/Master/texmf-dist/doc/latex/texpower/picexample.tex @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -25,34 +26,11 @@ %% given in the file `00readme.txt'. %% \ProvidesFile{picexample.tex}% - [2004/07/27 TeXPower example file] + [2005/04/07 TeXPower example file] %----------------------------------------------------------------------------------------------------------------- -% File: picexample.tex % % Picture example for the package texpower.sty. % -% This file can be compiled with pdfLaTeX or (standard) LaTeX. When using standard LaTeX, the dvi file produced should -% be processed with -% -% dvips -Ppdf -j0 picexample -% -% afterwards processing the resulting ps file with -% -% distill picexample.ps -% -% (The syntax is for a unix system with tetex 1.0 and distiller 3. Modify appropriately for other configurations.) -% -% The resulting pdf file is meant for presenting `interactively' with Adobe Acrobat Reader. -% -% Note that different pictures are produced with pdflatex and latex, because pdflatex does not support PSTricks. -% -%----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 Mar 20, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Apr 27, 2000: Some small changes in preparation of the update to TeXpower v0.0.7. -% %----------------------------------------------------------------------------------------------------------------- % Use slifonts and a dark background. @@ -69,6 +47,7 @@ {% Yes. % PsTricks (sic) is used for creating the picture example. + \usepackage[noxcolor]{pstricks} \usepackage{pstcol} \usepackage{pst-node} diff --git a/Master/texmf-dist/doc/latex/texpower/picltxexample.tex b/Master/texmf-dist/doc/latex/texpower/picltxexample.tex index 2fb84de4cde..e455694c0fc 100644 --- a/Master/texmf-dist/doc/latex/texpower/picltxexample.tex +++ b/Master/texmf-dist/doc/latex/texpower/picltxexample.tex @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -24,19 +25,12 @@ %% The list of all files belonging to the TeXPower bundle is %% given in the file `00readme.txt'. %% +% % Code for the LaTeX picture example for the package texpower.sty. % % This file is input by others. Don't compile it separately. % %----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 Mar 21, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Apr 19, 2000: Using \bstep instead of \boxedsteps. -% -% v0.0.3 Apr 28, 2000: Some small changes in preparation of the update to TeXpower v0.0.7. -% % % This has nothing to do with \stepwise, just setting up the picture... @@ -50,15 +44,15 @@ % % In the following picture, picture items are built incrementally. % - % \stepwise generates a sequence of slides, all alike. The only difference ist that on every slide, one more of the + % \parstepwise generates a sequence of slides, all alike. The only difference ist that on every slide, one more of the % \step commands occurring in the argument of \stepwise are `activated'. This way the stuff inside the argument of - % \stepwise is gone through `step by step'. + % \parstepwise is gone through `step by step'. (\parstepwise is a special case of \stepwise.) % {% \setlength{\unitlength}{1.35\semcm}% \footnotesize% \setlength{\fboxsep}{1.5pt}% - \stepwise + \parstepwise {% \begin{center} \begin{picture}(12,13)(-7,-16) diff --git a/Master/texmf-dist/doc/latex/texpower/picpsexample.tex b/Master/texmf-dist/doc/latex/texpower/picpsexample.tex index 9408ce07a3b..2cbb81a72da 100644 --- a/Master/texmf-dist/doc/latex/texpower/picpsexample.tex +++ b/Master/texmf-dist/doc/latex/texpower/picpsexample.tex @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -29,16 +30,6 @@ % % This file is input by others. Don't compile it separately. % -%----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 Mar 21, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Apr 19, 2000: Using \bstep instead of \boxedsteps. -% -% v0.0.3 Apr 28, 2000: Some small changes in preparation of the update to TeXpower v0.0.7. -% - %----------------------------------------------------------------------------------------------------------------- % % This has nothing to do with \stepwise, just setting up the picture... @@ -56,11 +47,11 @@ % % In the following picture, picture items are built incrementally. % -% \stepwise generates a sequence of slides, all alike. The only difference ist that on every slide, one more of the +% \parstepwise generates a sequence of slides, all alike. The only difference ist that on every slide, one more of the % \step commands occurring in the argument of \stepwise are `activated'. This way the stuff inside the argument of -% \stepwise is gone through `step by step'. +% \parstepwise is gone through `step by step'. (\parstepwise is a special case of \stepwise.) % -\stepwise +\parstepwise {% \begin{center} \large diff --git a/Master/texmf-dist/doc/latex/texpower/pp4sldemo.tex b/Master/texmf-dist/doc/latex/texpower/pp4sldemo.tex index f7a3aeed61a..407c69a9564 100644 --- a/Master/texmf-dist/doc/latex/texpower/pp4sldemo.tex +++ b/Master/texmf-dist/doc/latex/texpower/pp4sldemo.tex @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -25,18 +26,13 @@ %% given in the file `00readme.txt'. %% \ProvidesFile{pp4sldemo.tex}% - [2004/07/27 TeXPower example file] + [2005/04/07 TeXPower example file] %----------------------------------------------------------------------------------------------------------------- -% File: pp4sldemo.tex % % Simple examples the for combining the foils class with the pp4slide package and the dynamic features provided by the % package texpower.sty. % %----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 May 25, 2000: First version for the pre-alpha release of TeXPower. -% \documentclass[landscape]{foils} diff --git a/Master/texmf-dist/doc/latex/texpower/prosperdemo.tex b/Master/texmf-dist/doc/latex/texpower/prosperdemo.tex index 734cb6638ba..2d60c25df50 100644 --- a/Master/texmf-dist/doc/latex/texpower/prosperdemo.tex +++ b/Master/texmf-dist/doc/latex/texpower/prosperdemo.tex @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -25,12 +26,10 @@ %% given in the file `00readme.txt'. %% \ProvidesFile{prosperdemo.tex}% - [2004/07/27 TeXPower example file] -%----------------------------------------------------------------------------------------------------------------- -% File: prosperdemo.tex + [2005/04/07 TeXPower example file] % \documentclass[pdf,colorBG,slideColor,whitecross]{prosper} -\usepackage[display]{texpower} +\usepackage[display,oldfiltering]{texpower} \begin{document} \ifpdf No way to compile a prosper document with pdftex! diff --git a/Master/texmf-dist/doc/latex/texpower/seminardemo.tex b/Master/texmf-dist/doc/latex/texpower/seminardemo.tex index 7175bc19593..c75cec14d0a 100644 --- a/Master/texmf-dist/doc/latex/texpower/seminardemo.tex +++ b/Master/texmf-dist/doc/latex/texpower/seminardemo.tex @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -25,19 +26,12 @@ %% given in the file `00readme.txt'. %% \ProvidesFile{seminardemo.tex}% - [2004/07/27 TeXPower example file] + [2005/04/07 TeXPower example file] %----------------------------------------------------------------------------------------------------------------- -% File: seminardemo.tex % % Simple examples the for combining the seminar class with the dynamic features provided by the package texpower.sty. % %----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 Jun 02, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 May 26, 2003: Slightly adapted to new version of fixseminar. -% \documentclass[portrait,semrot]{seminar} diff --git a/Master/texmf-dist/doc/latex/texpower/simpledemo.tex b/Master/texmf-dist/doc/latex/texpower/simpledemo.tex index c31ea9adf87..ea7643151cf 100644 --- a/Master/texmf-dist/doc/latex/texpower/simpledemo.tex +++ b/Master/texmf-dist/doc/latex/texpower/simpledemo.tex @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -25,20 +26,12 @@ %% given in the file `00readme.txt'. %% \ProvidesFile{simpledemo.tex}% - [2004/07/27 TeXPower example file] + [2005/04/07 TeXPower example file] %----------------------------------------------------------------------------------------------------------------- -% File: simpledemo.tex % % Simple examples the for the dynamic features provided by the package texpower.sty. % %----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 Apr 17, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 May 24, 2000: texpower 0.0.8 now supports equation numbers in the argument of \stepwise, so eqnarray* was -% changed to eqnarray. -% \documentclass[12pt]{article} diff --git a/Master/texmf-dist/doc/latex/texpower/slidesdemo.tex b/Master/texmf-dist/doc/latex/texpower/slidesdemo.tex index 9fae433e3c2..ee8c07402e3 100644 --- a/Master/texmf-dist/doc/latex/texpower/slidesdemo.tex +++ b/Master/texmf-dist/doc/latex/texpower/slidesdemo.tex @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -25,17 +26,12 @@ %% given in the file `00readme.txt'. %% \ProvidesFile{slidesdemo.tex}% - [2004/07/27 TeXPower example file] + [2005/04/07 TeXPower example file] %----------------------------------------------------------------------------------------------------------------- -% File: slidesdemo.tex % % Simple examples the for combining the slides class with the dynamic features provided by the package texpower.sty. % %----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 May 25, 2000: First version for the pre-alpha release of TeXPower. -% \documentclass[landscape]{slides} diff --git a/Master/texmf-dist/doc/latex/texpower/spanelexample.tex b/Master/texmf-dist/doc/latex/texpower/spanelexample.tex index f1dfa1aa839..08344fef09d 100644 --- a/Master/texmf-dist/doc/latex/texpower/spanelexample.tex +++ b/Master/texmf-dist/doc/latex/texpower/spanelexample.tex @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -25,18 +26,18 @@ %% given in the file `00readme.txt'. %% \ProvidesFile{spanelexample.tex}% - [2004/07/27 TeXPower example file] + [2005/04/07 TeXPower example file] %----------------------------------------------------------------------------------------------------------------- -% File: spanelexample.tex % % Very simple panel example - compare with panelexample.tex \documentclass[calcdimensions,landscape,letterpaper,KOMA]{powersem} -\usepackage[colorlinks,pdfpagemode=FullScreen,plainpages=false]{hyperref} +\usepackage[ps2pdf,colorlinks,pdfpagemode=FullScreen,plainpages=false]{hyperref} \usepackage[lightbackground,display]{texpower} \renewcommand{\currentpagevalue}{\value{slide}} +\usepackage{fixseminar} \usepackage{tpslifonts} \newlength{\buttonwidth} diff --git a/Master/texmf-dist/doc/latex/texpower/tabexample.tex b/Master/texmf-dist/doc/latex/texpower/tabexample.tex index cd19ecf54ab..22b2b5d2f2c 100644 --- a/Master/texmf-dist/doc/latex/texpower/tabexample.tex +++ b/Master/texmf-dist/doc/latex/texpower/tabexample.tex @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -25,33 +26,11 @@ %% given in the file `00readme.txt'. %% \ProvidesFile{tabexample.tex}% - [2004/07/27 TeXPower example file] + [2005/04/07 TeXPower example file] %----------------------------------------------------------------------------------------------------------------- -% File: tabexample.tex % % Tabular example for the package texpower.sty. % -% This file can be compiled with pdfLaTeX or (standard) LaTeX. When using standard LaTeX, the dvi file produced should -% be processed with -% -% dvips -Ppdf -j0 tabexample -% -% afterwards processing the resulting ps file with -% -% distill tabexample.ps -% -% (The syntax is for a unix system with tetex 1.0 and distiller 3. Modify appropriately for other configurations.) -% -% The resulting pdf file is meant for presenting `interactively' with Adobe Acrobat Reader. -% -%----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 Mar 20, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Apr 27, 2000: Some small changes in preparation of the update to TeXpower v0.0.7. -% - %----------------------------------------------------------------------------------------------------------------- % Use slifonts. @@ -80,13 +59,9 @@ % \newcommand{\tabend}{\\\hline}% - \stepwise - {% - \hrule height 0pt\relax% This is neccessary to avoid a glitch in vertical spacing. Don't ask me why. I'll try to get - % this right until the first alpha version. + \liststepwise{% \begin{center} - \step - {% + \step{% \begin{tabular}{|l|l|l|} \hline They can & be built & line by line% diff --git a/Master/texmf-dist/doc/latex/texpower/tpslifonts.zip b/Master/texmf-dist/doc/latex/texpower/tpslifonts.zip new file mode 100644 index 00000000000..de5331b3b2d Binary files /dev/null and b/Master/texmf-dist/doc/latex/texpower/tpslifonts.zip differ diff --git a/Master/texmf-dist/doc/latex/texpower/tpslifonts/tpslifonts.pdf b/Master/texmf-dist/doc/latex/texpower/tpslifonts/tpslifonts.pdf deleted file mode 100644 index c69df6d3578..00000000000 Binary files a/Master/texmf-dist/doc/latex/texpower/tpslifonts/tpslifonts.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/texpower/verbexample.tex b/Master/texmf-dist/doc/latex/texpower/verbexample.tex new file mode 100644 index 00000000000..a0499916bf3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/texpower/verbexample.tex @@ -0,0 +1,98 @@ +%% +%% This is file `verbexample.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% texpower-doc.dtx (with options: `verbexample') +%% +%% -------------------------------------------------------------- +%% TeXPower bundle - dynamic online presentations with LaTeX +%% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug +%% +%% This program is free software; you can redistribute it and/or +%% modify it under the terms of the GNU General Public License +%% as published by the Free Software Foundation; either version 2 +%% of the License, or (at your option) any later version. +%% +%% This program is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% -------------------------------------------------------------- +%% +%% The list of all files belonging to the TeXPower bundle is +%% given in the file `00readme.txt'. +%% +\ProvidesFile{verbexample.tex}% + [2005/04/07 TeXPower example file] +%----------------------------------------------------------------------------------------------------------------- +% +% Example showing the use of verbatim/fragile steps (using the fragilesteps environment). +% +%----------------------------------------------------------------------------------------------------------------- + +\documentclass[12pt,a4paper]{article} +\usepackage[display]{texpower} +\usepackage{ fancyvrb,listings,alltt} +% Command to easily include some lines of code from a file +\def\listcodefromfile#1#2#3{% +\lstinputlisting[firstline=#1,lastline=#2,aboveskip=0pt,belowskip=0pt]{#3}} +\begin{document} + +\begin{center} +{\textbf{Example showing the use of verbatim/fragile steps with the fragilesteps environment}} +\end{center} + +A simple example (with alltt) showing steps with verbatim text. +Multiple lines in one step is only supported by alltt (and only for the +standard step command, not bstep). +\pause +\begin{fragilesteps} +\begin{alltt} + One\step{ + Two + Three} + Four +\end{alltt} +\end{fragilesteps} + +\pause + +An easy example (with listings) for including small parts of code in each step. +If you want to include code line by line look at the next example. Notice that in this +example you really don't need to use the fragilesteps environment, because +there are no verbatim code - the next example however... +\lstset{language=Java} +\begin{fragilesteps} +\step{\listcodefromfile{1}{3}{dummy.java}} +\step{\listcodefromfile{4}{7}{dummy.java}} +\end{fragilesteps} + +\pause + +A (fancy) example using the fancyvrb interface of the listings package. +The re(b)step command is used to make some lines of code appear at the same time. +(You can not include multiple lines in each (b)step command.) +\pause +\lstset{fancyvrb=true} +\fvset{commandchars=\\\[\]} +\begin{fragilesteps} +\begin{Verbatim}[fontfamily=cmr] + public long recur(int n) { +\bstep[ if (n<1) {] +\rebstep[ return 0;] +\bstep[ } else if (n == 1) {] +\rebstep[ return 1;] +\bstep[ } else {] +\rebstep[ return \bstep[recur(n-1)+recur(n-2);]] +\rebstep[ }] + } +\end{Verbatim} +\end{fragilesteps} + +\end{document} +\endinput +%% +%% End of file `verbexample.tex'. diff --git a/Master/texmf-dist/metapost/texpower/fig-1.mps b/Master/texmf-dist/metapost/texpower/fig-1.mps deleted file mode 100644 index 940642202f1..00000000000 --- a/Master/texmf-dist/metapost/texpower/fig-1.mps +++ /dev/null @@ -1,22 +0,0 @@ -%!PS -%%BoundingBox: 0 0 58 58 -%%Creator: MetaPost -%%CreationDate: 2004.03.23:0921 -%%Pages: 1 -%%EndProlog -%%Page: 1 1 - 1 0 0 setrgbcolor -newpath 0.25 28.59645 moveto -0.25 12.94115 12.94115 0.25 28.59645 0.25 curveto -44.25175 0.25 56.9429 12.94115 56.9429 28.59645 curveto -56.9429 40.7281 36.86218 45.12794 28.59645 28.59645 curveto -20.33072 12.06496 0.25 16.4648 0.25 28.59645 curveto closepath fill - 0 0.5 dtransform truncate idtransform setlinewidth pop [] 0 setdash - 1 setlinejoin 10 setmiterlimit -newpath 0.25 28.59645 moveto -0.25 12.94115 12.94115 0.25 28.59645 0.25 curveto -44.25175 0.25 56.9429 12.94115 56.9429 28.59645 curveto -56.9429 44.25175 44.25175 56.9429 28.59645 56.9429 curveto -12.94115 56.9429 0.25 44.25175 0.25 28.59645 curveto closepath stroke -showpage -%%EOF diff --git a/Master/texmf-dist/metapost/texpower/fig-2.mps b/Master/texmf-dist/metapost/texpower/fig-2.mps deleted file mode 100644 index 308793a3876..00000000000 --- a/Master/texmf-dist/metapost/texpower/fig-2.mps +++ /dev/null @@ -1,121 +0,0 @@ -%!PS -%%BoundingBox: 0 0 310 204 -%%Creator: MetaPost -%%CreationDate: 2004.03.24:1259 -%%Pages: 1 -%%EndProlog -%%Page: 1 1 - 0 0.1 1 setrgbcolor -newpath 0 112.92435 moveto -14.17323 88.37553 lineto -42.51968 88.37553 lineto -28.34645 112.92435 lineto - closepath fill - 1 0 0 setrgbcolor -newpath 34.01566 112.92435 moveto -48.18889 88.37553 lineto -76.53534 88.37553 lineto -62.3621 112.92435 lineto - closepath fill - 0 0.1 1 setrgbcolor -newpath 68.03131 112.92435 moveto -82.20454 88.37553 lineto -110.551 88.37553 lineto -96.37776 112.92435 lineto - closepath fill -newpath 102.04697 112.92435 moveto -116.2202 88.37553 lineto -144.56665 88.37553 lineto -130.39342 112.92435 lineto - closepath fill -newpath 17.00783 83.46584 moveto -31.18106 58.91702 lineto -59.52751 58.91702 lineto -45.35428 83.46584 lineto - closepath fill -newpath 51.02348 83.46584 moveto -65.19672 58.91702 lineto -93.54317 58.91702 lineto -79.36993 83.46584 lineto - closepath fill -newpath 85.03914 83.46584 moveto -99.21237 58.91702 lineto -127.55882 58.91702 lineto -113.38559 83.46584 lineto - closepath fill -newpath 119.0548 83.46584 moveto -133.22803 58.91702 lineto -161.57448 58.91702 lineto -147.40125 83.46584 lineto - closepath fill -newpath 34.01566 54.00732 moveto -48.18889 29.45851 lineto -76.53534 29.45851 lineto -62.3621 54.00732 lineto - closepath fill -newpath 68.03131 54.00732 moveto -82.20454 29.45851 lineto -110.551 29.45851 lineto -96.37776 54.00732 lineto - closepath fill -newpath 102.04697 54.00732 moveto -116.2202 29.45851 lineto -144.56665 29.45851 lineto -130.39342 54.00732 lineto - closepath fill -newpath 136.06262 54.00732 moveto -150.23586 29.45851 lineto -178.5823 29.45851 lineto -164.40907 54.00732 lineto - closepath fill -newpath 51.02348 24.54881 moveto -65.19672 0 lineto -93.54317 0 lineto -79.36993 24.54881 lineto - closepath fill -newpath 85.03914 24.54881 moveto -99.21237 0 lineto -127.55882 0 lineto -113.38559 24.54881 lineto - closepath fill -newpath 119.0548 24.54881 moveto -133.22803 0 lineto -161.57448 0 lineto -147.40125 24.54881 lineto - closepath fill -newpath 153.07045 24.54881 moveto -167.24368 0 lineto -195.59013 0 lineto -181.4169 24.54881 lineto - closepath fill - 0 0.7 1 setrgbcolor -newpath 182.83432 203.75488 moveto -133.22803 117.83403 lineto -138.18874 109.24179 lineto -192.75575 203.75488 lineto - closepath fill - 0 0.5 1 setrgbcolor -newpath 216.84998 203.75488 moveto -199.84215 174.29637 lineto -150.23586 88.37552 lineto -157.67693 75.48715 lineto -212.24394 170.00024 lineto -231.73213 203.75488 lineto - closepath fill - 0 0.3 1 setrgbcolor -newpath 250.86565 203.75488 moveto -216.84998 144.83786 lineto -167.24368 58.917 lineto -177.16512 41.73251 lineto -231.73213 136.2456 lineto -270.70853 203.75488 lineto - closepath fill - 0 0.1 1 setrgbcolor -newpath 284.8813 203.75488 moveto -233.8578 115.37935 lineto -184.25151 29.4585 lineto -198.42474 4.90968 lineto -309.6849 203.75488 lineto - closepath fill -showpage -%%EOF diff --git a/Master/texmf-dist/metapost/texpower/fig-3.mps b/Master/texmf-dist/metapost/texpower/fig-3.mps deleted file mode 100644 index ab237da83b2..00000000000 --- a/Master/texmf-dist/metapost/texpower/fig-3.mps +++ /dev/null @@ -1,25 +0,0 @@ -%!PS -%%BoundingBox: 0 0 296 26 -%%Creator: MetaPost -%%CreationDate: 2004.03.24:1531 -%%Pages: 1 -%*Font: lcmssb8 8.504 7.97011 41:988e7c0000000002 -%%EndProlog -%%Page: 1 1 - 0.4 0.7 1 setrgbcolor -newpath 0 0 moveto -283.46451 0 lineto -295.44437 25.6907 lineto -11.97986 25.6907 lineto - closepath fill - 1 setgray -23.16316 9.27249 moveto -(UNIVERSIT) lcmssb8 8.504 fshow -82.72096 10.5127 moveto -(\177) lcmssb8 8.504 fshow -81.86467 9.27249 moveto -(AT) lcmssb8 8.504 fshow -101.67796 9.27249 moveto -(DORTMUND) lcmssb8 8.504 fshow -showpage -%%EOF diff --git a/Master/texmf-dist/source/latex/texpower/Makefile b/Master/texmf-dist/source/latex/texpower/Makefile index 2090f272cac..c49ea019425 100644 --- a/Master/texmf-dist/source/latex/texpower/Makefile +++ b/Master/texmf-dist/source/latex/texpower/Makefile @@ -12,6 +12,7 @@ help: @echo ' - manual: Builds the user docs ' @echo ' - doc: Builds texpower package docs ' @echo ' - doc-powersem: Builds powersem class docs ' + @echo ' - doc-tplists: Builds tplists docs ' @echo ' - clean: Remove all generate/junk files ' @echo '**********************************************' @@ -24,6 +25,8 @@ unpack: @echo ' % make doc ' @echo ' To make powersem class implementation docs ' @echo ' % make doc-powersem ' + @echo ' To make tplists package docs ' + @echo ' % make doc-tplists ' @echo '**********************************************' all: unpack doc doc-powersem manual @@ -43,6 +46,13 @@ doc-powersem: makeindex -s gglo.ist -o powersem.gls powersem.glo makeindex -s gind.ist -o powersem.ind powersem.idx pdflatex powersem.dtx + +doc-tplists: + pdflatex tplists.dtx + pdflatex tplists.dtx + makeindex -s gglo.ist -o tplists.gls tplists.glo + makeindex -s gind.ist -o tplists.ind tplists.idx + pdflatex tplists.dtx manual: manual.tex pdflatex manual.tex diff --git a/Master/texmf-dist/source/latex/texpower/powersem.dtx b/Master/texmf-dist/source/latex/texpower/powersem.dtx index a1283eca455..9aa23d72baf 100644 --- a/Master/texmf-dist/source/latex/texpower/powersem.dtx +++ b/Master/texmf-dist/source/latex/texpower/powersem.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -------------------------------------------------------------- -% TeXPower bundle - dynamic online presentations with LaTeX +% Part of the TeXPower bundle % Copyright (C) 1999-2004 Stephan Lehmke % % This program is free software; you can redistribute it and/or @@ -14,7 +14,7 @@ % GNU General Public License for more details. % -------------------------------------------------------------- % -% powersem.dtx,v 1.2 2004/07/27 12:09:32 hansfn Exp +% powersem.dtx,v 1.3 2005/03/28 22:31:01 hansfn Exp % % \fi % diff --git a/Master/texmf-dist/source/latex/texpower/texpower-addons.dtx b/Master/texmf-dist/source/latex/texpower/texpower-addons.dtx index 56f04d69829..0177aea101f 100644 --- a/Master/texmf-dist/source/latex/texpower/texpower-addons.dtx +++ b/Master/texmf-dist/source/latex/texpower/texpower-addons.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -------------------------------------------------------------- -% TeXPower bundle - dynamic online presentations with LaTeX +% Part of the TeXPower bundle % Copyright (C) 1999-2004 Stephan Lehmke % % This program is free software; you can redistribute it and/or @@ -14,7 +14,7 @@ % GNU General Public License for more details. % -------------------------------------------------------------- % -% texpower-addons.dtx,v 1.2 2004/07/27 11:39:45 hansfn Exp +% texpower-addons.dtx,v 1.3 2005/03/28 22:36:05 hansfn Exp % % \fi % @@ -1241,496 +1241,6 @@ }{} %KEEPCOMMENTS % -% =============================================================================== -%<*tplists> -%< to stop and fix the nested list. - } - \else\iftpl@instepenv - \begin{#1} - \renewcommand{\item}{\tpl@dimstep\tpl@origitem}% - #2 - \end{#1}% - \else - \iftpl@inpausestepenv\let\liststepwise=\stepwise\fi - \liststepwise{% - \begin{#1} - \iftpl@inpausestepenv\else - \iftpl@instepenv\else\let\tpl@origitem=\item\fi - \fi - \tpl@instepenvtrue - \tpl@indimenvtrue - \renewcommand{\item}{\tpl@dimstep\tpl@origitem}% - #2 - \end{#1}} - \fi\fi -} - -\newcommand\@dimitem[1]{% - \@dimlist{olditemize}{#1}} -\newcommand\@dimenum[1]{% - \@dimlist{oldenumerate}{#1}} -\ifthenelse{\boolean{tpl@eqlist}}{% -\newcommand\@dimeqlist[1]{% - \@dimlist{oldeqlist}{#1}} -\newcommand\@dimcompacteqlist[1]{% - \@dimlist{compacteqlist}{#1}} -}{} -\ifthenelse{\boolean{tpl@paralist}}{% -\newcommand\@dimcompactitem[1]{% - \@dimlist{oldcompactitem}{#1}} -\newcommand\@dimcompactenum[1]{% - \@dimlist{oldcompactenum}{#1}} -}{} - -%%% Defining stepped - itemize / enumerate / eqlist / -%%% compact itemize / compact enumerate / compact eqlist - environments. -\newenvironment{stepitem}[1][0cm]{% - \tpl@addmargin{#1} - \tpl@collect@body\@stepitem}% - {\global\@ignoretrue} -\newenvironment{stepenum}[1][0cm]{% - \tpl@addmargin{#1} - \tpl@collect@body\@stepenum}% - {\global\@ignoretrue} -\ifthenelse{\boolean{tpl@eqlist}}{% -\newenvironment{stepeqlist}[1][0cm]{% - \tpl@collect@body\@stepeqlist}% - {\global\@ignoretrue} -\newenvironment{stepcompacteqlist}[1][0cm]{% - \tpl@collect@body\@stepcompacteqlist}% - {\global\@ignoretrue} -}{} -\ifthenelse{\boolean{tpl@paralist}}{% -\newenvironment{stepcompactitem}[1][0cm]{% - \tpl@addmargin{#1} - \tpl@collect@body\@stepcompactitem}% - {\global\@ignoretrue} -\newenvironment{stepcompactenum}[1][0cm]{% - \tpl@addmargin{#1} - \tpl@collect@body\@stepcompactenum}% - {\global\@ignoretrue} -}{} - -\ifthenelse{\boolean{tpl@pausestep}}{% -% Using \pause for step* lists -\newcommand\@steplist[2]{% - \iftpl@inflipenv - \PackageError{tplists}{% - flip* followed by step* environment does NOT work \MessageBreak - when the pausestep option is used}{% - Do not continue! Type to stop and fix the nested list. - } - \else\iftpl@indimenv - \PackageError{tplists}{% - dim* followed by step* environment does NOT work \MessageBreak - when the pausestep option is used}{% - Do not continue! Type to stop and fix the nested list. - } - \else - \begin{#1} - \iftpl@inpausestepenv\else\let\tpl@origitem=\item\fi - \tpl@inpausestepenvtrue - \renewcommand{\item}{\pause\tpl@origitem}% - #2 - \end{#1} - \fi\fi -} -}{ -% Using \liststepwise for step* lists -\newcommand\@steplist[2]{% - \iftpl@inflipenv - \begin{#1} - \renewcommand{\item}{\tpl@flipstep\tpl@origitem} - #2 - \end{#1}% - \else\iftpl@indimenv - \begin{#1} - \renewcommand{\item}{\dstep\tpl@origitem}% - #2 - \end{#1}% - \else\iftpl@instepenv - \begin{#1} - \renewcommand{\item}{\vstep\tpl@origitem}% - #2 - \end{#1}% - \else - \liststepwise{% - \begin{#1} - \iftpl@instepenv\else\let\tpl@origitem=\item\fi - \tpl@instepenvtrue - \renewcommand{\item}{\vstep\tpl@origitem}% - #2 - \end{#1}} - \fi\fi\fi -} -} - -\newcommand\@stepitem[1]{% - \@steplist{olditemize}{#1}} -\newcommand\@stepenum[1]{% - \@steplist{oldenumerate}{#1}} -\ifthenelse{\boolean{tpl@eqlist}}{% -\newcommand\@stepeqlist[1]{% - \@steplist{oldeqlist}{#1}} -\newcommand\@stepcompacteqlist[1]{% - \@steplist{compacteqlist}{#1}} -}{} -\ifthenelse{\boolean{tpl@paralist}}{% -\newcommand\@stepcompactitem[1]{% - \@steplist{oldcompactitem}{#1}} -\newcommand\@stepcompactenum[1]{% - \@steplist{oldcompactenum}{#1}} -}{} - -%%% Defining compact eqlist -\newenvironment{compacteqlist}[1][0cm]{% - % \tpl@addmargin{#1} - \begin{eqlist}[\parsep0pt\itemsep0pt]}% - {\end{eqlist}} - - -%%% Redefining enumerate and itemize to handle changes made by -%%% introducing steps and leftmargini-option. -\renewenvironment{enumerate}[1][0cm]{% - \tpl@addmargin{#1} - \begin{oldenumerate} - \iftpl@instepenv - \renewcommand{\item}{\tpl@origitem}% - \fi - }% - {\end{oldenumerate}} - -\renewenvironment{itemize}[1][0cm]{% - \tpl@addmargin{#1} - \begin{olditemize} - \iftpl@instepenv - \renewcommand{\item}{\tpl@origitem}% - \fi - }% - {\end{olditemize}} - -%%% Redefining compactenum and compactitem to handle changes made by -%%% introducing steps and leftmargini-option. -\ifthenelse{\boolean{tpl@paralist}}{% -\renewenvironment{compactenum}[1][0cm]{% - \tpl@addmargin{#1} - \begin{oldcompactenum} - \iftpl@instepenv - \renewcommand{\item}{\tpl@origitem}% - \fi - }% - {\end{oldcompactenum}} - -\renewenvironment{compactitem}[1][0cm]{% - \tpl@addmargin{#1} - \begin{oldcompactitem} - \iftpl@instepenv - \renewcommand{\item}{\tpl@origitem}% - \fi - }% - {\end{oldcompactitem}} -}{} -%KEEPCOMMENTS -% %======================================================================================================================= %<*tppstcol> %<\ProvidesFile{FAQ-display.tex}% %\ProvidesFile{FAQ-printout.tex}% -% [2004/07/27 TeXPower FAQ] +% [2005/04/07 TeXPower FAQ] % %\ProvidesFile{manual.tex}% -% [2004/07/27 TeXPower manual] +% [2005/04/07 TeXPower manual] %\ProvidesFile{fulldemo.tex}% -% [2004/07/27 TeXPower full demo and manual] +% [2005/04/07 TeXPower full demo and manual] % %\ProvidesFile{bckwrdexample.tex}% %\ProvidesFile{bgndexample.tex}% @@ -62,9 +63,18 @@ %\ProvidesFile{slidesdemo.tex}% %\ProvidesFile{spanelexample.tex}% %\ProvidesFile{tabexample.tex}% -% [2004/07/27 TeXPower example file] -% [2004/07/27 TeXPower example file] -% [2004/07/27 TeXPower example file] +%\ProvidesFile{verbexample.tex}% +% [2005/04/07 TeXPower example file] +% [2005/04/07 TeXPower example file] +% [2005/04/07 TeXPower example file] +% +%<*version> +%< % % \CheckSum{0} % @@ -87,17 +97,11 @@ %<*config> %< -% -% v0.0.1 Mar 22, 2000: First version for the pre-alpha release of TeXPower. -% \hypersetup{baseurl={http://texpower.sourceforge.net/doc/}} \hypersetup{pdfsubject={Documentation and Examples for the texpower package}} \hypersetup{pdfauthor={Stephan Lehmke}} @@ -137,18 +141,6 @@ % Document class powersem, based on seminar.cls for simulating ppower via latex+distiller (instead of pdflatex). % {powersem} -%----------------------------------------------------------------------------------------------------------------- -% -% First part of the preamble of TeXPower demos. -% -%----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 Mar 20, 2000: First version for the pre-alpha release of TeXPower. -% v0.0.2 Mar 21, 2000: Remedying an incompatibility between LaTeX releases concerning the implementation of -% \@iiiparbox (Apr 11: this code is now part of texpower.sty). -% v0.0.3 Apr 11, 2000: Color emphasis code moved into texpower. -% %----------------------------------------------------------------------------------------------------------------- % Set slide margins rather small for maximum use of space. This is a demo, remember. @@ -202,24 +194,10 @@ \let\name=\textsc -% Second part of the preamble of TeXPower demos. -% -%----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 Mar 20, 2000: First version for the pre-alpha release of TeXPower. -% v0.0.2 Mar 22, 2000: Now loading the config file. -% v0.0.3 Mar 29, 2000: texpower doesn't load hyperref any more; there's now a package fixseminar. -% v0.0.4 Apr 19, 2000: Added \slidetitle command. -% v0.0.5 Sep 11, 2000: Added plainpages=false to the hyperref options to get correct page anchors. -% v0.0.5 Sep 11, 2002: Slight changes to title page. -% - - %----------------------------------------------------------------------------------------------------------------- % We load hyperref and fixseminar which fixes some problems with seminar. % -\usepackage[plainpages=false,bookmarksopen,colorlinks,urlcolor=red,pdfpagemode=FullScreen]{hyperref} +\usepackage[ps2pdf,plainpages=false,bookmarksopen,colorlinks,urlcolor=red,pdfpagemode=FullScreen]{hyperref} \usepackage{fixseminar} %----------------------------------------------------------------------------------------------------------------- @@ -293,34 +271,7 @@ %================================================================================================================= %<*faq-disp> %< -% -% v0.0.1 May 31, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Jun 14, 2000: Changed slidesmag to 4 so slides look less `squeezed'. The `display' version is for demonstrating -% effects, not a template for `real' presentations. -% -%----------------------------------------------------------------------------------------------------------------- % Enable all color emphasis and highlighting options; use a light background and slifonts. \PassOptionsToPackage{coloremph,colormath,colorhighlight,lightbackground}{texpower} @@ -358,16 +309,6 @@ %================================================================================================================= %<*faq-print> %< -% -% v0.0.1 May 31, 2000: First version for the pre-alpha release of TeXPower. -% \documentclass[12pt]{scrartcl} @@ -448,22 +389,6 @@ %================================================================================================================= %<*faq> %< -% -% v0.0.1 May 31, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Jun 9, 2000: Some additions in the `problems' and `how to' section. -% -% v0.0.3 Jun 15, 2000: Additions in the `usage', `how to', and `problems' sections. -% -% v0.0.4 Jun 22, 2000: Additions in the `usage' and `problems' section. -% -% v0.0.5 May 15, 2003: Update related to move to SourceForge.net. -% -\def\docversion{v0.0.5 of May 15, 2003} -\def\tpversion{v0.0.9d of May 15, 2003} \providecommand{\vanishcolor}{} @@ -475,7 +400,7 @@ \makeslidetitle {% Frequently asked questions list% - \thanks{FAQ \docversion\ for \TeX Power \tpversion\ (alpha).}% + \thanks{FAQ for \TeX Power \tpversion .}% }% \setcounter{firststep}{0} @@ -1068,18 +993,6 @@ to release the counter \code{mycounter}. %================================================================================================================= %<*manual> %< -% -% v0.0.1 Mar 20, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Apr 11, 2000: Now producing a document which is meant for printing on paper. -% \documentclass[12pt]{scrartcl} @@ -1176,49 +1089,6 @@ to release the counter \code{mycounter}. %================================================================================================================= %<*fulldemo> %< -% -% v0.0.1 Oct 26, 1999: seven examples completed; parts of inline documentation -% -% v0.0.2 Feb 18, 2000: inline documentation of examples completed -% -% v0.0.3 Mar 1, 2000: added examples for \pause and page transitions; Documentation section started -% -% v0.0.4 Mar 10, 2000: Documentation for the first pre-alpha release completed -% -% v0.0.5 Mar 20, 2000: Documentation split into several files to reduce compilation problems; tested with pdflatex -% -% v0.0.6 May 2, 2000: Some small changes in preparation of the update to TeXpower v0.0.7. -% -% v0.0.7 May 24, 2000: Some small changes in preparation of the update to TeXpower v0.0.8. -% -% v0.0.8 Aug 29, 2000: Added backgroundstyle command for the update to TeXpower v0.0.9. -% - - -%----------------------------------------------------------------------------------------------------------------- - -% Version info -\def\tpversion{v0.0.9d of May 15, 2003 (alpha)} % Enable all color emphasis and highlighting options; use a light background and slifonts. @@ -1244,6 +1114,7 @@ to release the counter \code{mycounter}. {% Yes. % PsTricks is used for creating the picture example. + \usepackage[noxcolor]{pstricks} \usepackage{pstcol} \usepackage{pst-node} @@ -1323,12 +1194,12 @@ to release the counter \code{mycounter}. \newslide \minisec{Disclaimer} - This is a \emph{alpha} release of the \TeX Power bundle. + This is still work inprogress. During the subsequent error correction and extension of the functionality, the syntax and implementation of the macros described here are liable to change. - The transformation to the dtx format is also not completed. + Even though we are using dtx-files, these are still not fully documented dtx-files. \newslide @@ -1422,44 +1293,11 @@ to release the counter \code{mycounter}. %================================================================================================================= %<*docu> %< -% -% v0.0.1 Mar 20, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Mar 29, 2000: Added `usage and basic options' section. -% -% v0.0.3 Apr 04, 2000: Added `Color Emphasis and Highlighting' section. -% -% v0.0.4 Apr 12, 2000: A lot of small additions in preparation of the update to TeXpower v0.0.7. -% -% v0.0.5 May 31, 2000: Updated for TeXpower v0.0.8. -% -% v0.0.6 Jun 09, 2000: Some updates for TeXpower v0.0.8b. -% -% v0.0.6a Jun 13, 2000: Some updates for TeXpower v0.0.8c. -% -% v0.0.6b Jun 23, 2000: Some updates for TeXpower v0.0.8e. -% -% v0.0.6c Jul 25, 2000: Some updates for TeXpower v0.0.8g. Colors section rewritten for new color management kernel. -% -% v0.0.7 May 15, 2003: Added index and updates for TeXpower v0.0.9d. -% -% v0.0.8 July 27, 2004: Added the "Miscellaneous commands" section. Moved the tpslifonts doc into tpslifonts.dtx. -% -%----------------------------------------------------------------------------------------------------------------- -% -\def\docversion{v0.0.8 of July 27, 2004} -\def\tpversion{v0.1b of July 27, 2004} \makeslidetitle {% Documentation% - \thanks{Documentation \docversion\ for \TeX Power \tpversion\ (alpha).}% + \thanks{Documentation for \TeX Power \tpversion .}% }% The \TeX Power bundle contains style and class files for creating dynamic online presentations with \LaTeX. @@ -1491,9 +1329,6 @@ The other, more sophisticated examples demonstrate the expressive power of the \code{texpower} package. Look at the commented code of these examples to find out how to achieve special effects and create your own presentation effects with \TeX Power. -For the first \emph{alpha} release, this documentation will be completed. For the first \emph{beta} release, when the -code is a little more stable, the \code{texpower} package will be made into a properly documented \code{.dtx} file. - \newslide %----------------------------------------------------------------------------------------------------------------- @@ -1554,11 +1389,22 @@ This way, not only `visible' page contents will be duplicated, but also some `in side effects. For instance, a \macroname{section} command creates a whatsit for writing the table of contents entry. Duplicating this -whatsit will also duplicate the toc entry. +whatsit will also duplicate the toc entry. So, whatsit items effecting file access are inhibited when duplicating page +material. \newslide -So, whatsit items effecting file access are inhibited when duplicating page material. +The current version of \code{texpower} is a little smarter when handling whatsits. Some commands (related to writing to +files and hyperlinks) are made stepwise-aware. This means that links can point to the actual subpage where the +anchor is and not to the last (sub)page of an incremental page. However, if you want the old behaviour just use +\begin{description} +\item[\present{option: \code{oldfiltering}}]\indexpckopt{texpower}{oldfiltering} switches on the old + (pre 0.2) very aggressive/robust filtering of whatsits. +\end{description} +The \code{oldfiltering} can be turned on and off inside the document using \macroname{oldfilteringon/off}. This command is +useful if \code{texpower} isn't smart enough... + +\newslide A second type of whatsits is created by \TeX's \macroname{special} command which is used for instance for color management. Some drivers, like \code{dvips} and \code{textures}, use a color stack which is controlled by @@ -1641,6 +1487,10 @@ There are some boolean registers provided and set automatically by \code{texpowe \subsection{Miscellaneous commands}\label{Sec:MiscCmd} Some important commands that don't fit in the latter sections: \begin{description} +\item[\present{\macroname{oldfilteringon}}]\indexmacro{oldfilteringon} + reverts to the old (pre v0.2) aggressive/robust filtering of whatsits. +\item[\present{\macroname{oldfilteringoff}}]\indexmacro{oldfilteringoff} + turns on the new better treatment of whatsits. \item[\present{\commandapp{currentpagevalue}{\carg{value}}}]\indexmacro{currentpagevalue} sets how to find the number of the current page, \commandapp{value}{page} is default. Used to name the hyper target on the first subpage of every page. Also used in the @@ -1653,6 +1503,17 @@ Some important commands that don't fit in the latter sections: \newslide +\subsection{Page Anchors}\label{Sec:PageAnch} + +For each physical page \TeX Power (when in display mode) makes a number of subpages - this is +the dynamics. For convenience \TeX Power defines an anchor to the first subpage of physical page n, +\code{firstpage.n}\indexcode{firstpage.n}. The standard page anchor for physical page n, +\code{page.n}\indexcode{page.n}, points to the last subpage of physical page n. If you want to +link to any other subpage just insert a \macroname{hyperlink} in the standard way assuming you haven't +turned on the old filtering (\ref{Sec:Dupl}). + +\newslide + \subsection{Dependencies on other packages} \code{textpower} always loads the packages \code{ifthen} and \code{calc}, as the extended command syntax provided by these is indispensable for the macros to work. They are in the \code{base} and \code{tools} area of the \LaTeX{} @@ -1693,8 +1554,8 @@ The following packages are neccessary for certain features of \code{texpower}: \subsection{What else is part of the \TeX Power bundle?} Besides the package \code{texpower} (which is described here), there are four more packages, \code{tpslifonts}, \code{fixseminar}, \code{automata} and -\code{tplists}, and one document class, -\code{powersem}, in the \TeX Power bundle which so far have no documentation +\code{tplists}, and one document class, \code{powersem}, in the \TeX Power bundle. +Except for \code{tpslifonts} and \code{tplists} these files have no documentation of their own. They will be described in this section until they are turned into \code{dtx} files producing their own documentation. @@ -1811,7 +1672,7 @@ automata are supported so far. \minisec{The package \code{tplists}}\indexfile{tplists}{package} Experimental package providing easy dynamic lists. Currently there are stepped, flipped and dimmed versions of itemize and enumerate (and corresponding lists from the \code{eqlist} and \code{paralist} package). For more information -and an example read the start of the file \code{tplists.sty}. +and an example, compile (and then read) the file \code{tplists.dtx}. \newslide @@ -1910,8 +1771,8 @@ and an example read the start of the file \code{tplists.sty}. \emph{completely} into \carg{contents}, where \macroname{step} can be used freely (see \nameref{Sec:Ex}). \item As \carg{contents} is read as a macro argument, constructs involving \concept{catcode} changes (like - \macroname{verb} or language switches) won't work in \carg{contents}. Using a suggestion by \name{Ross - Moore}, I hope to remedy this until the \emph{alpha} release. + \macroname{verb} or language switches) won't work in \carg{contents} \textbf{unless} you use the + \code{fragilesteps} environment (\ref{Sec:fragilesteps}). \newslide @@ -1935,13 +1796,19 @@ and an example read the start of the file \code{tplists.sty}. Commands accessing toc files and such (like \macroname{section}) are taken care of by the whatsit suppression mechanism (compare section \ref{Sec:Dupl}). + \end{enumerate} - Labels and hyperlinks work sort of (giving a lot of warnings though). + \newslide + + \subsection{\code{fragilesteps} environment}\label{Sec:fragilesteps}% - I will try to remedy remaining problems until the first \emph{alpha} release. - \end{enumerate} + The \code{fragilesteps}\indexcode{fragilesteps} environment is a wrapper around \macroname{stepwise} + that makes it possible to use verbatim. The code for this environment is based on similar code from beamer - an + excellent presentation class written by Till Tantau - thanks! Using the \code{fragilesteps} environment + enables the use of the \code{listings} package to display code line by line. There are some examples in + \code{verbexample.tex}. - \newslide + \newslide \subsection{\macroname{boxedsteps} and \macroname{nonboxedsteps}}\label{Sec:boxedsteps}% By default, \carg{stepcontents} belonging to a \macroname{step} which is not yet `active' are ignored altogether. This @@ -1988,11 +1855,9 @@ and an example read the start of the file \code{tplists.sty}. \subsection{Custom versions of \macroname{stepwise}}% Sometimes, it might happen that vertical spacing is different on every page of a sequence generated by - \macroname{stepwise}, making lines `wobble'. + \macroname{stepwise}, making lines `wobble'. This is usually fixed if you use \macroname{liststepwise} or + \macroname{parstepwise} (described below) in stead of \macroname{stepwise}. - This is caused by interactions between different ways vertical spacing is added to the page. Hopefully, problems - caused this way can be reduced until the first \emph{alpha} release. - \newslide There are two custom versions of \macroname{stepwise} which should produce better vertical spacing. @@ -3557,32 +3422,9 @@ and an example read the start of the file \code{tplists.sty}. %<*bckwrdexample> %< -% -% v0.0.1 Mar 20, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Apr 26, 2000: Some small changes in preparation of the update to TeXpower v0.0.7. -% -% v0.0.3 May 18, 2000: New file name to avoid confusion with ``background''. -% %----------------------------------------------------------------------------------------------------------------- % Set background color to black and use slifonts. @@ -3682,23 +3524,9 @@ and an example read the start of the file \code{tplists.sty}. %<*bgndexample> %< -% -% v0.0.1 Aug 10, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Apr 29, 2003: Adapted to TeXPower v0.0.9c. -% -%COMMENT %----------------------------------------------------------------------------------------------------------------- % Use slifonts and a dark background. @@ -3746,16 +3574,6 @@ and an example read the start of the file \code{tplists.sty}. % %<*bgndexample-src> %< -% -% v0.0.1 Aug 12, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Apr 29, 2003: Adapted to TeXPower v0.0.9c. -% -%----------------------------------------------------------------------------------------------------------------- -% - \centerslidestrue \title{The \TeX Power bundle\\[2ex]{\normalfont Structured @@ -4091,33 +3909,9 @@ Applications of gradients: %<*divexample> %< -% -% v0.0.1 Mar 20, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Apr 26, 2000: Some small changes in preparation of the update to TeXpower v0.0.7. -% -% v0.0.3 May 18, 2000: New file name. -% - %----------------------------------------------------------------------------------------------------------------- % We input the generic preamble. @@ -4196,9 +3990,7 @@ Applications of gradients: %================================================================================================================= %<*fancyexample> %< %< -% -% v0.0.1 May 25, 2000: First version for the pre-alpha release of TeXPower. -% \documentclass[landscape]{foils} @@ -4550,39 +4337,9 @@ Applications of gradients: %<*hilitexample> %< -% -% v0.0.1 Mar 20, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Apr 27, 2000: Some small changes in preparation of the update to TeXpower v0.0.7. -% Added demo for \highlighttext. -% Itemize demo now checks whether color is activated. -% -% v0.0.3 May 26, 2000: Added an example for how to make the text in a paragraph `stand out' from the background. -% -% v0.0.4 Jun 07, 2000: Now using \hidedimmed and \highlightenhanced. -% -% v0.0.5 Jul 19, 2000: stepitemize example rewritten for TeXPower v0.0.8g. -% - %----------------------------------------------------------------------------------------------------------------- % Use slifonts. @@ -4732,17 +4489,10 @@ Instead of displaying incrementally, we can just `flip through' some items by hi %<*ifmslidemo> %< -% -% v0.0.1 May 25, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Jul 31, 2000: Slightly updated for ifmslide v0.43. -% \documentclass[KOMA,landscape,display]{powersem} @@ -4942,38 +4692,9 @@ Instead of displaying incrementally, we can just `flip through' some items by hi %<*mathexample> %< -% -% v0.0.1 Mar 20, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Apr 19, 2000: Using \bstep instead of \boxedsteps. -% -% v0.0.3 Apr 27, 2000: Some small changes in preparation of the update to TeXpower v0.0.7. -% -% v0.0.4 May 24, 2000: texpower 0.0.8 now supports equation numbers in the argument of \stepwise, so align* was -% changed to align. -% - - - %----------------------------------------------------------------------------------------------------------------- % Enable all color emphasis and highlighting options. Use white background and slifonts. @@ -5027,7 +4748,7 @@ Instead of displaying incrementally, we can just `flip through' some items by hi % frame is reduced. \setlength{\highlightboxsep}{1pt}% % - \begin{align} + \begin{align*} \lefteqn {% \min @@ -5155,7 +4876,7 @@ Instead of displaying incrementally, we can just `flip through' some items by hi \right) \right) } - \end{align} + \end{align*} }% \newslide %KEEPCOMMENTS @@ -5164,26 +4885,9 @@ Instead of displaying incrementally, we can just `flip through' some items by hi %<*panelexample> %< -% -% v0.1 Nov 14, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.2 May 02, 2003: English version. -% - %------------------------------------------------------------------------------ % Enable all color emphasis and highlighting options. Use white % background and slifonts. @@ -5451,33 +5155,9 @@ Instead of displaying incrementally, we can just `flip through' some items by hi %<*parexample> %< -% -% v0.0.1 Mar 20, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Apr 27, 2000: Some small changes in preparation of the update to TeXpower v0.0.7. -% -% v0.0.3 May 26, 2000: Added an example for \hidetext. -% - %----------------------------------------------------------------------------------------------------------------- % Use slifonts. @@ -5563,18 +5243,11 @@ Instead of displaying incrementally, we can just `flip through' some items by hi %<*pdfscrdemo> %< -% -% v0.0.1 May 25, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Jul 31, 2000: Slightly updated for PDFScreen v.1.5. -% \documentclass[12pt]{article} @@ -5773,15 +5446,10 @@ Instead of displaying incrementally, we can just `flip through' some items by hi %<*pdfslidemo> %< -% -% v0.0.1 May 25, 2000: First version for the pre-alpha release of TeXPower. -% \documentclass{article} @@ -5979,32 +5647,9 @@ Instead of displaying incrementally, we can just `flip through' some items by hi %<*picexample> %< -% -% v0.0.1 Mar 20, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Apr 27, 2000: Some small changes in preparation of the update to TeXpower v0.0.7. -% %----------------------------------------------------------------------------------------------------------------- % Use slifonts and a dark background. @@ -6021,6 +5666,7 @@ Instead of displaying incrementally, we can just `flip through' some items by hi {% Yes. % PsTricks (sic) is used for creating the picture example. + \usepackage[noxcolor]{pstricks} \usepackage{pstcol} \usepackage{pst-node} @@ -6053,19 +5699,12 @@ Instead of displaying incrementally, we can just `flip through' some items by hi %================================================================================================================= %<*picltxexample> %< -% -% v0.0.1 Mar 21, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Apr 19, 2000: Using \bstep instead of \boxedsteps. -% -% v0.0.3 Apr 28, 2000: Some small changes in preparation of the update to TeXpower v0.0.7. -% % % This has nothing to do with \stepwise, just setting up the picture... @@ -6079,15 +5718,15 @@ Instead of displaying incrementally, we can just `flip through' some items by hi % % In the following picture, picture items are built incrementally. % - % \stepwise generates a sequence of slides, all alike. The only difference ist that on every slide, one more of the + % \parstepwise generates a sequence of slides, all alike. The only difference ist that on every slide, one more of the % \step commands occurring in the argument of \stepwise are `activated'. This way the stuff inside the argument of - % \stepwise is gone through `step by step'. + % \parstepwise is gone through `step by step'. (\parstepwise is a special case of \stepwise.) % {% \setlength{\unitlength}{1.35\semcm}% \footnotesize% \setlength{\fboxsep}{1.5pt}% - \stepwise + \parstepwise {% \begin{center} \begin{picture}(12,13)(-7,-16) @@ -6179,16 +5818,6 @@ Instead of displaying incrementally, we can just `flip through' some items by hi % % This file is input by others. Don't compile it separately. % -%----------------------------------------------------------------------------------------------------------------- -% Autor: Stephan Lehmke -% -% v0.0.1 Mar 21, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Apr 19, 2000: Using \bstep instead of \boxedsteps. -% -% v0.0.3 Apr 28, 2000: Some small changes in preparation of the update to TeXpower v0.0.7. -% - %----------------------------------------------------------------------------------------------------------------- % % This has nothing to do with \stepwise, just setting up the picture... @@ -6206,11 +5835,11 @@ Instead of displaying incrementally, we can just `flip through' some items by hi % % In the following picture, picture items are built incrementally. % -% \stepwise generates a sequence of slides, all alike. The only difference ist that on every slide, one more of the +% \parstepwise generates a sequence of slides, all alike. The only difference ist that on every slide, one more of the % \step commands occurring in the argument of \stepwise are `activated'. This way the stuff inside the argument of -% \stepwise is gone through `step by step'. +% \parstepwise is gone through `step by step'. (\parstepwise is a special case of \stepwise.) % -\stepwise +\parstepwise {% \begin{center} \large @@ -6291,16 +5920,11 @@ Instead of displaying incrementally, we can just `flip through' some items by hi %<*pp4sldemo> %< -% -% v0.0.1 May 25, 2000: First version for the pre-alpha release of TeXPower. -% \documentclass[landscape]{foils} @@ -6491,11 +6115,9 @@ Instead of displaying incrementally, we can just `flip through' some items by hi %================================================================================================================= %<*prosperdemo> %< %< -% -% v0.0.1 Jun 02, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 May 26, 2003: Slightly adapted to new version of fixseminar. -% \documentclass[portrait,semrot]{seminar} @@ -6757,18 +6372,10 @@ Instead of displaying incrementally, we can just `flip through' some items by hi %<*simpledemo> %< -% -% v0.0.1 Apr 17, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 May 24, 2000: texpower 0.0.8 now supports equation numbers in the argument of \stepwise, so eqnarray* was -% changed to eqnarray. -% \documentclass[12pt]{article} @@ -6954,15 +6561,10 @@ Instead of displaying incrementally, we can just `flip through' some items by hi %<*slidesdemo> %< -% -% v0.0.1 May 25, 2000: First version for the pre-alpha release of TeXPower. -% \documentclass[landscape]{slides} @@ -7171,16 +6773,16 @@ Instead of displaying incrementally, we can just `flip through' some items by hi %<*spanelexample> %< %< -% -% v0.0.1 Mar 20, 2000: First version for the pre-alpha release of TeXPower. -% -% v0.0.2 Apr 27, 2000: Some small changes in preparation of the update to TeXpower v0.0.7. -% - %----------------------------------------------------------------------------------------------------------------- % Use slifonts. @@ -7326,13 +6906,9 @@ and with plain replace page transition % \newcommand{\tabend}{\\\hline}% - \stepwise - {% - \hrule height 0pt\relax% This is neccessary to avoid a glitch in vertical spacing. Don't ask me why. I'll try to get - % this right until the first alpha version. + \liststepwise{% \begin{center} - \step - {% + \step{% \begin{tabular}{|l|l|l|} \hline They can & be built & line by line% @@ -7359,6 +6935,77 @@ and with plain replace page transition %KEEPCOMMENTS % %================================================================================================================= +%<*verbexample> +%< +%================================================================================================================= %<*end> \end{slide} \end{document} @@ -7645,6 +7292,17 @@ showpage %%EOF %KEEPCOMMENTS % +%<*dummy-java> +%< %================================================================================================================= % % Local Variables: diff --git a/Master/texmf-dist/source/latex/texpower/texpower.dtx b/Master/texmf-dist/source/latex/texpower/texpower.dtx index 71fc0b0fd57..5817e06bcb9 100644 --- a/Master/texmf-dist/source/latex/texpower/texpower.dtx +++ b/Master/texmf-dist/source/latex/texpower/texpower.dtx @@ -1,7 +1,8 @@ % \iffalse meta-comment % -------------------------------------------------------------- -% TeXPower bundle - dynamic online presentations with LaTeX +% Part of the TeXPower bundle % Copyright (C) 1999-2004 Stephan Lehmke +% Copyright (C) 2003-2005 Hans Fredrik Nordhaug % % This program is free software; you can redistribute it and/or % modify it under the terms of the GNU General Public License @@ -14,7 +15,7 @@ % GNU General Public License for more details. % -------------------------------------------------------------- % -% texpower.dtx,v 1.2 2004/07/27 12:04:20 hansfn Exp +% texpower.dtx,v 1.13 2005/04/09 23:37:36 hansfn Exp % % \fi % @@ -26,7 +27,7 @@ %\NeedsTeXFormat{LaTeX2e} %\ProvidesPackage{texpower} %<*texpower> - [2004/07/27 v0.1b Create Dynamic Presentations with LaTeX.] + [2005/04/08 v0.2 Create Dynamic Presentations with LaTeX.] % % %<*driver> @@ -43,7 +44,7 @@ % % \fi % -% \CheckSum{5679} +% \CheckSum{5957} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -84,13 +85,14 @@ % % \section{Disclaimer} % -% This is a alpha release of the texpower package. +% This is still work in progress. % % During the subsequent error correction and extension of the % functionality, the syntax and implementation of the macros are % liable to change. % -% The transformation to the dtx format is also not completed. +% Even though we are using dtx-files, these are still not fully +% documented dtx-files. % % \StopEventually{\PrintChanges\PrintIndex} % @@ -226,6 +228,11 @@ % % \changes{v0.1b}{2004/07/27}{Moved to dtx format. No other code changes.} % +% \changes{v0.2}{2005/04/07}{Fixed bugs \#1029803 and \#1073319 reported at SourceForge. +% Made the handling of whatsits smarter (making write to file and hyperref +% commands) stepwise-aware. Added option/command to turn on/off the old +% aggressive/robust filtering. Added fragilesteps environment.} +% % We need the programming tools provided by these packages. % \begin{macrocode} \RequirePackage{ifthen} @@ -257,6 +264,13 @@ \newboolean{fixcolorstack@TP} \DeclareOption{fixcolorstack}{\setboolean{fixcolorstack@TP}{true}} % \end{macrocode} +% The option oldfiltering reverts to the old (pre v0.2) aggressive/robust filtering of whatsits. +% \begin{macrocode} +\newboolean{oldfiltering@TP} +\DeclareOption{oldfiltering}{\setboolean{oldfiltering@TP}{true}} +\newcommand{\oldfilteringon}{\setboolean{oldfiltering@TP}{true}} +\newcommand{\oldfilteringoff}{\setboolean{oldfiltering@TP}{false}} +% \end{macrocode} % The option nineminutes sets the page duration of every single page to a high value (of about nine minutes; this seems % to be a hardcoded upper limit in acrobat 5; see below). This way, a setting in acrobat reader's fullscreen dialogue % is masked. Otherwise, pages without an explicit page duration setting don't get any page duration setting at all, so @@ -348,26 +362,22 @@ % The switch |\ifpdf| is to determine whether pdfLaTeX is being run and outputting pdf, using Heiko Oberdiek's faultproof % pdf detector: % \begin{macrocode} -\IfFileExists{ifpdf.sty} -{% - \RequirePackage{ifpdf}% - } -{% - \@ifundefined{pdftrue} - {% - \expandafter\newif\csname ifpdf\endcsname - \ifx\pdfoutput\undefined - \else - \ifx\pdfoutput\relax - \else - \ifcase\pdfoutput - \else - \pdftrue - \fi - \fi - \fi - }{}% - } +\@ifundefined{pdftrue}{ +\IfFileExists{ifpdf.sty}{\RequirePackage{ifpdf}}{% + \expandafter\newif\csname ifpdf\endcsname + \ifx\pdfoutput\undefined + \else + \ifx\pdfoutput\relax + \else + \ifcase\pdfoutput + \else + \pdftrue + \fi + \fi + \fi + } +}{% \ifpdf is defined - nothing to do +} \ifpdf\setboolean{psspecialsallowed}{false}\fi % \end{macrocode} @@ -2542,7 +2552,7 @@ \define@key{bgnd@TP}{rightpanelwidth}{\mklength@TP{\bgndrightpanelwidth@TP}{#1}} % \end{macrocode} % -% \subsubsection{Implementation of \textbackslash backgroundstyle} +% \subsubsection{Implementation of \cs{backgroundstyle}} % % In this box, the constructed background is stored. This box is placed behind every page at |\shipout| time by the kernel % (see below). @@ -2674,7 +2684,9 @@ }% \fi }% matches \ifthenelse{\equal{\bgndtoppanelheight@TP}{}} - {}% Yes. Nothing to do. + {% Yes. + \let\toppanelheight=\bgndtoppanelheight@TP% Overwrite panel settings - use user-supplied value. + } \ifthenelse{\equal{\bgndbottompanelheight@TP}{}}% Has the bottom panel height been set? {% No. Guess default. \ifx\bottompanelcontents@TP\empty% Is the bottom panel defined? @@ -2693,7 +2705,9 @@ }% \fi }% matches \ifthenelse{\equal{\bgndbottompanelheight@TP}{}} - {}% Yes. Nothing to do. + {% Yes. + \let\bottompanelheight=\bgndbottompanelheight@TP% Overwrite panel settings - use user-supplied value. + } \mklength@TP{\bgndleftpanelheight@TP}% Calculate remaining space in the center. {\TPpageheight-\bgndtoppanelheight@TP-\bgndbottompanelheight@TP}% \let\bgndrightpanelheight@TP=\bgndleftpanelheight@TP% Height of left and right panels is equal. @@ -2715,7 +2729,9 @@ }% \fi }% matches \ifthenelse{\equal{\bgndleftpanelwidth@TP}{}} - {}% Yes. Nothing to do. + {% Yes. + \let\leftpanelwidth=\bgndleftpanelwidth@TP% Overwrite panel settings - use user-supplied value. + } \ifthenelse{\equal{\bgndrightpanelwidth@TP}{}}% Has the right panel width been set? {% No. Guess default. \ifx\rightpanelcontents@TP\empty% Is the panel defined? @@ -2734,7 +2750,9 @@ }% \fi }% matches \ifthenelse{\equal{\bgndrightpanelwidth@TP}{}} - {}% Yes. Nothing to do. + {% Yes. + \let\rightpanelwidth=\bgndrightpanelwidth@TP% Overwrite panel settings - use user-supplied value. + } }% matches \ifthenelse{\boolean{hpanels@TP}} {% No. Vertical panels are `outer', horizontal panels are `inner'. \let\bgndleftpanelheight@TP=\TPpageheight% Full height for vertical panels. @@ -2757,7 +2775,9 @@ }% \fi }% matches \ifthenelse{\equal{\bgndleftpanelwidth@TP}{}} - {}% Yes. Nothing to do. + {% Yes. + \let\leftpanelwidth=\bgndleftpanelwidth@TP% Overwrite panel settings - use user-supplied value. + } \ifthenelse{\equal{\bgndrightpanelwidth@TP}{}}% Has the right panel width been set? {% No. Guess default. \ifx\rightpanelcontents@TP\empty% Is the panel defined? @@ -2776,7 +2796,9 @@ }% \fi }% matches \ifthenelse{\equal{\bgndrightpanelwidth@TP}{}} - {}% Yes. Nothing to do. + {% Yes. + \let\rightpanelwidth=\bgndrightpanelwidth@TP% Overwrite panel settings - use user-supplied value. + } \mklength@TP{\bgndtoppanelwidth@TP}% Calculate remaining space in the center. {\TPpagewidth-\bgndleftpanelwidth@TP-\bgndrightpanelwidth@TP}% \let\bgndbottompanelwidth@TP=\bgndtoppanelwidth@TP% Width of top and bottom panels is equal. @@ -2798,7 +2820,9 @@ }% \fi }% matches \ifthenelse{\equal{\bgndtoppanelheight@TP}{}} - {}% Yes. Nothing to do. + {% Yes. + \let\toppanelheight=\bgndtoppanelheight@TP% Overwrite panel settings - use user-supplied value. + } \ifthenelse{\equal{\bgndbottompanelheight@TP}{}}% Has the bottom panel height been set? {% No. Guess default. \ifx\bottompanelcontents@TP\empty% Is the panel defined? @@ -2817,7 +2841,9 @@ }% \fi }% matches \ifthenelse{\equal{\bgndbottompanelheight@TP}{}} - {}% Yes. Nothing to do. + {% Yes. + \let\bottompanelheight=\bgndbottompanelheight@TP% Overwrite panel settings - use user-supplied value. + } }% matches second argument of \ifthenelse{\boolean{hpanels@TP}} }% matches \newcommand{\initpanels@TP}[1]{ % \end{macrocode} @@ -3655,7 +3681,7 @@ % % The code for overloading |\shipout| is derived from everyshi.sty with permission by Martin Schroeder. % -% \subsubsection{Overload \textbackslash shipout} +% \subsubsection{Overload \cs{shipout}} % % Overloading is done at the beginning of the document just in case some other package messes with |\shipout|. % \begin{macrocode} @@ -3702,7 +3728,7 @@ }% % \end{macrocode} % -% \subsubsection{The kernel functions to be executed at \textbackslash shipout} +% \subsubsection{The kernel functions to be executed at \cs{shipout}} % % |\AtShipout{}| will save || in a special place where it is executed at the time of the next |\shipout| (and % then deleted). Needless to say it should not produce any output. This is mainly for placing anchors in a controlled way @@ -3931,7 +3957,7 @@ }% matches \AtBeginDocument % \end{macrocode} % -% \subsubsection{Kernel functions for overloading \textbackslash output} +% \subsubsection{Kernel functions for overloading \cs{output}} % % This is the `inner kernel' which lies behind all dynamic effects. % @@ -3986,6 +4012,46 @@ % \begin{macrocode} \@ifclassloaded{seminar}{\pausesafecounter{slide}}{} % \end{macrocode} +% Making some commands stepwise-aware (if we are in display modus) so we avoid duplicates +% when not using the old aggressive/robust filtering of whatsits. +% \begin{macrocode} +\ifthenelse{\boolean{display}}{% + \AtBeginDocument{\@ifpackageloaded{hyperref}{% + \let\hyper@anchor@TP=\hyper@anchor + \long\def\hyper@@anchor#1#2{% + %%% \ifthenelse{\boolean{instepwise@TP}}% + \ifthenelse{\boolean{instepwise@TP} \AND \NOT \boolean{oldfiltering@TP}}% + {\ifthenelse{\NOT \boolean{instep@TP}}% + {\ifthenelse{\value{step}=\value{firststep}}{\@hyper@@anchor#1\relax#2\relax}{}}% + {\ifthenelse{\boolean{active} \AND \boolean{firstactivation}}% + {\@hyper@@anchor#1\relax#2\relax}{}}% End \ifthenelse{\boolean{active} ... + }% End \ifthenelse{\NOT \boolean{instep@TP}} + {\@hyper@@anchor#1\relax#2\relax}% End \ifthenelse{\boolean{instepwise@TP}} + } + \let\hyper@anchorstart@TP=\hyper@anchorstart + \def\hyper@anchorstart#1{% + \ifthenelse{\boolean{instepwise@TP} \AND \NOT \boolean{oldfiltering@TP}}% + {\ifthenelse{\NOT \boolean{instep@TP}}% + {\ifthenelse{\value{step}=\value{firststep}}{\hyper@anchorstart@TP{#1}}{}}% + {\ifthenelse{\boolean{active} \AND \boolean{firstactivation}}% + {\hyper@anchorstart@TP{#1}}{}}% End \ifthenelse{\boolean{active} ... + }% End \ifthenelse{\NOT \boolean{instep@TP}} + {\hyper@anchorstart@TP{#1}}% End \ifthenelse{\boolean{instepwise@TP}} + } + }{}}% End \AtBeginDocument{\@ifpackageloaded{hyperref}{ + % Changing \protected@write to avoid duplicates in aux-file + \let\protected@write@TP=\protected@write + \long\def\protected@write#1#2#3{% + \ifthenelse{\boolean{instepwise@TP} \AND \NOT \boolean{oldfiltering@TP}}% + {\ifthenelse{\NOT \boolean{instep@TP}}% + {\ifthenelse{\value{step}=\value{firststep}}{\protected@write@TP{#1}{#2}{#3}}{}}% + {\ifthenelse{\boolean{active} \AND \boolean{firstactivation}}% + {\protected@write@TP{#1}{#2}{#3}}{}}% End \ifthenelse{\boolean{active} ... + }% End \ifthenelse{\NOT \boolean{instep@TP}} + {\protected@write@TP{#1}{#2}{#3}}% End \ifthenelse{\boolean{instepwise@TP}} + }% +}{}% End \ifthenelse{\boolean{display}} +% \end{macrocode} % Save the current page contents to the box |\mempageconts@TP| by overloading and triggering |\output|. Footnotes are also % saved. The saved page contents are used by |\pause| and all |\stepwise| variants for making duplicates of page contents. % \begin{macrocode} @@ -4005,7 +4071,7 @@ } % \end{macrocode} % -% \subsection{Kernel functions for re-inserting page contents} +% \subsubsection{Kernel functions for re-inserting page contents} % % Used by |\pause| and also by variants of |\stepwise|. % @@ -4015,7 +4081,14 @@ % \end{macrocode} % Interpretation of |\filterpage@TP| for duplicate pages. Assigned by |\outputduplicate@TP|. % \begin{macrocode} -\newcommand{\filterwhatsits@TP}{\global\setbox\@cclv=\hbox{\leaders\copy\@cclv\hskip\wd\@cclv}} +\newcommand{\filterwhatsits@TP}{% + \ifthenelse{\boolean{oldfiltering@TP}}% + {\global\setbox\@cclv=\hbox{\leaders\copy\@cclv\hskip\wd\@cclv}}% Old aggressive/robust filtering + {}% No filtering - handled by \insertfilterwhatsits@TP and stepwise aware commands. +} +\newcommand{\insertfilterwhatsits@TP}{% + \global\setbox\tempbox@TP=\hbox{\leaders\copy\tempbox@TP\hskip\wd\tempbox@TP}% +} % \end{macrocode} % Insert saved page contents for the first time. % \begin{macrocode} @@ -4043,7 +4116,12 @@ \global\skip\footins=\skip\memfootins@TP \global\count\footins=\count\memfootins@TP \global\dimen\footins=\dimen\memfootins@TP - \unvcopy\mempageconts@TP% Output the vbox's contents. + \ifthenelse{\boolean{oldfiltering@TP}}% + {\unvcopy\mempageconts@TP}% + {\setbox\tempbox@TP=\vbox{\unvcopy\mempageconts@TP}% + \insertfilterwhatsits@TP + \copy\tempbox@TP% + } } % \end{macrocode} % @@ -4062,7 +4140,7 @@ }% % \end{macrocode} % -% \subsubsection{Implementation of \textbackslash pause} +% \subsubsection{Implementation of \cs{pause}} % % |\pause| ends the current paragraph, ships out the current page, starts a new page and copies whatever was on the % current page onto the new page, where typesetting is resumed. This will create the effect of a `pause' in the @@ -4084,7 +4162,7 @@ }% % \end{macrocode} % -% \subsection{Implementing \cs{stepwise} and all functions surrounding it} +% \subsubsection{Implementing \cs{stepwise} and all functions surrounding it} % % General usage: |\stepwise{}| % @@ -4182,9 +4260,9 @@ \let\displayidentical=\@iden % \end{macrocode} % -% \subsubsection[Custom commands for `hiding' \textbackslash stepcontents ...]% -% {Custom commands for `hiding' \textbackslash stepcontents at the time -% the corresponding \textbackslash step is not active.} +% \subsubsection[Custom commands for `hiding' stepcontents ...]% +% {Custom commands for `hiding' stepcontents at the time +% the corresponding \cs{step} is not active.} % Hiding stuff is not as easy as it seems... % Often, it is desirable that an appropriate amount of `space' is left where something is hidden, in case something % visible follows or the hidden stuff is part of an alignment structure. Even if this is not the case, completely @@ -4234,81 +4312,93 @@ % \begin{macrocode} \AtBeginDocument% {% - \@ifpackageloaded{soul}% Can we use the soul package? - {% - \@ifpackagelater{soul}{2002/05/28}% Correct version? - {% Yes. Let's define the necessary macros. - \DeclareRobustCommand*\hidetext - {% - \leavevmode% To prevent \phantom from inserting an hbox into the vertical list. + \@ifpackageloaded{soul}{% + \@ifpackagelater{soul}{2002/05/28}{ + \DeclareRobustCommand*\hidetext{% +% \end{macrocode} +% To prevent \cs{phantom} from inserting an hbox into the vertical list. +% \begin{macrocode} + \leavevmode \SOUL@setup - \def\SOUL@everytoken{\phantom{\the\SOUL@token\SOUL@setkern\SOUL@charkern}}% Make current token `invisible'. +% \end{macrocode} +% Make current token `invisible'. +% \begin{macrocode} + \def\SOUL@everytoken{\phantom{\the\SOUL@token\SOUL@setkern\SOUL@charkern}} \def\SOUL@everyhyphen {% \discretionary {% \unkern - \phantom{\SOUL@setkern\SOUL@hyphkern\char\hyphenchar\font}% Output an `invisible' hyphen if needed. +% \end{macrocode} +% Output an `invisible' hyphen if needed. +% \begin{macrocode} + \phantom{\SOUL@setkern\SOUL@hyphkern\char\hyphenchar\font}% }{}{}% }% \SOUL@% }% - }% - {% No. Encourage people to update. + }{ +% \end{macrocode} +% Too old soul package - encourage people to update. +% \begin{macrocode} \PackageInfo{texpower} {Package soul too old.\MessageBreak Command \string\hidetext\space disabled}% - \let\hidetext=\hidephantom% \hidephantom is a sorry excuse for \hidetext... +% \end{macrocode} +% Using \cs{hidephantom} which is a sorry excuse for \cs{hidetext}. +% \begin{macrocode} + \let\hidetext=\hidephantom }% - }% - {% No. In this case, there is no useful definition for \hidetext. + }{ \PackageInfo{texpower} {Package soul not loaded.\MessageBreak Command \string\hidetext\space disabled}% - \let\hidetext=\hidephantom% \hidephantom is a sorry excuse for \hidetext... + \let\hidetext=\hidephantom }% } % \end{macrocode} % % Helper command to switch to `dimmed' textcolor or mathcolor (if in math mode and colormath option is set). % \begin{macrocode} -\ifthenelse{\boolean{colormath@TP}}% Should we color math? -{% Yes. +\ifthenelse{\boolean{colormath@TP}}{% \newcommand{\commitcolor@TP} % \end{macrocode} % Switch to mathcolor if in math mode, to textcolor otherwise. % \begin{macrocode} {\textcolor{\ifmmode mathcolor\else textcolor\fi}} - } -{% No. - \newcommand{\commitcolor@TP}{\textcolor{textcolor}}% Switch to textcolor. +}{ + \newcommand{\commitcolor@TP}{\textcolor{textcolor}} } % \end{macrocode} % % The command |\hidedimmed| doesn't really make its argument `invisible'. Instead, it dims all colors so the argument % `fades' into the background. % \begin{macrocode} -\ifthenelse{\boolean{TPcolor}}% Can we use colors at all? -{% Yes. - \newcommand{\hidedimmed}[1]% Make argument appear in `dimmed' colors. - {% - {% A group makes the color changes local. - \ifthenelse{\boolean{instepwise@TP}}{\usecolorset{stwcolors}}{}% Just in case we currently are in dimmed mode... - \dimcolors% Dim colors. - \commitcolor@TP{#1}% Switch on dimmed color. - }% - }% +\ifthenelse{\boolean{TPcolor}}{ + \newcommand{\hidedimmed}[1]{% +% \end{macrocode} +% Adding a group to make the color changes local. +% \begin{macrocode} + { +% \end{macrocode} +% Just in case we currently are in dimmed mode. +% \begin{macrocode} + \ifthenelse{\boolean{instepwise@TP}}{\usecolorset{stwcolors}}{}% + \dimcolors + \commitcolor@TP{#1} + } } -{\let\hidedimmed=\displayidentical}% No. Disable this command. +}{ + \let\hidedimmed=\displayidentical +} % \end{macrocode} % % The command |\hidevanish| makes its argument `invisible' by switching to the background color. Of course, this only -% works if the background is uniformly colored. +% works if the background is uniformly colored. If we don't use colors, we just use \cs{hidephantom}. % \begin{macrocode} -\ifthenelse{\boolean{TPcolor}}% Can we use colors at all? -{% Yes. - \newcommand{\hidevanish}[1]% Make argument `vanish' by changing colors. - {\textcolor{\vanishcolor}{\vanishcolors#1}} - } -{\let\hidevanish=\hidephantom}% No. Use \hidephantom instead. +\ifthenelse{\boolean{TPcolor}}{ + \newcommand{\hidevanish}[1]{\textcolor{\vanishcolor}{\vanishcolors#1}} +}{ + \let\hidevanish=\hidephantom +} % \end{macrocode} % % \subsubsection{Displaying and hiding of step contents} @@ -4510,7 +4600,7 @@ {\let\highlightenhanced=\displayidentical}% No. Disable this command. % \end{macrocode} % -% \subsubsection{Implementation of \textbackslash step, \textbackslash switch and relatives} +% \subsubsection{Implementation of \cs{step}, \cs{switch} and relatives} % % |\step| takes two optional arguments for influencing the mode of activation, like this: % @@ -4703,6 +4793,7 @@ \newcommand{\@switch@TP}[2] {% \global\advance\c@stepcommand by 1\relax% This execution of \switch is counted. + \setboolean{instep@TP}{true}% Set indicator. % % If the verbose option is set, type out some accounting information which can be used for debugging. \ifthenelse{\boolean{verbose@TP}} @@ -4746,6 +4837,7 @@ }% End of \s@step@TPcheck % \let\afterstep=\o@afterstep@TP% Restore the definition of \afterstep. + \setboolean{instep@TP}{false}% Set indicator. }% End of the definition of \@switch@TP. % \end{macrocode} % @@ -5035,17 +5127,18 @@ % \begin{macrocode} \newcommand{\@@overlays@TP}[2] {% - \setcounter{substep}{0}% Initialize substep counter. + \setcounter{substep}{1}% Initialize substep counter. \leavevmode% Make sure that \rlap doesn't insert anything in the vertical list. - \whiledo{\value{substep}<#1}% Iterate times. + \whiledo{\value{substep}<#1}% Iterate times (since we start at 1). {% - \stepcounter{substep}% \expandafter\switch\optarg@ov@TP{}{\ifthenelse{\boolean{firstactivation}}{\mbox{#2}}{\rlap{#2}}}% + \stepcounter{substep}% }% + \expandafter\switch\optarg@ov@TP{}{\mbox{#2}}% Always using \mbox for last overlay. } % \end{macrocode} % -% \subsubsection{Implementation of \textbackslash stepwise} +% \subsubsection{Implementation of \cs{stepwise}} % % Every variant of |\stepwise| takes an optional argument, like this % @@ -5231,6 +5324,10 @@ % \begin{macrocode} \newboolean{instepwise@TP} % \end{macrocode} +% The boolean |instep@TP| indicates whether we are inside a |\step| command. +% \begin{macrocode} +\newboolean{instep@TP} +% \end{macrocode} % |\@stepwise@TP| implements the functionality of |\stepwise|. It is called by |\stepwise| after checking for the star. % \begin{macrocode} \newcommand{\@stepwise@TP}[2][] @@ -5339,10 +5436,78 @@ \repeat \endgroup \global\c@firststep=\c@o@fs@TP\relax% Restore default value of counter firststep. -}% End of the definition of \@stepwise@TP +} +% \end{macrocode} +% +% \subsubsection{Implementation of the fragilesteps environment} +% +% Defining fragilesteps - an environment for fragile/verbatim stuff. +% The code is contributed by Till Tantau, the author of the excellent +% presentation class beamer. +% +% \begin{macrocode} +\newenvironment{fragilesteps}{% + \def\texpower@verbatimfilename{\jobname-texpower.vrb}% + \immediate\openout\texpower@verbatimfileout=\texpower@verbatimfilename% + \texpower@verbatimreadframe% +} +{% + \immediate\closeout\texpower@verbatimfileout% + \stepwise{\input{\texpower@verbatimfilename}}% +} +% \end{macrocode} +% Internals used in the fragilesteps environment. +% \begin{macrocode} +\newwrite\texpower@verbatimfileout + +\def\texpower@verbatimreadframe{% + \begingroup% + \let\do\@makeother\dospecials% + \count@=127% + \@whilenum\count@<255 \do{% + \advance\count@ by 1% + \catcode\count@=11% + }% + \@makeother\^^L% and whatever other special cases + \endlinechar`\^^M \catcode`\^^M=12 \texpower@processframefirstline} + +{\catcode`\^^M=12\endlinechar=-1% + \long\gdef\texpower@processframefirstline#1^^M{% + \def\texpower@test{#1}% + \ifx\texpower@test\texpower@stopframefirst% + \let\next=\texpower@endfragilesteps% + \else + \ifx\texpower@test\@empty% + \else% + \@temptokena={#1}% + \immediate\write\texpower@verbatimfileout{\the\@temptokena}% + \fi% + \let\next=\texpower@processframeline% + \fi% + \next% + } + \long\gdef\texpower@processframeline#1^^M{% + \def\texpower@test{#1}% + \ifx\texpower@test\texpower@stopframe% + \let\next=\texpower@endfragilesteps% + \else + \immediate\write\texpower@verbatimfileout{#1}% + \fi% + \next% + } +} + +{ + \escapechar=-1\relax% + \xdef\texpower@stopframe{\string\\end\string\{fragilesteps\string\}} + \xdef\texpower@stopframefirst{\noexpand\end\string\{fragilesteps\string\}} +} + +\def\texpower@endfragilesteps{\endgroup\end{fragilesteps}} % \end{macrocode} % -% Input system-specific settings (if existing). +% \subsubsection{Input system-specific settings} +% If file exists. % \begin{macrocode} \InputIfFileExists{tpsettings.cfg}{}{} % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/texpower/tpbundle.ins b/Master/texmf-dist/source/latex/texpower/tpbundle.ins index 6478aeee52c..366ac0df094 100644 --- a/Master/texmf-dist/source/latex/texpower/tpbundle.ins +++ b/Master/texmf-dist/source/latex/texpower/tpbundle.ins @@ -2,6 +2,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -14,7 +15,7 @@ %% GNU General Public License for more details. %% -------------------------------------------------------------- %% -%% tpbundle.ins,v 1.2 2004/07/27 11:38:08 hansfn Exp +%% tpbundle.ins,v 1.6 2005/04/06 22:28:21 hansfn Exp %% %% --------------- start of docstrip commands ------------------ %% @@ -26,6 +27,7 @@ -------------------------------------------------------------- TeXPower bundle - dynamic online presentations with LaTeX Copyright (C) 1999-2004 Stephan Lehmke +Copyright (C) 2003-2005 Hans Fredrik Nordhaug This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -56,15 +58,15 @@ given in the file `00readme.txt'. % \file{automata.sty}{\from{texpower-addons.dtx}{automata}} \file{fixseminar.sty}{\from{texpower-addons.dtx}{fixseminar}} - \file{tplists.sty}{\from{texpower-addons.dtx}{tplists}} + \file{tplists.sty}{\from{tplists.dtx}{tplists}} \file{tppstcol.sty}{\from{texpower-addons.dtx}{tppstcol}} \file{tpsem-a4.sty}{\from{texpower-addons.dtx}{tpsem-a4}} % - \file{FAQ-display.tex}{\from{texpower-doc.dtx}{faq-disp,faq,end}} - \file{FAQ-printout.tex}{\from{texpower-doc.dtx}{faq-print,faq,enddoc}} + \file{FAQ-display.tex}{\from{texpower-doc.dtx}{version,faq-disp,faq,end}} + \file{FAQ-printout.tex}{\from{texpower-doc.dtx}{version,faq-print,faq,enddoc}} % - \file{manual.tex}{\from{texpower-doc.dtx}{manual,docu,enddoc}} - \file{fulldemo.tex}{\from{texpower-doc.dtx}{fulldemo} + \file{manual.tex}{\from{texpower-doc.dtx}{version,manual,docu,enddoc}} + \file{fulldemo.tex}{\from{texpower-doc.dtx}{version,fulldemo} \from{texpower-doc.dtx}{picexample-src} \from{texpower-doc.dtx}{tabexample-src} \from{texpower-doc.dtx}{mathexample-src} @@ -77,7 +79,7 @@ given in the file `00readme.txt'. \file{bckwrdexample.tex}{\from{texpower-doc.dtx}{bckwrdexample,bckwrdexample-src,end}} \file{bgndexample.tex}{\from{texpower-doc.dtx}{bgndexample,bgndexample-src,end}} \file{divexample.tex}{\from{texpower-doc.dtx}{divexample,divexample-src,end}} - \file{fancystep.tex}{\from{texpower-doc.dtx}{fancystep}} + \file{fancyexample.tex}{\from{texpower-doc.dtx}{fancyexample}} \file{foilsdemo.tex}{\from{texpower-doc.dtx}{foilsdemo}} \file{hilitexample.tex}{\from{texpower-doc.dtx}{hilitexample,hilitexample-src,end}} \file{ifmslidemo.tex}{\from{texpower-doc.dtx}{ifmslidemo}} @@ -96,6 +98,7 @@ given in the file `00readme.txt'. \file{slidesdemo.tex}{\from{texpower-doc.dtx}{slidesdemo}} \file{spanelexample.tex}{\from{texpower-doc.dtx}{spanelexample}} \file{tabexample.tex}{\from{texpower-doc.dtx}{tabexample,tabexample-src,end}} + \file{verbexample.tex}{\from{texpower-doc.dtx}{verbexample}} % \file{__TPcfg.tex}{\from{texpower-doc.dtx}{config}} \file{__TPpreamble.tex}{\from{texpower-doc.dtx}{preamble}} @@ -108,6 +111,7 @@ given in the file `00readme.txt'. \file{fig-1.mps}{\from{texpower-doc.dtx}{fig-1}} \file{fig-2.mps}{\from{texpower-doc.dtx}{fig-2}} \file{fig-3.mps}{\from{texpower-doc.dtx}{fig-3}} + \file{dummy.java}{\from{texpower-doc.dtx}{dummy-java}} } \ifToplevel{ diff --git a/Master/texmf-dist/source/latex/texpower/tplists.dtx b/Master/texmf-dist/source/latex/texpower/tplists.dtx new file mode 100644 index 00000000000..0af0b5e5813 --- /dev/null +++ b/Master/texmf-dist/source/latex/texpower/tplists.dtx @@ -0,0 +1,666 @@ +%% +% \iffalse meta-comment +% -------------------------------------------------------------- +% Part of the TeXPower bundle +% Copyright (C) 2003-2005 Hans Fredrik Nordhaug +% +% This program is free software; you can redistribute it and/or +% modify it under the terms of the GNU General Public License +% as published by the Free Software Foundation; either version 2 +% of the License, or (at your option) any later version. +% +% This program is distributed in the hope that it will be useful, +% but WITHOUT ANY WARRANTY; without even the implied warranty of +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +% GNU General Public License for more details. +% -------------------------------------------------------------- +% +% tplists.dtx,v 1.6 2005/04/07 21:43:07 hansfn Exp +% +% \fi +% +% \iffalse +% +%<*driver> +\ProvidesFile{tplists.dtx} +% +%\NeedsTeXFormat{LaTeX2e} +%\ProvidesPackage{tplists} +%<*tplists> + [2005/04/07 v0.2 Easy Dynamic Lists using TeXPower] +% +% +%<*driver> +\documentclass{ltxdoc} +\EnableCrossrefs +\CodelineIndex +\RecordChanges +\begin{document} + \DocInput{tplists.dtx} +\end{document} +% +% +% \fi +% +% \CheckSum{634} +% +% \CharacterTable +% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +% Digits \0\1\2\3\4\5\6\7\8\9 +% Exclamation \! Double quote \" Hash (number) \# +% Dollar \$ Percent \% Ampersand \& +% Acute accent \' Left paren \( Right paren \) +% Asterisk \* Plus \+ Comma \, +% Minus \- Point \. Solidus \/ +% Colon \: Semicolon \; Less than \< +% Equals \= Greater than \> Question mark \? +% Commercial at \@ Left bracket \[ Backslash \\ +% Right bracket \] Circumflex \^ Underscore \_ +% Grave accent \` Left brace \{ Vertical bar \| +% Right brace \} Tilde \~} +% +% +% \GetFileInfo{tplists.dtx} +% +% \DoNotIndex{\newcommand,\newenvironment} +% +% \title{The \textsf{tplists} package\thanks{This document +% corresponds to \textsf{tplists}~\fileversion, dated \filedate.}} +% \author{ Hans Fredrik Nordhaug \\ \texttt{hans@nordhaug.priv.no}} +% +% \maketitle +% +% \tableofcontents +% +% \section{Introduction} +% +% The package provides easy dynamic lists. The following +% environments/lists are available +% \begin{enumerate} +% \item |stepenum|, |stepitem|, |stepdesc|, |stepeqlist|, |stepcompactenum| +% |stepcompactitem| and |stepcompacteqlist|. +% \item |flipenum|, |flipitem|, |flipdesc|, |flipeqlist|, |flipcompactenum|, +% |flipcompactitem|, and |flipcompacteqlist| +% \item |dimenum|, |dimitem|, |dimdesc|, |dimeqlist|, |dimcompactenum|, +% |dimcompactitem|, and |dimcompacteqlist| +% \end{enumerate} +% where |step| is short for stepped, |flip| for flipped and |dim| for dimmed. +% The packages |paralist| and |eqlist| must be loaded before this package to +% use the *eqlist and *compact* lists. |enum|, |item| and |desc| is of course +% short for |enumerate|, |itemize| and |description| respectively. +% +% \section{User interface} +% +% The package is loaded in the normal fashion, eg: |\usepackage{tplists}| The package +% works better (the lists look better) if TeXPower uses colors. +% +% All lists (except *eqlist) takes an optional parameter adding to the indent +% of the list. Note that dim* and flip* lists do not nest, and that step* lists +% inside dim*/flip* will behave as a dim*/flip* list respectively. +% (The normal |itemize|, |enumerate| and |description| lists are modified so they accept the +% optional parameter and work nested with the new lists.) +% +% Example: +% +% \begin{verbatim} +% \documentclass[a4paper]{article} +% \usepackage[darkbackground,display]{texpower} +% \usepackage{tplists} +% \begin{document} +% \begin{flipitem}[2cm] +% \item Before +% \begin{enumerate}[1cm] +% \item An item +% \item Another item +% \end{enumerate} +% \item After +% \end{flipitem} +% \end{document} +% \end{verbatim} +% +% \section{Description of package options} +% +% The following options exist: +% \begin{description} +% \item[|pausestep|] makes step* lists use |\pause|% +% \item[|noflipendstep|] avoids the extra step at the end of a flipped list. +% \end{description} +% +% All options can be set anywhere in the document using a setup command, for example +% |\tplsetup{pausestep,noflipendstep=false}|. If the keys in the setup command have no +% value true is assumed. +% +% \section{Issues} +% +% The step* lists use |\vstep| (as default) which give weird results with +% structured backgrounds. Using the pausestep option fixes this, but then you +% can't nest step* lists inside dim* or flip* lists. There are also some +% unresolved problems when using french babel. +% +% \StopEventually{\PrintChanges\PrintIndex} +% +% \section{Implementation} +% +% \changes{v0.1}{2003/10/03}{First public release.} +% +% \changes{v0.1a}{2003/10/04}{Removed redefinition of eqlist (since it didn't work).} +% +% \changes{v0.1b}{2003/10/07}{Corrected some typos in this documentation. +% Added option pausestep and made dim* (and all variants of flip*) lists work without +% colors by using boldface for active items.} +% +% \changes{v0.2}{2005/04/07}{Added flipdesc, stepdesc, dimdesc environments for +% easy dynamic description lists. Improved behaviour when not in display mode. +% Fixed step lists behaviour when in display mode, but without colors. Added +% noflipendstep option and a setup command to enable setting of all options +% anywhere in the document } +% +% \subsection{Loading of packages} +% +% \begin{macrocode} +\RequirePackage{texpower} +% \end{macrocode} +% Compact enum/item. +% \begin{macrocode} +\newboolean{tpl@paralist} +\@ifpackageloaded{paralist}{\setboolean{tpl@paralist}{true}}{} +% \end{macrocode} +% Lists with equal indentation. +% \begin{macrocode} +\newboolean{tpl@eqlist} +\@ifpackageloaded{eqlist}{\setboolean{tpl@eqlist}{true}}{} +% \end{macrocode} +% +% \subsection{Defining options} +% +% Use |\pause| for steplists (too avoid problems with structured backgrounds). +% \begin{macrocode} +\newboolean{tpl@pausestep} +\DeclareOption{pausestep}{\setboolean{tpl@pausestep}{true}} +% \end{macrocode} +% Don't add an extra step at the end of a flipped list. +% \begin{macrocode} +\newboolean{tpl@noflipendstep} +\DeclareOption{noflipendstep}{\setboolean{tpl@noflipendstep}{true}} + +\ProcessOptions +% \end{macrocode} +% Defining setup command to enable change of options anywhere in the document. +% \begin{macrocode} +\define@key{tpl}{pausestep}[true]{% + \setboolean{tpl@pausestep}{#1} +} +\define@key{tpl}{noflipendstep}[true]{% + \setboolean{tpl@noflipendstep}{#1} +} +\newcommand*{\tplsetup}{\setkeys{tpl}} +% \end{macrocode} +% +% \subsection{Flipped/dimmed/stepped lists/environments} +% +% |\iftpl@instepenv| indicates if we are in some kind of stepped list +% environment. |\iftpl@indimenv| / |\tpl@inflipenv| indicates that we are +% using one of the stepwise environments from texpower (that doesn't +% nest). |\iftpl@inpausestepenv| indicates that we are in a stepped +% list that uses |\pause|. +% +% using |tpl@| as prefix for internals. +% \begin{macrocode} +\newif\iftpl@instepenv \tpl@instepenvfalse +\newif\iftpl@inpausestepenv \tpl@inpausestepenvfalse +\newif\iftpl@indimenv \tpl@indimenvfalse +\newif\iftpl@inflipenv \tpl@inflipenvfalse +\let\oldenumerate=\enumerate +\let\olditemize=\itemize +\let\olddescription=\description +\let\endoldenumerate=\endenumerate +\let\endolditemize=\enditemize +\let\endolddescription=\enddescription +\ifthenelse{\boolean{tpl@eqlist}}{% +\let\oldeqlist=\eqlist +\let\endoldeqlist=\endeqlist +}{} +\ifthenelse{\boolean{tpl@paralist}}{% +\let\oldcompactenum=\compactenum +\let\oldcompactitem=\compactitem +\let\endoldcompactenum=\endcompactenum +\let\endoldcompactitem=\endcompactitem +}{} +% \end{macrocode} +% +% Defining |\tpl@collect@body| - command used to scan the list +% environments. Definition borrowed from 'amsmath.sty' - slightly +% modified to allow for 'long' arguments +% \begin{macrocode} +\let\tpl@nx\noexpand +\let\tpl@xp\expandafter +\newtoks\tpl@emptytoks +\newtoks\tpl@envbody +\long\def\tpl@addto@envbody#1{\global\tpl@envbody\tpl@xp{\the\tpl@envbody#1}} +\def\tpl@collect@body#1{% + \tpl@envbody{\tpl@xp#1\tpl@xp{\the\tpl@envbody}}% + \edef\tpl@process@envbody{\the\tpl@envbody\tpl@nx\end{\@currenvir}}% + \tpl@envbody\tpl@emptytoks \def\begin@stack{b}% + \begingroup + \tpl@xp\let\csname\@currenvir\endcsname\tpl@collect@@body + \edef\tpl@process@envbody{\tpl@xp\tpl@nx\csname\@currenvir\endcsname}% + \tpl@process@envbody +} +\long\def\tpl@push@begins#1\begin#2{% + \ifx\end#2\else b\tpl@xp\tpl@push@begins\fi +} +\long\def\tpl@collect@@body#1\end#2{% + \edef\begin@stack{\tpl@push@begins#1\begin\end \tpl@xp\@gobble\begin@stack}% + \ifx\@empty\begin@stack + \endgroup + \@checkend{#2}% + \tpl@addto@envbody{#1}% + \else + \tpl@addto@envbody{#1\end{#2}}% + \fi + \tpl@process@envbody +} +% \end{macrocode} +% +% Defining command |\tpl@addmargin| used to add a length to +% the leftmargin of the current level in a list. +% \begin{macrocode} +\def\tpl@addmargin#1{% + \advance\@listdepth 1 + \addtolength{\csname leftmargin\romannumeral\@listdepth\endcsname}{#1} + \advance\@listdepth -1 +} + +\ifthenelse{\boolean{display}}{% +% +% Defining a flipped step command if we are in display mode. +% Note that |\tpl@flipstep| takes no argument. +% \begin{macrocode} +\ifthenelse{\boolean{TPcolor}}% Can we use colors? +{% Yes. In this case highlighting is implemented by switching color. + \def\tpl@flipstep{% + \step{\ifthenelse{\boolean{firstactivation}}% + {\color{textcolor}}% + {\color{inactivecolor}}% + }% + }% +} +{% No. In this case highlighting is implemented by putting the item in boldface. + \def\tpl@flipstep{% + \step{\ifthenelse{\boolean{firstactivation}}{\bfseries}{\mdseries}} + }% +} +% \end{macrocode} +% +% Defining a dimmed step command if we are in display mode. +% Note that |\tpl@dimstep| takes no argument. +% \begin{macrocode} +\ifthenelse{\boolean{TPcolor}}% Can we use colors? +{% Yes. In this case highlighting is implemented by using \dstep + \def\tpl@dimstep{\dstep}% +} +{% No. In this case highlighting is implemented by putting the item in boldface. + \def\tpl@dimstep{% + \step{\bfseries}% + \ifthenelse{\boolean{active}}{}{\mdseries}% + }% +} +% \end{macrocode} +% +% Defining a (normal) step command if we are in display mode. +% Note that |\tpl@step| takes no argument. +% \begin{macrocode} +\ifthenelse{\boolean{TPcolor}}% Can we use colors? +{% Yes. In this case stepping is implemented by using \vstep + \def\tpl@step{\vstep}% +} +{% No. In this case stepping is implemented using \pause + \def\tpl@step{\pause}% +} +% \end{macrocode} +% TeXPower not in display mode - no need for a dimmed/flipped/normal step command. +% \begin{macrocode} +}{% \boolean{display} is false +\def\tpl@flipstep{\relax}% +\def\tpl@dimstep{\relax}% +\def\tpl@step{\relax}% +} +% \end{macrocode} +% +% Defining flipped stepped - itemize / description / enumerate / eqlist +% compact itemize / compact enumerate / compact eqlist - environments. +% \begin{macrocode} +\newenvironment{flipitem}[1][0cm]{% + \tpl@addmargin{#1} + \tpl@collect@body\@flipitem}% + {\global\@ignoretrue} +\newenvironment{flipdesc}[1][0cm]{% + \tpl@addmargin{#1} + \tpl@collect@body\@flipdesc}% + {\global\@ignoretrue} +\newenvironment{flipenum}[1][0cm]{% + \tpl@addmargin{#1} + \tpl@collect@body\@flipenum}% + {\global\@ignoretrue} +\ifthenelse{\boolean{tpl@eqlist}}{% +\newenvironment{flipeqlist}[1][0cm]{% + \tpl@collect@body\@flipeqlist}% + {\global\@ignoretrue} +\newenvironment{flipcompacteqlist}[1][0cm]{% + \tpl@collect@body\@flipcompacteqlist}% + {\global\@ignoretrue} +}{} +\ifthenelse{\boolean{tpl@paralist}}{% +\newenvironment{flipcompactitem}[1][0cm]{% + \tpl@addmargin{#1} + \tpl@collect@body\@flipcompactitem}% + {\global\@ignoretrue} +\newenvironment{flipcompactenum}[1][0cm]{% + \tpl@addmargin{#1} + \tpl@collect@body\@flipcompactenum}% + {\global\@ignoretrue} +}{} + +\newcommand\@fliplist[2]{% + \iftpl@indimenv + \PackageError{tplists}{% + dim* and flip* environments do NOT nest}{% + Do not continue! Type 'q' to stop and fix the nested list. + } + \else\iftpl@instepenv + \begin{#1} + \let\hidestepcontents=\displaystepcontents + \renewcommand{\item}{\tpl@flipstep\tpl@origitem}% + #2 + \end{#1}% + \else + \iftpl@inpausestepenv\let\liststepwise=\stepwise\fi + \liststepwise[\let\hidestepcontents=\displaystepcontents]{% + \begin{#1} + \iftpl@inpausestepenv\else + \iftpl@instepenv\else\let\tpl@origitem=\item\fi + \fi + \tpl@instepenvtrue + \tpl@inflipenvtrue + \renewcommand{\item}{\tpl@flipstep\tpl@origitem}% + #2 + \ifthenelse{\boolean{tpl@noflipendstep}}{}{\step{}}% + \end{#1}} + \fi\fi +} + +\newcommand\@flipitem[1]{% + \@fliplist{olditemize}{#1}} +\newcommand\@flipdesc[1]{% + \@fliplist{olddescription}{#1}} +\newcommand\@flipenum[1]{% + \@fliplist{oldenumerate}{#1}} +\ifthenelse{\boolean{tpl@eqlist}}{% +\newcommand\@flipeqlist[1]{% + \@fliplist{oldeqlist}{#1}} +\newcommand\@flipcompacteqlist[1]{% + \@fliplist{compacteqlist}{#1}} +}{} +\ifthenelse{\boolean{tpl@paralist}}{% +\newcommand\@flipcompactitem[1]{% + \@fliplist{oldcompactitem}{#1}} +\newcommand\@flipcompactenum[1]{% + \@fliplist{oldcompactenum}{#1}} +}{} +% \end{macrocode} +% +% Defining dimmed stepped - itemize / description / enumerate / eqlist / +% compact itemize / compact enumerate / compact eqlist - environments. +% \begin{macrocode} +\newenvironment{dimitem}[1][0cm]{% + \tpl@addmargin{#1} + \tpl@collect@body\@dimitem}% + {\global\@ignoretrue} +\newenvironment{dimdesc}[1][0cm]{% + \tpl@addmargin{#1} + \tpl@collect@body\@dimdesc}% + {\global\@ignoretrue} +\newenvironment{dimenum}[1][0cm]{% + \tpl@addmargin{#1} + \tpl@collect@body\@dimenum}% + {\global\@ignoretrue} +\ifthenelse{\boolean{tpl@eqlist}}{% +\newenvironment{dimeqlist}[1][0cm]{% + \tpl@collect@body\@dimeqlist}% + {\global\@ignoretrue} +\newenvironment{dimcompacteqlist}[1][0cm]{% + \tpl@collect@body\@dimcompacteqlist}% + {\global\@ignoretrue} +}{} +\ifthenelse{\boolean{tpl@paralist}}{% +\newenvironment{dimcompactitem}[1][0cm]{% + \tpl@addmargin{#1} + \tpl@collect@body\@dimcompactitem}% + {\global\@ignoretrue} +\newenvironment{dimcompactenum}[1][0cm]{% + \tpl@addmargin{#1} + \tpl@collect@body\@dimcompactenum}% + {\global\@ignoretrue} +}{} + +\newcommand\@dimlist[2]{% + \iftpl@inflipenv + \PackageError{tplists}{% + dim* and flip* environments do NOT nest}{% + Do not continue! Type to stop and fix the nested list. + } + \else\iftpl@instepenv + \begin{#1} + \renewcommand{\item}{\tpl@dimstep\tpl@origitem}% + #2 + \end{#1}% + \else + \iftpl@inpausestepenv\let\liststepwise=\stepwise\fi + \liststepwise{% + \begin{#1} + \iftpl@inpausestepenv\else + \iftpl@instepenv\else\let\tpl@origitem=\item\fi + \fi + \tpl@instepenvtrue + \tpl@indimenvtrue + \renewcommand{\item}{\tpl@dimstep\tpl@origitem}% + #2 + \end{#1}} + \fi\fi +} + +\newcommand\@dimitem[1]{% + \@dimlist{olditemize}{#1}} +\newcommand\@dimdesc[1]{% + \@dimlist{olddescription}{#1}} +\newcommand\@dimenum[1]{% + \@dimlist{oldenumerate}{#1}} +\ifthenelse{\boolean{tpl@eqlist}}{% +\newcommand\@dimeqlist[1]{% + \@dimlist{oldeqlist}{#1}} +\newcommand\@dimcompacteqlist[1]{% + \@dimlist{compacteqlist}{#1}} +}{} +\ifthenelse{\boolean{tpl@paralist}}{% +\newcommand\@dimcompactitem[1]{% + \@dimlist{oldcompactitem}{#1}} +\newcommand\@dimcompactenum[1]{% + \@dimlist{oldcompactenum}{#1}} +}{} +% \end{macrocode} +% +% Defining stepped - itemize / description / enumerate / eqlist / +% compact itemize / compact enumerate / compact eqlist - environments. +% \begin{macrocode} +\newenvironment{stepitem}[1][0cm]{% + \tpl@addmargin{#1} + \tpl@collect@body\@stepitem}% + {\global\@ignoretrue} +\newenvironment{stepdesc}[1][0cm]{% + \tpl@addmargin{#1} + \tpl@collect@body\@stepdesc}% + {\global\@ignoretrue} +\newenvironment{stepenum}[1][0cm]{% + \tpl@addmargin{#1} + \tpl@collect@body\@stepenum}% + {\global\@ignoretrue} +\ifthenelse{\boolean{tpl@eqlist}}{% +\newenvironment{stepeqlist}[1][0cm]{% + \tpl@collect@body\@stepeqlist}% + {\global\@ignoretrue} +\newenvironment{stepcompacteqlist}[1][0cm]{% + \tpl@collect@body\@stepcompacteqlist}% + {\global\@ignoretrue} +}{} +\ifthenelse{\boolean{tpl@paralist}}{% +\newenvironment{stepcompactitem}[1][0cm]{% + \tpl@addmargin{#1} + \tpl@collect@body\@stepcompactitem}% + {\global\@ignoretrue} +\newenvironment{stepcompactenum}[1][0cm]{% + \tpl@addmargin{#1} + \tpl@collect@body\@stepcompactenum}% + {\global\@ignoretrue} +}{} +% \end{macrocode} +% Using |\pause| for step* lists if |tpl@pausestep| is true +% \begin{macrocode} +\newcommand\@steplist[2]{% +\ifthenelse{\boolean{tpl@pausestep}}{% + \iftpl@inflipenv + \PackageError{tplists}{% + flip* followed by step* environment does NOT work \MessageBreak + when the pausestep option is used}{% + Do not continue! Type to stop and fix the nested list. + } + \else\iftpl@indimenv + \PackageError{tplists}{% + dim* followed by step* environment does NOT work \MessageBreak + when the pausestep option is used}{% + Do not continue! Type to stop and fix the nested list. + } + \else + \begin{#1} + \iftpl@inpausestepenv\else\let\tpl@origitem=\item\fi + \tpl@inpausestepenvtrue + \renewcommand{\item}{\pause\tpl@origitem}% + #2 + \end{#1} + \fi\fi +}{ +% \end{macrocode} +% Using |\liststepwise| for step* lists if |tpl@pausestep| is false +% \begin{macrocode} + \iftpl@inflipenv + \begin{#1} + \renewcommand{\item}{\tpl@flipstep\tpl@origitem} + #2 + \end{#1}% + \else\iftpl@indimenv + \begin{#1} + \renewcommand{\item}{\dstep\tpl@origitem}% + #2 + \end{#1}% + \else\iftpl@instepenv + \begin{#1} + \renewcommand{\item}{\tpl@step\tpl@origitem}% + #2 + \end{#1}% + \else + \liststepwise{% + \begin{#1} + \iftpl@instepenv\else\let\tpl@origitem=\item\fi + \tpl@instepenvtrue + \renewcommand{\item}{\tpl@step\tpl@origitem}% + #2 + \end{#1}} + \fi\fi\fi +} +} + +\newcommand\@stepitem[1]{% + \@steplist{olditemize}{#1}} +\newcommand\@stepdesc[1]{% + \@steplist{olddescription}{#1}} +\newcommand\@stepenum[1]{% + \@steplist{oldenumerate}{#1}} +\ifthenelse{\boolean{tpl@eqlist}}{% +\newcommand\@stepeqlist[1]{% + \@steplist{oldeqlist}{#1}} +\newcommand\@stepcompacteqlist[1]{% + \@steplist{compacteqlist}{#1}} +}{} +\ifthenelse{\boolean{tpl@paralist}}{% +\newcommand\@stepcompactitem[1]{% + \@steplist{oldcompactitem}{#1}} +\newcommand\@stepcompactenum[1]{% + \@steplist{oldcompactenum}{#1}} +}{} +% \end{macrocode} +% +% Defining compact eqlist +% \begin{macrocode} +\newenvironment{compacteqlist}[1][0cm]{% + % \tpl@addmargin{#1} + \begin{eqlist}[\parsep0pt\itemsep0pt]}% + {\end{eqlist}} +% \end{macrocode} +% +% Redefining enumerate, itemize and description to handle changes made by +% introducing steps and leftmargini-option. +% \begin{macrocode} +\renewenvironment{enumerate}[1][0cm]{% + \tpl@addmargin{#1} + \begin{oldenumerate} + \iftpl@instepenv + \renewcommand{\item}{\tpl@origitem}% + \fi + }% + {\end{oldenumerate}} + +\renewenvironment{itemize}[1][0cm]{% + \tpl@addmargin{#1} + \begin{olditemize} + \iftpl@instepenv + \renewcommand{\item}{\tpl@origitem}% + \fi + }% + {\end{olditemize}} + +\renewenvironment{description}[1][0cm]{% + % \tpl@addmargin{#1} % Has no effect - FIXME + \begin{olddescription} + \iftpl@instepenv + \renewcommand{\item}{\tpl@origitem}% + \fi + }% + {\end{olddescription}} +% \end{macrocode} +% +% Redefining compactenum and compactitem to handle changes made by +% introducing steps and leftmargini-option. +% \begin{macrocode} +\ifthenelse{\boolean{tpl@paralist}}{% +\renewenvironment{compactenum}[1][0cm]{% + \tpl@addmargin{#1} + \begin{oldcompactenum} + \iftpl@instepenv + \renewcommand{\item}{\tpl@origitem}% + \fi + }% + {\end{oldcompactenum}} + +\renewenvironment{compactitem}[1][0cm]{% + \tpl@addmargin{#1} + \begin{oldcompactitem} + \iftpl@instepenv + \renewcommand{\item}{\tpl@origitem}% + \fi + }% + {\end{oldcompactitem}} +}{} +% \end{macrocode} + +% \Finale +\endinput diff --git a/Master/texmf-dist/tex/latex/texpower/automata.sty b/Master/texmf-dist/tex/latex/texpower/automata.sty index dc5f856a3fc..c598f736337 100644 --- a/Master/texmf-dist/tex/latex/texpower/automata.sty +++ b/Master/texmf-dist/tex/latex/texpower/automata.sty @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License diff --git a/Master/texmf-dist/tex/latex/texpower/fixseminar.sty b/Master/texmf-dist/tex/latex/texpower/fixseminar.sty index 3bf8b99c50e..1c07844ed93 100644 --- a/Master/texmf-dist/tex/latex/texpower/fixseminar.sty +++ b/Master/texmf-dist/tex/latex/texpower/fixseminar.sty @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License diff --git a/Master/texmf-dist/tex/latex/texpower/powersem.cls b/Master/texmf-dist/tex/latex/texpower/powersem.cls index fb6eff35232..90bc02ab2d9 100644 --- a/Master/texmf-dist/tex/latex/texpower/powersem.cls +++ b/Master/texmf-dist/tex/latex/texpower/powersem.cls @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License diff --git a/Master/texmf-dist/tex/latex/texpower/texpower.sty b/Master/texmf-dist/tex/latex/texpower/texpower.sty index a46f177abb7..fa31659c3a0 100644 --- a/Master/texmf-dist/tex/latex/texpower/texpower.sty +++ b/Master/texmf-dist/tex/latex/texpower/texpower.sty @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -26,7 +27,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{texpower} - [2004/07/27 v0.1b Create Dynamic Presentations with LaTeX.] + [2005/04/08 v0.2 Create Dynamic Presentations with LaTeX.] \RequirePackage{ifthen} \RequirePackage{calc} @@ -38,6 +39,10 @@ \DeclareOption{printout}{\setboolean{display}{false}} \newboolean{fixcolorstack@TP} \DeclareOption{fixcolorstack}{\setboolean{fixcolorstack@TP}{true}} +\newboolean{oldfiltering@TP} +\DeclareOption{oldfiltering}{\setboolean{oldfiltering@TP}{true}} +\newcommand{\oldfilteringon}{\setboolean{oldfiltering@TP}{true}} +\newcommand{\oldfilteringoff}{\setboolean{oldfiltering@TP}{false}} \newboolean{nineminutes@TP} \DeclareOption{nineminutes}{\setboolean{nineminutes@TP}{true}} \newboolean{TPcolor} @@ -72,26 +77,22 @@ \ifthenelse{\boolean{verbose@TP}}{\setcounter{errorcontextlines}{10000}}{} \newboolean{psspecialsallowed} \setboolean{psspecialsallowed}{true} % optimistic default -\IfFileExists{ifpdf.sty} -{% - \RequirePackage{ifpdf}% - } -{% - \@ifundefined{pdftrue} - {% - \expandafter\newif\csname ifpdf\endcsname - \ifx\pdfoutput\undefined - \else - \ifx\pdfoutput\relax - \else - \ifcase\pdfoutput - \else - \pdftrue - \fi - \fi - \fi - }{}% - } +\@ifundefined{pdftrue}{ +\IfFileExists{ifpdf.sty}{\RequirePackage{ifpdf}}{% + \expandafter\newif\csname ifpdf\endcsname + \ifx\pdfoutput\undefined + \else + \ifx\pdfoutput\relax + \else + \ifcase\pdfoutput + \else + \pdftrue + \fi + \fi + \fi + } +}{% \ifpdf is defined - nothing to do +} \ifpdf\setboolean{psspecialsallowed}{false}\fi \@ifclassloaded{slides}% @@ -1461,7 +1462,9 @@ }% \fi }% matches \ifthenelse{\equal{\bgndtoppanelheight@TP}{}} - {}% Yes. Nothing to do. + {% Yes. + \let\toppanelheight=\bgndtoppanelheight@TP% Overwrite panel settings - use user-supplied value. + } \ifthenelse{\equal{\bgndbottompanelheight@TP}{}}% Has the bottom panel height been set? {% No. Guess default. \ifx\bottompanelcontents@TP\empty% Is the bottom panel defined? @@ -1480,7 +1483,9 @@ }% \fi }% matches \ifthenelse{\equal{\bgndbottompanelheight@TP}{}} - {}% Yes. Nothing to do. + {% Yes. + \let\bottompanelheight=\bgndbottompanelheight@TP% Overwrite panel settings - use user-supplied value. + } \mklength@TP{\bgndleftpanelheight@TP}% Calculate remaining space in the center. {\TPpageheight-\bgndtoppanelheight@TP-\bgndbottompanelheight@TP}% \let\bgndrightpanelheight@TP=\bgndleftpanelheight@TP% Height of left and right panels is equal. @@ -1502,7 +1507,9 @@ }% \fi }% matches \ifthenelse{\equal{\bgndleftpanelwidth@TP}{}} - {}% Yes. Nothing to do. + {% Yes. + \let\leftpanelwidth=\bgndleftpanelwidth@TP% Overwrite panel settings - use user-supplied value. + } \ifthenelse{\equal{\bgndrightpanelwidth@TP}{}}% Has the right panel width been set? {% No. Guess default. \ifx\rightpanelcontents@TP\empty% Is the panel defined? @@ -1521,7 +1528,9 @@ }% \fi }% matches \ifthenelse{\equal{\bgndrightpanelwidth@TP}{}} - {}% Yes. Nothing to do. + {% Yes. + \let\rightpanelwidth=\bgndrightpanelwidth@TP% Overwrite panel settings - use user-supplied value. + } }% matches \ifthenelse{\boolean{hpanels@TP}} {% No. Vertical panels are `outer', horizontal panels are `inner'. \let\bgndleftpanelheight@TP=\TPpageheight% Full height for vertical panels. @@ -1544,7 +1553,9 @@ }% \fi }% matches \ifthenelse{\equal{\bgndleftpanelwidth@TP}{}} - {}% Yes. Nothing to do. + {% Yes. + \let\leftpanelwidth=\bgndleftpanelwidth@TP% Overwrite panel settings - use user-supplied value. + } \ifthenelse{\equal{\bgndrightpanelwidth@TP}{}}% Has the right panel width been set? {% No. Guess default. \ifx\rightpanelcontents@TP\empty% Is the panel defined? @@ -1563,7 +1574,9 @@ }% \fi }% matches \ifthenelse{\equal{\bgndrightpanelwidth@TP}{}} - {}% Yes. Nothing to do. + {% Yes. + \let\rightpanelwidth=\bgndrightpanelwidth@TP% Overwrite panel settings - use user-supplied value. + } \mklength@TP{\bgndtoppanelwidth@TP}% Calculate remaining space in the center. {\TPpagewidth-\bgndleftpanelwidth@TP-\bgndrightpanelwidth@TP}% \let\bgndbottompanelwidth@TP=\bgndtoppanelwidth@TP% Width of top and bottom panels is equal. @@ -1585,7 +1598,9 @@ }% \fi }% matches \ifthenelse{\equal{\bgndtoppanelheight@TP}{}} - {}% Yes. Nothing to do. + {% Yes. + \let\toppanelheight=\bgndtoppanelheight@TP% Overwrite panel settings - use user-supplied value. + } \ifthenelse{\equal{\bgndbottompanelheight@TP}{}}% Has the bottom panel height been set? {% No. Guess default. \ifx\bottompanelcontents@TP\empty% Is the panel defined? @@ -1604,7 +1619,9 @@ }% \fi }% matches \ifthenelse{\equal{\bgndbottompanelheight@TP}{}} - {}% Yes. Nothing to do. + {% Yes. + \let\bottompanelheight=\bgndbottompanelheight@TP% Overwrite panel settings - use user-supplied value. + } }% matches second argument of \ifthenelse{\boolean{hpanels@TP}} }% matches \newcommand{\initpanels@TP}[1]{ \newcommand{\phantomrule@TP}[2]{\rule{0pt}{#2}\rule{#1}{0pt}} @@ -2324,6 +2341,42 @@ \newcommand{\pausesafecounter}[1]% {\expandafter\def\expandafter\cl@@ckptpause@TP\expandafter{\cl@@ckptpause@TP\@elt{#1}}} \@ifclassloaded{seminar}{\pausesafecounter{slide}}{} +\ifthenelse{\boolean{display}}{% + \AtBeginDocument{\@ifpackageloaded{hyperref}{% + \let\hyper@anchor@TP=\hyper@anchor + \long\def\hyper@@anchor#1#2{% + %%% \ifthenelse{\boolean{instepwise@TP}}% + \ifthenelse{\boolean{instepwise@TP} \AND \NOT \boolean{oldfiltering@TP}}% + {\ifthenelse{\NOT \boolean{instep@TP}}% + {\ifthenelse{\value{step}=\value{firststep}}{\@hyper@@anchor#1\relax#2\relax}{}}% + {\ifthenelse{\boolean{active} \AND \boolean{firstactivation}}% + {\@hyper@@anchor#1\relax#2\relax}{}}% End \ifthenelse{\boolean{active} ... + }% End \ifthenelse{\NOT \boolean{instep@TP}} + {\@hyper@@anchor#1\relax#2\relax}% End \ifthenelse{\boolean{instepwise@TP}} + } + \let\hyper@anchorstart@TP=\hyper@anchorstart + \def\hyper@anchorstart#1{% + \ifthenelse{\boolean{instepwise@TP} \AND \NOT \boolean{oldfiltering@TP}}% + {\ifthenelse{\NOT \boolean{instep@TP}}% + {\ifthenelse{\value{step}=\value{firststep}}{\hyper@anchorstart@TP{#1}}{}}% + {\ifthenelse{\boolean{active} \AND \boolean{firstactivation}}% + {\hyper@anchorstart@TP{#1}}{}}% End \ifthenelse{\boolean{active} ... + }% End \ifthenelse{\NOT \boolean{instep@TP}} + {\hyper@anchorstart@TP{#1}}% End \ifthenelse{\boolean{instepwise@TP}} + } + }{}}% End \AtBeginDocument{\@ifpackageloaded{hyperref}{ + % Changing \protected@write to avoid duplicates in aux-file + \let\protected@write@TP=\protected@write + \long\def\protected@write#1#2#3{% + \ifthenelse{\boolean{instepwise@TP} \AND \NOT \boolean{oldfiltering@TP}}% + {\ifthenelse{\NOT \boolean{instep@TP}}% + {\ifthenelse{\value{step}=\value{firststep}}{\protected@write@TP{#1}{#2}{#3}}{}}% + {\ifthenelse{\boolean{active} \AND \boolean{firstactivation}}% + {\protected@write@TP{#1}{#2}{#3}}{}}% End \ifthenelse{\boolean{active} ... + }% End \ifthenelse{\NOT \boolean{instep@TP}} + {\protected@write@TP{#1}{#2}{#3}}% End \ifthenelse{\boolean{instepwise@TP}} + }% +}{}% End \ifthenelse{\boolean{display}} \def\save@TP {% \par% Always end current paragraph. @@ -2339,7 +2392,14 @@ \output=\memoutput@TP% Restore output routine. } \let\filterpage@TP\relax -\newcommand{\filterwhatsits@TP}{\global\setbox\@cclv=\hbox{\leaders\copy\@cclv\hskip\wd\@cclv}} +\newcommand{\filterwhatsits@TP}{% + \ifthenelse{\boolean{oldfiltering@TP}}% + {\global\setbox\@cclv=\hbox{\leaders\copy\@cclv\hskip\wd\@cclv}}% Old aggressive/robust filtering + {}% No filtering - handled by \insertfilterwhatsits@TP and stepwise aware commands. +} +\newcommand{\insertfilterwhatsits@TP}{% + \global\setbox\tempbox@TP=\hbox{\leaders\copy\tempbox@TP\hskip\wd\tempbox@TP}% +} \newcommand{\insertfirstduplicate@TP} {\unvcopy\mempageconts@TP}% Just output the vbox's contents. \newcommand{\do@colorcorrections@TP} @@ -2356,7 +2416,12 @@ \global\skip\footins=\skip\memfootins@TP \global\count\footins=\count\memfootins@TP \global\dimen\footins=\dimen\memfootins@TP - \unvcopy\mempageconts@TP% Output the vbox's contents. + \ifthenelse{\boolean{oldfiltering@TP}}% + {\unvcopy\mempageconts@TP}% + {\setbox\tempbox@TP=\vbox{\unvcopy\mempageconts@TP}% + \insertfilterwhatsits@TP + \copy\tempbox@TP% + } } \newcommand{\outputduplicate@TP} {% @@ -2422,64 +2487,55 @@ \newcommand{\hidesmartignore}[1]{\setbox\tempbox@TP=\vbox{#1}} \AtBeginDocument% {% - \@ifpackageloaded{soul}% Can we use the soul package? - {% - \@ifpackagelater{soul}{2002/05/28}% Correct version? - {% Yes. Let's define the necessary macros. - \DeclareRobustCommand*\hidetext - {% - \leavevmode% To prevent \phantom from inserting an hbox into the vertical list. + \@ifpackageloaded{soul}{% + \@ifpackagelater{soul}{2002/05/28}{ + \DeclareRobustCommand*\hidetext{% + \leavevmode \SOUL@setup - \def\SOUL@everytoken{\phantom{\the\SOUL@token\SOUL@setkern\SOUL@charkern}}% Make current token `invisible'. + \def\SOUL@everytoken{\phantom{\the\SOUL@token\SOUL@setkern\SOUL@charkern}} \def\SOUL@everyhyphen {% \discretionary {% \unkern - \phantom{\SOUL@setkern\SOUL@hyphkern\char\hyphenchar\font}% Output an `invisible' hyphen if needed. + \phantom{\SOUL@setkern\SOUL@hyphkern\char\hyphenchar\font}% }{}{}% }% \SOUL@% }% - }% - {% No. Encourage people to update. + }{ \PackageInfo{texpower} {Package soul too old.\MessageBreak Command \string\hidetext\space disabled}% - \let\hidetext=\hidephantom% \hidephantom is a sorry excuse for \hidetext... + \let\hidetext=\hidephantom }% - }% - {% No. In this case, there is no useful definition for \hidetext. + }{ \PackageInfo{texpower} {Package soul not loaded.\MessageBreak Command \string\hidetext\space disabled}% - \let\hidetext=\hidephantom% \hidephantom is a sorry excuse for \hidetext... + \let\hidetext=\hidephantom }% } -\ifthenelse{\boolean{colormath@TP}}% Should we color math? -{% Yes. +\ifthenelse{\boolean{colormath@TP}}{% \newcommand{\commitcolor@TP} {\textcolor{\ifmmode mathcolor\else textcolor\fi}} - } -{% No. - \newcommand{\commitcolor@TP}{\textcolor{textcolor}}% Switch to textcolor. +}{ + \newcommand{\commitcolor@TP}{\textcolor{textcolor}} } -\ifthenelse{\boolean{TPcolor}}% Can we use colors at all? -{% Yes. - \newcommand{\hidedimmed}[1]% Make argument appear in `dimmed' colors. - {% - {% A group makes the color changes local. - \ifthenelse{\boolean{instepwise@TP}}{\usecolorset{stwcolors}}{}% Just in case we currently are in dimmed mode... - \dimcolors% Dim colors. - \commitcolor@TP{#1}% Switch on dimmed color. - }% - }% - } -{\let\hidedimmed=\displayidentical}% No. Disable this command. -\ifthenelse{\boolean{TPcolor}}% Can we use colors at all? -{% Yes. - \newcommand{\hidevanish}[1]% Make argument `vanish' by changing colors. - {\textcolor{\vanishcolor}{\vanishcolors#1}} +\ifthenelse{\boolean{TPcolor}}{ + \newcommand{\hidedimmed}[1]{% + { + \ifthenelse{\boolean{instepwise@TP}}{\usecolorset{stwcolors}}{}% + \dimcolors + \commitcolor@TP{#1} + } } -{\let\hidevanish=\hidephantom}% No. Use \hidephantom instead. +}{ + \let\hidedimmed=\displayidentical +} +\ifthenelse{\boolean{TPcolor}}{ + \newcommand{\hidevanish}[1]{\textcolor{\vanishcolor}{\vanishcolors#1}} +}{ + \let\hidevanish=\hidephantom +} \newcommand{\boxedsteps} % Use boxed versions. {\let\displaystepcontents=\displayboxed\let\hidestepcontents=\hidephantom} @@ -2710,6 +2766,7 @@ \newcommand{\@switch@TP}[2] {% \global\advance\c@stepcommand by 1\relax% This execution of \switch is counted. + \setboolean{instep@TP}{true}% Set indicator. % % If the verbose option is set, type out some accounting information which can be used for debugging. \ifthenelse{\boolean{verbose@TP}} @@ -2753,6 +2810,7 @@ }% End of \s@step@TPcheck % \let\afterstep=\o@afterstep@TP% Restore the definition of \afterstep. + \setboolean{instep@TP}{false}% Set indicator. }% End of the definition of \@switch@TP. \@onlyinstepwise@TP\restep @@ -2949,13 +3007,14 @@ \def\paren@overlays@TP(#1){\def\optarg@ov@TP{(#1)}\@@overlays@TP} \newcommand{\@@overlays@TP}[2] {% - \setcounter{substep}{0}% Initialize substep counter. + \setcounter{substep}{1}% Initialize substep counter. \leavevmode% Make sure that \rlap doesn't insert anything in the vertical list. - \whiledo{\value{substep}<#1}% Iterate times. + \whiledo{\value{substep}<#1}% Iterate times (since we start at 1). {% - \stepcounter{substep}% \expandafter\switch\optarg@ov@TP{}{\ifthenelse{\boolean{firstactivation}}{\mbox{#2}}{\rlap{#2}}}% + \stepcounter{substep}% }% + \expandafter\switch\optarg@ov@TP{}{\mbox{#2}}% Always using \mbox for last overlay. } \newenvironment{stepcapsule}{}{} \newcommand{\afterstep}[1] @@ -3048,6 +3107,7 @@ \renewcommand{\@@@@dblhgradrule@TP}[3][0pt]{}% } \newboolean{instepwise@TP} +\newboolean{instep@TP} \newcommand{\@stepwise@TP}[2][] {% \save@TP% Save the current contents of the page. @@ -3143,7 +3203,62 @@ \repeat \endgroup \global\c@firststep=\c@o@fs@TP\relax% Restore default value of counter firststep. -}% End of the definition of \@stepwise@TP +} +\newenvironment{fragilesteps}{% + \def\texpower@verbatimfilename{\jobname-texpower.vrb}% + \immediate\openout\texpower@verbatimfileout=\texpower@verbatimfilename% + \texpower@verbatimreadframe% +} +{% + \immediate\closeout\texpower@verbatimfileout% + \stepwise{\input{\texpower@verbatimfilename}}% +} +\newwrite\texpower@verbatimfileout + +\def\texpower@verbatimreadframe{% + \begingroup% + \let\do\@makeother\dospecials% + \count@=127% + \@whilenum\count@<255 \do{% + \advance\count@ by 1% + \catcode\count@=11% + }% + \@makeother\^^L% and whatever other special cases + \endlinechar`\^^M \catcode`\^^M=12 \texpower@processframefirstline} + +{\catcode`\^^M=12\endlinechar=-1% + \long\gdef\texpower@processframefirstline#1^^M{% + \def\texpower@test{#1}% + \ifx\texpower@test\texpower@stopframefirst% + \let\next=\texpower@endfragilesteps% + \else + \ifx\texpower@test\@empty% + \else% + \@temptokena={#1}% + \immediate\write\texpower@verbatimfileout{\the\@temptokena}% + \fi% + \let\next=\texpower@processframeline% + \fi% + \next% + } + \long\gdef\texpower@processframeline#1^^M{% + \def\texpower@test{#1}% + \ifx\texpower@test\texpower@stopframe% + \let\next=\texpower@endfragilesteps% + \else + \immediate\write\texpower@verbatimfileout{#1}% + \fi% + \next% + } +} + +{ + \escapechar=-1\relax% + \xdef\texpower@stopframe{\string\\end\string\{fragilesteps\string\}} + \xdef\texpower@stopframefirst{\noexpand\end\string\{fragilesteps\string\}} +} + +\def\texpower@endfragilesteps{\endgroup\end{fragilesteps}} \InputIfFileExists{tpsettings.cfg}{}{} \endinput %% diff --git a/Master/texmf-dist/tex/latex/texpower/tpcolors.cfg b/Master/texmf-dist/tex/latex/texpower/tpcolors.cfg index cd28d055d03..b31297c86a1 100644 --- a/Master/texmf-dist/tex/latex/texpower/tpcolors.cfg +++ b/Master/texmf-dist/tex/latex/texpower/tpcolors.cfg @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License diff --git a/Master/texmf-dist/tex/latex/texpower/tplists.sty b/Master/texmf-dist/tex/latex/texpower/tplists.sty index 8b9212b7102..b27c575d933 100644 --- a/Master/texmf-dist/tex/latex/texpower/tplists.sty +++ b/Master/texmf-dist/tex/latex/texpower/tplists.sty @@ -4,11 +4,12 @@ %% %% The original source files were: %% -%% texpower-addons.dtx (with options: `tplists') +%% tplists.dtx (with options: `tplists') %% %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License @@ -24,111 +25,38 @@ %% The list of all files belonging to the TeXPower bundle is %% given in the file `00readme.txt'. %% -% =============================================================================== -% File: tplists.sty -% -% Function: The package provides dynamic lists. The following -% environments/lists are available -% 1) 'stepenum', 'stepitem', 'stepeqlist', 'stepcompactenum' -% 'stepcompactitem' and 'stepcompacteqlist'. -% 2) 'flipenum', 'flipitem', 'flipeqlist', 'flipcompactenum', -% 'flipcompactitem', and 'flipcompacteqlist' -% 3) 'dimenum', 'dimitem', 'dimeqlist', 'dimcompactenum', -% 'dimcompactitem', and 'dimcompacteqlist' -% where 'step' is short for stepped, 'flip' for flipped and -% 'dim' for dimmed. The packages 'paralist' and 'eqlist' -% must be loaded before this package to use the *eqlist and -% *compact* lists. -% -% Usage: The package is loaded in the normal fashion, eg: -% \usepackage{tplists} -% The following options exist: -% pausestep - makes step* lists use \pause -% The package works better (the lists look better) if TeXPower -% uses colors. -% -% All lists (except *eqlist) takes an optional parameter -% adding to the indent of the list. Note that dim* and -% flip* lists do not nest, and that step* lists inside -% dim*/flip* will behave as a dim*/flip* list respectively. -% -% Example: -% -% \documentclass[a4paper]{article} -% \usepackage[darkbackground,display]{texpower} -% \usepackage{tplists} -% \begin{document} -% \begin{flipitem}[2cm] -% \item Before -% \begin{enumerate}[1cm] -% \item An item -% \item Another item -% \end{enumerate} -% \item After -% \end{flipitem} -% \end{document} -% -% (The normal 'itemize' and 'enumerate' lists are modified -% so they accept the optional parameter and work nested -% with the new lists.) -% -% Issues: The step* lists use \vstep (as default) which give weird results with -% structured backgrounds. Using the pausestep option fixes this, but then -% you can't nest step* lists inside dim* or flip* lists. -% There are also some unresolved problems when using french babel. -% -% History: 2003/10/03 v0.1: -% * first public release -% 2003/10/04 v0.1a: -% * removed redefinition of eqlist (since it doesn't work) -% 2003/10/07 v0.1b: -% * corrected some typos in this documentation -% * added option pausestep -% * made dim* (and all variants of flip*) lists work without -% colors by using boldface for active items. -% - +%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{tplists}% - [2003/10/07 v0.1b Dynamic Lists using TeXPower] - -%% Packages +\ProvidesPackage{tplists} + [2005/04/07 v0.2 Easy Dynamic Lists using TeXPower] \RequirePackage{texpower} -% Compact enum/item. \newboolean{tpl@paralist} \@ifpackageloaded{paralist}{\setboolean{tpl@paralist}{true}}{} -% Lists with equal indentation. \newboolean{tpl@eqlist} \@ifpackageloaded{eqlist}{\setboolean{tpl@eqlist}{true}}{} - -%% Options -% Use \pause for steplists (too avoid problems with structured backgrounds). \newboolean{tpl@pausestep} \DeclareOption{pausestep}{\setboolean{tpl@pausestep}{true}} +\newboolean{tpl@noflipendstep} +\DeclareOption{noflipendstep}{\setboolean{tpl@noflipendstep}{true}} \ProcessOptions - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% % -% Flipped/dimmed/stepped itemize/enumerate/eqlist environment. % -% % -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -% '\iftpl@instepenv' indicates if we are in some kind of stepped list -% environment. '\iftpl@indimenv' / '\tpl@inflipenv' indicates that we are -% using one of the stepwise environments from texpower (that doesn't -% nest). '\iftpl@inpausestepenv' indicates that we are in a stepped -% list that uses \pause. - -% using 'tpl@' as prefix for internals. +\define@key{tpl}{pausestep}[true]{% + \setboolean{tpl@pausestep}{#1} +} +\define@key{tpl}{noflipendstep}[true]{% + \setboolean{tpl@noflipendstep}{#1} +} +\newcommand*{\tplsetup}{\setkeys{tpl}} \newif\iftpl@instepenv \tpl@instepenvfalse \newif\iftpl@inpausestepenv \tpl@inpausestepenvfalse \newif\iftpl@indimenv \tpl@indimenvfalse \newif\iftpl@inflipenv \tpl@inflipenvfalse \let\oldenumerate=\enumerate \let\olditemize=\itemize +\let\olddescription=\description \let\endoldenumerate=\endenumerate \let\endolditemize=\enditemize +\let\endolddescription=\enddescription \ifthenelse{\boolean{tpl@eqlist}}{% \let\oldeqlist=\eqlist \let\endoldeqlist=\endeqlist @@ -139,10 +67,6 @@ \let\endoldcompactenum=\endcompactenum \let\endoldcompactitem=\endcompactitem }{} - -%%% Defining \tpl@collect@body - command used to scan the list -%%% environments. Definition borrowed from 'amsmath.sty' - slightly -%%% modified to allow for 'long' arguments \let\tpl@nx\noexpand \let\tpl@xp\expandafter \newtoks\tpl@emptytoks @@ -171,56 +95,57 @@ \fi \tpl@process@envbody } - -%%% Defining command '\tpl@addmargin' used to add a length to -%%% the leftmargin of the current level in a list. \def\tpl@addmargin#1{% \advance\@listdepth 1 \addtolength{\csname leftmargin\romannumeral\@listdepth\endcsname}{#1} \advance\@listdepth -1 } -%%% Defining a flipped step command. +\ifthenelse{\boolean{display}}{% \ifthenelse{\boolean{TPcolor}}% Can we use colors? {% Yes. In this case highlighting is implemented by switching color. - \def\tpl@flipstep% Note that \tpl@flipstep takes no argument. - {% + \def\tpl@flipstep{% \step{\ifthenelse{\boolean{firstactivation}}% {\color{textcolor}}% {\color{inactivecolor}}% }% - }% + }% } {% No. In this case highlighting is implemented by putting the item in boldface. - \def\tpl@flipstep - {% - \step{\ifthenelse{\boolean{firstactivation}}% - {\bfseries}{\mdseries}} - }% - } - -%%% Defining a dimmed step command. + \def\tpl@flipstep{% + \step{\ifthenelse{\boolean{firstactivation}}{\bfseries}{\mdseries}} + }% +} \ifthenelse{\boolean{TPcolor}}% Can we use colors? {% Yes. In this case highlighting is implemented by using \dstep - \def\tpl@dimstep% Note that \tpl@flipstep takes no argument. - {% - \dstep - }% + \def\tpl@dimstep{\dstep}% } {% No. In this case highlighting is implemented by putting the item in boldface. - \def\tpl@dimstep - {% - \step{\bfseries} + \def\tpl@dimstep{% + \step{\bfseries}% \ifthenelse{\boolean{active}}{}{\mdseries}% - }% - } - -%%% Defining flipped stepped - itemize / enumerate / eqlist -%%% compact itemize / compact enumerate / compact eqlist - environments. + }% +} +\ifthenelse{\boolean{TPcolor}}% Can we use colors? +{% Yes. In this case stepping is implemented by using \vstep + \def\tpl@step{\vstep}% +} +{% No. In this case stepping is implemented using \pause + \def\tpl@step{\pause}% +} +}{% \boolean{display} is false +\def\tpl@flipstep{\relax}% +\def\tpl@dimstep{\relax}% +\def\tpl@step{\relax}% +} \newenvironment{flipitem}[1][0cm]{% \tpl@addmargin{#1} \tpl@collect@body\@flipitem}% {\global\@ignoretrue} +\newenvironment{flipdesc}[1][0cm]{% + \tpl@addmargin{#1} + \tpl@collect@body\@flipdesc}% + {\global\@ignoretrue} \newenvironment{flipenum}[1][0cm]{% \tpl@addmargin{#1} \tpl@collect@body\@flipenum}% @@ -267,13 +192,15 @@ \tpl@inflipenvtrue \renewcommand{\item}{\tpl@flipstep\tpl@origitem}% #2 - \step{} + \ifthenelse{\boolean{tpl@noflipendstep}}{}{\step{}}% \end{#1}} \fi\fi } \newcommand\@flipitem[1]{% \@fliplist{olditemize}{#1}} +\newcommand\@flipdesc[1]{% + \@fliplist{olddescription}{#1}} \newcommand\@flipenum[1]{% \@fliplist{oldenumerate}{#1}} \ifthenelse{\boolean{tpl@eqlist}}{% @@ -288,13 +215,14 @@ \newcommand\@flipcompactenum[1]{% \@fliplist{oldcompactenum}{#1}} }{} - -%%% Defining dimmed stepped - itemize / enumerate / eqlist / -%%% compact itemize / compact enumerate / compact eqlist - environments. \newenvironment{dimitem}[1][0cm]{% \tpl@addmargin{#1} \tpl@collect@body\@dimitem}% {\global\@ignoretrue} +\newenvironment{dimdesc}[1][0cm]{% + \tpl@addmargin{#1} + \tpl@collect@body\@dimdesc}% + {\global\@ignoretrue} \newenvironment{dimenum}[1][0cm]{% \tpl@addmargin{#1} \tpl@collect@body\@dimenum}% @@ -346,6 +274,8 @@ \newcommand\@dimitem[1]{% \@dimlist{olditemize}{#1}} +\newcommand\@dimdesc[1]{% + \@dimlist{olddescription}{#1}} \newcommand\@dimenum[1]{% \@dimlist{oldenumerate}{#1}} \ifthenelse{\boolean{tpl@eqlist}}{% @@ -360,13 +290,14 @@ \newcommand\@dimcompactenum[1]{% \@dimlist{oldcompactenum}{#1}} }{} - -%%% Defining stepped - itemize / enumerate / eqlist / -%%% compact itemize / compact enumerate / compact eqlist - environments. \newenvironment{stepitem}[1][0cm]{% \tpl@addmargin{#1} \tpl@collect@body\@stepitem}% {\global\@ignoretrue} +\newenvironment{stepdesc}[1][0cm]{% + \tpl@addmargin{#1} + \tpl@collect@body\@stepdesc}% + {\global\@ignoretrue} \newenvironment{stepenum}[1][0cm]{% \tpl@addmargin{#1} \tpl@collect@body\@stepenum}% @@ -389,10 +320,8 @@ \tpl@collect@body\@stepcompactenum}% {\global\@ignoretrue} }{} - -\ifthenelse{\boolean{tpl@pausestep}}{% -% Using \pause for step* lists \newcommand\@steplist[2]{% +\ifthenelse{\boolean{tpl@pausestep}}{% \iftpl@inflipenv \PackageError{tplists}{% flip* followed by step* environment does NOT work \MessageBreak @@ -413,10 +342,7 @@ #2 \end{#1} \fi\fi -} }{ -% Using \liststepwise for step* lists -\newcommand\@steplist[2]{% \iftpl@inflipenv \begin{#1} \renewcommand{\item}{\tpl@flipstep\tpl@origitem} @@ -429,7 +355,7 @@ \end{#1}% \else\iftpl@instepenv \begin{#1} - \renewcommand{\item}{\vstep\tpl@origitem}% + \renewcommand{\item}{\tpl@step\tpl@origitem}% #2 \end{#1}% \else @@ -437,7 +363,7 @@ \begin{#1} \iftpl@instepenv\else\let\tpl@origitem=\item\fi \tpl@instepenvtrue - \renewcommand{\item}{\vstep\tpl@origitem}% + \renewcommand{\item}{\tpl@step\tpl@origitem}% #2 \end{#1}} \fi\fi\fi @@ -446,6 +372,8 @@ \newcommand\@stepitem[1]{% \@steplist{olditemize}{#1}} +\newcommand\@stepdesc[1]{% + \@steplist{olddescription}{#1}} \newcommand\@stepenum[1]{% \@steplist{oldenumerate}{#1}} \ifthenelse{\boolean{tpl@eqlist}}{% @@ -460,16 +388,10 @@ \newcommand\@stepcompactenum[1]{% \@steplist{oldcompactenum}{#1}} }{} - -%%% Defining compact eqlist \newenvironment{compacteqlist}[1][0cm]{% % \tpl@addmargin{#1} \begin{eqlist}[\parsep0pt\itemsep0pt]}% {\end{eqlist}} - - -%%% Redefining enumerate and itemize to handle changes made by -%%% introducing steps and leftmargini-option. \renewenvironment{enumerate}[1][0cm]{% \tpl@addmargin{#1} \begin{oldenumerate} @@ -488,8 +410,14 @@ }% {\end{olditemize}} -%%% Redefining compactenum and compactitem to handle changes made by -%%% introducing steps and leftmargini-option. +\renewenvironment{description}[1][0cm]{% + % \tpl@addmargin{#1} % Has no effect - FIXME + \begin{olddescription} + \iftpl@instepenv + \renewcommand{\item}{\tpl@origitem}% + \fi + }% + {\end{olddescription}} \ifthenelse{\boolean{tpl@paralist}}{% \renewenvironment{compactenum}[1][0cm]{% \tpl@addmargin{#1} @@ -509,6 +437,7 @@ }% {\end{oldcompactitem}} }{} + \endinput %% %% End of file `tplists.sty'. diff --git a/Master/texmf-dist/tex/latex/texpower/tpoptions.cfg b/Master/texmf-dist/tex/latex/texpower/tpoptions.cfg index 96560a0998b..ed57865997f 100644 --- a/Master/texmf-dist/tex/latex/texpower/tpoptions.cfg +++ b/Master/texmf-dist/tex/latex/texpower/tpoptions.cfg @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License diff --git a/Master/texmf-dist/tex/latex/texpower/tppstcol.sty b/Master/texmf-dist/tex/latex/texpower/tppstcol.sty index 02da81b8ab3..1682926f0b4 100644 --- a/Master/texmf-dist/tex/latex/texpower/tppstcol.sty +++ b/Master/texmf-dist/tex/latex/texpower/tppstcol.sty @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License diff --git a/Master/texmf-dist/tex/latex/texpower/tpsem-a4.sty b/Master/texmf-dist/tex/latex/texpower/tpsem-a4.sty index 4753d98ad98..11080e7a7d6 100644 --- a/Master/texmf-dist/tex/latex/texpower/tpsem-a4.sty +++ b/Master/texmf-dist/tex/latex/texpower/tpsem-a4.sty @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License diff --git a/Master/texmf-dist/tex/latex/texpower/tpsettings.cfg b/Master/texmf-dist/tex/latex/texpower/tpsettings.cfg index 7beab25003c..e6f1e0b74e8 100644 --- a/Master/texmf-dist/tex/latex/texpower/tpsettings.cfg +++ b/Master/texmf-dist/tex/latex/texpower/tpsettings.cfg @@ -9,6 +9,7 @@ %% -------------------------------------------------------------- %% TeXPower bundle - dynamic online presentations with LaTeX %% Copyright (C) 1999-2004 Stephan Lehmke +%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License diff --git a/Master/texmf-dist/tpm/texpower.tpm b/Master/texmf-dist/tpm/texpower.tpm index 2fe710987c8..af6e76505d7 100644 --- a/Master/texmf-dist/tpm/texpower.tpm +++ b/Master/texmf-dist/tpm/texpower.tpm @@ -3,7 +3,7 @@ texpower Package - 2006/01/11 23:58:19 + 2007/05/22 17:41:43 rahtz @@ -27,10 +27,7 @@ pdfslide. 1976348 - -texmf-dist/metapost/texpower/fig-1.mps -texmf-dist/metapost/texpower/fig-2.mps -texmf-dist/metapost/texpower/fig-3.mps + texmf-dist/tex/latex/texpower/automata.sty texmf-dist/tex/latex/texpower/fixseminar.sty texmf-dist/tex/latex/texpower/powersem.cls @@ -43,11 +40,12 @@ texmf-dist/tex/latex/texpower/tpsem-a4.sty texmf-dist/tex/latex/texpower/tpsettings.cfg texmf-dist/tpm/texpower.tpm - -texmf-dist/doc/latex/texpower/00readme.txt + texmf-dist/doc/latex/texpower/01install.txt +texmf-dist/doc/latex/texpower/02changes.txt texmf-dist/doc/latex/texpower/FAQ-display.tex texmf-dist/doc/latex/texpower/FAQ-printout.tex +texmf-dist/doc/latex/texpower/MakeExamples.sh texmf-dist/doc/latex/texpower/__TPcfg.tex texmf-dist/doc/latex/texpower/__TPindexing.tex texmf-dist/doc/latex/texpower/__TPpreamble.tex @@ -57,7 +55,11 @@ texmf-dist/doc/latex/texpower/contrib/00readme.txt texmf-dist/doc/latex/texpower/contrib/config.landscapeplus texmf-dist/doc/latex/texpower/contrib/tpmultiinc.tar texmf-dist/doc/latex/texpower/divexample.tex -texmf-dist/doc/latex/texpower/fancystep.tex +texmf-dist/doc/latex/texpower/dummy.java +texmf-dist/doc/latex/texpower/fancyexample.tex +texmf-dist/doc/latex/texpower/fig-1.mps +texmf-dist/doc/latex/texpower/fig-2.mps +texmf-dist/doc/latex/texpower/fig-3.mps texmf-dist/doc/latex/texpower/foilsdemo.tex texmf-dist/doc/latex/texpower/fulldemo.tex texmf-dist/doc/latex/texpower/hilitexample.tex @@ -79,15 +81,16 @@ texmf-dist/doc/latex/texpower/simpledemo.tex texmf-dist/doc/latex/texpower/slidesdemo.tex texmf-dist/doc/latex/texpower/spanelexample.tex texmf-dist/doc/latex/texpower/tabexample.tex +texmf-dist/doc/latex/texpower/tpslifonts.zip texmf-dist/doc/latex/texpower/tpslifonts/00readme.txt texmf-dist/doc/latex/texpower/tpslifonts/01install.txt texmf-dist/doc/latex/texpower/tpslifonts/Makefile texmf-dist/doc/latex/texpower/tpslifonts/slifontsexample.tex texmf-dist/doc/latex/texpower/tpslifonts/tpslifonts.dtx texmf-dist/doc/latex/texpower/tpslifonts/tpslifonts.ins -texmf-dist/doc/latex/texpower/tpslifonts/tpslifonts.pdf +texmf-dist/doc/latex/texpower/verbexample.tex - + texmf-dist/source/latex/texpower/Makefile texmf-dist/source/latex/texpower/powersem.dtx texmf-dist/source/latex/texpower/texpower-addons.dtx @@ -95,6 +98,7 @@ texmf-dist/source/latex/texpower/texpower-cfg.dtx texmf-dist/source/latex/texpower/texpower-doc.dtx texmf-dist/source/latex/texpower/texpower.dtx texmf-dist/source/latex/texpower/tpbundle.ins +texmf-dist/source/latex/texpower/tplists.dtx diff --git a/Master/texmf/lists/texpower b/Master/texmf/lists/texpower index b8b283255df..22e41947d9f 100644 --- a/Master/texmf/lists/texpower +++ b/Master/texmf/lists/texpower @@ -1,8 +1,9 @@ +tpslifonts -texmf-dist/doc/latex/texpower/00readme.txt texmf-dist/doc/latex/texpower/01install.txt +texmf-dist/doc/latex/texpower/02changes.txt texmf-dist/doc/latex/texpower/FAQ-display.tex texmf-dist/doc/latex/texpower/FAQ-printout.tex +texmf-dist/doc/latex/texpower/MakeExamples.sh texmf-dist/doc/latex/texpower/__TPcfg.tex texmf-dist/doc/latex/texpower/__TPindexing.tex texmf-dist/doc/latex/texpower/__TPpreamble.tex @@ -12,7 +13,11 @@ texmf-dist/doc/latex/texpower/contrib/00readme.txt texmf-dist/doc/latex/texpower/contrib/config.landscapeplus texmf-dist/doc/latex/texpower/contrib/tpmultiinc.tar texmf-dist/doc/latex/texpower/divexample.tex -texmf-dist/doc/latex/texpower/fancystep.tex +texmf-dist/doc/latex/texpower/dummy.java +texmf-dist/doc/latex/texpower/fancyexample.tex +texmf-dist/doc/latex/texpower/fig-1.mps +texmf-dist/doc/latex/texpower/fig-2.mps +texmf-dist/doc/latex/texpower/fig-3.mps texmf-dist/doc/latex/texpower/foilsdemo.tex texmf-dist/doc/latex/texpower/fulldemo.tex texmf-dist/doc/latex/texpower/hilitexample.tex @@ -34,13 +39,14 @@ texmf-dist/doc/latex/texpower/simpledemo.tex texmf-dist/doc/latex/texpower/slidesdemo.tex texmf-dist/doc/latex/texpower/spanelexample.tex texmf-dist/doc/latex/texpower/tabexample.tex +texmf-dist/doc/latex/texpower/tpslifonts.zip texmf-dist/doc/latex/texpower/tpslifonts/00readme.txt texmf-dist/doc/latex/texpower/tpslifonts/01install.txt texmf-dist/doc/latex/texpower/tpslifonts/Makefile texmf-dist/doc/latex/texpower/tpslifonts/slifontsexample.tex texmf-dist/doc/latex/texpower/tpslifonts/tpslifonts.dtx texmf-dist/doc/latex/texpower/tpslifonts/tpslifonts.ins -texmf-dist/doc/latex/texpower/tpslifonts/tpslifonts.pdf +texmf-dist/doc/latex/texpower/verbexample.tex texmf-dist/source/latex/texpower/Makefile texmf-dist/source/latex/texpower/powersem.dtx texmf-dist/source/latex/texpower/texpower-addons.dtx @@ -48,9 +54,7 @@ texmf-dist/source/latex/texpower/texpower-cfg.dtx texmf-dist/source/latex/texpower/texpower-doc.dtx texmf-dist/source/latex/texpower/texpower.dtx texmf-dist/source/latex/texpower/tpbundle.ins -texmf-dist/metapost/texpower/fig-1.mps -texmf-dist/metapost/texpower/fig-2.mps -texmf-dist/metapost/texpower/fig-3.mps +texmf-dist/source/latex/texpower/tplists.dtx texmf-dist/tex/latex/texpower/automata.sty texmf-dist/tex/latex/texpower/fixseminar.sty texmf-dist/tex/latex/texpower/powersem.cls -- cgit v1.2.3