Changeset 8c1ee9 in git for doc/texi2html


Ignore:
Timestamp:
Jan 13, 2023, 12:15:43 PM (16 months ago)
Author:
Frédéric Chapoton <chapoton@…>
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
Message:
fix some typos in doc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/texi2html

    r269565 r8c1ee9  
    115115 type => '=i',
    116116 linkage => \$main::T2H_DEBUG,
    117  verbose => 'output HTML with debuging information',
     117 verbose => 'output HTML with debugging information',
    118118};
    119119
     
    172172 type => '=s',
    173173 linkage => \$T2H_INVISIBLE_MARK,
    174  verbose => 'use text in invisble anchot',
     174 verbose => 'use text in invisible anchor',
    175175 noHelp  => 1,
    176176};
     
    483483$T2H_CENTER_IMAGE = 1;
    484484
    485 # used as identation for block enclosing command @example, etc
     485# used as indentation for block enclosing command @example, etc
    486486# If not empty, must be enclosed in <td></td>
    487487$T2H_EXAMPLE_INDENT_CELL = '<td>&nbsp;</td>';
     
    22242224};
    22252225
    2226 # read initialzation from $sysconfdir/texi2htmlrc or $HOME/.texi2htmlrc
     2226# read initialization from $sysconfdir/texi2htmlrc or $HOME/.texi2htmlrc
    22272227my $home = $ENV{HOME};
    22282228defined($home) or $home = '';
     
    23032303
    23042304#
    2305 # file name buisness
     2305# file name business
    23062306#
    23072307die "Need exactly one file to translate\n$T2H_FAILURE_TEXT" unless @ARGV == 1;
     
    25252525
    25262526$l2h_latex_preample = <<EOT;
    2527 % This document was automatically generated by the l2h extenstion of texi2html
     2527% This document was automatically generated by the l2h extension of texi2html
    25282528% DO NOT EDIT !!!
    25292529\\documentclass{article}
     
    25362536EOT
    25372537
    2538 # return used latex 1, if l2h could be initalized properly, 0 otherwise
     2538# return used latex 1, if l2h could be initialized properly, 0 otherwise
    25392539sub l2h_InitToLatex
    25402540{
     
    27012701#   return 1,  on success -- 0, otherwise
    27022702# Extract Html code with: l2h_FromHtml($text)
    2703 #   replaces in $text all previosuly inserted comments by generated html code
     2703#   replaces in $text all previously inserted comments by generated html code
    27042704#   returns (possibly changed) $text
    27052705# Finish with: l2h_FinishFromHtml
     
    27942794    print "$ERROR l2h: can't extract content $count from html\n"
    27952795      if ($T2H_VERBOSE);
    2796     # try simple (ordinary) substition (without l2h)
     2796    # try simple (ordinary) substitution (without l2h)
    27972797    $l_l2h = $T2H_L2H;
    27982798    $T2H_L2H = 0;
     
    28092809    # now we have been incorrectly called
    28102810    $l2h_range_error++;
    2811     print "$ERROR l2h: Request of $count content which is out of valide range [0,$l2h_latex_count)\n";
     2811    print "$ERROR l2h: Request of $count content which is out of valid range [0,$l2h_latex_count)\n";
    28122812    return "<!-- l2h: ". __LINE__ . " out of range count $count -->"
    28132813      if ($T2H_DEBUG & $DEBUG_L2H);
     
    33863386          else
    33873387          {
    3388             warn "$ERROR: Bad macro defintion $_"
     3388            warn "$ERROR: Bad macro definition $_"
    33893389          }
    33903390          next;
     
    42104210          push(@lines2, &debug("</TABLE>\n", __LINE__));
    42114211        }
    4212         # should be like verbatim -- preseve spaces, etc
     4212        # should be like verbatim -- preserve spaces, etc
    42134213        s/ /\&nbsp;/g;
    42144214        $_ .= "<br>\n";
Note: See TracChangeset for help on using the changeset viewer.