On Wed, Aug 29, 2001 at 06:42:11PM +0100, Jose Abilio Oliveira Matos wrote:
[snip]
> 
>  305      if( $Latex_Preamble =~ /\\geometry\{(.*)\}/) {
>  306          my $geom_options = $1;
>  307          my $op;
>  308          foreach $op (keys %Geometry_Options) {
>  309              $geom_options =~ s/$op// && do {
>  310                  $LyX_Preamble .= $Geometry_Options{$op}();

for Perl < 5.6, you need
$LyX_Preamble .= $Geometry_Options{$op}->();
(should I send a patch for this one-liner?)

>  311                  print "Geometry option $op\n" if $debug_on;
>  312              }
>  313          }
> ...
> 
[snip]
> 
> -- 
> José

-- 
        Yves

Reply via email to