01-26-2010, 06:34 AM | #16 |
Reader
Posts: 519
Karma: 24612
Join Date: Aug 2009
Location: Utrecht, NL
Device: Kobo Aura 2, iPhone, iPad
|
@frabjous
Yes, when I browsed through your files there wasn't so much math in it. I was thinking more about the things in the background of the website that you mentioned. I remember that I read a Russel book a long time ago when I was a student that had that kind of notation. I might even have a copy somewhere at home. For that kind of work it would be much easier to do the LaTeX->HTML conversion than the other way around, I think. And it is a pity that MathML is not yet supported in ePub, other than as XML islands. It is possible, however, to convert MathML to SVG, but I haven't tried that. Last edited by pietvo; 01-26-2010 at 06:36 AM. Reason: added @frabjous |
01-26-2010, 06:36 AM | #17 | |
frumious Bandersnatch
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
Code:
But I don't like the way the chapter names are shown. Also, the header "Content" has the same layout as the other chapters of the book. How can I make it different? (so, no spacing above the Content header, for example, and a smaller font for the chapter names?) |
|
Advert | |
|
01-26-2010, 07:23 AM | #18 | |
Grand Sorcerer
Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
|
Quote:
ahh, so if I put \chapterstyle in my preamble, it will work for every single page, and if I put it in the body, it will work from that point onwards? |
|
01-26-2010, 08:14 AM | #19 | |
frumious Bandersnatch
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
The same applies to pagestyles, but some special pages may use particular styles (like the first page of a chapter, or a blank page). |
|
01-26-2010, 10:34 AM | #20 | |
Grand Sorcerer
Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
|
Quote:
When I wanted to transform the book I'm currently reading, I immediately came across a table... Naturally... So, I figured that one out as well. But that book has parts. I found out how to not let it print the part number (like the chapter number), but how can I make a new style for a part? |
|
Advert | |
|
01-26-2010, 10:57 AM | #21 | |
frumious Bandersnatch
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
Note that chapter numbers are not reset by default when a new part starts, if you want every part to start with chapter 1, you could issue a \numberwithout*{chapter}{part}. But you probably have chapter and part numbers hardcoded in your source HTML, so you can ignore this. |
|
01-26-2010, 11:36 AM | #22 | |
Reader
Posts: 519
Karma: 24612
Join Date: Aug 2009
Location: Utrecht, NL
Device: Kobo Aura 2, iPhone, iPad
|
Quote:
Code:
\usepackage[absolute]{textpos} ... \thispagestyle{empty} \begin{textblock*}{\paperwidth}(0mm,0mm) \noindent\includegraphics[width=\paperwidth,height=\paperheight]{cover.jpg} \end{textblock*} \null \clearpage |
|
01-26-2010, 12:56 PM | #23 | |
Grand Sorcerer
Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
|
Quote:
|
|
01-26-2010, 02:52 PM | #24 | |
Wizard
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
Looks like pietvo gave perfect advice for changing the margins on the titlepage, but I was going to suggest trying gmeometric package, which allows you to use different geometry-package settings in different parts of the document. I don't have a lot of experience with that, however.
Quote:
Introduction to Mathematical Philosophy was written as sort of a beginner-friendly non-technical introduction to Principia Mathematica. Anyway, the background is just a scan, though I definitely wouldn't think to try to recreate that kind of technical material with anything but (Xe)LaTeX. I wouldn't even try to convert to HTML unless MathML were an option. And unfortunately, SVG support isn't much better than MathML support right now. |
|
01-26-2010, 03:45 PM | #25 |
frumious Bandersnatch
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
At least SVG is required in the spec, which MathML isn't.
|
01-26-2010, 04:24 PM | #26 |
Wizard
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
Which spec is that, Jellby? ePub?
I just meant on browsers. |
01-26-2010, 05:34 PM | #27 |
Reader
Posts: 519
Karma: 24612
Join Date: Aug 2009
Location: Utrecht, NL
Device: Kobo Aura 2, iPhone, iPad
|
|
01-27-2010, 04:20 AM | #28 |
frumious Bandersnatch
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
|
01-27-2010, 06:12 AM | #29 | |
Grand Sorcerer
Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
|
Quote:
Now I need to clean up my HTML a bit, as I noticed I'm using different name classes for the same functions (across my sources, that is) |
|
02-01-2010, 09:48 AM | #30 |
Grand Sorcerer
Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
|
I almost have my format ready, except that the page number of my toc goes into the right margin. According to the Memoir Class Manual, I should enter:
Code:
\renewcommand{\@pnumwidth}{3em} \renewcommand{\@tocrmarg}{4em} Code:
! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.50 \renewcommand{\@pnumwidth} {3em} ? If I comment those two lines out, it will build the PDF... Last edited by Sweetpea; 02-01-2010 at 10:00 AM. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Latex, PDF and the PRS-600 Dictionary | s3ntient | 4 | 11-06-2009 09:35 AM | |
Chaîne complète d'édition : HTML, LaTeX, PDF, EPUB à venir. | Randy11 | Software | 2 | 04-05-2009 11:42 AM |
PDF Generated with LaTeX for the iLiad | Hadrien | iRex | 17 | 07-25-2008 09:59 AM |
latex template for sony reader pdf | technicolor | Sony Reader | 10 | 07-25-2008 09:51 AM |
PDF creation from Latex using CJK fonts | alanine | iRex | 0 | 10-13-2007 11:45 PM |