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)  

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

Go to the source code of this file.

Functions

bool TryDirectConvert (char *command)
 
void WriteFontName (const char **buffpoint)
 

Function Documentation

◆ TryDirectConvert()

bool TryDirectConvert ( char *  command)

purpose: uses data from direct.cfg to try and immediately convert some LaTeX commands into RTF commands.

Definition at line 77 of file direct.c.

References diagnostics(), DIRECT_A, FALSE, fprintRTF(), free, NULL, SearchRtfCmd(), strdup_together(), TRUE, and WriteFontName().

Referenced by TranslateCommand().

◆ WriteFontName()

void WriteFontName ( const char **  buffpoint)

purpose: reads the fontname at buffpoint and writes the appropriate font number into the RTF stream. This supports the FONTNAME syntax found in direct.cfg and in style.cfg

Definition at line 37 of file direct.c.

References buff, diagnostics(), ERROR, fontname, fprintRTF(), i, MAXFONTLEN, and RtfFontNumber().

Referenced by InsertBasicStyle(), and TryDirectConvert().