1# Preference file for rtf2latex2e 2 3# Comments should be preceded by '#' in each line. 4 5# Here are some basic preferences you might want to set. Do not change 6# the names of the preferences, or add any. The preferences can be in 7# any order. 'true' and 'false' values are allowed for appropriate 8# preferences. 9 10# Line that is inserted before \documentclass{} 11# Typically starts with % 12preambleFirstText %&pdfLaTeX 13 14# Another line, just like the one above 15# Enclose in quotes because value contains spaces 16preambleSecondText '% !TEX encoding = UTF-8 Unicode' 17 18# This is your chance to customize the type of latex document created 19preambleDocClass \documentclass{article} 20 21# specify the output map file to map between RTF and LaTeX characters. 22# This is the character set used for the characters in the emitted latex. 23# Examples are 24# latex-encoding (default unicode), 25# latex-encoding.applemac (uses applemac input encoding), 26# latex-encoding.cp1252 (uses cp1252 input encoding) 27 28outputMapFileName latex-encoding 29 30# Default page width in inches. US Letter is 8.5, A4 paper is 8.3 31# ignored if convertPageSize is false 32pageWidth 8.5 33 34# Default left margin of page in inches, ignored if convertPageSize is false 35pageLeft 1.0 36 37# Default right margin of page in inches, ignored if convertPageSize is false 38pageRight 1.0 39 40# use above sizes to set the extent of the LaTeX page 41convertPageSize false 42 43# convert RTF heading 1, 2, & 3. For example, 'heading 2' --> \subsection{...} 44convertParagraphStyle true 45 46# convert paragraph indenting using \parindent 47# this adds some extra markup, but does a decent job of making sure that 48# non-indented and multiply-indented paragraphs get indented properly 49convertParagraphIndent true 50 51# convert space between paragraphs using \vspace{} 52convertInterParagraphSpace true 53 54# adjust latex margins according to those for each paragraph 55convertParagraphMargin true 56 57# allow paragraphs to be centered or flush right 58convertParagraphAlignment true 59 60# convert line spacing using \baselineskip ... eventually will use \setspace{} 61convertLineSpacing true 62 63# convert changes in the font size. Disabling this is not unreasonable because 64# LaTeX often makes reasonable assumptions about the font size. 65# and it is a nuisance if every paragraph is bracketed with {\Large ... } 66# because the RTF document was written in 14 point font. 67convertTextSize true 68 69#convert text styles. includes bold, italics, smallcaps, underline, doubleunderline 70convertTextForm true 71 72#if true then replace tabs with spaces, otherwise replace with \tab 73convertTextNoTab true 74 75# translate color text formatting. This is annoying because the entire RTF color table 76# always gets written to the LaTeX file and therefore inserts a bunch of noise at 77# in the preamble 78convertTextColor true 79 80#convert hypertext links using url package 81convertHypertext false 82 83# convert embedded Equation Editor objects. If false or if the conversion 84# fails, the image associated with the equation inserted in the latex file. 85convertEquation true 86 87# when converting an RTF file that contains embedded images, these all must 88# be extracted into the local directory. This can create a huge number of 89# files in the current directory. If this option is true, then a new directory 90# called 'file-latex' is created and the converted images and the converted 91# latex file are placed inside 92convertAsDirectory false 93 94# Name of environment for tables. The default is "tabular" 95convertTableName longtable 96 97# Macintosh only 98# Convert embedded macintosh PICT files to PDF files 99# only works for MacOS X before Lion (10.7) 100convertPict true 101 102# 103convertTableWidths true 104convertTableAlignment false 105convertTableBorders true 106