[QGIS Commit] r9766 - in trunk/articles/2009/geoinformatics: .
images
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Wed Dec 10 04:18:31 EST 2008
Author: dassau
Date: 2008-12-10 04:18:31 -0500 (Wed, 10 Dec 2008)
New Revision: 9766
Added:
trunk/articles/2009/geoinformatics/Makefile
trunk/articles/2009/geoinformatics/README.txt
trunk/articles/2009/geoinformatics/article.sty
trunk/articles/2009/geoinformatics/article.tex
trunk/articles/2009/geoinformatics/floatflt.sty
trunk/articles/2009/geoinformatics/images/
trunk/articles/2009/geoinformatics/images/Makefile
trunk/articles/2009/geoinformatics/images/test-image.png
trunk/articles/2009/geoinformatics/qgis-geoinformatics.tex
Log:
added a latex example environment to start
Added: trunk/articles/2009/geoinformatics/Makefile
===================================================================
--- trunk/articles/2009/geoinformatics/Makefile (rev 0)
+++ trunk/articles/2009/geoinformatics/Makefile 2008-12-10 09:18:31 UTC (rev 9766)
@@ -0,0 +1,40 @@
+#targets:
+# make - builds the text
+# make clean - removed Latex' auxiliary files
+# make ps - create PS file
+# make pdf - create PDF file
+# make changelog - creates ChangeLog
+
+FILE=qgis-geoinformatics
+
+all:
+ make pics
+ latex $(FILE)
+ echo Rerun > $(FILE).log
+ while grep Rerun $(FILE).log >/dev/null 2>&1 ; do latex $(FILE).tex ; done
+
+#make PostScript:
+ps:
+ make all
+ dvips $(FILE).dvi -o $(FILE).ps
+
+#make PDF:
+pdf:
+ make all
+ dvipdf $(FILE).dvi
+
+# make pics
+pics:
+ cd ./images && make
+
+# make clean
+clean:
+ rm -f *.log *.aux $(FILE).dvi *.bbl *.blg *.ind *.ilg *.toc *.tof *.lof *.lot *.pdf *.ps *.idx *.brf *.out
+ rm -rf ./finalpix
+ rm -f ./images/*.eps
+
+# cvs2cl.pl creates a GNU style ChangeLog file:
+# http://www.red-bean.com/~kfogel/cvs2cl.shtml
+changelog:
+ cvs2cl.pl
+ @echo "Written ChangeLog"
Added: trunk/articles/2009/geoinformatics/README.txt
===================================================================
--- trunk/articles/2009/geoinformatics/README.txt (rev 0)
+++ trunk/articles/2009/geoinformatics/README.txt 2008-12-10 09:18:31 UTC (rev 9766)
@@ -0,0 +1,44 @@
+We were asked to write an article for Geoinformatics, Magazine for Surveying,
+Mapping and GIS Professionals by Eric van Rees <evanrees at geoinformatics.com>.
+
+## Their plan:
+
+"Many thanks for your positive reply! We're looking forward to your
+contribution. My plan is to have a series of open source geospatial
+application articles in the coming issues of the magazine. If possible, I'd
+like to publish your contribution in our March issue (deadline February 4).
+As for the contents, maybe you'd be able to do a product review of QGIS v.
+1.0 and its users/purpose in life/platforms used?"
+
+## Deadline is Feb 4 2009
+
+## Editorial guidelines:
+http://www.geoinformatics.com/asp/default.asp?t=show&var=902
+
+Details for submission
+Please send a synopsis before submitting an article to Eric van Rees. The
+article plus images should all be submitted as separate files. All
+contributions are subject to editing and will normally not be returned before
+publication. All other questions should also be directed to Eric van Rees.
+
+Article
+
+ * Submit the article as plain text, Font: Times New Roman, 11 pts.
+ * The article should consist of: clear heading, short introduction, text
+ * divided into several parts, all accompanied by a heading. Also needed
+ * are: full author(s) name(s), email address(es), short background
+ * information on the author(s) and website(s).
+ * Illustrations should be referred to as ‘Figure 1’, ‘Figure 2’ etc in
+ * the text.
+ * Please do not exceed 3,000 words.
+
+Illustrations
+
+ * Submit images as separate JPG/TIFF files, 300 dpi and approximately
+ * 15cm square in size.
+ * The maximum number of illustrations is 6.
+ * Provide a clear caption for each image.
+ * We never guarantee publication of all illustrations submitted nor the
+ * order in which they are published.
+
+
Added: trunk/articles/2009/geoinformatics/article.sty
===================================================================
--- trunk/articles/2009/geoinformatics/article.sty (rev 0)
+++ trunk/articles/2009/geoinformatics/article.sty 2008-12-10 09:18:31 UTC (rev 9766)
@@ -0,0 +1,169 @@
+%% Style definitions
+%% [$Id$]
+%% nothing to change below
+
+% creating an Index using package makeidx
+% see http://web.image.ufl.edu/help/latex/latex_indexes.shtml
+\usepackage{makeidx}
+\makeindex
+
+% important for nice acroread-visualization as pdf.
+\usepackage[latin1]{inputenc}
+\usepackage[T1]{fontenc}
+
+% To make commands appear smooth
+% found here: http://www.open4me.de/pdfprobleme.html
+\usepackage{ae,aecompl}
+
+% Change of Caption font and size
+\usepackage[bf]{caption}
+\renewcommand{\captionfont}{\small}
+
+% change serif to helvetica
+\usepackage{helvet}
+\renewcommand{\sfdefault}{phv} % switch \sf to Helvetica T1
+\renewcommand*{\familydefault}{\sfdefault}
+
+% new command to suppress appendix captions
+\def\afterfi#1\fi{\fi#1}
+\let\ORIGaddtocontents\addtocontents
+\newcommand*\dontaddtolof[2]{\edef\temp{#1}%
+ \ifx\temp\ext at figure\else\afterfi\ORIGaddtocontents{#1}{#2}\fi}
+\newcommand*\ignorelof{\let\addtocontents\dontaddtolof}
+\newcommand*\obeylof{\let\addtocontents\ORIGaddtocontents}
+
+% graficx-package for dvips and dvipdf and includegraphics
+\usepackage[dvips,dvipdf]{graphicx}
+ \graphicspath{{./finalpix/}{../finalpix/}{images}}
+
+% color package for dvips
+\usepackage[dvips]{color}
+
+% author-year-citation paket natbib (for cited literature)
+\usepackage[round,sort]{natbib}
+% \bibpunct{(}{)}{,}{a}{}{;}
+
+% A4:
+\usepackage{typearea}
+ \areaset[12mm]{17cm}{22cm}
+\topmargin-0.2cm % A4
+
+% For floating texts around images and tables
+\usepackage{floatflt}
+
+% to allow hyphenation for re-projection (composita)
+\usepackage{hyphenat}
+
+% header and footer package
+\usepackage{fancyhdr}
+% \setlength{\unitlength}{1mm}
+\pagestyle{fancy}
+\fancyhead{} %clear all fields
+\fancyfoot{} %clear all fields
+
+\fancyhead[RO]{\rightmark} % print section right on odd
+\fancyhead[LE]{\leftmark} % print chapter left on even page
+\fancyhead[CE,RE]{} % empty
+\fancyhead[LO,CO]{} % empty
+%Footer two-sided:
+%\fancyfoot[LE,RO]{\thepage}
+%\fancyfoot[RE,LO]{QGIS article for Geoinformatics Magazine}
+%Footer one-sided:
+\fancyfoot[RE,RO]{\thepage} % pages in footer, single sided
+\fancyfoot[LE,LO]{QGIS article for Geoinformatics Magazine}
+
+\renewcommand{\headrulewidth}{0.3pt} % ruler at top
+\renewcommand{\footrulewidth}{0.3pt} % ruler at bottom
+
+%define plain for chapter's first page:
+\fancypagestyle{plain}{%
+\fancyhf{} %clear all fields
+\fancyfoot[C]{\thepage} %put page into center footer
+\renewcommand{\headrulewidth}{0pt} % no ruler at top
+\renewcommand{\footrulewidth}{0pt}} % no ruler at bottom
+
+\pagenumbering{roman}
+
+% for extra long tables
+\usepackage{supertabular}
+
+% create an automatic index
+\usepackage{makeidx}
+
+% for page-width tables
+\usepackage{tabularx}
+
+% rotate tables
+\usepackage{rotating}
+
+% table rows and cols with grey background color
+\usepackage{colortbl}
+
+% don't cover column lines
+\usepackage{hhline}
+
+% footer formating
+\usepackage[bottom]{footmisc}
+
+% row distance
+\renewcommand{\baselinestretch}{1.1}
+\small\normalsize
+
+% syllable division
+\sloppy
+
+% paragraph distance
+\parskip1.5ex
+
+% indentation -> here 0
+\parindent0ex
+
+% also in article-style 5 structure level!
+% 3 are enough... to keep it clear
+\setcounter{secnumdepth}{3}
+\setcounter{tocdepth}{3}
+% new definition for paragraph und subparagraph
+% paragraph
+\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
+ {-3.25ex\@plus -1ex \@minus -.2ex}%
+ {1ex \@plus .2ex}%
+ {\normalfont\normalsize\bfseries}}
+% subparagraph
+\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\z@}%
+ {-3.25ex\@plus -1ex \@minus -.2ex}%
+ {1ex \@plus .2ex}%
+ {\normalfont\normalsize\bfseries}}
+
+% several graphics next to eachother counting
+\usepackage[normal]{subfigure}
+
+% new command for subfigure to optimize distance between figures
+\newcommand{\goodgap}{%
+ \hspace{\subfigtopskip}%
+ \hspace{\subfigbottomskip}}
+
+% keep float-grafics in a section
+\usepackage[below]{placeins}
+
+% map index
+\usepackage{float}
+% generate new index for maps
+\newfloat{karte}{H}{maps}
+ \floatstyle{plain}
+ \floatname{karte}{Karte}
+
+% command for subscript and superscript in formulars.
+\newfont{\tensy}{cmsy10}
+\newcommand{\hoch}[1]{{$\fontdimen16\tensy=3.0pt
+ \fontdimen17\tensy=3.0pt \mathrm{#1}$}}
+
+% For 2 separated bib indices (lit and web)
+\usepackage{bibtopic}
+
+% using xspace
+\usepackage{xspace}
+
+\usepackage[bookmarks=true, pdftitle={QGIS Article}, pdfauthor={QGIS
+Development Team}, pdfsubject={QGIS Article}, breaklinks=true, colorlinks=true, linkcolor=black,dvips]{hyperref}
+% if colorlinks=false then add pdfborder={0 0 0} (no link boxes)
+
Added: trunk/articles/2009/geoinformatics/article.tex
===================================================================
--- trunk/articles/2009/geoinformatics/article.tex (rev 0)
+++ trunk/articles/2009/geoinformatics/article.tex 2008-12-10 09:18:31 UTC (rev 9766)
@@ -0,0 +1,27 @@
+\section{Section}
+\pagenumbering{arabic}
+\setcounter{page}{1}
+
+Einen guten Forscher erkennt man daran, dass er alle Hintergruende erforscht.
+Ich, Prof. Lactosius, bin natuerlich ein guter Forscher. Deshalb habe ich auch
+die Quelle der Schulmilch, die Kuehe, gruendlich erforscht.
+
+\subsection{Subsection}
+
+Ich weiss schon, was ihr jetzt sagen werdet. Jeder weiss, wie eine Kuh aussieht.
+Aber auch bei den Kuehen habe ich kleine und groessere Unterschiede entdeckt.
+Also los, folgt mir ins Land der Kuehe.
+
+\begin{figure}[h]
+ \begin{center}
+ \caption{Example Figure}\label{fig:example-figure}\smallskip
+ \includegraphics[clip=true]{test-image}
+\end{center}
+\end{figure}
+
+\minisec{Minisec}
+
+...
+
+
+
Added: trunk/articles/2009/geoinformatics/floatflt.sty
===================================================================
--- trunk/articles/2009/geoinformatics/floatflt.sty (rev 0)
+++ trunk/articles/2009/geoinformatics/floatflt.sty 2008-12-10 09:18:31 UTC (rev 9766)
@@ -0,0 +1,348 @@
+%%
+%% This is file `floatflt.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% floatflt.dtx (with options: `paketkod')
+%%
+%% Copyright (c) 1994-1998 by Mats Dahlgren <matsd at sssk.se>.
+%% All rights reserved. See the file `floatflt.ins' for information
+%% on how you may (re-)distribute the `floatflt' package files.
+%% You are not allowed to make any changes to this file without
+%% explicit permission from the author.
+%%
+\NeedsTeXFormat{LaTeX2e}[1996/12/01]
+\ProvidesPackage{floatflt}[1997/07/16 v. 1.31]
+\newcounter{OptionTest}
+\setcounter{OptionTest}{0}
+\DeclareOption{rflt}{\setcounter{OptionTest}{1}}
+\DeclareOption{lflt}{\setcounter{OptionTest}{2}}
+\DeclareOption{vflt}{\setcounter{OptionTest}{0}}
+\DeclareOption*{\OptionNotUsed}
+\ProcessOptions
+\newbox\figbox
+\newbox\tabbox
+\newbox\pagebox
+\newcount\ffigcount
+\newcount\ftabcount
+\newcount\fftest
+\newcount\hangcount
+\newcount\nosuccesstryfig
+\newcount\nosuccesstrytab
+\newdimen\figgutter \figgutter=1truepc
+\newdimen\tabgutter \tabgutter=1truepc
+\newdimen\htdone \htdone=0pt
+\newdimen\pageht
+\newdimen\startpageht
+\newdimen\tabbredd
+\newdimen\floatfltwidth
+\newdimen\fltitemwidth
+\newif\iftryingfig \tryingfigfalse
+\newif\iftryingtab \tryingtabfalse
+\newif\ifdoingfig \doingfigfalse
+\newif\ifdoingtab \doingtabfalse
+\newif\iffigprocessing \figprocessingfalse
+\newif\iftabprocessing \tabprocessingfalse
+\newif\ifpageafterfig \pageafterfigfalse
+\newif\ifpageaftertab \pageaftertabfalse
+\newif\ifoddpages
+\newif\ifoutput
+\newtoks\outputpretest
+\newenvironment{floatingfigure}[2][v]%
+{\@tfor \@tempa :=#1\do
+ {\if\@tempa r\global\oddpagestrue\fi
+ \if\@tempa l\global\oddpagesfalse\fi
+ \if\@tempa p%
+ \ifodd\c at page\global\oddpagestrue
+ \else\global\oddpagesfalse\fi
+ \fi
+ \if\@tempa v%
+ \ifnum\theOptionTest=0
+ \ifodd\c at page\global\oddpagestrue
+ \else\global\oddpagesfalse\fi
+ \else
+ \ifodd\theOptionTest\global\oddpagestrue
+ \else\global\oddpagesfalse\fi
+ \fi
+ \fi
+ }
+ \expandafter\ifx\csname oldoutput\endcsname\relax% ref. TeXbook Ex.7.7
+ \PackageError{floatflt}{The `floatflt' package is not initialized}
+ {Try to reinstall the `floatflt' package.\MessageBreak
+ Type `x' to quit or <Return> to try to go on.}\@@end\fi
+ \global\everypar={\tryfig\oldeverypar}% must be set globally!
+ \global\advance\ffigcount by 1
+ \iffigprocessing
+ {\count0=\ffigcount\advance\count0 by -1
+ \PackageWarningNoLine{floatflt}{Floating figures \the\count0\space%
+ \space and \the\ffigcount\space colliding}%
+ }%
+ \fi
+ \iftabprocessing \PackageWarningNoLine{floatflt}{Floating figure %
+ \the\ffigcount\space and floating table \the\ftabcount\space colliding}
+ \fi
+ \def\@captype{figure}
+ \global\setlength{\floatfltwidth}{#2}
+ \global\figprocessingtrue
+ \global\setbox\figbox=\vbox\bgroup% begin of figbox
+ \hrule height 0pt width #2 depth 0pt%
+ \hsize=#2%
+}
+{
+\egroup
+\figinsert\par%
+}
+\newenvironment{floatingtable}[2][v]%
+{\@tfor \@tempa :=#1\do
+ {\if\@tempa r\global\oddpagestrue\fi
+ \if\@tempa l\global\oddpagesfalse\fi
+ \if\@tempa p%
+ \ifodd\c at page\global\oddpagestrue
+ \else\global\oddpagesfalse\fi
+ \fi
+ \if\@tempa v%
+ \ifnum \theOptionTest=0
+ \ifodd\c at page\global\oddpagestrue
+ \else\global\oddpagesfalse\fi
+ \else
+ \ifodd\theOptionTest\global\oddpagestrue
+ \else\global\oddpagesfalse\fi
+ \fi
+ \fi
+ }
+\expandafter\ifx\csname oldoutput\endcsname\relax% ref. TeXbook Ex.7.7
+ \PackageError{floatflt}{The `floatflt' package is not initialized}
+ {Try to reinstall the `floatflt' package.\MessageBreak
+ Type `x' to quit or <Return> to try to go on.}\@@end\fi
+\global\setbox\tabbox=\vbox\bgroup\hrule height 0pt width 0pt depth 0pt%
+ \hsize=0pt\egroup
+ \global\everypar={\trytab\oldeverypar}
+ \global\advance\ftabcount by 1
+ \iftabprocessing
+ {\count0=\ftabcount\advance\count0 by -1
+ \PackageWarningNoLine{floatflt}{Floating tables \the\count0\space%
+ \space and \the\ftabcount \space colliding}%
+ }
+ \fi
+ \iftabprocessing \PackageWarningNoLine{floatflt}{Floating table %
+ \the\ffigcount\space and floating figure \the\ftabcount\space colliding}
+ \fi
+ \settowidth{\tabbredd}{#2}
+ \global\setlength{\floatfltwidth}{\tabbredd}
+ \def\@captype{table}
+ \global\tabprocessingtrue
+ \global\setbox\tabbox=\vbox\bgroup% begin of tabbox
+ \hrule height 0pt width\tabbredd depth 0pt%
+ \hsize=\tabbredd
+\noindent\ifnum\ftabcount >1\ifoddpages\else\hspace*{-12pt}\fi\fi%
+#2\vspace{0.2\baselineskip}%
+}
+{
+\egroup% end of \tabbox
+\tabinsert\par%
+}
+\AtBeginDocument{%
+\edef\oldoutput{\the\output}%
+\output={\the\outputpretest%
+ \ifoutput\oldoutput\fi}
+\outputpretest={\outputtrue}
+\edef\oldeverypar{\the\everypar}
+}
+\def\dofigtest{%
+ \ifnum\outputpenalty=-10005
+ \setbox\pagebox=\vbox{\unvbox255}%
+ \global\pageht=\ht\pagebox
+ \global\outputfalse
+ \unvbox\pagebox
+ \else
+ \global\outputtrue
+ \ifdoingfig
+ \global\pageafterfigtrue
+ \fi
+ \fi}%
+\def\dotabtest{%
+ \ifnum\outputpenalty=-10005
+ \setbox\pagebox=\vbox{\unvbox255}%
+ \global\pageht=\ht\pagebox
+ \global\outputfalse
+ \unvbox\pagebox
+ \else
+ \global\outputtrue
+ \ifdoingtab
+ \global\pageaftertabtrue
+ \fi
+ \fi}%
+\def\tryfig{%
+ \iftryingfig
+ {\everypar={\relax}\setbox0=\lastbox%
+ \parindent=\wd0 \parskip=0pt \par%
+ \penalty-10005 \leavevmode}%
+ \dimen0=\vsize%
+ \advance\dimen0 by -\pageht%
+ \advance\dimen0 by -2\baselineskip%
+ \ifdim\dimen0>\ht\figbox%
+ \dimen0=0.3\baselineskip
+ \vrule depth \dimen0 width 0pt
+ \vadjust{\kern -\dimen0%
+ \vtop to \dimen0{%
+ \baselineskip=\dimen0%
+ \vss \vbox to 1ex{%
+ \ifoddpages%
+ \hbox to \hsize{\hss\copy\figbox}%
+ \else% leftsetting
+ \hbox to \hsize{\copy\figbox\hss}%
+ \fi% \ifodd\count0
+ \vss}\null}}%
+ \global\tryingfigfalse%
+ \global\doingfigtrue
+ \global\startpageht=\pageht
+ \global\htdone=0pt
+ \dohangf
+ \ifnum\nosuccesstryfig>0%
+ \typeout{floatflt Message: Flt. fig. \the\ffigcount\space set on page
+ \the\count0, shifted \the\nosuccesstryfig\space par(s) forward.}%
+ \else
+ \typeout{Package floatflt Message: Floating figure \the\ffigcount
+ \space set on page \the\count0}%
+ \fi
+ \else
+ \global\advance\nosuccesstryfig by 1
+ \fi
+ \else%
+ \ifdoingfig
+ {\everypar={\relax}\setbox0=\lastbox
+ \parindent=\wd0 \parskip=0pt \par
+ \penalty-10005 \leavevmode}%
+ \global\htdone=\pageht
+ \global\advance\htdone by -\startpageht
+ \ifpageafterfig
+ \global\doingfigfalse
+ \else
+ \dimen0=\ht\figbox%
+ \advance\dimen0 by 0.5\baselineskip%
+ \ifdim\htdone<\dimen0%
+ \dohangf
+ \else
+ \global\doingfigfalse
+ \fi
+ \fi
+ \ifdoingfig\relax\else\global\figprocessingfalse\fi
+ \else
+ \global\outputpretest={\outputtrue}%
+ \fi
+\fi
+}
+\def\trytab{%
+ \iftryingtab%
+ {\everypar={\relax}\setbox0=\lastbox%
+ \parindent=\wd0 \parskip=0pt \par%
+ \penalty-10005 \leavevmode}%
+ \dimen0=\vsize%
+ \advance\dimen0 by -\pageht%
+ \advance\dimen0 by -2\baselineskip%
+ \ifdim\dimen0>\ht\tabbox%
+ \dimen0=0.3\baselineskip
+ \vrule depth \dimen0 width 0pt
+ \vadjust{\kern -\dimen0%
+ \vtop to \dimen0{%
+ \baselineskip=\dimen0%
+ \vss \vbox to 1ex{%
+ \ifoddpages%
+ \hbox to \hsize{\hss\copy\tabbox}%
+ \else% leftsetting
+ \hbox to \hsize{\copy\tabbox\hss}%
+ \fi% \ifodd\count0
+ \vss}\null}}%
+ \global\tryingtabfalse%
+ \global\doingtabtrue
+ \global\startpageht=\pageht
+ \global\htdone=0pt
+ \dohangt
+ \ifnum\nosuccesstrytab>0%
+ \typeout{floatflt Message: Flt. tab. \the\ftabcount\space set on page
+ \the\count0, shifted \the\nosuccesstrytab\space par(s) forward.}%
+ \else
+ \typeout{Package floatflt Message: Floating table \the\ftabcount\space
+ set on page \the\count0}%
+ \fi
+ \else
+ \global\advance\nosuccesstrytab by 1
+ \fi
+ \else
+ \ifdoingtab
+ {\everypar={\relax}\setbox0=\lastbox
+ \parindent=\wd0 \parskip=0pt \par
+ \penalty-10005 \leavevmode}%
+ \global\htdone=\pageht
+ \global\advance\htdone by -\startpageht
+ \ifpageaftertab
+ \global\doingtabfalse
+ \else
+ \dimen0=\ht\tabbox%
+ \advance\dimen0 by 0.5\baselineskip%
+ \ifdim\htdone<\dimen0%
+ \dohangt
+ \else
+ \global\doingtabfalse
+ \fi
+ \fi
+ \ifdoingtab\relax\else\global\tabprocessingfalse\fi
+ \else
+ \global\outputpretest={\outputtrue}%
+ \fi
+\fi
+}
+\def\figinsert{%
+ \global\nosuccesstryfig=0%
+ \global\outputpretest={\dofigtest}%
+ \global\tryingfigtrue \global\doingfigfalse%
+ \global\pageafterfigfalse}%
+\def\tabinsert{%
+ \global\nosuccesstrytab=0%
+ \global\outputpretest={\dotabtest}%
+ \global\tryingtabtrue \global\doingtabfalse%
+ \global\pageaftertabfalse}%
+\def\dohangf{%
+ \dimen0=\ht\figbox%
+ \advance\dimen0 by -\htdone%
+ \advance\dimen0 by 1.49\baselineskip%
+ \hangcount=\dimen0%
+ \divide\hangcount by \baselineskip%
+ \dimen0=\wd\figbox%
+ \advance\dimen0 by \figgutter%
+ \ifoddpages%
+ \global\hangafter=-\hangcount% placing right
+ \global\hangindent=-\dimen0%
+ \else% \ifleftsetting
+ \global\hangafter=-\hangcount% placing left
+ \global\hangindent=\dimen0%
+ \fi
+}
+\def\dohangt{%
+ \dimen0=\ht\tabbox%
+ \advance\dimen0 by -\htdone%
+ \advance\dimen0 by 1.49\baselineskip%
+ \hangcount=\dimen0%
+ \divide\hangcount by \baselineskip%
+ \dimen0=\wd\tabbox%
+ \advance\dimen0 by \tabgutter%
+ \ifoddpages%
+ \global\hangafter=-\hangcount% placing right
+ \global\hangindent=-\dimen0%
+ \else% \ifleftsetting
+ \global\hangafter=-\hangcount% placing left
+ \global\hangindent=\dimen0%
+ \fi
+}
+\newcommand{\fltitem}[2][0pt]{\setlength{\fltitemwidth}{\linewidth}%
+ \addtolength{\fltitemwidth}{-\floatfltwidth}%
+ \addtolength{\fltitemwidth}{-0.5em}%
+ \item \parbox[t]{\fltitemwidth}{#2}\\[#1]}
+\newcommand{\fltditem}[3][0pt]{\setlength{\fltitemwidth}{\linewidth}%
+ \addtolength{\fltitemwidth}{-\floatfltwidth}%
+ \addtolength{\fltitemwidth}{-0.5em}%
+ \item[#2] \parbox[t]{\fltitemwidth}{#3}\\[#1]}
+\endinput
+%%
+%% End of file `floatflt.sty'.
Added: trunk/articles/2009/geoinformatics/images/Makefile
===================================================================
--- trunk/articles/2009/geoinformatics/images/Makefile (rev 0)
+++ trunk/articles/2009/geoinformatics/images/Makefile 2008-12-10 09:18:31 UTC (rev 9766)
@@ -0,0 +1,33 @@
+# makefile to convert figures into eps format for the book
+
+# Comments from Michel Wurtz:
+# You will notice that the list given is the list of targets. "all" just
+# refer to this list. The most important rule is the next rule, that give
+# the generic rule for transforming a .fig into a .eps file. Note the use
+# of % (define the couple target:source) and the use of
+# $< (source postfix, here .fig) and $@ (target postfix, here .eps)
+
+# with .eps extension:
+#EPS=datenbank_vect.eps
+
+PNG=test-image.eps\
+
+##### TARGETS #####
+
+all: $(PNG)
+ if [ ! -d ../finalpix/ ]; then mkdir ../finalpix; fi
+ #bitte nicht mv machen:
+ cp *.eps ../finalpix/
+
+$(EPS): %.eps: %.fig
+ fig2dev -L eps $< > $@
+
+$(FIGPNG): %.png: %.fig
+ fig2dev -L png -m 2 $< > $@
+
+$(PNG): %.eps: %.png
+ # Workaround for PDF
+ # convert -geometry 800x600 -depth 1 $< $@
+ convert $< $@
+clean:
+ rm -f *.bak *~ *.pdf *.eps $(PNG) $(EPS)
Added: trunk/articles/2009/geoinformatics/images/test-image.png
===================================================================
(Binary files differ)
Property changes on: trunk/articles/2009/geoinformatics/images/test-image.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/articles/2009/geoinformatics/qgis-geoinformatics.tex
===================================================================
--- trunk/articles/2009/geoinformatics/qgis-geoinformatics.tex (rev 0)
+++ trunk/articles/2009/geoinformatics/qgis-geoinformatics.tex 2008-12-10 09:18:31 UTC (rev 9766)
@@ -0,0 +1,12 @@
+% Please don't edit - write text to article.tex
+% paper format and font size
+\documentclass[a4paper,doubleside,onecolumn,dvips,12pt]{scrartcl}
+% style file
+\usepackage{article}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{document}
+\include{article}
+\end{document}
+
+
More information about the QGIS-commit
mailing list