Doku-Base
Texi2html Linux Dokumentation
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7.2 Customizing the formatting of commands without argument

This includes the commands whose name is a nonletter character like @@, the commands with lettered characters and braces but whose braces should be empty, like @TeX{}, or some commands associated with accentted letters like @AA{}. If there happens to be something within the braces, it is put after the command, thus

 
@TeX{something}

leads to the same than

 
@TeX{} something

Each of these categories of commands have three associated hashes, one for normal context, the other for preformatted context and the last in strings. The keys of the hashes are the command names, the associated value is the text replacing the command.

The hashes are:

command type

normal text

preformatted text

string

one nonlettered character

%simple_map

%simple_map_pre

%simple_map_texi

nothing in braces

%things_map

%pre_map

%texi_map

To change the HTML resulting from these constructs, just change the value. For example, if you want &shy; to be outputted for @- in normal and preformatted context, write in your init file:

 
$simple_map{'-'} = '&shy;';
$simple_map_pre{'-'} = '&shy;';

[ < ] [ > ]   [ << ] [ Up ] [ >> ]


Doku-Base

This document was created by Netzdino using texi2html.