Changeset 8c1ee9 in git for doc/texi2html
- Timestamp:
- Jan 13, 2023, 12:15:43 PM (16 months ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- b5d360f5562e29d38097134c37a1cbac2f07867a
- Parents:
- 2695653b7a8b04305574f201f0dfcdc2b87f60ea
- git-author:
- Frédéric Chapoton <chapoton@unistra.fr>2023-01-13 12:15:43+01:00
- git-committer:
- Frédéric Chapoton <chapoton@unistra.fr>2023-01-13 12:16:01+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/texi2html
r269565 r8c1ee9 115 115 type => '=i', 116 116 linkage => \$main::T2H_DEBUG, 117 verbose => 'output HTML with debug ing information',117 verbose => 'output HTML with debugging information', 118 118 }; 119 119 … … 172 172 type => '=s', 173 173 linkage => \$T2H_INVISIBLE_MARK, 174 verbose => 'use text in invis ble anchot',174 verbose => 'use text in invisible anchor', 175 175 noHelp => 1, 176 176 }; … … 483 483 $T2H_CENTER_IMAGE = 1; 484 484 485 # used as i dentation for block enclosing command @example, etc485 # used as indentation for block enclosing command @example, etc 486 486 # If not empty, must be enclosed in <td></td> 487 487 $T2H_EXAMPLE_INDENT_CELL = '<td> </td>'; … … 2224 2224 }; 2225 2225 2226 # read initial zation from $sysconfdir/texi2htmlrc or $HOME/.texi2htmlrc2226 # read initialization from $sysconfdir/texi2htmlrc or $HOME/.texi2htmlrc 2227 2227 my $home = $ENV{HOME}; 2228 2228 defined($home) or $home = ''; … … 2303 2303 2304 2304 # 2305 # file name bu isness2305 # file name business 2306 2306 # 2307 2307 die "Need exactly one file to translate\n$T2H_FAILURE_TEXT" unless @ARGV == 1; … … 2525 2525 2526 2526 $l2h_latex_preample = <<EOT; 2527 % This document was automatically generated by the l2h extens tion of texi2html2527 % This document was automatically generated by the l2h extension of texi2html 2528 2528 % DO NOT EDIT !!! 2529 2529 \\documentclass{article} … … 2536 2536 EOT 2537 2537 2538 # return used latex 1, if l2h could be init alized properly, 0 otherwise2538 # return used latex 1, if l2h could be initialized properly, 0 otherwise 2539 2539 sub l2h_InitToLatex 2540 2540 { … … 2701 2701 # return 1, on success -- 0, otherwise 2702 2702 # Extract Html code with: l2h_FromHtml($text) 2703 # replaces in $text all previo suly inserted comments by generated html code2703 # replaces in $text all previously inserted comments by generated html code 2704 2704 # returns (possibly changed) $text 2705 2705 # Finish with: l2h_FinishFromHtml … … 2794 2794 print "$ERROR l2h: can't extract content $count from html\n" 2795 2795 if ($T2H_VERBOSE); 2796 # try simple (ordinary) substit ion (without l2h)2796 # try simple (ordinary) substitution (without l2h) 2797 2797 $l_l2h = $T2H_L2H; 2798 2798 $T2H_L2H = 0; … … 2809 2809 # now we have been incorrectly called 2810 2810 $l2h_range_error++; 2811 print "$ERROR l2h: Request of $count content which is out of valid erange [0,$l2h_latex_count)\n";2811 print "$ERROR l2h: Request of $count content which is out of valid range [0,$l2h_latex_count)\n"; 2812 2812 return "<!-- l2h: ". __LINE__ . " out of range count $count -->" 2813 2813 if ($T2H_DEBUG & $DEBUG_L2H); … … 3386 3386 else 3387 3387 { 3388 warn "$ERROR: Bad macro defin tion $_"3388 warn "$ERROR: Bad macro definition $_" 3389 3389 } 3390 3390 next; … … 4210 4210 push(@lines2, &debug("</TABLE>\n", __LINE__)); 4211 4211 } 4212 # should be like verbatim -- prese ve spaces, etc4212 # should be like verbatim -- preserve spaces, etc 4213 4213 s/ /\ /g; 4214 4214 $_ .= "<br>\n";
Note: See TracChangeset
for help on using the changeset viewer.