[GRASS-SVN] r41896 - in grass-addons/grassflyer/flyer1: . pl

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Apr 17 02:41:12 EDT 2010


Author: neteler
Date: 2010-04-17 02:41:09 -0400 (Sat, 17 Apr 2010)
New Revision: 41896

Added:
   grass-addons/grassflyer/flyer1/pl/
   grass-addons/grassflyer/flyer1/pl/Makefile
   grass-addons/grassflyer/flyer1/pl/caption.sty
   grass-addons/grassflyer/flyer1/pl/grassflyer.tex
   grass-addons/grassflyer/flyer1/pl/leaflet.cls
   grass-addons/grassflyer/flyer1/pl/pix/
Log:
Milena Nowotarska: new PL translation

Added: grass-addons/grassflyer/flyer1/pl/Makefile
===================================================================
--- grass-addons/grassflyer/flyer1/pl/Makefile	                        (rev 0)
+++ grass-addons/grassflyer/flyer1/pl/Makefile	2010-04-17 06:41:09 UTC (rev 41896)
@@ -0,0 +1,19 @@
+vectoreps := $(wildcard *.eps)
+vectorfinal := $(patsubst %.eps,%.pdf,$(vectoreps))
+
+default: grassflyer.pdf
+
+$(vectorfinal): $(vectoreps)
+	eps2eps -sOutputFile=- $< | epstopdf -f 
+
+%.pdf: %.tex
+	pdflatex $<
+	pdflatex $<
+
+clean:
+	rm -f *.aux *.log *.out 
+
+distclean: clean
+	rm -f *.pdf
+
+.PHONY: clean distclean default


Property changes on: grass-addons/grassflyer/flyer1/pl/Makefile
___________________________________________________________________
Added: svn:eol-style
   + native

Added: grass-addons/grassflyer/flyer1/pl/caption.sty
===================================================================
--- grass-addons/grassflyer/flyer1/pl/caption.sty	                        (rev 0)
+++ grass-addons/grassflyer/flyer1/pl/caption.sty	2010-04-17 06:41:09 UTC (rev 41896)
@@ -0,0 +1,688 @@
+%%
+%% This is file `caption.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% caption.dtx  (with options: `package')
+%% 
+%% Copyright (C) 1994-2004 Axel Sommerfeldt (caption at sommerfeldt.net)
+%% 
+%% --------------------------------------------------------------------------
+%% 
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%%   http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%% 
+%% This work has the LPPL maintenance status "maintained".
+%% 
+%% This Current Maintainer of this work is Axel Sommerfeldt.
+%% 
+%% This work consists of the files caption.ins, caption.dtx,
+%% caption2.dtx, caption.xml, and anleitung.tex and the derived files
+%% caption.sty, caption2.sty, and manual.tex.
+%% 
+\NeedsTeXFormat{LaTeX2e}[1994/12/01]
+\ProvidesPackage{caption}[2004/07/16 v3.0c Customising captions (AS)]
+\providecommand*\@nameundef[1]{%
+  \expandafter\let\csname #1\endcsname\@undefined}
+\providecommand\l at addto@macro[2]{%
+  \begingroup
+    \toks@\expandafter{#1#2}%
+    \edef\@tempa{\endgroup\def\noexpand#1{\the\toks@}}%
+  \@tempa}
+\def\bothIfFirst#1#2{%
+  \protected at edef\caption at tempa{#1}%
+  \ifx\caption at tempa\@empty\else
+    #1#2%
+  \fi}
+\def\bothIfSecond#1#2{%
+  \protected at edef\caption at tempa{#2}%
+  \ifx\caption at tempa\@empty\else
+    #1#2%
+  \fi}
+\def\caption at ifinlist#1#2{%
+  \let\next\@secondoftwo
+  \edef\caption at tempa{#1}%
+  \@for\caption at tempb:={#2}\do{%
+    \ifx\caption at tempa\caption at tempb
+      \let\next\@firstoftwo
+    \fi}%
+  \next}
+\def\caption at setbool#1#2{%
+  \caption at ifinlist{#2}{1,true,yes,on}{%
+    \expandafter\let\csname caption at if#1\endcsname\@firstoftwo
+  }{\caption at ifinlist{#2}{0,false,no,off}{%
+    \expandafter\let\csname caption at if#1\endcsname\@secondoftwo
+  }{%
+    \PackageError{caption}{Undefined boolean value `#2'}{\caption at eh}%
+  }}}
+\def\caption at ifbool#1{\@nameuse{caption at if#1}}
+\providecommand\captionsize{}%  changed v3.0a+c
+\newdimen\captionmargin
+\newdimen\captionwidth
+\newif\ifcaption at width
+\newcommand\caption at setmargin{%
+  \caption at widthfalse
+  \setlength\captionmargin}
+\newcommand\caption at setwidth{%
+  \caption at widthtrue
+  \setlength\captionwidth}
+\newdimen\captionindent
+\newdimen\captionparindent
+\newdimen\captionhangindent
+\newif\ifcaption at star
+\@ifundefined{abovecaptionskip}{%
+  \newlength\abovecaptionskip\setlength\abovecaptionskip{10\p@}}{}
+\@ifundefined{belowcaptionskip}{%
+  \newlength\belowcaptionskip\setlength\belowcaptionskip{0\p@}}{}
+\newcommand\caption at eh{%
+  If you do not understand this error, please take a closer look\MessageBreak
+  at the documentation of the `caption' package.\MessageBreak
+  \@ehc}
+\RequirePackage{keyval}[1997/11/10]
+\providecommand*\undefine at key[2]{%
+  \@nameundef{KV@#1@#2}\@nameundef{KV@#1@#2 at default}}
+\newcommand\caption at setdefault{\captionsetup{%
+  format=default,labelformat=default,labelsep=default,justification=default,%
+  font=default,labelfont=default,textfont=default,%
+  margin=0pt,indention=0pt,parindent=0pt,hangindent=0pt,singlelinecheck}}
+\newcommand*\DeclareCaptionStyle[1]{%
+  \@ifnextchar[{\caption at declarestyle{#1}}{\caption at declarestyle{#1}[]}}
+\def\caption at declarestyle#1[#2]#3{%  bugfixed v3.0a
+  \global\@namedef{caption at sls@#1}{#2}%
+  \global\@namedef{caption at sty@#1}{#3}}
+\@onlypreamble\DeclareCaptionStyle
+\@onlypreamble\caption at declarestyle
+\newcommand*\caption at setstyle[1]{%
+  \@ifundefined{caption at sty@#1}%
+    {\PackageError{caption}{Undefined caption style `#1'}{\caption at eh}}%
+    {\expandafter\let\expandafter\caption at sls\csname caption at sls@#1\endcsname
+     \caption at setdefault\caption at esetup{\csname caption at sty@#1\endcsname}}}
+\DeclareCaptionStyle{default}[justification=centering]{}
+\newcommand\DeclareCaptionFormat[2]{%  bugfixed v3.0a
+  \global\long\expandafter\def\csname caption at fmt@#1\endcsname##1##2##3{#2}}
+\@onlypreamble\DeclareCaptionFormat
+\newcommand*\caption at setformat[1]{%
+  \@ifundefined{caption at fmt@#1}%
+    {\PackageError{caption}{Undefined caption format `#1'}{\caption at eh}}%
+    {\expandafter\let\expandafter\caption at fmt\csname caption at fmt@#1\endcsname}}
+\DeclareCaptionFormat{normal}{#1#2#3\par}
+\DeclareCaptionFormat{hang}{%
+  \@hangfrom{#1#2}%
+  \advance\captionparindent\hangindent
+  \advance\captionhangindent\hangindent
+  \caption@@par
+  #3\par}
+\def\caption at fmt@default{\caption at fmt@normal}
+\newcommand*\DeclareCaptionLabelFormat[2]{%  bugfixed v3.0a
+  \global\expandafter\def\csname caption at lfmt@#1\endcsname##1##2{#2}}
+\@onlypreamble\DeclareCaptionLabelFormat
+\newcommand*\caption at setlabelformat[1]{%
+  \@ifundefined{caption at lfmt@#1}%
+    {\PackageError{caption}{Undefined caption label format `#1'}{\caption at eh}}%
+    {\expandafter\let\expandafter\caption at lfmt\csname caption at lfmt@#1\endcsname}}
+\DeclareCaptionLabelFormat{empty}{}
+\DeclareCaptionLabelFormat{simple}{\bothIfFirst{#1}{\nobreakspace}#2}
+\DeclareCaptionLabelFormat{parens}{\bothIfFirst{#1}{\nobreakspace}(#2)}
+\def\caption at lfmt@default{\caption at lfmt@simple}
+\newcommand\DeclareCaptionLabelSeparator[2]{%  bugfixed v3.0a
+  \global\long\@namedef{caption at lsep@#1}{#2}}
+\@onlypreamble\DeclareCaptionLabelSeparator
+\newcommand*\caption at setlabelseparator[1]{%
+  \@ifundefined{caption at lsep@#1}%
+    {\PackageError{caption}{Undefined caption label separator `#1'}{\caption at eh}}%
+    {\expandafter\let\expandafter\caption at lsep\csname caption at lsep@#1\endcsname}}
+\DeclareCaptionLabelSeparator{none}{}
+\DeclareCaptionLabelSeparator{colon}{: }
+\DeclareCaptionLabelSeparator{period}{. }
+\DeclareCaptionLabelSeparator{space}{ }
+\DeclareCaptionLabelSeparator{quad}{\quad}
+\DeclareCaptionLabelSeparator{newline}{\newline}
+\DeclareCaptionLabelSeparator{widespace}{\hspace{1em plus .3em}}%  obsolete, do not use!
+\def\caption at lsep@default{\caption at lsep@colon}
+\newcommand*\DeclareCaptionJustification[2]{%  bugfixed v3.0a
+  \global\@namedef{caption at hj@#1}{#2}}
+\@onlypreamble\DeclareCaptionJustification
+\newcommand*\caption at setjustification[1]{%
+  \@ifundefined{caption at hj@#1}%
+    {\PackageError{caption}{Undefined caption justification `#1'}{\caption at eh}}%
+    {\expandafter\let\expandafter\caption at hj\csname caption at hj@#1\endcsname}}
+\newcommand\caption at centerfirst{%
+  \edef\caption at normaladjust{%
+    \leftskip\the\leftskip
+    \rightskip\the\rightskip
+    \parfillskip\the\parfillskip\relax}%
+  \leftskip\z@\@plus -1fil%
+  \rightskip\z@\@plus 1fil%
+  \parfillskip\z at skip
+  \noindent\hskip\z@\@plus 2fil%
+  \@setpar{\@@par\@restorepar\caption at normaladjust}}
+\newcommand\caption at centerlast{%
+  \leftskip\z@\@plus 1fil%
+  \rightskip\z@\@plus -1fil%
+  \parfillskip\z@\@plus 2fil\relax}
+\DeclareCaptionJustification{justified}{}
+\DeclareCaptionJustification{centering}{\centering}
+\DeclareCaptionJustification{centerfirst}{\caption at centerfirst}
+\DeclareCaptionJustification{centerlast}{\caption at centerlast}
+\DeclareCaptionJustification{raggedleft}{\raggedleft}
+\DeclareCaptionJustification{raggedright}{\raggedright}
+\def\caption at hj@default{\caption at hj@justified}
+\DeclareCaptionJustification{Centering}{%
+  \caption at ragged\Centering\centering}
+\DeclareCaptionJustification{RaggedLeft}{%
+  \caption at ragged\RaggedLeft\raggedleft}
+\DeclareCaptionJustification{RaggedRight}{%
+  \caption at ragged\RaggedRight\raggedright}
+\newcommand*\caption at ragged[2]{%
+  \@ifundefined{caption\string#1}{%
+    \PackageWarning{caption}{%
+      Cannot locate the `ragged2e' package, therefore\MessageBreak
+      substituting \string#2 for \string#1\MessageBreak}%
+    \global\@namedef{caption\string#1}}{}%
+  #2}
+\AtBeginDocument{\IfFileExists{ragged2e.sty}{%
+  \RequirePackage{ragged2e}\let\caption at ragged\@firstoftwo}{}}
+\newcommand\DeclareCaptionFont[2]{%  bugfixed v3.0a
+  \define at key{caption at fnt}{#1}[]{\g at addto@macro\caption at tempa{#2}}}
+\@onlypreamble\DeclareCaptionFont
+\newcommand*\caption at setfont[2]{%
+  \let\caption at tempa\@empty
+  \begingroup
+    \setkeys{caption at fnt}{#2}%
+  \endgroup
+  \expandafter\let\csname caption#1\endcsname\caption at tempa}
+\DeclareCaptionFont{default}{}
+\DeclareCaptionFont{scriptsize}{\scriptsize}
+\DeclareCaptionFont{footnotesize}{\footnotesize}
+\DeclareCaptionFont{small}{\small}
+\DeclareCaptionFont{normalsize}{\normalsize}
+\DeclareCaptionFont{large}{\large}
+\DeclareCaptionFont{Large}{\Large}
+\DeclareCaptionFont{up}{\upshape}
+\DeclareCaptionFont{it}{\itshape}
+\DeclareCaptionFont{sl}{\slshape}
+\DeclareCaptionFont{sc}{\scshape}
+\DeclareCaptionFont{md}{\mdseries}
+\DeclareCaptionFont{bf}{\bfseries}
+\DeclareCaptionFont{rm}{\rmfamily}
+\DeclareCaptionFont{sf}{\sffamily}
+\DeclareCaptionFont{tt}{\ttfamily}
+\newcommand*\caption at setposition[1]{%  improved v3.0a
+  \caption at ifinlist{#1}{t,top,above}{%
+    \let\caption at position\@firstoftwo
+  }{\caption at ifinlist{#1}{b,bottom,below,default}{%
+    \let\caption at position\@secondoftwo
+  }{\caption at ifinlist{#1}{a,auto}{%
+    \let\caption at position\@undefined
+  }{%
+    \PackageError{caption}{Undefined caption position `#1'}{\caption at eh}%
+  }}}}
+\def\captionsetup{\@ifnextchar[\caption at setuptype\caption at setup}
+\def\caption at setuptype[#1]#2{%  bugfixed v3.0a
+  \@ifundefined{caption at typ@#1}%
+    {\@namedef{caption at typ@#1}{#2}}%
+    {\expandafter\l at addto@macro\csname caption at typ@#1\endcsname{,#2}}}
+\def\caption at setup{\setkeys{caption}}
+\def\caption at esetup#1{%
+  \edef\caption at tempa{\noexpand\caption at setup{#1}}%
+  \caption at tempa}
+\def\caption at settype#1{%
+  \@ifundefined{caption at typ@#1}{}{%
+    \caption at esetup{\csname caption at typ@#1\endcsname}}}%
+\let\caption at setfloattype\caption at settype%  new v3.0a
+\newcommand*\clearcaptionsetup[1]{\@nameundef{caption at typ@#1}}
+\newcommand*\showcaptionsetup[2][]{%
+  \def\caption at tempa{#1}%
+  \ifx\caption at tempa\@empty
+    \def\caption at tempa{Caption\space}%
+  \else
+    \def\caption at tempa{#1 Caption\space}%
+  \fi
+  \GenericWarning{\caption at tempa}{%
+    \caption at tempa Info: KV list on `#2'\MessageBreak
+    Data: (%
+    \@ifundefined{caption at typ@#2}{%
+      % Empty -- print nothing.
+    }{%
+      \@nameuse{caption at typ@#2}%
+    }%
+    )}}
+\newcommand\caption at beginhook{}
+\newcommand\caption at endhook{}
+\newcommand\AtBeginCaption{\l at addto@macro\caption at beginhook}
+\newcommand\AtEndCaption{\l at addto@macro\caption at endhook}
+\newcommand\DeclareCaptionOption{%
+  \@ifstar{\caption at declareoption\AtEndOfPackage}{\caption at declareoption\@gobble}}
+\newcommand*\caption at declareoption[2]{%
+  #1{\undefine at key{caption}{#2}}\define at key{caption}{#2}}
+\@onlypreamble\DeclareCaptionOption
+\@onlypreamble\caption at declareoption
+\DeclareCaptionOption{default}[]{%
+  \caption at setup{style=default,position=default,aboveskip=10pt,belowskip=0pt}}
+\DeclareCaptionOption{style}{\caption at setstyle{#1}}
+\DeclareCaptionOption{format}{\caption at setformat{#1}}
+\DeclareCaptionOption{labelformat}{\caption at setlabelformat{#1}}
+\DeclareCaptionOption{labelsep}{\caption at setlabelseparator{#1}}
+\DeclareCaptionOption{labelseparator}{\caption at setlabelseparator{#1}}
+\DeclareCaptionOption{justification}{\caption at setjustification{#1}}
+\DeclareCaptionOption{size}{\caption at setfont{size}{#1}}% changed v3.0a
+\DeclareCaptionOption{font}{\caption at setfont{font}{#1}}
+\DeclareCaptionOption{labelfont}{\caption at setfont{labelfont}{#1}}
+\DeclareCaptionOption{textfont}{\caption at setfont{textfont}{#1}}
+\DeclareCaptionOption{margin}{\caption at setmargin{#1}}
+\DeclareCaptionOption{width}{\caption at setwidth{#1}}
+\DeclareCaptionOption{indent}[\leftmargini]{\setlength\captionindent{#1}}
+\DeclareCaptionOption{indention}[\leftmargini]{\setlength\captionindent{#1}}
+\DeclareCaptionOption{parindent}[\parindent]{\setlength\captionparindent{#1}}% changed v3.0b
+\DeclareCaptionOption{hangindent}[0pt]{\setlength\captionhangindent{#1}}% changed v3.0b
+\DeclareCaptionOption{parskip}[5pt]{\AtBeginCaption{\setlength\parskip{#1}}}
+\DeclareCaptionOption{singlelinecheck}[1]{\caption at setbool{slc}{#1}}
+\DeclareCaptionOption{aboveskip}{\setlength\abovecaptionskip{#1}}
+\DeclareCaptionOption{belowskip}{\setlength\belowcaptionskip{#1}}
+\DeclareCaptionOption{position}{\caption at setposition{#1}}
+\DeclareCaptionOption{listof}{\caption at setbool{lof}{#1}}% new v3.0b
+\DeclareCaptionOption{debug}{\def\caption at debug{#1}}
+\captionsetup{style=default,position=default,listof=1,debug=0}
+\newcommand\caption at fixposition{%
+  \ifx\caption at position\@undefined
+    \caption at autoposition
+  \fi}
+\newcommand\caption at autoposition{% bugfixed v3.0a
+  \ifvmode
+    \ifodd\caption at debug\relax
+      \edef\caption at tempa{\the\prevdepth}%
+      \PackageInfo{caption}{\protect\prevdepth=\caption at tempa}%
+    \fi
+    \ifdim\prevdepth>-\p@
+      \let\caption at position\@secondoftwo
+    \else
+      \let\caption at position\@firstoftwo
+    \fi
+  \else
+    \ifodd\caption at debug\relax
+      \PackageInfo{caption}{no \protect\prevdepth}%
+    \fi
+    \let\caption at position\@secondoftwo
+  \fi}
+\newcommand\caption at iftop{% bugfixed v3.0a
+  \ifx\caption at position\@firstoftwo
+    \expandafter\@firstoftwo
+  \else
+    \expandafter\@secondoftwo
+  \fi}
+\newcommand\caption at make[2]{%
+  \caption@@make{\caption at lfmt{#1}{#2}}}
+\newcommand\caption@@make[2]{%
+  \caption at beginhook
+  \caption at calcmargin
+  \advance\captionmargin by \captionindent
+  \advance\captionwidth by -\captionindent
+  \hskip\captionmargin
+  \vbox{\hsize=\captionwidth
+    \ifdim\captionindent=\z@\else
+      \hskip-\captionindent
+    \fi
+    \caption at ifslc{%
+      \ifx\caption at sls\@empty\else
+        \caption at beginslc
+        \sbox\@tempboxa{\caption@@@make{#1}{#2}}%
+        \ifdim\wd\@tempboxa >\hsize
+          \caption at endslc
+        \else
+          \caption at endslc
+          \caption at esetup\caption at sls
+        \fi
+      \fi}{}%
+    \captionsize\captionfont\strut
+    \caption@@@make{#1}{#2}}%
+  \caption at endhook
+  \global\caption at starfalse}
+\newcommand\caption at calcmargin{%
+  \ifcaption at width
+    \captionmargin\hsize
+    \advance\captionmargin by -\captionwidth
+    \divide\captionmargin by 2
+  \else
+    \captionwidth\hsize
+    \advance\captionwidth by -2\captionmargin
+  \fi
+  \ifodd\caption at debug\relax
+    \PackageInfo{caption}{\protect\hsize=\the\hsize,
+      \protect\margin=\the\captionmargin,
+      \protect\width=\the\captionwidth}%
+  \fi}
+\newcommand\caption at beginslc{%
+  \begingroup
+  \let\label\@gobble\let\@footnotetext\@gobble
+  \def\stepcounter##1{\advance\csname c@##1\endcsname\@ne\relax}}
+\newcommand\caption at endslc{%
+  \endgroup}
+\newcommand\caption@@@make[2]{%
+  \ifcaption at star
+    \let\caption at lfmt\@gobbletwo
+    \let\caption at lsep\relax
+  \fi
+  \def\caption at tempa{#2}%
+  \def\caption at tempb{\ignorespaces}%
+  \ifx\caption at tempa\caption at tempb
+    \let\caption at tempa\@empty
+  \fi
+  \ifx\caption at tempa\@empty
+    \let\caption at lsep\relax
+  \fi
+  \def\caption@@par{%
+    \parindent\captionparindent\hangindent\captionhangindent}%
+  \@setpar{\@@par\caption@@par}\caption@@par
+  \caption at hj\captionsize\captionfont
+  \caption at fmt{{\captionlabelfont#1}}%
+              {{\captionlabelfont\caption at lsep}}%
+              {{\captiontextfont\nobreak\hskip\z at skip#2\par}}}
+\DeclareCaptionOption{config}[caption]{%
+   \InputIfFileExists{#1.cfg}{\typeout{*** Local configuration file
+                                       #1.cfg used ***}}%
+                             {\PackageWarning{caption}{Configuration
+                               file #1.cfg not found}}}
+\DeclareCaptionOption*{figureposition}{\captionsetup[figure]{position=#1}}%  new v3.0a
+\DeclareCaptionOption*{tableposition}{\captionsetup[table]{position=#1}}%    new v3.0a
+\DeclareCaptionOption*{normal}[]{\caption at setformat{normal}}
+\DeclareCaptionOption*{isu}[]{\caption at setformat{hang}}
+\DeclareCaptionOption*{hang}[]{\caption at setformat{hang}}
+\DeclareCaptionOption*{center}[]{\caption at setjustification{centering}}
+\DeclareCaptionOption*{anne}[]{\caption at setjustification{centerlast}}
+\DeclareCaptionOption*{centerlast}[]{\caption at setjustification{centerlast}}
+\DeclareCaptionOption*{nooneline}[]{\caption at setbool{slc}{0}}
+\DeclareCaptionOption*{scriptsize}[]{\def\captionfont{\scriptsize}}
+\DeclareCaptionOption*{footnotesize}[]{\def\captionfont{\footnotesize}}
+\DeclareCaptionOption*{small}[]{\def\captionfont{\small}}
+\DeclareCaptionOption*{normalsize}[]{\def\captionfont{\normalsize}}
+\DeclareCaptionOption*{large}[]{\def\captionfont{\large}}
+\DeclareCaptionOption*{Large}[]{\def\captionfont{\Large}}
+\DeclareCaptionOption*{up}[]{\l at addto@macro\captionlabelfont\upshape}
+\DeclareCaptionOption*{it}[]{\l at addto@macro\captionlabelfont\itshape}
+\DeclareCaptionOption*{sl}[]{\l at addto@macro\captionlabelfont\slshape}
+\DeclareCaptionOption*{sc}[]{\l at addto@macro\captionlabelfont\scshape}
+\DeclareCaptionOption*{md}[]{\l at addto@macro\captionlabelfont\mdseries}
+\DeclareCaptionOption*{bf}[]{\l at addto@macro\captionlabelfont\bfseries}
+\DeclareCaptionOption*{rm}[]{\l at addto@macro\captionlabelfont\rmfamily}
+\DeclareCaptionOption*{sf}[]{\l at addto@macro\captionlabelfont\sffamily}
+\DeclareCaptionOption*{tt}[]{\l at addto@macro\captionlabelfont\ttfamily}
+\caption at setbool{ruled}{0}
+\DeclareCaptionOption*{ruled}[]{\caption at setbool{ruled}{1}}
+\newcommand*\DeclareCaptionPackage[1]{%
+  \caption at setbool{pkt@#1}{1}%
+  \DeclareCaptionOption*{#1}{\caption at setbool{pkt@#1}{##1}}}
+\DeclareCaptionPackage{caption}
+\DeclareCaptionPackage{float}
+\DeclareCaptionPackage{listings}
+\DeclareCaptionPackage{longtable}
+\DeclareCaptionPackage{rotating}
+\DeclareCaptionPackage{sidecap}
+\DeclareCaptionPackage{supertabular}
+\let\DeclareCaptionPackage\@undefined
+\def\ProcessOptionsWithKV#1{% bugfixed v3.0a
+  \let\@tempc\relax
+  \let\caption at tempa\@empty
+  \@for\CurrentOption:=\@classoptionslist\do{%
+    \@ifundefined{KV@#1@\CurrentOption}%
+    {}%
+    {%
+      \edef\caption at tempa{\caption at tempa,\CurrentOption,}%
+      \@expandtwoargs\@removeelement\CurrentOption
+        \@unusedoptionlist\@unusedoptionlist
+    }%
+  }%
+  \edef\caption at tempa{%
+    \noexpand\setkeys{#1}{%
+      \caption at tempa\@ptionlist{\@currname.\@currext}%
+    }%
+  }%
+  \caption at tempa
+  \let\CurrentOption\@empty
+  \AtEndOfPackage{\let\@unprocessedoptions\relax}}
+\ProcessOptionsWithKV{caption}
+\let\ProcessOptionsWithKV\@undefined
+\def\captionof{\@ifstar{\caption at of{\caption*}}{\caption at of\caption}}
+\newcommand*\caption at of[2]{\def\@captype{#2}#1}
+\providecommand\ContinuedFloat{%
+  \ifx\@captype\@undefined
+    \@latex at error{\noexpand\ContinuedFloat outside float}\@ehd
+  \else
+    \addtocounter{\@captype}{\m at ne}%
+  \fi}%
+\newcommand*\caption at floatname[1]{\@nameuse{#1name}}
+\newcommand*\caption at thefloat[1]{\@nameuse{the#1}}
+\def\caption at letfloattype#1{%
+  \def\caption at setfloattype##1{%
+    \caption at settype{##1}\caption at settype{#1}}}
+\newcommand*\caption at begin[1]{%
+  \begingroup
+  \caption at setfloattype{#1}%
+  \@namedef{fnum@#1}{%
+    \caption at lfmt{\caption at floatname{#1}}{\caption at thefloat{#1}}}%
+  \caption at fixposition
+  \global\let\caption at fixedposition\caption at position
+  \caption@@begin{#1}}
+\newcommand*\caption at beginex[1]{%
+  \caption at begin{#1}%
+  \caption at preparelof}
+\newcommand*\caption at end{%
+  \caption@@end
+  \endgroup
+  \let\caption at position\caption at fixedposition}
+\let\caption@@begin\@gobble%  new v3.0a
+\let\caption@@end\@empty%     new v3.0a
+\newcommand*\caption at preparelof[1]{%  changed v3.0b
+  \caption at ifbool{lof}%
+    {\def\caption at tempa{#1}}%
+    {\let\caption at tempa\@empty}%
+  \ifx\caption at tempa\@empty
+    \def\addcontentsline##1##2##3{}%
+  \fi}
+\caption at ifpkt@caption{
+  \renewcommand\@makecaption[2]{%
+    \caption at iftop{\vskip\belowcaptionskip}{\vskip\abovecaptionskip}%
+    \ifnum\caption at debug>1 %
+      \llap{$\caption at iftop\downarrow\uparrow$ }%
+    \fi
+    \caption@@make{#1}{#2}%
+    \caption at iftop{\vskip\abovecaptionskip}{\vskip\belowcaptionskip}}
+  \AtBeginDocument{%
+    \@ifundefined{cc at caption}{%
+      \def\caption at caption#1{%
+        \@ifstar{\global\caption at startrue\@ifnextchar[{#1}{#1[]}}{#1}}%
+      \let\caption at old\caption
+      \def\caption{\caption at caption\caption at old}%
+      \let\caption@@old\@caption
+      \long\def\@caption#1[#2]#3{%
+        \caption at beginex{#1}{#2}%
+          \caption@@old{#1}[{#2}]{#3}%
+        \caption at end}%
+    }{%
+      \PackageInfo{caption}{captcont package v2.0 detected}%
+      \def\caption at caption#1{#1}%  added v3.0c
+    }%
+  }}{}
+\AtEndOfPackage{\let\caption at ifpkt@caption\@undefined}%  bugfixed v3.0a
+\newcommand*\caption at ifpackage[2]{%
+  \let\next\@gobble
+  \caption at ifpkt@caption{%
+    \caption at ifbool{pkt@#1}{%
+      \@ifundefined{#2}%
+        {\let\next\AtBeginDocument}%
+        {\let\next\@firstofone}}{}%
+    \ifodd\caption at debug\relax
+      \edef\caption at tempa{%
+        \caption at ifbool{pkt@#1}{%
+          \@ifundefined{#2}{AtBeginDocument}{firstofone}%
+        }{gobble}}%
+      \PackageInfo{caption}{#1 = \caption at ifbool{pkt@#1}{1}{0} %
+           (\@ifundefined{#2}{not }{}loaded -> \caption at tempa)}%
+    \fi
+  }{}%
+  \@nameundef{caption at ifpkt@#1}%  bugfixed v3.0a
+  \next}
+\AtEndOfPackage{\let\caption at ifpackage\@undefined}
+\def\caption at setfloatposition{%
+  \caption at setposition{\@fs at iftopcapt t\else b\fi}}
+\caption at ifpackage{float}{float at caption}{%
+  \ifx\float at caption\relax
+  \else
+    \PackageInfo{caption}{float package v1.2 (or newer) detected}%
+    \let\caption at of@float\@gobble
+    \renewcommand*\caption at of[2]{%
+      \@ifundefined{fst@#2}{}{%
+        \let\caption at of@float\@firstofone
+        \@nameuse{fst@#2}\@float at setevery{#2}}%
+      \def\@captype{#2}#1}%
+    \renewcommand*\caption at floatname[1]{%
+      \@nameuse{\@ifundefined{fname@#1}{#1name}{fname@#1}}}%
+    \let\caption@@float\float at caption
+    \long\def\float at caption#1[#2]#3{%
+      \caption at beginex{#1}{#2}%
+        \let\@fs at capt\caption@@make
+        \caption@@float{#1}[{#2}]{#3}%
+        \caption at of@float{%
+          \def\caption@@make##1##2{\unvbox\@floatcapt}%
+          \@makecaption{}{}}%
+      \caption at end}%
+    \renewcommand*\caption at setfloattype[1]{%  improved v3.0a
+      \caption at fixfloat@c{#1}%
+      \expandafter\ifx\csname @float at c@#1\endcsname\float at caption
+        \expandafter\let\expandafter\caption at fst\csname fst@#1\endcsname
+        \edef\caption at fst{\noexpand\string\expandafter\noexpand\caption at fst}%
+        \edef\caption at fst{\noexpand\@gobblefour\caption at fst}%
+        \@ifundefined{caption at sty@\caption at fst}{}{\caption at setstyle\caption at fst}%
+        \caption at setfloatposition%  changed v3.0b
+      \fi
+      \caption at settype{#1}}%
+    \let\caption at float\caption
+    \def\caption{%
+      \ifx\@captype\@undefined
+        \@latex at error{\noexpand\caption outside float}\@ehd
+        \expandafter\@gobble
+      \else
+        \caption at fixfloat@c\@captype
+      \fi
+      \caption at float}%
+    \def\caption at fixfloat@c#1{%
+      \expandafter\let\expandafter\caption at tempa\csname @float at c@#1\endcsname
+      \ifx\caption at tempa\relax
+      \else\ifx\caption at tempa\float at caption
+      \else\ifx\caption at tempa\@caption
+      \else\ifx\caption at tempa\caption@@float
+        \ifodd\caption at debug\relax
+          \PackageInfo{caption}{\protect\@float at c@#1\space := \protect\float at caption}%
+        \fi
+        \expandafter\let\csname @float at c@#1\endcsname\float at caption
+      \else
+        \ifodd\caption at debug\relax
+          \PackageInfo{caption}{\protect\@float at c@#1\space := \protect\@caption}%
+        \fi
+        \expandafter\let\csname @float at c@#1\endcsname\@caption
+      \fi\fi\fi\fi}%
+  \fi}
+\caption at ifbool{ruled}{}{%
+  \DeclareCaptionStyle{ruled}{labelfont=bf,labelsep=space}}
+\let\caption at ifruled\@undefined
+\caption at ifpackage{listings}{lst at MakeCaption}{%
+  \ifx\lst at MakeCaption\relax
+  \else
+    \PackageInfo{caption}{listings package v1.2 (or newer) detected}%
+    \let\caption at lst@MakeCaption\lst at MakeCaption
+    \def\lst at MakeCaption#1{%
+      \let\caption at setfloattype\caption at settype
+      \def\caption at autoposition{\caption at setposition{#1}}%
+      \caption at begin{lstlisting}%
+        \caption at lst@MakeCaption{#1}%
+      \caption at end}%
+  \fi}
+\caption at ifpackage{longtable}{LT at makecaption}{%
+  \ifx\LT at makecaption\relax
+  \else
+    \PackageInfo{caption}{longtable package v3.15 (or newer) detected}%
+    \def\LT at makecaption#1#2#3{%
+       \LT at mcol\LT at cols c{\hbox to\z@{\hss\parbox[t]\linewidth{%
+         \caption at letfloattype{longtable}%
+         \caption at begin{table}%
+           \ifdim\LTcapwidth=4in \else
+             \caption at setwidth\LTcapwidth
+           \fi
+           \caption at startrue#1\caption at starfalse
+           \caption@@make{#2}{#3}%
+           \endgraf\vskip\baselineskip
+         \caption at end}%
+       \hss}}}%
+  \fi}
+\caption at ifpackage{rotating}{@rotcaption}{%
+  \ifx\@rotcaption\relax
+  \else
+    \PackageInfo{caption}{rotating package v2.0 (or newer) detected}%
+    \let\caption at rot\rotcaption
+    \def\rotcaption{\caption at caption\caption at rot}%
+    \let\caption@@rot\@rotcaption
+    \long\def\@rotcaption#1[#2]#3{%
+      \caption at beginex{#1}{#2}%
+        \caption@@rot{#1}[{#2}]{#3}%
+      \caption at end}%
+    \long\def\@makerotcaption#1#2{%
+      \rotatebox{90}{%
+        \begin{minipage}{.8\textheight}%
+          \caption@@make{#1}{#2}%
+        \end{minipage}%
+      }\par
+      \hspace{12pt}}%
+  \fi}
+\caption at ifpackage{sidecap}{endSC at FLOAT}{%
+  \ifx\endSC at FLOAT\relax
+  \else
+    \PackageInfo{caption}{sidecap package v1.4d (or newer) detected}%
+    \let\SC at caption=\caption
+    \let\caption at SC@zfloat\SC at zfloat
+    \def\SC at zfloat#1#2#3[#4]{%
+      \caption at SC@zfloat{#1}{#2}{#3}[#4]%
+      \global\let\SC at CAPsetup\@empty
+      \renewcommand\captionsetup[1]{\g at addto@macro\SC at CAPsetup{,##1}}%
+      \let\caption at old\caption
+      \def\caption{\caption at caption\caption at old}%
+    }%
+    \let\caption at endSC@FLOAT\endSC at FLOAT
+    \def\endSC at FLOAT{%
+      \caption at setmargin\z@
+      \@ifundefined{SC at justify}{}{%
+        \ifx\SC at justify\@empty\else
+          \let\caption at hj\SC at justify
+          \let\SC at justify\@empty
+        \fi}%
+      \caption at esetup\SC at CAPsetup
+      \caption at letfloattype{SC\@captype}%
+      \caption at endSC@FLOAT}%
+  \fi}
+\def\caption at setSTposition{%
+  \caption at setposition{\if at topcaption t\else b\fi}}
+\caption at ifpackage{supertabular}{ST at caption}{%
+  \ifx\ST at caption\relax
+  \else
+    \PackageInfo{caption}{supertabular package detected}%
+  \let\caption at ST\ST at caption
+  \long\def\ST at caption#1[#2]#3{\par%  bugfixed v3.0a
+    \caption at letfloattype{supertabular}%
+    \let\caption at fixposition\caption at setSTposition
+    \caption at beginex{#1}{#2}%
+      \addcontentsline{\csname ext@#1\endcsname}{#1}%
+                      {\protect\numberline{%
+                          \csname the#1\endcsname}{\ignorespaces #2}}%
+      \@parboxrestore
+      \normalsize
+      \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
+    \caption at end}%
+  \fi}
+\AtBeginDocument{\let\scr at caption\caption}
+\endinput
+%%
+%% End of file `caption.sty'.

Added: grass-addons/grassflyer/flyer1/pl/grassflyer.tex
===================================================================
--- grass-addons/grassflyer/flyer1/pl/grassflyer.tex	                        (rev 0)
+++ grass-addons/grassflyer/flyer1/pl/grassflyer.tex	2010-04-17 06:41:09 UTC (rev 41896)
@@ -0,0 +1,201 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%GRASS PROMOTION FLYER                                 %
+%(c) 2007 GRASS PROMOTION TEAM                         %
+%    Translation: Milena Nowotarska                    %
+%GNU Free Documentation License                        %
+%Version 1.2                                           %
+%Needs leaflet.cls				       %
+%www.ctan.org/tex-archive/macros/latex/contrib/leaflet/%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%Sometimes printing engines need the 2nd side upside down
+%in this case, use tumble (which is default) instead of notumble
+%If this causes problems, use notumble
+%If you need a foldmark, delete nofoldmark
+\documentclass[notumble,a4paper,10pt,nofoldmark]{leaflet}
+\usepackage{helvet,courier,xcolor}
+
+% Set Helvetica as the default font
+\renewcommand*\familydefault\sfdefault
+% Let LaTeX knows that pictures are found in ./pix
+\graphicspath{{pix/}}
+
+% Setting up things for the captions
+\usepackage{caption}[2004/07/16]
+\captionsetup{%
+  font={small,it},%
+  labelformat=empty,% Leaves out label: ``Figure 1''
+  labelsep=none,%
+  aboveskip=0pt%
+}
+% Defining a new 'figure' environment for the document
+\newenvironment{myfig}[1][0pt plus 1.5ex minus .5ex]{\par\vspace*{#1}\begin{minipage}{\textwidth}\centering}{\end{minipage}}
+
+% Defining the GRASS homepage
+\newcommand{\GRASSurl}{\url{http://grass.osgeo.org}}
+
+% Define a color for the URIs
+\definecolor{darkblue}{RGB}{0,0,88}
+
+\usepackage{hyperref}
+% Setting up some document info
+\hypersetup{%
+  colorlinks=true,%
+  urlcolor=darkblue,% Redefine this color to change URIs color
+  pdfauthor={The GRASS Community},%
+  pdftitle={GRASS GIS: Efektywność dzięki Wolności \& Przejrzystości},%
+  pdfsubject={Ulotka promocyjna GRASS},%
+  breaklinks=true,%
+  plainpages=false%
+}
+
+% Title page stuff
+\title{\textbf{\huge GRASS GIS}\\%
+\textsl{Efektywność dzięki Wolności \& Przejrzystości}}
+\author{Społeczność GRASS-a}
+\date{\includegraphics[width=\textwidth]{pix/grasslogo_vector}\\[2ex]
+\large\GRASSurl}
+
+\begin{document}
+
+\maketitle
+\thispagestyle{empty}% Necessary to leave out the page number on the first page
+
+\newpage
+
+\section{Co to jest GRASS}
+
+GRASS (Geographic Resources Analysis Support System) is a free and Open Source Software for performing spatial analysis. Składa się z ponad 350 modułów do przetwarzania danych wektorowych (2D/3D), rastrowych i voxel. Many interfaces to other programs in related domains like geostatistics, databases, mapserver and even other GIS software exist. It is the largest Open Source GIS. It can serve as a Desktop GIS and as the backbone of a complete GIS Infrastructure.
+
+\section{Gdzie używa się GRASS-a}
+
+GRASS jest używany na całym śwecie przez środowiska akademickie, komercyjne jak i przez władze publiczne. GRASS wykazał się dużym potencjałem do rozwiązywania problemów geoprzestrzennych w wielu zastosowaniach na  świecie.
+
+\section{Historia}
+
+GRASS was originally developed in the beginning of the 1980's by the US Army Construction Engineering Research Laboratories (USA-CERL) and was published as public domain software. When the USA-CERL withdrew from GRASS development, an international developer team took over this work. Since 1999, GRASS has been published as free software under the terms of the GNU General Public Licence.
+\begin{myfig}[1.5ex]
+\includegraphics[width=0.7\textwidth]{pix/visibility}
+\captionof{figure}{Viewshed analysis performed with GRASS}
+\end{myfig}
+
+\section{Filozofia Open Source}
+
+The Open Source philosophy provides the user the ability to see the source code and structure of the program which offers a great transparency. Users can extend the program for their own needs. Immediate source code peer review increases the quality. With the help of the extension manager new modules can be created without GRASS package source code.
+
+\section{Technical Data Sheet}
+
+\subsection{Licencja}
+
+GNU General Public License (Free Software Foundation)
+
+\subsection{Supported platformy}
+
+GRASS działa na prawie wszystkich platformach operacyjnych. Zarówno na GNU/Linux, zgodnych z POSIX systemach Unix, jak i MS Windows oraz MacOS X.
+
+\subsection{Konstrukcja}
+
+\begin{itemize}
+\item Modły
+\item Składa się z ponad 350 modułów
+\end{itemize}
+
+\subsection{Języki programowania}
+
+\begin{itemize}
+\item ANSI C
+\item Interfejs GRASS- SWIG
+\item Python dla aplikacji WebGIS
+\item Wersja dla Javy: JGRASS
+\end{itemize}
+
+\subsection{Możliwości zarządzania danymi}
+
+\begin{itemize}
+\item Przetwarzanie danych rastrowych / wektorowych / voxel
+\item Modelowanie danych 2D / 3D rastrowych / wektorowych 
+\item Opracowywanie zobrazowań
+\item Topologia wektorowa / analizy sieciowe
+\item Geostatystyki (interfejs dla R)
+\end{itemize}
+
+\begin{myfig}[1ex]
+\includegraphics[width=0.7\textwidth]{pix/trento3d}
+\captionof{figure}{Przelot nad Trydentem, Włochy}
+\end{myfig}
+
+\section{Obsługiwane formaty danych}
+
+GRASS obsługuje prawie wszystkie popularne formaty danych gisowskich poprzez bibliotekę GDAL/OGR. Dodatkowo obsługuje także Open GIS Consortium's Simple Features.
+
+\subsection{Formaty wektorowe}
+ASCII, ARC/INFO ungenerate, ARC/INFO E00, Arc\-View SHAPE, BIL, DLG (U.S.), DXF, DXF3D, GMT, GPS-ASCII USGS-DEM, IDRISI, MOSS, MapInfo MIF, PostGIS, TIGER, VRML, \dots
+
+\subsection{Formaty rastrowe}
+ASCII, ARC/GRID, E00, GIF, GMT, TIF, PNG, Vis5D, SURFER (.grd),\dots
+\begin{myfig}
+\includegraphics[width=0.7\textwidth]{pix/isodist}
+\captionof{figure}{Domyślna konfiguracja GUI przedstawiająca możliwości analiz sieciowych GRASS-a}
+\end{myfig}
+
+\subsection{Formaty zobrazowań}
+
+CEOS (SAR, SRTM, LANDSAT7 etc.), ERDAS LAN / IMG, HDF, LANDSAT TM/MSS, NHAP aerial photos, SAR, SPOT, \dots
+\begin{myfig}[1.5ex]
+\includegraphics[width=0.7\textwidth]{pix/ndvi}
+\captionof{figure}{Możliwości obróbki zobrazowań w GRASS-ie}
+\end{myfig}
+
+\subsection{Obsługa baz danych}
+
+\begin{itemize}
+\item PostgreSQL / PostGIS
+\item MySQL
+\item SQLite
+\item ODBC
+\item DBF
+\end{itemize}
+
+\subsection{Output}
+
+\begin{itemize}
+\item Moduły do produkcji map
+\item NVIZ do wizualizacji danych 2.5D oraz 3D (tworzenie animacji \& przelotów)
+%\item{GMT export}
+%item{VRML}
+\item VTK, POVray
+\item WebGIS z użyciem Mapservera, Pythona, etc.
+\end{itemize}
+
+\subsection{Interoperacyjność z innymi programami GIS}
+
+\begin{itemize}
+\item Quantum GIS (Darmowa przeglądarka geodanych i nie tylko)
+\item R- Language (Statystyki)
+\item Gstat (Geostatystyki)
+\item UMN Mapserver (Webmapping)
+\end{itemize}
+
+\section{Gdzie znaleźć więcej informacji}
+
+\begin{itemize}
+%\begin{flushleft}
+\item{Strony internetowe projektu: \\\GRASSurl}
+\item{GRASS Wiki: \\\url{http://grass.osgeo.org/wiki}}
+\item{Zespół promocji GRASS-a: \\\url{malte at perlomat.de}}
+\item{Listy mailingowe GRASS-a: \\\url{http://grass.osgeo.org/community/support.php}}
+%\end{flushleft}
+\item{Polskie forum GRASS-a: \\\url{http://forum.grass-gis.pl/}}
+\item{Strony GRASS Polska: \\\url{http://www.grass-gis.pl/}}
+\end{itemize}
+
+\vfill
+\section{OSGeo}
+
+GRASS is a founding project of the Open Source Geospatial Foundation which has the aim to create high quality open source geospatial software. For further information visit the OSGeo homepage:
+\begin{center}
+\includegraphics[width=0.8\textwidth]{pix/OSGeo_CMYK}\\
+\url{http://www.osgeo.org}
+\end{center}
+
+\end{document}

Added: grass-addons/grassflyer/flyer1/pl/leaflet.cls
===================================================================
--- grass-addons/grassflyer/flyer1/pl/leaflet.cls	                        (rev 0)
+++ grass-addons/grassflyer/flyer1/pl/leaflet.cls	2010-04-17 06:41:09 UTC (rev 41896)
@@ -0,0 +1,503 @@
+%%
+%% This is file `leaflet.cls',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% leaflet.dtx  (with options: `class')
+%% 
+%% Copyright (C) 2003, 2004
+%% Rolf Niepraschk, Rolf.Niepraschk at ptb.de
+%% Hubert Gaesslein, HubertJG at open.mind.de
+%% 
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%%   http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%% 
+%% This work has the LPPL maintenance status "author-maintained".
+%% 
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesClass{leaflet}
+  [2004/12/22 v1.0d LaTeX document class (JS,WaS,RN,HjG)]
+\let\LL at shipout\shipout \let\LL at outputpage\@outputpage
+\let\LL at begindvi\@begindvi \let\LL@@end\@@end
+\@ifundefined{iflandscape}{\newif\iflandscape}{}%
+\@ifundefined{iftumble}{\newif\iftumble}{}%
+\newcommand\LL at debug@info[1]{}%
+\DeclareOption{dvips}{\PassOptionsToPackage{\CurrentOption}{graphics}}
+\DeclareOption{pdftex}{\PassOptionsToPackage{\CurrentOption}{graphics}}
+\DeclareOption{vtex}{\PassOptionsToPackage{\CurrentOption}{graphics}}
+\DeclareOption{dvipdfm}{\PassOptionsToPackage{\CurrentOption}{graphics}}
+\DeclareOption{twoside}{\OptionNotUsed}
+\DeclareOption{twocolumn}{\OptionNotUsed}
+\DeclareOption{landscape}{\landscapetrue}
+\DeclareOption{portrait}{\landscapefalse}
+\DeclareOption{debug}{\let\LL at debug@info\typeout}
+\DeclareOption{nospecialtricks}{%
+  \AtEndOfClass{%
+    \ifLL at combine
+      \let\immediate\@@@immediate\let\write\@@@write
+      \let\openout\@@@openout\let\closeout\@@@closeout
+      \let\special\@@@special\let\@@@exec at outs\relax
+    \fi}}
+\newcommand*\LL at setPaperSize{}
+\DeclareOption{a3paper}{\def\LL at setPaperSize{%
+  \paperwidth=420mm\paperheight=297mm\relax}}%
+\@ifdefinable\ifLL at combine{\newif\ifLL at combine}
+\DeclareOption{combine}{\LL at combinetrue}
+\DeclareOption{nocombine}{\LL at combinefalse}
+\newcommand*\LL at selectOutput{}
+\DeclareOption{frontside}{\def\LL at selectOutput#1#2{#1}}
+\DeclareOption{backside}{\def\LL at selectOutput#1#2{#2}}
+\DeclareOption{bothsides}{\def\LL at selectOutput#1#2{#1#2}}
+\DeclareOption{tumble}{\tumbletrue}
+\DeclareOption{notumble}{\tumblefalse}
+\newcommand*\LL at foldmark{}
+\DeclareOption{foldmark}{%
+  \def\LL at foldmark{%
+    \begingroup
+      \linethickness{\LenToUnit{\foldmarkrule}}%
+      \setlength\@tempdima{\paperheight-\LL at tmargin}%
+      \put(0,\LenToUnit{\@tempdima}){%
+        \line(0,-1){\LenToUnit{\foldmarklength}}}%
+    \endgroup}%
+}
+\DeclareOption{nofoldmark}{\def\LL at foldmark{}}%
+\newcommand*\LL at toomanypages[2]{}
+\DeclareOption{draft}{\PassOptionsToClass{\CurrentOption}{article}%
+  \AtEndOfClass{%
+    \def\LL at toomanypages#1#2{%
+        \ClassWarningNoLine{leaflet}{#1.\MessageBreak#2}}%
+  }%
+}
+\DeclareOption{final}{\PassOptionsToClass{\CurrentOption}{article}%
+  \AtEndOfClass{%
+    \ifLL at combine
+      \def\LL at toomanypages#1#2{%
+        \ClassError{leaflet}{#1}{#2.}}%
+    \else
+      \def\LL at toomanypages#1#2{%
+        \ClassWarningNoLine{leaflet}{#1.\MessageBreak#2}}%
+    \fi
+  }%
+}
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
+\PassOptionsToClass{landscape,a4paper}{article}
+\ExecuteOptions{tumble,foldmark,bothsides,combine,landscape,final}
+\ProcessOptions\relax
+\ifLL at combine
+  \newcommand*\LL at rotate@I{}\newcommand*\LL at rotate@II{}%
+  \iflandscape
+    \def\LL at rotate@I#1{#1}%
+    \iftumble
+      \def\LL at rotate@II#1{\rotatebox[origin=c]{180}{#1}}%
+    \else
+      \def\LL at rotate@II#1{#1}%
+    \fi
+  \else
+    \def\LL at rotate@I#1{\rotatebox[origin=c]{90}{#1}}%
+    \iftumble
+      \def\LL at rotate@II#1{\rotatebox[origin=c]{270}{#1}}%
+    \else
+      \def\LL at rotate@II#1{\rotatebox[origin=c]{90}{#1}}%
+    \fi
+  \fi
+  \def\@@@pending at outs{}\let\@@@immediate\immediate
+  \let\@@@write\write \let\@@@special\special
+  \let\@@@openout\openout \let\@@@closeout\closeout
+  \def\immediate{%
+    \let\write\immediate at write%
+    \let\openout\immediate at openout%
+    \let\closeout\immediate at closeout%
+    \let\special\immediate at special}%
+  \def\reset at immediate{%
+    \let\write\pending at write%
+    \let\openout\pending at openout%
+    \let\closeout\pending at closeout%
+    \let\special\@@@special}%
+  \long\def\pending at write#1#{\pending@@write{#1}}
+  \def\immediate at write{%
+    \reset at immediate\@@@immediate\@@@write}%
+  \def\immediate at openout{%
+    \reset at immediate\@@@immediate\@@@openout}%
+  \def\immediate at closeout{%
+    \reset at immediate\@@@immediate\@@@closeout}%
+  \def\immediate at special{%
+    \reset at immediate\@@@immediate\@@@special}%
+  \let\write\pending at write
+  \let\openout\pending at openout
+  \let\closeout\pending at closeout
+  \def\@dummy at whatsit{\special{}}
+  \begingroup\@ifundefined{pdfoutput}%
+  {\endgroup}
+  {\endgroup
+   \ifnum\pdfoutput>\z@\def\@dummy at whatsit{\pdfliteral{}}\fi}
+  \begingroup\expandafter\expandafter\expandafter\endgroup
+  \expandafter\ifx\csname eTeXversion\endcsname\relax
+    %%% Test is from Markus Kohm (d.c.t.t, 29 Jun 2004)
+    \ClassWarningNoLine{leaflet}{%
+    *************************************\MessageBreak
+    * It's very recommended to use eTeX  \MessageBreak
+    * with this package!                 \MessageBreak
+    *************************************}%
+    \long\def\pending@@write#1#2{%
+      \@dummy at whatsit
+      \g at addto@macro\@@@pending at outs{\@@@immediate\@@@write\number#1{#2},}}%
+    \def\pending at openout#1 {%
+      \@dummy at whatsit
+      \g at addto@macro\@@@pending at outs{\@@@immediate\@@@openout\number#1,}}%
+    \def\pending at closeout#1{%
+      \@dummy at whatsit
+      \g at addto@macro\@@@pending at outs{\@@@immediate\@@@closeout\number#1,}}%
+    \newcommand*\@@@exec at outs{%
+      \@@@pending at outs\gdef\@@@pending at outs{}%
+      \LL at debug@info{%
+        >>> execute the output commands of the current page <<<}}%
+  \else
+    \RequirePackage{etex}
+    \globmarks\@@@out at mark
+    \newcounter{@@total at outs}\setcounter{@@total at outs}{0}
+    \newcounter{@@last at exec}\setcounter{@@last at exec}{0}
+  \long\def\pending@@write#1#2{%
+    \global\advance\c@@@total at outs\@ne%
+    \marks\@@@out at mark{\the\c@@@total at outs}%
+    \g at addto@macro\@@@pending at outs{\@@@immediate\@@@write\number#1{#2},}}%
+\def\pending at openout#1 {%
+  \global\advance\c@@@total at outs\@ne%
+  \marks\@@@out at mark{\the\c@@@total at outs}%
+  \g at addto@macro\@@@pending at outs{\@@@immediate\@@@openout\number#1,}}%
+\def\pending at closeout#1{%
+  \global\advance\c@@@total at outs\@ne%
+  \marks\@@@out at mark{\the\c@@@total at outs}%
+  \g at addto@macro\@@@pending at outs{\@@@immediate\@@@closeout\number#1,}}%
+    \newcommand*\@@@exec at outs{%
+      \begingroup
+        \@tempcntb\c@@@total at outs\advance\@tempcntb-\c@@@last at exec%
+        \edef\reserved at a{\botmarks\@@@out at mark}%
+        \ifx\reserved at a\@empty\@tempcnta\z@\else\@tempcnta\reserved at a\fi%
+        \LL at debug@info{PENDING-OUTS:\the\@tempcntb\space\space
+                       TOTAL-OUTS:\the\c@@@total at outs\space\space
+                       LAST-EXEC:\the\c@@@last at exec\space\space
+                       TOPMARK:\topmarks\@@@out at mark\space\space
+                       FIRSTMARK:\firstmarks\@@@out at mark\space\space
+                       BOTMARK:\botmarks\@@@out at mark}%
+        \advance\@tempcnta-\c@@@total at outs \advance\@tempcntb\@tempcnta
+        \@tempcnta-\@tempcnta%
+        \ifnum\@tempcnta>\z@
+          \LL at debug@info{%
+            >>> resave \the\@tempcnta\space output command(s).
+                Too early to execute! <<<}%
+        \fi
+        \@tempcnta\z@ \def\reserved at b{}%
+        \@for\reserved at a :=\@@@pending at outs\do{%
+          \ifx\reserved at a\@empty\else
+            \ifnum\@tempcnta<\@tempcntb%
+              \reserved at a%  execute output's related to the current page box.
+              \global\advance\c@@@last at exec\@ne
+              \LL at debug@info{>>> execute output command number
+                       \the\c@@@last at exec\space<<<}%
+            \else
+              \expandafter\g at addto@macro\expandafter\reserved at b\expandafter{%
+                \reserved at a,}%
+            \fi
+            \advance\@tempcnta\@ne%
+          \fi}%
+        \expandafter\@temptokena\expandafter{\reserved at b}%
+        \xdef\@@@pending at outs{\the\@temptokena}%
+      \endgroup}%
+  \fi% end of eTeX test.
+  \long\def\protected at write#1#2#3{%
+    \begingroup
+       \let\thepage\relax
+       #2%
+       \let\protect\@unexpandable at protect
+       \edef\reserved at a{\noexpand\write#1{#3}}%
+       \reserved at a%
+    \endgroup
+    \if at nobreak\ifvmode\nobreak\fi\fi}%
+  \def\shipout{\deadcycles\z@\setbox\@tempboxa=}
+  \let\@begindvi\@empty
+\fi% end of \ifLL at combine
+\LoadClass{article}
+\RequirePackage{everyshi,calc,graphicx}
+\newcommand*\LL at pagesize@specials[2]{}
+\@ifundefined{Gin at driver}{}%
+{%
+  \ifx\Gin at driver\@empty\else%
+    \filename at parse{\Gin at driver}\@tempswafalse%
+    \def\reserved at a{dvips}%
+    \ifx\filename at base\reserved at a\@tempswatrue\fi%
+    \def\reserved at a{dvipdfm}%
+    \ifx\filename at base\reserved at a\@tempswatrue\fi%
+    \if at tempswa%
+      \ClassInfo{leaflet}{Generating code for dvips}%
+      \def\LL at pagesize@specials#1#2{%
+        \@tempdima=#1\@tempdimb=#2%
+        \AtBeginDvi{\special{papersize=\the\@tempdima,\the\@tempdimb}}}%
+    \fi%
+    \def\reserved at a{pdftex}%
+    \ifx\filename at base\reserved at a
+      \ClassInfo{leaflet}{Generating code for pdfTeX}%
+      \def\LL at pagesize@specials#1#2{%
+        \@tempdima=#1\@tempdimb=#2%
+        \pdfpagewidth\@tempdima\pdfpageheight\@tempdimb}%
+    \fi%
+    \def\reserved at a{vtex}%
+    \ifx\filename at base\reserved at a
+      \ClassInfo{leaflet}{Generating code for VTeX}%
+      \def\LL at pagesize@specials#1#2{%
+        \@tempdima=#1\@tempdimb=#2%
+        \mediawidth\@tempdima\mediaheight\@tempdimb}%
+    \fi%
+  \fi
+}
+\newcommand*\LL at CmdIgnored[1]{%
+  \ClassWarning{leaflet}{%
+    `\string#1' ignored}}
+\setlength{\parskip}{1ex plus 2pt}
+\@listi%
+\setlength{\labelwidth}{\leftmargin}
+\addtolength{\labelwidth}{-\labelsep}
+\pagestyle{empty}
+\headheight\z@
+\headsep\z@
+\footskip\z@
+\marginparwidth\z@
+\marginparsep\z@
+\sloppy
+\setcounter{secnumdepth}{0}
+\renewcommand\twocolumn[1][]{\LL at CmdIgnored{\twocolumn}}
+\renewcommand\onecolumn{\LL at CmdIgnored{\onecolumn}}
+\renewcommand\topfraction{0.7}
+\renewcommand\bottomfraction{0.7}
+\setlength{\textfloatsep}{10pt plus 4pt minus 3pt}
+\setlength{\parindent}{\z@}
+\setlength{\leftmargini}{1.5em}
+\setlength{\leftmarginii}{1.5em}
+\setlength{\leftmarginiii}{1.5em}
+\setlength{\leftmarginiv}{1.5em}
+\setlength{\leftmarginv}{1.5em}
+\setlength{\leftmarginvi}{1.5em}
+\setlength{\labelsep}{.5em}
+\setlength  \labelwidth{\leftmargini}
+\addtolength\labelwidth{-\labelsep}
+\def\noparskip{\par\vspace{-\parskip}}
+\let\old at small\small
+\renewcommand{\small}{\old at small\let\@listi\@listI}
+\let\old at footnotesize\footnotesize
+\renewcommand{\footnotesize}{\old at footnotesize\let\@listi\@listI}
+\newcommand{\sectfont}{\bfseries}
+\renewcommand\section{\@startsection{section}{1}{\z@}%
+  {-3.5ex \@plus -.75ex}%
+  {1ex} %{1.5ex}%
+  {\normalfont\large\sectfont}}
+\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
+  {-2.5ex plus -.5ex}%
+  {1\p@} %{1ex}%
+  {\normalfont\normalsize\sectfont}}
+\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
+  {-2.5ex plus -.5ex}%
+  {-1em}%
+  {\normalfont\normalsize\sectfont}}
+\def\part{\LL at CmdIgnored{\part}\secdef\@part\@spart}
+\def\@part[#1]#2{}
+\def\@spart#1{}
+
+\renewcommand*\descriptionlabel[1]{%
+  \hspace\labelsep\normalfont\descfont #1}
+\newcommand*\descfont{\bfseries}
+\iffalse
+\g at addto@macro\enumerate{\parsep2\p@\@plus2\p@\@minus\z@}
+\g at addto@macro\itemize{\parsep2\p@\@plus2\p@\@minus\z@}
+\g at addto@macro\description{\parsep2\p@\@plus2\p@\@minus\z@}
+\else
+\newcommand*\LL at listsetup{%
+  \parsep1ex\@plus.5ex\@minus.25ex%
+  \LL at debug@info{***parsep=\the\parsep}%
+  \itemsep\z@
+  \LL at debug@info{***itemsep=\the\itemsep}%
+  \topsep\z@
+  \LL at debug@info{***topsep=\the\topsep}%
+  \LL at debug@info{***partopsep=\the\partopsep}%
+}
+\def\enumerate{%
+  \ifnum \@enumdepth >\thr@@\@toodeep\else
+    \advance\@enumdepth\@ne
+    \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
+    \expandafter
+    \list
+      \csname label\@enumctr\endcsname
+      {\usecounter\@enumctr
+        \def\makelabel##1{\hss\llap{##1}}%
+        %\def\makelabel##1{##1\hfill}%
+        %\def\makelabel##1{\hss##1}%
+        \LL at listsetup
+      }%
+  \fi}
+\def\itemize{%
+  \ifnum \@itemdepth >\thr@@\@toodeep\else
+    \advance\@itemdepth\@ne
+    \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
+    \expandafter
+    \list
+      \csname\@itemitem\endcsname
+      {%
+        \def\makelabel##1{\hss\llap{##1}}%
+        %\def\makelabel##1{##1\hfill}%
+        %\def\makelabel##1{\hss##1}%
+        \LL at listsetup
+      }%
+  \fi}
+\renewenvironment{description}
+               {\list{}{\labelwidth\z@ \itemindent-\leftmargin
+                        \let\makelabel\descriptionlabel
+                        \LL at listsetup}}
+               {\endlist}
+\fi
+\newcommand*\setmargins[4]{%
+   \setlength\topmargin{#1}%
+   \edef\LL at tmargin{\the\topmargin}%
+   \setlength\evensidemargin{#2}%
+   \setlength\textheight{%
+     \paperheight-\topmargin-\evensidemargin%
+     -\headheight-\headsep-\footskip}%
+   \setlength\oddsidemargin{#3}%
+   \setlength\evensidemargin{#4}%
+   \setlength\textwidth{%
+     \paperwidth-\oddsidemargin-\evensidemargin-\marginparwidth-\marginparsep}%
+   \addtolength\topmargin{-1in}%
+   \addtolength\oddsidemargin{-1in}%
+   \evensidemargin\oddsidemargin%
+}
+\LL at setPaperSize
+\paperwidth=0.333333334\paperwidth
+\setmargins{11mm}{11mm}{8mm}{8mm}
+\newcommand*\foldmarkrule{0.4pt}
+\newcommand*\foldmarklength{2mm}
+\newcommand\AddToBackground{%
+  \@ifstar{\@tempswatrue\LL at AddToBackground}
+          {\@tempswafalse\LL at AddToBackground}}
+\@onlypreamble\AddToBackground
+\newcommand\LL at AddToBackground[2]{%
+  \if at tempswa\def\@tempa{LL at largePic}\else\def\@tempa{LL at smallPic}\fi
+  \expandafter\providecommand\csname\@tempa\@Roman{#1}\endcsname{}%
+  \expandafter\g at addto@macro\csname\@tempa\@Roman{#1}\endcsname{#2}}
+\newcommand\LenToUnit[1]{#1\@gobble}
+\newcommand*\CutLine{%
+  \@ifstar{\@tempswatrue\LL at CutLine}{\@tempswafalse\LL at CutLine}}
+\@onlypreamble\CutLine
+\newcommand*\LL at CutLine[1]{%
+  \ifLL at combine
+    \ifx\Scissors\@empty\@tempswatrue\fi
+    \if at tempswa
+      \AddToBackground{#1}{%
+        \put(0,0){%
+          \rotatebox{90}{\makebox(\LenToUnit{\paperheight},0){%
+            \normalsize
+            \dotfill}}}}%
+    \else
+      \AddToBackground{#1}{%
+        \put(0,0){%
+          \rotatebox{90}{\makebox(\LenToUnit{\paperheight},0){%
+            \normalsize
+            \dotfill\Scissors\dotfill\dotfill\Scissors\dotfill}}}}%
+    \fi
+  \fi}
+\IfFileExists{pifont.sty}
+  {\RequirePackage{pifont}%
+   \newcommand*\Scissors{\raisebox{-0.85ex}{\large\ding{34}}}}%
+  {\newcommand*\Scissors{}}
+\AddToBackground{3}{\LL at foldmark}
+\providecommand*\vb at xt@{\vbox to}
+\AtBeginDocument{\EveryShipout{\LL at savePage}}
+\newcounter{LL at page}\setcounter{LL at page}{1}
+\newcommand\LL at tempa{}
+\newcommand*\LL at savePage{%
+  \ifnum\c at LL@page<7\relax
+    \setbox\@cclv\vbox{%
+      \vbox{\@tempdima=1in\relax
+        \@tempdimb=\paperheight\advance\@tempdimb-\@tempdima
+        \pictur@(0,0)(\LenToUnit{\@tempdima},\LenToUnit{\@tempdimb})%
+          \begingroup
+          \set at typeset@protect
+          \@nameuse{LL at smallPic\Roman{LL at page}}%
+          %\set at display@protect
+          \endgroup
+        \endpicture}%
+        \nointerlineskip\box\@cclv}%
+    \ifLL at combine
+      \@@@exec at outs
+      \expandafter\newsavebox\csname LL at box\Roman{LL at page}\endcsname%
+      \setbox\@cclv=\vbox{\vskip1in\unvbox\@cclv}%
+      \setbox\@cclv=\vbox{\moveright1in\box\@cclv}%
+      \setbox\@cclv=\hb at xt@\paperwidth{\box\@cclv\hss}%
+      \setbox\@cclv=\vb at xt@\paperheight{\box\@cclv\vss}%
+      \global\expandafter\setbox%
+        \csname LL at box\Roman{LL at page}\endcsname=\box\@cclv%
+      \typeout{\@spaces[\the\c at LL@page] ==> [\Roman{LL at page}]}%
+    \fi
+  \fi
+  \ifnum\c at LL@page=7\relax
+    \begingroup
+      \set at typeset@protect
+      \LL at toomanypages{%
+        The text you supplied fills more than six pages\MessageBreak
+        and will therefore not fit onto a single flyer}{%
+        Try using smaller fonts or reducing vertical space}%
+    \endgroup
+  \fi
+  \stepcounter{LL at page}}
+\ifLL at combine
+  \def\@@end{%
+    \clearpage\pagestyle{empty}%
+    \let\@outputpage\LL at outputpage
+    \def\@EveryShipout at Hook{}%
+    \def\@EveryShipout at AtNextHook{}%
+    \EveryShipout{\LL at savePage}%
+    \loop\ifnum\c at LL@page<7\relax
+      \ClassInfo{leaflet}{Generating empty page \the\c at page}%
+      \null\newpage
+    \repeat
+    \let\shipout\LL at shipout \let\@begindvi\LL at begindvi
+    \paperwidth=3\paperwidth
+    \iflandscape
+      \LL at pagesize@specials{\paperwidth}{\paperheight}%
+    \else
+      \LL at pagesize@specials{\paperheight}{\paperwidth}%
+    \fi
+    \newcommand*\LL at shipoutPage[1]{%
+      \let \protect \noexpand
+      \shipout\vb at xt@\paperheight{%
+        \set at typeset@protect
+        \vskip-1in%
+        \@begindvi\hb at xt@\paperwidth{\hskip-1in##1\hss}\vss}}%
+    \newcommand*\LL at preparePages[3]{%
+      \typeout{[\@Roman{##1}\space\@Roman{##2}\space\@Roman{##3}] ==>}%
+      \pictur@(0,0)\@nameuse{LL at largePic\Roman{page}}\endpicture%
+      \LL at preparePage{##1}\LL at preparePage{##2}\LL at preparePage{##3}}%
+    \newcommand*\LL at preparePage[1]{%
+      \expandafter\box\csname LL at box\@Roman{##1}\endcsname}%
+    \LL at selectOutput
+      {\setcounter{page}{1}%
+       \LL at shipoutPage{\LL at rotate@I{\LL at preparePages{5}{6}{1}}}}%
+      {\setcounter{page}{2}%
+       \LL at shipoutPage{\LL at rotate@II{\LL at preparePages{2}{3}{4}}}}%
+    \LL@@end
+  }%
+\else
+  \LL at pagesize@specials{\paperwidth}{\paperheight}%
+  \AtEndDocument{%
+    \clearpage\pagestyle{empty}%
+    \loop\ifnum\c at LL@page<7\relax
+      \ClassInfo{leaflet}{Generating empty page \the\c at page}%
+      \null\newpage
+    \repeat
+  }
+\fi
+\endinput
+%%
+%% End of file `leaflet.cls'.



More information about the grass-commit mailing list