R-Forge Logo

The project summary page you can find here.

<div class="markdown"> <h2>RTF mark-up resources</h2> <ul> <li><p><a href="http://www.biblioscape.com/rtf15_spec.htm">Rich Text Format (RTF) Version 1.5 Specification</a></p></li> <li><p><a href="https://pandoc.org/try/">Try pandoc!</a> for seeing how <a href="https://pandoc.org/">Pandoc</a> outputs RTF from other formats</p></li> <li><p><a href="https://en.wikipedia.org/wiki/Rich_Text_Format">Wikipedia's Rich Text Format</a> page has background information and links to various RTF-related tools</p></li> </ul> <h2>Frequently asked questions</h2> <h3>Why would I use <code>rtfSweave</code>?</h3> <p>Most people would rather use Rmarkdown but if you (a) have Microsoft Word, (b) you need to generate a Word document, (c) would like a lot of control over the document formatting, and (d) do not mind fiddling a little with RTF, then maybe this is a reason to use <code>rtfSweave</code>.</p> <p>The trade-offs include the following:</p> <ul> <li><p>RTF markup is not clean and elegant like Markdown</p></li> <li><p>There is only one output format available: RTF. You don't get multiple formats "for free" as with Rmarkdown</p></li> </ul> <!-- ### What do you mean "a lot of control over the document formatting"? --> <!-- Sometimes it is nice to specify where a pagebreak goes (use `\page`), --> <h3>Should I save RTF file to a native Word format like <code>*.docx</code>?</h3> <p>If you have Microsoft Word, yes. It is important to save the RTF file as <code>*.docx</code> (or <code>*.doc</code>) <em>before</em> making any edits to the RTF file. The reason is that if you edit the RTF and save the file (as RTF) the file size balloons (often to 100 megabytes or more) because Word is inserting an enormous number of its own RTF commands. The easy way to avoid this is to save the RTF file as <code>*.docx</code> and <em>then</em> edit it.</p> <h3>What's the worst part about using RTF?</h3> <p>It's very easy to have unbalanced curly brackets in the RTF file and this usually means the file cannot be opened. And sometimes it's hard to find the problem.</p> <h3>Why is some of my RTF file not showing up?</h3> <p>An RTF file opens with <code>{\rtf1</code> and ends as soon as that opening curly bracket is closed with a <code>}</code>. If there is content after that closing curly bracket it won't show up. </p> </div> PHP version: 5.6.40-0+deb8u12