File tree Expand file tree Collapse file tree 3 files changed +17
-4
lines changed Expand file tree Collapse file tree 3 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 1- autolatex 31.2
1+ autolatex 31.3
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ sub analyzeCommandLineOptions(\%) {
117117 $realcfg -> {' __private__' }{' action.fix config file' } = File::Spec-> rel2abs($realcfg -> {' __private__' }{' action.fix config file' }) if ($realcfg -> {' __private__' }{' action.fix config file' });
118118 },
119119
120- ' help|?' => sub { showManual(getAutoLaTeXDir(), " pod " ," autolatex.pod" ); },
120+ ' help|?' => sub { showManual(getAutoLaTeXDocDir() ," autolatex.pod" ); },
121121
122122 ' I=s@' => sub {
123123 if (!$cfg -> {' generation.translator include path' }) {
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ our $VERSION = '14.0';
4242
4343@ISA = (' Exporter' );
4444@EXPORT = qw( &isHash &isArray &removeFromArray &arrayContains &getAutoLaTeXDir
45- &getAutoLaTeXName &getAutoLaTeXLaunchingName &getAutoLaTeXVersion
45+ &getAutoLaTeXName &getAutoLaTeXDocDir & getAutoLaTeXLaunchingName &getAutoLaTeXVersion
4646 &setAutoLaTeXInfo &showManual &printDbg &printErr &formatErr &printWarn &setDebugLevel
4747 &getDebugLevel &printDbgFor &dumpDbgFor &arrayIndexOf &printDbgIndent
4848 &printDbgUnindent &runCommandOrFail &runSystemCommand &runCommandOrFailFromInput
@@ -186,6 +186,19 @@ sub getAutoLaTeXDir() {
186186
187187=pod
188188
189+ =item B<getAutoLaTeXDocDir() >
190+
191+ Replies the location of the documentation of AutoLaTeX.
192+
193+ I<Returns: > the AutoLaTeX documentation directory.
194+
195+ =cut
196+ sub getAutoLaTeXDocDir () {
197+ return File::Spec-> catfile(getAutoLaTeXDir(), " doc" );
198+ }
199+
200+ =pod
201+
189202=item B<getAutoLaTeXName() >
190203
191204Replies the base filename of the main AutoLaTeX script.
@@ -335,7 +348,7 @@ sub showManual(@) {
335348 }
336349 }
337350
338- # Display the
351+ # Display the POD
339352 if ($pod ) {
340353 my $pod = File::Spec-> catfile(@_ , $pod );
341354 if ( -r " $pod " ) {
You can’t perform that action at this time.
0 commit comments