![]() |
#1 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
![]()
Hi.
I think that i've encountered another way to make good-looking pdfs for the iliad, fast and with good typesetting et al.; it's using LaTeX to do the hard job (and LyX to ease it a bit). Here is the book I've converted (hastily, so no italics, bold... just converted the .doc to .txt and imported that to lyx, then "export to pdf"). The book (short story) is in Spanish, but I hope that to critic the layout, the language doesn't matter. I like it more than the Wuthering Heights sample. Also attached is a template for Lyx. |
![]() |
![]() |
![]() |
#2 |
Member
![]() Posts: 18
Karma: 10
Join Date: Jul 2006
Device: Pocket Loox 720
|
Thanks for this.
I've downloaded and installed Lyx. How do you use the template? In fact a quick text to Ilex conversion steps guide would be much appreciated ![]() Thanks Mike |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 18
Karma: 10
Join Date: Jul 2006
Device: Pocket Loox 720
|
Antartica,
OK. I figured out the new from template bit. When I load your template I get the error message: 'The document uses the missing TeX class "scrbook". Lyx will not be able to produce output' Am I doing something wrong? Regards Mike |
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 12
Karma: 10
Join Date: Jul 2006
|
Another LaTeX example
I've been playing around with using the "memoir" class with LaTeX, which is a pretty hardcore book layout class. Here's my initial attempt at Madame Bovary in French.
By the way, in LaTeX, you should convert all double-quotes to doubled single backquotes and forward quotes: " -> `` and '' |
![]() |
![]() |
![]() |
#5 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Quote:
# apt-get install tetex-extra What I did to make the pdf above from a .doc file was: 1. Open the .doc with OpenOffice and save a Text (I have to try gnuhtml2tex... as it should preserve italics and bold texts). 2. Open Lyx with the template above 3. Do new and Import Text as Lines (AFAIK it was lines and not paragraphs) 4. Select all in the new document and cut and paste to the template document 5. save the template docuament with another name 6. Select the title and change the paragraph styte to title, then the author, date, dadication (as quote), then chapter headings and so on (the text I used didn't had chapters, so it was fast). 7. Export as PDF. And that was. The template has the correct document type, page type and margins and, configuration in the LaTeX preamble to use times font and to indent all paragraphs (as is done in Spain; in USA that is not the formal way to print books, but most are formatted with it anyway) Last edited by Antartica; 07-24-2006 at 03:19 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Quote:
|
|
![]() |
![]() |
![]() |
#7 |
Member
![]() Posts: 12
Karma: 10
Join Date: Jul 2006
|
Another attempt
Here's The Adventures of Sherlock Holmes formatted for iLiad.
|
![]() |
![]() |
![]() |
#8 |
Member
![]() Posts: 22
Karma: 10
Join Date: May 2006
Device: Sony Librié
|
why the heck don't you just export from OpenOffice directly?
Your approach is like gong over north and south pole to get from london to paris. |
![]() |
![]() |
![]() |
#9 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jul 2006
Device: Nokia 770/iLiad/e815
|
Note: there are a number of tools out there for intelligently converting plain text to LaTeX (i.e. fixing the quotes, changing *italic text* to {\it italic text}, etc.). I've put GutenMark (easily found by Google) to good use converting Project Gutenberg books to LaTeX in the past, but there are others out there. Most if not all can probably be trivially modified to produce 12x15cm output automatically (or, for that matter, whatever template you like) and, even if not, you can just make the necessary changes directly in the resulting TeX file.
Once I have an iLiad and some spare time, I definitely plan to play around with this a bit. Last edited by shonk; 07-24-2006 at 06:38 PM. |
![]() |
![]() |
![]() |
#10 | |
Member
![]() Posts: 11
Karma: 10
Join Date: Jul 2006
Device: Nokia 770/iLiad/e815
|
Quote:
|
|
![]() |
![]() |
![]() |
#11 |
Member
![]() Posts: 18
Karma: 10
Join Date: Jul 2006
Device: Pocket Loox 720
|
![]()
[QUOTE=Antartica]
The problem is that I've used the koma-script document classes, that are not in the tetex "base" package, but in the "extras" package. In Debian 3.1 Sarge (and I suppose that also in Ubuntu), this is installed with # apt-get install tetex-extra Sorry this bit is unintelligable to me. What do I have to do to get this? Is it posible on a Windows XP system? ![]() |
![]() |
![]() |
![]() |
#12 |
Addict
![]() ![]() Posts: 261
Karma: 156
Join Date: Jul 2006
Device: iliad
|
on windows you install miktex with texnicscenter.
A full installation of miktex should give you everything you'll never need concerning latex. |
![]() |
![]() |
![]() |
#13 |
Member
![]() Posts: 18
Karma: 10
Join Date: Jul 2006
Device: Pocket Loox 720
|
Thanks,
I managed to install koma-script (and memoire) but still get the same error message - guess I'll have to keep playing with it. I don't find this intuitive at all I just hope the learning curve is worth it! Regards Mike |
![]() |
![]() |
![]() |
#14 | |
Addict
![]() ![]() Posts: 222
Karma: 110
Join Date: Jun 2006
Location: Malmo, Sweden
Device: iLiad, Sony PRS-505, Kindle Paperwhite & Oasis
|
Quote:
TeX will produce a better-looking file, true. But OpenOffice or Word or ... well, most other tools will usually get you a somewhat worse document but rather faster and easier. If you yourself are the only reader, decide first if you need a better job than those standard tools can do. If not, ... no need to jump through hoops to get there. |
|
![]() |
![]() |
![]() |
#15 | ||
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Quote:
Every time that you change the capabilities of your TeX installation (e.g. because you instlled more document classes), you have to tell lyx to reconfigure itself for the new "capabilities", or you will get extrange errors like the one you got. Quote:
And, after al,l the output of LaTeX is very, very nice... |
||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
LaTeX style for the Iliad | sigi | iRex | 4 | 05-20-2010 01:37 PM |
PDF Generated with LaTeX for the iLiad | Hadrien | iRex | 17 | 07-25-2008 09:59 AM |
iliad 2nd's speaker making hissing noise ? | reader_newb | iRex | 2 | 04-24-2008 10:35 PM |
Simple iliad cutting latex file for long page. | harpum | iRex | 2 | 02-10-2007 12:53 AM |
Making PDf for the Iliad with OpenOfiice! | CommanderROR | iRex | 12 | 07-17-2006 11:46 AM |