Skip to content

Commit 8f7b6f3

Browse files
committed
more steps into virtual environments
1 parent c4791d1 commit 8f7b6f3

20 files changed

+254
-17
lines changed

styles/floats.sty

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
%%
44
%
55
\RequirePackage{subfig}%
6-
\renewcommand\thesubfigure{\arabic{subfigure}}%
6+
\renewcommand{\thesubfigure}{\thefigure.\arabic{subfigure}}%
7+
\renewcommand{\p@subfigure}{}%
78
%
89
\protected\gdef\tightbox#1{\bgroup%
910
\fboxsep=0pt%

styles/listing.sty

+22
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,12 @@ language=bash,%
132132
}%
133133
%
134134
%
135+
\lstdefinestyle{bat_style}{%
136+
style=basic_style,%
137+
language=command.com,%
138+
}%
139+
%
140+
%
135141
\lstdefinestyle{tool_style}{%
136142
style=text_style,%
137143
morecomment=[f][\color{listing-tool-command}][0]{\$ },
@@ -165,6 +171,12 @@ breaklines=true%
165171
\gdef\bashil#1{%
166172
\inlinelistingbox{\lstinline[style=bash_style]$#1$}}%
167173
%
174+
%% print some BAT code inline
175+
%% #1 the optional args
176+
%% #2 the code to be printed inline
177+
\gdef\batil#1{%
178+
\inlinelistingbox{\lstinline[style=bat_style]$#1$}}%
179+
%
168180
%% print some xml inline
169181
%% #1 the optional args
170182
%% #2 the code to be printed inline
@@ -225,6 +237,16 @@ breaklines=true%
225237
\gitCode{#1}{#2}{}{#3}{#4}{,style=bash_style}%
226238
}%
227239
%
240+
%%
241+
%% Use latexgit to place a windows BAT listing.
242+
%% #1 the git repository
243+
%% #2 the local path
244+
%% #3 the label (lst: will be pre-pended)
245+
%% #4 the caption
246+
\protected\gdef\gitBat#1#2#3#4{%
247+
\gitCode{#1}{#2}{}{#3}{#4}{,style=bat_style}%
248+
}%
249+
%
228250
%% Use latexgit to place a listing with program output.
229251
%% #1 the git repository
230252
%% #2 the local path

text/main/packages/pipAndVenv/pipAndVenv.tex

+230-16
Large diffs are not rendered by default.
36.3 KB
Binary file not shown.
36.8 KB
Binary file not shown.
37.5 KB
Binary file not shown.
39.4 KB
Binary file not shown.
39.3 KB
Binary file not shown.
42 KB
Binary file not shown.
38.4 KB
Binary file not shown.
38.5 KB
Binary file not shown.
1.44 KB
Loading
3.22 KB
Loading
3.45 KB
Loading
3.92 KB
Loading
3.56 KB
Loading
3.33 KB
Loading
2.6 KB
Loading
2.8 KB
Loading
Loading

0 commit comments

Comments
 (0)