03-12-2012, 03:23 PM | #1 |
Member
Posts: 20
Karma: 10
Join Date: Sep 2011
Device: none
|
Landscaping
How would I go about landscaping just one page in a book? Can it be done? What's the code? I have a chart that I need to put in a book, however, it is too squished in portrait orientation. If i can put it in landscape that would be best.
I've searched online, and all i've come up with is a bunch of gardening books Thanks for your help |
03-12-2012, 06:52 PM | #2 | |
Berti
Posts: 1,196
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
|
Quote:
I guess your chart is a picture of some kind, if not, make it to a picture (make a screenshot, get some processing software to cut the borders and flip it around by 90 degrees)... This will probablly not look as nice as text, but it will work on any device, even it has no gyro sensor/landscape support. |
|
Advert | |
|
03-12-2012, 09:21 PM | #3 |
Member
Posts: 20
Karma: 10
Join Date: Sep 2011
Device: none
|
Thank you very much MMAT1...I was thinking of doing that, when i couldn't find any information on the subject.
I will create an image of it, and hope that it turns out well. Thank you again. Cheers. |
03-13-2012, 08:02 AM | #4 |
frumious Bandersnatch
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Two options:
1. Leave it as is. Many ebook readers can change the orientation between portrait and landscape on the fly, some with a buttor or menu, some just by rotating the reader physically. 2. If it's a picture, rotate the picture itself. The drawback is that if the ebook reader supports changing orientation by physical rotation, it must be disabled in order to view the picture properly, and that can be annoying. Also, what if someone is already reading a book in landscape (some people prefer this). I would prefer the first, because it's more natural and makes fewer assumptions about the device that would be use and the preferences of the user. |
03-13-2012, 11:56 AM | #5 |
Member
Posts: 20
Karma: 10
Join Date: Sep 2011
Device: none
|
Thank you Jellby, but I can't leave it the way that it is. There are about 6 columns in this table, so viewing it as portrait creates a squished, unreadable table. It is also between text, so if i were to leave it, it would always look wrong no matter if you rotated the device or not.
|
Advert | |
|
03-13-2012, 01:52 PM | #6 |
Fanatic
Posts: 580
Karma: 810184
Join Date: Sep 2010
Location: Norway
Device: prs-t1, tablet, Nook Simple, assorted kindles, iPad
|
SVG would be a possibility. I've used it to create captions for landscape images and for making a genealogy tree. Then you'd have a nice, scalable, rotatable text.
|
03-13-2012, 01:55 PM | #7 |
Berti
Posts: 1,196
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
|
|
03-13-2012, 03:20 PM | #8 |
Fanatic
Posts: 580
Karma: 810184
Join Date: Sep 2010
Location: Norway
Device: prs-t1, tablet, Nook Simple, assorted kindles, iPad
|
A couple of samples from "Paa ski oer Grønland" by Fridtjof Nansen. First, an evolutionary tree of the ski:
Code:
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="33%" version="1.1" viewBox="0 0 600 300"> <g transform="translate(320 30)"> <g transform="translate(0 5)"> <polyline points=" -150 180, -130 200, 0 200, 0 230, 0 200,130 200, 150 180" style="stroke: black; stroke-width: 1; fill: none;"/> </g> <line style="stroke: black;" x1="150" x2="150" y1="125" y2="160"/> <line style="stroke: black;" x1="-150" x2="-150" y1="125" y2="160"/> <line style="stroke: black;" x1="-150" x2="-150" y1="65" y2="100"/> <line style="stroke: black;" x1="-150" x2="-150" y1="5" y2="40"/> <text id="TextElement" x="-260" y="0" font-style="italic" font-size="22"> ikke-skindklædte ski (30:1) <tspan x="-210" y="60"> aandrer (18:1) </tspan> <tspan x="-220" y="120"> tungusski (9:1) </tspan> <tspan x="75" > indianske snesko </tspan> <tspan x="-270" y="180"> aflange skindklædte plader </tspan> <tspan x="65"> vidjeplader, truger </tspan> <tspan x="-75" y="260"> runde træplader. </tspan> </text> </g> </svg> Code:
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%" viewBox="0 0 380 962" preserveAspectRatio="xMidYMid meet"> <image x="0" y="0" width="379" height="962" xlink:href="img/159.jpg" /> <g transform="translate(350 575) rotate(270 0 0)"> <text id="TextElement" x="0" y="0" font-style="italic" font-size="16"> <tspan x="-204px" y="8px">Vestmannaøerne og Eyafjallajökull ved solnedgang. (Af Th. Homlboe efter en skisse, taget af forf. mai 1882.)</tspan> </text> </g> </svg> |
03-13-2012, 04:07 PM | #9 |
frumious Bandersnatch
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
With tables, the question is: can't you find a better way of showing the information than a table? Tables are good for fixed-size media, but for devices that range from a mobile phone to an overhead proyector, maybe there's some better way.
If you must keep the table, good or not, then I'd convert it to an image. |
03-13-2012, 04:46 PM | #10 |
Fanatic
Posts: 580
Karma: 810184
Join Date: Sep 2010
Location: Norway
Device: prs-t1, tablet, Nook Simple, assorted kindles, iPad
|
If you are willing to be right at the bleeding edge, you could go for EPUB3; the new standard supports CSS3 transformations, does it not?
|
03-13-2012, 04:55 PM | #11 |
Resident Curmudgeon
Posts: 73,896
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
03-13-2012, 05:47 PM | #12 |
Fanatic
Posts: 580
Karma: 810184
Join Date: Sep 2010
Location: Norway
Device: prs-t1, tablet, Nook Simple, assorted kindles, iPad
|
Well, I sorta imagined EPUB3 books were made to be read
You've got Readium already; surely Android/iOS EPUB3 apps can't be far off? I suppose it's a tech/time trade-off; spend 6 months finding a decent solution in EPUB2, or make it in EPUB3 now and wait 6 months before most people can read it |
03-13-2012, 05:54 PM | #13 |
Berti
Posts: 1,196
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
|
|
03-14-2012, 10:41 AM | #14 |
frumious Bandersnatch
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
With SVG you can also rotate it by any angle or mirror it, very useful for Tom Sawyer or Through the Looking-Glass
|
03-16-2012, 11:33 AM | #15 |
Member
Posts: 20
Karma: 10
Join Date: Sep 2011
Device: none
|
Thank you very much for the code snippets. I will also take some time to play around with it.
I was tired and stressed trying to figure it out, as well as running out of time, so, I just made all of the tables into images. Thank you all for your help. |