+1999-10-23 Asger Alstrup Nielsen <alstrup@alstrup.galaxy.dk>
+
+ * Fixed the tth support. I messed up with the Emacs patch apply feature
+ and omitted the changes in lyxrc.C.
+
1999-10-22 Juergen Vigna <jug@sad.it>
* src/insets/figinset.C (CallbackFig): Just changed the defines a bit.
1999-10-22 Juergen Vigna <jug@sad.it>
* src/insets/figinset.C (CallbackFig): Just changed the defines a bit.
class LString;
class FontInfo;
class LString;
class FontInfo;
-/** This class takes care of loading fonts. It uses FontInfo to make intelligent
-guesses about matching font size, and it tries different tags itself in order
-to match the font loading demands. Later, I plan to extend this with support
-for T1Lib, probably via a new class building on this. (Asger) */
+/** This class takes care of loading fonts. It uses FontInfo to make
+intelligent guesses about matching font size, and it tries different tags
+itself in order to match the font loading demands. Later, I plan to extend
+this with support for T1Lib, probably via a new class building on this.
+(Asger) */
class FontLoader {
public:
///
class FontLoader {
public:
///
RC_EXIT_CONFIRMATION,
RC_DISPLAY_SHORTCUTS,
RC_RELYX_COMMAND,
RC_EXIT_CONFIRMATION,
RC_DISPLAY_SHORTCUTS,
RC_RELYX_COMMAND,
{ "\\spell_command", RC_SPELL_COMMAND },
{ "\\tempdir_path", RC_TEMPDIRPATH },
{ "\\template_path", RC_TEMPLATEPATH },
{ "\\spell_command", RC_SPELL_COMMAND },
{ "\\tempdir_path", RC_TEMPDIRPATH },
{ "\\template_path", RC_TEMPLATEPATH },
+ { "\\tth_command", RC_TTH_COMMAND },
{ "\\use_alt_language", RC_USE_ALT_LANG },
{ "\\use_escape_chars", RC_USE_ESC_CHARS },
{ "\\use_input_encoding", RC_USE_INP_ENC },
{ "\\use_alt_language", RC_USE_ALT_LANG },
{ "\\use_escape_chars", RC_USE_ESC_CHARS },
{ "\\use_input_encoding", RC_USE_INP_ENC },
default_papersize = PAPER_USLETTER;
custom_export_format = "ps";
chktex_command = "chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38";
default_papersize = PAPER_USLETTER;
custom_export_format = "ps";
chktex_command = "chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38";
+ tth_command = "tth -t";
fontenc = "default";
dpi = 75;
// Because a screen typically is wider than a piece of paper:
fontenc = "default";
dpi = 75;
// Because a screen typically is wider than a piece of paper:
chktex_command = lexrc.GetString();
break;
chktex_command = lexrc.GetString();
break;
+ case RC_TTH_COMMAND:
+ if (lexrc.next())
+ tth_command = lexrc.GetString();
+ break;
+
case RC_SCREEN_DPI:
if (lexrc.next())
dpi = lexrc.GetInteger();
case RC_SCREEN_DPI:
if (lexrc.next())
dpi = lexrc.GetInteger();