Discussion:
How do you do an appendix the right way?
Steve Litt
2008-03-10 16:26:36 UTC
Permalink
Hi all,

How does one do an appendix the right way. I want it to show up, at the same
level as chapters, in the table of contents. But I want it to say "Appendix
A: SSH Example" rather than "Chapter 13: Appendix A: SSH Example".

What environment to I use for the Appendix title? Do I need to use some ERT
commands?

Thanks

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts
Bob Lounsbury
2008-03-10 16:40:16 UTC
Permalink
Post by Steve Litt
Hi all,
How does one do an appendix the right way. I want it to show up, at the same
level as chapters, in the table of contents. But I want it to say "Appendix
A: SSH Example" rather than "Chapter 13: Appendix A: SSH Example".
What environment to I use for the Appendix title? Do I need to use some ERT
commands?
Thanks
SteveT
Steve Litt
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts
It took me quite a while to figure out this package when I was writing
my thesis. I used the 'appendix' package and I've attached a simple
example, but you can refer to the documentation for further
instructions (as I don't have a copy of my thesis at present to refer
to).

Cheers,
/Bob
Abdelrazak Younes
2008-03-10 19:43:54 UTC
Permalink
Post by Steve Litt
Hi all,
How does one do an appendix the right way. I want it to show up, at the same
level as chapters, in the table of contents. But I want it to say "Appendix
A: SSH Example" rather than "Chapter 13: Appendix A: SSH Example".
What environment to I use for the Appendix title? Do I need to use some ERT
commands?
Try menu "Document->Start Appendix Here" just before "Chapter 13", it
will convert automatically to "Appendix A". This is explained in section
6.4 Appendices.

Abdel.
Filippo Zangheri
2008-03-10 21:41:37 UTC
Permalink
Post by Steve Litt
Hi all,
Hi, Steve,
Post by Steve Litt
How does one do an appendix the right way. I want it to show up, at the same
level as chapters, in the table of contents. But I want it to say "Appendix
A: SSH Example" rather than "Chapter 13: Appendix A: SSH Example".
In LyX-1.5.4 you simply click on Document | "Appendices start here",
or something - I'm using the Italian version of LyX.

It works great if your last chapters are appendices. In TOC it is
inserted an item like "A SSH Example".

If you want to insert some extra non-appendix chapters after the
appendices, or you want TOC entries like "Appendix A SSH Example",
then you'll need appendix.sty and:

ERT [\begin{appendices}]

...

ERT [\end{appendices}]

Additional Chapters (though I doubt you'll want to :-))


Best regards.
--
Filippo Zangheri

GPG key ID: 0xE1D879FA
Key fingerprint: 816B CE57 D43C 0A47 EF35 3378 EA5F A72A E1D8 79FA
Key server: pgp.mit.edu

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE d- s+:- a-- C++ UL+++ P+ L+++ E-- W+ N* o-- K- w--- O-- M--
V- PS++ PE+ Y+ PGP++ t 5-- X++ R* tv b+ DI-- D---- G-- e++ h--
r++ z*
------END GEEK CODE BLOCK------
Steve Litt
2008-03-11 03:34:41 UTC
Permalink
Post by Filippo Zangheri
Post by Steve Litt
Hi all,
Hi, Steve,
Post by Steve Litt
How does one do an appendix the right way. I want it to show up, at the
same level as chapters, in the table of contents. But I want it to say
"Appendix A: SSH Example" rather than "Chapter 13: Appendix A: SSH
Example".
In LyX-1.5.4 you simply click on Document | "Appendices start here",
or something - I'm using the Italian version of LyX.
It works great if your last chapters are appendices. In TOC it is
inserted an item like "A SSH Example".
If you want to insert some extra non-appendix chapters after the
appendices, or you want TOC entries like "Appendix A SSH Example",
ERT [\begin{appendices}]
...
ERT [\end{appendices}]
Additional Chapters (though I doubt you'll want to :-))
Best regards.
Thanks Filippo,

This time I want no more chapters after the appendix, but it's very good to
know how to do it -- sometimes my books require wierd stuff.

Thanks

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts
jf7-BeEkH7pNF5glovasxNiZJgC/
2008-03-11 06:28:43 UTC
Permalink
Hi, I have a bunch of "pre-historic" word docs that I want to convert
to LyX. I've gathered that the best way to do this is by converting
rtf to latex. (If anyone has a better suggestion I'm interested.)

I've scoured the LyX sites and the web for any info on rtf2latex2e.
Seems that it was originally written on a mac classic os9. There are
unix and windows versions but I can't find any for OSX for the Mac.
I've tried to compile unix code on the mac but the source only
recognizes OSX for PPC. Mine is intel. And I can't figure out how to
add the correct host definition so I can compile it for intel.

I have managed to successfully run the Windows version of rtf2latex2e.
And it does a fine job. I just don't like using Windows. The
conversion definition is there in LyX 1.5.3 but the executable for
rtf2latex2e isn't.

Does anyone know where I can get (binary or source for) rtf2latex2e
for mac intel?

thanks much,
jamie faunt
Jeremy C. Reed
2008-03-11 10:23:31 UTC
Permalink
Post by jf7-BeEkH7pNF5glovasxNiZJgC/
I've scoured the LyX sites and the web for any info on rtf2latex2e.
Seems that it was originally written on a mac classic os9. There are
unix and windows versions but I can't find any for OSX for the Mac. I've
tried to compile unix code on the mac but the source only recognizes OSX
for PPC. Mine is intel. And I can't figure out how to add the correct
host definition so I can compile it for intel.
I have recently used rtf2latex2e to do a bunch of conversions (simply
because openoffice.org's latex export was broken so I saved as RTF
instead). It worked acceptable for me, but I did have various things to
clean up which were easy in vi.

Maybe try this:

- download the Unix version from sourceforge: rtf2latex2eUnix1

cd rtf2latex2eUnix-1.0fc1/Unix

./configure --host=i386

It may have other issues too, like including malloc.h -- maybe just remove
any include lines of malloc.

But if that doesn't work, maybe see if that sourceforge site has a mailing
list or forum to ask on. Or ask the DarwinPorts or Fink communities. (You
may also want to try pkgsrc which has a build framework and includes
rtf2latex2. pkgsrc supports Mac OS X, but I don't know if it builds
rtf2latex2 on Mac OS X.)
Bennett Helm
2008-03-11 12:38:00 UTC
Permalink
Post by jf7-BeEkH7pNF5glovasxNiZJgC/
Hi, I have a bunch of "pre-historic" word docs that I want to
convert to LyX. I've gathered that the best way to do this is by
converting rtf to latex. (If anyone has a better suggestion I'm
interested.)
I've scoured the LyX sites and the web for any info on rtf2latex2e.
Seems that it was originally written on a mac classic os9. There
are unix and windows versions but I can't find any for OSX for the
Mac. I've tried to compile unix code on the mac but the source only
recognizes OSX for PPC. Mine is intel. And I can't figure out how
to add the correct host definition so I can compile it for intel.
I have managed to successfully run the Windows version of
rtf2latex2e. And it does a fine job. I just don't like using
Windows. The conversion definition is there in LyX 1.5.3 but the
executable for rtf2latex2e isn't.
Does anyone know where I can get (binary or source for) rtf2latex2e
for mac intel?
The easiest way is to use fink or macports.

Bennett
Wilfried
2008-03-12 15:31:51 UTC
Permalink
Post by jf7-BeEkH7pNF5glovasxNiZJgC/
Hi, I have a bunch of "pre-historic" word docs that I want to convert
to LyX. I've gathered that the best way to do this is by converting
rtf to latex. (If anyone has a better suggestion I'm interested.)
What about opening the word doc in OpenOffice and then export it to
LaTeX? OpenOffice now even imports (most) equation editor objects
successfully which rtf2latex2e doesn't. For exporting to LaTeX, the
writer2latex converter (which is included in the OO distribution) needs
a working Java VM. The converter's homepage sais that it needs JRE1.4 or
1.5. AFAIK it will also run with later versions but not with older ones.

OO is available for Mac OSX Intel in English (US), French, German and
Portuguese (Brazil).

Filippo Zangheri
2008-03-11 13:41:56 UTC
Permalink
Post by Steve Litt
Thanks Filippo,
This time I want no more chapters after the appendix, but it's very good to
know how to do it -- sometimes my books require wierd stuff.
Thanks
You're welcome! It's my pleasure to be in help somehow.

By the way, I want to emphasize that the choice you make here, not
only influences the ability to add further chapters after the
appendix, but even the TOC entry style of appendices. What style is
better/most used?

a. A SSH Example
b. Appendix A SSH Example


Thanks.
Best regards.
--
Filippo Zangheri

GPG key ID: 0xE1D879FA
Key fingerprint: 816B CE57 D43C 0A47 EF35 3378 EA5F A72A E1D8 79FA
Key server: pgp.mit.edu

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE d- s+:- a-- C++ UL+++ P+ L+++ E-- W+ N* o-- K- w--- O-- M--
V- PS++ PE+ Y+ PGP++ t 5-- X++ R* tv b+ DI-- D---- G-- e++ h--
r++ z*
------END GEEK CODE BLOCK------
Loading...