w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

chars.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CMD_TEX   1
 
#define CMD_LATEX   2
 
#define CMD_SLITEX   3
 
#define CMD_BIBTEX   4
 
#define CMD_LATEXE   5
 
#define CMD_AMSTEX   6
 
#define CMD_AMSLATEX   7
 
#define CMD_LYX   8
 
#define IERF   1
 
#define IEREF   2
 
#define IERSF   3
 
#define IERESF   4
 
#define IEMEF   5
 
#define IEMESF   6
 
#define DEGREE   7
 
#define NUMERO   8
 
#define NUMEROS   9
 
#define CNUMERO   10
 
#define CNUMEROS   11
 
#define PRIMO   12
 
#define SECUNDO   13
 
#define TERTIO   14
 
#define QUARTO   15
 
#define FUP   16
 
#define INFERIEURA   17
 
#define SUPERIEURA   18
 
#define FRENCH_LQ   19
 
#define FRENCH_RQ   20
 
#define FRENCH_LQQ   21
 
#define FRENCH_RQQ   22
 
#define POINT_VIRGULE   23
 
#define POINT_EXCLAMATION   24
 
#define POINT_INTERROGATION   25
 
#define DITTO_MARK   26
 
#define DEUX_POINTS   27
 
#define LCS   28
 
#define FCS   29
 

Functions

void CmdCedillaChar (int code)
 
void CmdUmlauteChar (int code)
 
void CmdLApostrophChar (int code)
 
void CmdRApostrophChar (int code)
 
void CmdTildeChar (int code)
 
void CmdSymbolChar (int code)
 
void CmdUnderdotChar (int code)
 
void CmdHacekChar (int code)
 
void CmdOaccentChar (int code)
 
void CmdHatChar (int code)
 
void CmdMacronChar (int code)
 
void CmdVecChar (int code)
 
void CmdBreveChar (int code)
 
void CmdDotChar (int code)
 
void CmdUnderbarChar (int code)
 
void CmdDotlessChar (int code)
 
void CmdChar (int code)
 
void CmdLogo (int code)
 
void CmdFrenchAbbrev (int code)
 
void CmdCzechAbbrev (int code)
 
void CmdCyrillicChar (int code)
 
void CmdCyrillicStrChar (char *s)
 

Macro Definition Documentation

◆ CMD_AMSLATEX

#define CMD_AMSLATEX   7

Definition at line 7 of file chars.h.

◆ CMD_AMSTEX

#define CMD_AMSTEX   6

Definition at line 6 of file chars.h.

◆ CMD_BIBTEX

#define CMD_BIBTEX   4

Definition at line 4 of file chars.h.

◆ CMD_LATEX

#define CMD_LATEX   2

Definition at line 2 of file chars.h.

◆ CMD_LATEXE

#define CMD_LATEXE   5

Definition at line 5 of file chars.h.

◆ CMD_LYX

#define CMD_LYX   8

Definition at line 8 of file chars.h.

◆ CMD_SLITEX

#define CMD_SLITEX   3

Definition at line 3 of file chars.h.

◆ CMD_TEX

#define CMD_TEX   1

Definition at line 1 of file chars.h.

◆ CNUMERO

#define CNUMERO   10

Definition at line 44 of file chars.h.

◆ CNUMEROS

#define CNUMEROS   11

Definition at line 45 of file chars.h.

◆ DEGREE

#define DEGREE   7

Definition at line 41 of file chars.h.

◆ DEUX_POINTS

#define DEUX_POINTS   27

Definition at line 62 of file chars.h.

◆ DITTO_MARK

#define DITTO_MARK   26

Definition at line 61 of file chars.h.

◆ FCS

#define FCS   29

Definition at line 64 of file chars.h.

◆ FRENCH_LQ

#define FRENCH_LQ   19

Definition at line 54 of file chars.h.

◆ FRENCH_LQQ

#define FRENCH_LQQ   21

Definition at line 56 of file chars.h.

◆ FRENCH_RQ

#define FRENCH_RQ   20

Definition at line 55 of file chars.h.

◆ FRENCH_RQQ

#define FRENCH_RQQ   22

Definition at line 57 of file chars.h.

◆ FUP

#define FUP   16

Definition at line 50 of file chars.h.

◆ IEMEF

#define IEMEF   5

Definition at line 39 of file chars.h.

◆ IEMESF

#define IEMESF   6

Definition at line 40 of file chars.h.

◆ IEREF

#define IEREF   2

Definition at line 36 of file chars.h.

◆ IERESF

#define IERESF   4

Definition at line 38 of file chars.h.

◆ IERF

#define IERF   1

Definition at line 35 of file chars.h.

◆ IERSF

#define IERSF   3

Definition at line 37 of file chars.h.

◆ INFERIEURA

#define INFERIEURA   17

Definition at line 52 of file chars.h.

◆ LCS

#define LCS   28

Definition at line 63 of file chars.h.

◆ NUMERO

#define NUMERO   8

Definition at line 42 of file chars.h.

◆ NUMEROS

#define NUMEROS   9

Definition at line 43 of file chars.h.

◆ POINT_EXCLAMATION

#define POINT_EXCLAMATION   24

Definition at line 59 of file chars.h.

◆ POINT_INTERROGATION

#define POINT_INTERROGATION   25

Definition at line 60 of file chars.h.

◆ POINT_VIRGULE

#define POINT_VIRGULE   23

Definition at line 58 of file chars.h.

◆ PRIMO

#define PRIMO   12

Definition at line 46 of file chars.h.

◆ QUARTO

#define QUARTO   15

Definition at line 49 of file chars.h.

◆ SECUNDO

#define SECUNDO   13

Definition at line 47 of file chars.h.

◆ SUPERIEURA

#define SUPERIEURA   18

Definition at line 53 of file chars.h.

◆ TERTIO

#define TERTIO   14

Definition at line 48 of file chars.h.

Function Documentation

◆ CmdBreveChar()

void CmdBreveChar ( int  code)

purpose: converts \u{o} and \breve{o} from LaTeX to RTF there is no breve in codepage 1252 there is one \'f9 in the MacRoman, but that is not so portable there is one in MT Extra, but the RTF parser for word mistakes \'28 as a '(' and goes bananas. Therefore need the extra \\ the only solution is to encode with unicode — perhaps later Now we just fake it with a u

Definition at line 486 of file chars.c.

References ConvertString(), CurrentFontSize(), fprintRTF(), free, g_field_separator, g_processing_fields, getBraceParam(), NULL, num, and RtfFontNumber().

◆ CmdCedillaChar()

void CmdCedillaChar ( int  code)

purpose: converts {c} from LaTeX to RTF

Definition at line 400 of file chars.c.

References ConvertString(), CurrentFontSize(), fprintRTF(), free, g_field_separator, g_processing_fields, getBraceParam(), and NULL.

◆ CmdChar()

void CmdChar ( int  code)

◆ CmdCyrillicChar()

void CmdCyrillicChar ( int  code)

◆ CmdCyrillicStrChar()

void CmdCyrillicStrChar ( char *  s)

◆ CmdCzechAbbrev()

void CmdCzechAbbrev ( int  code)

◆ CmdDotChar()

void CmdDotChar ( int  code)

Referenced by TranslateCommand().

◆ CmdDotlessChar()

void CmdDotlessChar ( int  code)

◆ CmdFrenchAbbrev()

void CmdFrenchAbbrev ( int  code)

◆ CmdHacekChar()

void CmdHacekChar ( int  code)

purpose: converts \v from LaTeX to RTF need something that looks like \O(a,\S(\f1\'da)) in RTF file

Definition at line 541 of file chars.c.

References ConvertString(), CurrentFontSize(), fprintRTF(), free, g_field_separator, g_processing_fields, getBraceParam(), int(), NULL, num, and RtfFontNumber().

◆ CmdHatChar()

void CmdHatChar ( int  code)

purpose: \^{o} and \hat{o} symbols from LaTeX to RTF

Definition at line 252 of file chars.c.

References ConvertString(), fprintRTF(), free, g_field_separator, g_processing_fields, getBraceParam(), NULL, num, RtfFontNumber(), and strcmp().

Referenced by TranslateCommand().

◆ CmdLApostrophChar()

void CmdLApostrophChar ( int  code)

purpose: converts special symbols from LaTeX to RTF

Definition at line 104 of file chars.c.

References ConvertString(), fprintRTF(), free, g_field_separator, g_processing_fields, getBraceParam(), NULL, num, RtfFontNumber(), and strcmp().

Referenced by TranslateCommand().

◆ CmdLogo()

void CmdLogo ( int  code)

◆ CmdMacronChar()

void CmdMacronChar ( int  code)

purpose: converts special symbols from LaTeX to RTF

Definition at line 231 of file chars.c.

References ConvertString(), fprintRTF(), free, g_field_separator, g_processing_fields, getBraceParam(), and NULL.

Referenced by TranslateCommand().

◆ CmdOaccentChar()

void CmdOaccentChar ( int  code)

purpose: converts \r accents from LaTeX to RTF

Definition at line 314 of file chars.c.

References ConvertString(), diagnostics(), fprintRTF(), free, g_field_separator, g_processing_fields, getBraceParam(), NULL, strcmp(), and WARNING__.

◆ CmdRApostrophChar()

void CmdRApostrophChar ( int  code)

purpose: converts special symbols from LaTeX to RTF

Definition at line 165 of file chars.c.

References ConvertString(), fprintRTF(), free, g_field_separator, g_processing_fields, getBraceParam(), NULL, and strcmp().

Referenced by TranslateCommand().

◆ CmdSymbolChar()

void CmdSymbolChar ( int  code)

◆ CmdTildeChar()

void CmdTildeChar ( int  code)

purpose: converts{n} from LaTeX to RTF

Definition at line 356 of file chars.c.

References ConvertString(), fprintRTF(), free, g_field_separator, g_processing_fields, getBraceParam(), NULL, num, and RtfFontNumber().

Referenced by TranslateCommand().

◆ CmdUmlauteChar()

void CmdUmlauteChar ( int  code)

purpose : converts characters with diaeresis from LaTeX to RTF

Definition at line 41 of file chars.c.

References ConvertString(), fprintRTF(), free, g_field_separator, g_processing_fields, getBraceParam(), NULL, num, RtfFontNumber(), and strcmp().

Referenced by TranslateCommand().

◆ CmdUnderbarChar()

void CmdUnderbarChar ( int  code)

◆ CmdUnderdotChar()

void CmdUnderdotChar ( int  code)

purpose: converts chars with dots under from LaTeX to RTF

Definition at line 517 of file chars.c.

References ConvertString(), CurrentFontSize(), fprintRTF(), free, g_field_separator, g_processing_fields, getBraceParam(), int(), and NULL.

◆ CmdVecChar()

void CmdVecChar ( int  code)

purpose: converts \vec{o} from LaTeX to RTF

Definition at line 434 of file chars.c.

References ConvertString(), CurrentFontSize(), fprintRTF(), free, g_field_separator, g_processing_fields, getBraceParam(), NULL, num, and RtfFontNumber().