mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-01 10:42:34 +02:00
* Help for latex backend
git-svn-id: trunk@32897 -
This commit is contained in:
parent
65976e4db3
commit
288aa63a67
@ -134,6 +134,7 @@ Type
|
||||
Function SplitLine (ALine : String): String; virtual;
|
||||
Function InterPretOption(Const Cmd,Arg : String) : boolean; override;
|
||||
Class Function FileNameExtension : String; override;
|
||||
class procedure Usage(List: TStrings); override;
|
||||
end;
|
||||
|
||||
|
||||
@ -795,6 +796,26 @@ begin
|
||||
Result:=False;
|
||||
end;
|
||||
|
||||
Resourcestring
|
||||
SLatexHighlightDocs = 'Use the syntax highlighter for declarations.';
|
||||
SLatexExtensionDocs = 'Specify the extension for the latex files.';
|
||||
SLatexVerbatimLengthDocs = 'Specify maximum line length for verbatim environments (default 64).';
|
||||
SLatexImageDirDocs = 'Specify the directory where the images are stored.';
|
||||
|
||||
class procedure TLaTeXWriter.Usage(List: TStrings);
|
||||
|
||||
begin
|
||||
Inherited;
|
||||
List.Add('--latex-highlight');
|
||||
List.Add(SLatexHighlightDocs);
|
||||
List.Add('--latex-extension=ext');
|
||||
List.Add(SLatexExtensionDocs);
|
||||
List.Add('--latex-verbatim-length=len');
|
||||
List.Add(SLatexVerbatimLengthDocs);
|
||||
List.Add('--image-dir=dir');
|
||||
List.Add(SLatexImageDirDocs);
|
||||
end;
|
||||
|
||||
initialization
|
||||
// Do not localize.
|
||||
RegisterWriter(TLaTeXWriter,'latex','Latex output using fpc.sty class.');
|
||||
|
Loading…
Reference in New Issue
Block a user