Wednesday, July 21, 2010

Changing font for the whole .pdf document generated by LaTeX

The font changing for the whole document generated by LaTeX could be done by specifying the following line in the LaTeX preamble:


\renewcommand{\rmdefault}{cmss}

from here

If you want to use non-default font, you should to install the corresponding package first. The "winfonts" package contains the following fonts:

Arial           Franklin Gothic     Tahoma           Comic Sans
Georgia             TimesCourier New     Palatino Linotype   Verdana
You can download it from here:
The readme file on how to install the package is also included.
Now you can use a non-default font for the pdf:

\renewcommand{\rmdefault}{verdana}

If the source LaTeX document is genereted by Sphinx you should add the line in the end of the "latex_preamble" in the config.py.

Tuesday, July 13, 2010

License is not displayed error in WIXUI_Minimal.

From here
There is a known issue with the rich text control used to display the text of the license file that can cause the text to appear blank until the user scrolls down in the control. This is typically caused by complex RTF content (such as the RTF generated when saving an RTF file in Microsoft Word). If you run into this behavior in your setup UI, one of the following workarounds will fix it in most cases:
  • Open your RTF file in WordPad and save it from there in order to remove the complex RTF content from the file. After saving it, rebuild your MSI.
  • Use a dialog set other than the WixUI_Minimal set. This problem typically only occurs when the license agreement screen is the first one displayed during setup, which only happens with the WixUI_Minimal dialog set.