yesthattom: (Default)
[personal profile] yesthattom
I’m writing a book (to be announced in a few months), and let’s say that as an appendix I want to reprint an Internet RFC. I’m writing this in the LaTeX formatting system. I’m looking for a LaTeX macro that lets me include an RFC and have it formatted correctly.

For example, I’d like to be able to say

\includerfc{rfc1918.txt}
and the macro will start a new page (if we’re not at the top of the page already), include the contents of a file called rfc1918.txt in a mono-spaced font, paged correctly and so on, then start a new page (if we’re not already on at a new page).

I’ve been googling for such a macro and can’t find one. Can anyone else? Maybe someone has better Google-fu than I do.

P.S. Or would anyone out there be willing to write one for me and receive a thank you in the book?

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

December 2015

S M T W T F S
  12345
6789 101112
13141516171819
202122 23242526
2728293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 4th, 2026 11:35 am
Powered by Dreamwidth Studios