diff --git a/doc/lib/BackRestDoc/Latex/DocLatexSection.pm b/doc/lib/BackRestDoc/Latex/DocLatexSection.pm index 94516e9a3..e4ef5e077 100644 --- a/doc/lib/BackRestDoc/Latex/DocLatexSection.pm +++ b/doc/lib/BackRestDoc/Latex/DocLatexSection.pm @@ -190,7 +190,7 @@ sub sectionProcess # Add code block elsif ($oChild->nameGet() eq 'code-block') { - my $strTitle = $oChild->paramGet("title", false); + my $strTitle = $self->{oManifest}->variableReplace($oChild->paramGet("title", false), 'latex'); if (defined($strTitle) && $strTitle eq '') { diff --git a/doc/xml/release.xml b/doc/xml/release.xml index 2c35ffcff..b91522a79 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -170,7 +170,7 @@ -

PDF rendering improvements. Check both doc-path and bin-path for logo. Allow PDF to be output to a location other than the output directory. Use PDF-specific version variable for more flexible formatting. Allow sections to be excluded from table of contents. More flexible replacements for titles and footers. Fill is now the default for table columns. Column width is specified as a percentage rather that using latex-specific notation.

+

PDF rendering improvements. Check both doc-path and bin-path for logo. Allow PDF to be output to a location other than the output directory. Use PDF-specific version variable for more flexible formatting. Allow sections to be excluded from table of contents. More flexible replacements for titles and footers. Fill is now the default for table columns. Column width is specified as a percentage rather that using latex-specific notation. Fix missing variable replace for code-block title.