summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ulqda
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-06-11 23:06:40 +0000
committerKarl Berry <karl@freefriends.org>2009-06-11 23:06:40 +0000
commit5e3364c59042be87b704bd1987cb6a19069051a2 (patch)
tree278840ab01d29f0c55048e4589ab0a4b13a17ba5 /Master/texmf-dist/tex/latex/ulqda
parentc09766e27de6513283bdd791e2a19e2e959ab5ec (diff)
ulqda update (11jun09)
git-svn-id: svn://tug.org/texlive/trunk@13716 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ulqda')
-rw-r--r--Master/texmf-dist/tex/latex/ulqda/ulqda.sty49
1 files changed, 36 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/ulqda/ulqda.sty b/Master/texmf-dist/tex/latex/ulqda/ulqda.sty
index da0f8ccc5c8..027d7cc32f0 100644
--- a/Master/texmf-dist/tex/latex/ulqda/ulqda.sty
+++ b/Master/texmf-dist/tex/latex/ulqda/ulqda.sty
@@ -22,15 +22,17 @@
%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{ulqda}
- [2009/05/15 v1.0 Qualitative Data Analysis package]
-\RequirePackage{soul}
-\RequirePackage{color}
-\RequirePackage{multicols}
+ [2009/06/11 v1.1 Qualitative Data Analysis package]
+\RequirePackage{multicol}
\RequirePackage{tikz}
-\RequirePackage[cache]{dot2texi}
+%% dot2texi.sty in CTAN doesn't support the cache option yet
+%% The SVN version does.
+\RequirePackage{dot2texi}
\usetikzlibrary{backgrounds,shapes,arrows,positioning}
-\definecolor{UlQda@lightblue}{rgb}{0.80,0.85,1}
+
+\definecolor[named]{UlQda@lightblue}{rgb}{0.80,0.85,1}
+\RequirePackage{soul}
\sethlcolor{UlQda@lightblue}
\newif\ifUlQda@debug \UlQda@debugfalse
@@ -83,17 +85,19 @@
\fi
\newcommand{\ulqdaHighlight}[2]{%
- \hl{\protect\ul{#2}}%
- \marginpar%
- {\raggedright\hbadness=10000\tiny\it \hl{#1}\par}%
- \par%
+ \hl{\protect\ul{#2}}%
+ \marginpar%
+ {\raggedright\hbadness=10000\tiny\it%
+ \hl{#1}
+ \par}%
+ %\par%
}
\newcommand{\ulQda}{\textsf{ul\kern -.075em\lower .3ex\hbox {\protect\emph{q}}da}}
\ifUlQda@active
\AtBeginDocument{%
- \typeout{ulqda: Loaded - 2009/05/15 v1.0 Qualitative Data Analysis package}
+ \typeout{ulqda: Loaded - 2009/06/11 v1.1 Qualitative Data Analysis package}
\ifUlQda@cache
\IfFileExists{\jobname.csv} %
{
@@ -139,7 +143,7 @@
\def\eatthesquarebracket]{} % Gobble the square bracket.
%
% Coding macro
- \newcommand{\ulqdaCode}[2]{\ulqdaHighlight{#1}{#2} \UlQda@ListIt{#2}[#1,]} %
+ \newcommand{\ulqdaCode}[2]{\ulqdaHighlight{#1}{#2}\UlQda@ListIt{#2}[#1,]} %
\fi
} % end of \AtBeginDocument
@@ -233,10 +237,29 @@
}
}
}
+ \newcommand{\ulqdaCloud}{
+ \IfFileExists{\jobname_cloud.tex}{
+ \input{\jobname_cloud.tex}
+ }{
+ \ifUlQda@cachepresent
+ \ifUlQda@shellescape
+ \ifUlQda@debug
+ \typeout{ulqda: Converting .csv to TeX cloud}
+ \fi
+ \immediate\write18{ulqda.pl --cloud \UlQda@filter \UlQda@counts
+ -- \jobname.csv \jobname_cloud.tex}
+ \fi
+ \fi
+ \IfFileExists{\jobname_cloud.tex}{
+ \input{\jobname_cloud.tex}
+ }
+ }
+ }
\else % UlQda@activefalse
\newcommand{\ulqdaTable}{}
+ \newcommand{\ulqdaCloud}{}
\newcommand{\ulqdaGraph}[2]{}
- \newcommand{\ulqdaCode}[2]{}
+ \newcommand{\ulqdaCode}[2]{#2}
\newcommand{\ulqdaSetSectFilter}[1]{}
\newcommand{\ulqdaClearSectFilter}{}
\fi