* Style file for iPad? @ 2012-03-06 11:03 Alasdair McAndrew 2012-03-06 11:36 ` Philipp A. ` (2 more replies) 0 siblings, 3 replies; 11+ messages in thread From: Alasdair McAndrew @ 2012-03-06 11:03 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 615 bytes --] If this has been asked before, my apologies. Is there a style file for formatting PDFs from ConTeXt for reading on an iPad? So far I've just used \setuppapersize[A4][A4] \setuplayout[backspace=20mm, width=160mm, topspace=20mm, top=0mm, header=0mm, footer=10mm, bottomspace=20mm,bottom=0mm, textheight=250mm] which works fine - for printing - but isn't optimized for the iPad. If anybody has any suggestions or examples, I'd be very grateful of them! Thanks, Alasdair -- Blog: http://amca01.wordpress.com Web: http://sites.google.com/site/amca01/ Facebook: http://www.facebook.com/alasdair.mcandrew [-- Attachment #1.2: Type: text/html, Size: 1301 bytes --] [-- Attachment #2: Type: text/plain, Size: 485 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Style file for iPad? 2012-03-06 11:03 Style file for iPad? Alasdair McAndrew @ 2012-03-06 11:36 ` Philipp A. 2012-03-06 11:40 ` Alasdair McAndrew 2012-03-06 12:47 ` Hans Hagen 2012-03-06 13:41 ` Aditya Mahajan 2 siblings, 1 reply; 11+ messages in thread From: Philipp A. @ 2012-03-06 11:36 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 323 bytes --] 2012/3/6 Alasdair McAndrew <amca01@gmail.com> > Is there a style file for formatting PDFs from ConTeXt for reading on an > iPad? > make an ebook instead. PDF files aren’t for screen reading, but for printing. semantic markup like it is used in ebook formats is much better suited for screens of all sizes. [-- Attachment #1.2: Type: text/html, Size: 565 bytes --] [-- Attachment #2: Type: text/plain, Size: 485 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Style file for iPad? 2012-03-06 11:36 ` Philipp A. @ 2012-03-06 11:40 ` Alasdair McAndrew 2012-03-06 13:40 ` Khaled Hosny 0 siblings, 1 reply; 11+ messages in thread From: Alasdair McAndrew @ 2012-03-06 11:40 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1154 bytes --] Yes, but what ebook formats handle mathematics and diagrams? -A. On Tue, Mar 6, 2012 at 10:36 PM, Philipp A. <flying-sheep@web.de> wrote: > 2012/3/6 Alasdair McAndrew <amca01@gmail.com> > >> Is there a style file for formatting PDFs from ConTeXt for reading on an >> iPad? >> > > make an ebook instead. PDF files aren’t for screen reading, but for > printing. > > semantic markup like it is used in ebook formats is much better suited for > screens of all sizes. > > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > ___________________________________________________________________________________ > -- Blog: http://amca01.wordpress.com Web: http://sites.google.com/site/amca01/ Facebook: http://www.facebook.com/alasdair.mcandrew [-- Attachment #1.2: Type: text/html, Size: 2264 bytes --] [-- Attachment #2: Type: text/plain, Size: 485 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Style file for iPad? 2012-03-06 11:40 ` Alasdair McAndrew @ 2012-03-06 13:40 ` Khaled Hosny 2012-03-07 8:34 ` Nicola 0 siblings, 1 reply; 11+ messages in thread From: Khaled Hosny @ 2012-03-06 13:40 UTC (permalink / raw) To: mailing list for ConTeXt users On Tue, Mar 06, 2012 at 10:40:20PM +1100, Alasdair McAndrew wrote: > Yes, but what ebook formats handle mathematics and diagrams? Plus the poor layout support in almost all ebook readers (brain dead paragraph builder, no hyphenation, no OpenType support etc. etc. they are usually pieces of junk for any remotely complex text layout job). Regards, Khaled ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Style file for iPad? 2012-03-06 13:40 ` Khaled Hosny @ 2012-03-07 8:34 ` Nicola 2012-03-07 16:30 ` William Adams 0 siblings, 1 reply; 11+ messages in thread From: Nicola @ 2012-03-07 8:34 UTC (permalink / raw) To: ntg-context In article <20120306134022.GB29209@khaled-laptop>, Khaled Hosny <khaledhosny@eglug.org> wrote: > On Tue, Mar 06, 2012 at 10:40:20PM +1100, Alasdair McAndrew wrote: > > Yes, but what ebook formats handle mathematics and diagrams? > > Plus the poor layout support in almost all ebook readers (brain dead > paragraph builder, no hyphenation, no OpenType support etc. etc. they > are usually pieces of junk for any remotely complex text layout job). It's worse than pre-TeX printed books. Which makes me wonder: is anyone in the world addressing this? Are there people in the TeX community involved in the standardization processes (say, Epub3, but also the various W3C specifications), who could push forward ideas from TeX, like minimum requirements for the algorithms that rendering engines should use? These questions (together with sighs) arise every time I see a web page especially with mathematical notation… Nicola ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Style file for iPad? 2012-03-07 8:34 ` Nicola @ 2012-03-07 16:30 ` William Adams 2012-03-07 22:35 ` Alasdair McAndrew 0 siblings, 1 reply; 11+ messages in thread From: William Adams @ 2012-03-07 16:30 UTC (permalink / raw) To: mailing list for ConTeXt users On Mar 7, 2012, at 3:34 AM, Nicola wrote: > It's worse than pre-TeX printed books. Which makes me wonder: is anyone in the > world addressing this? Are there people in the TeX community involved in the > standardization processes (say, Epub3, but also the various W3C specifications), > who could push forward ideas from TeX, like minimum requirements for the > algorithms that rendering engines should use? These questions (together with > sighs) arise every time I see a web page especially with mathematical notation… The problem is, since the rendering is based on HTML, people just grab a web browser framework and build on that to make an ebook viewer. Here's a post I wrote up once comparing a specific ePub display on a specific viewing program w/ a hand-tweaked Plain TeX version: http://www.mobileread.com/forums/showpost.php?p=1371218&postcount=7 > those who're curious may find it educational to compare my .pdf w/ this ePub version to see the sort of typographic infelicities which even in the best ePub version can't be controlled for --- > - one word last lines > - # of lines on a page constantly changing to prevent widows / orphans > - overly loose line on the middle of pg. 20 > - 3 word stack on pg. 21 (meditation/Meditation) > - 2 word stack on pg. 32 (black) > - 2 word stack on pg. 37 (the) Twice! > - six word river on pg. 40 (the/their/the/the/its/we) > - 2 word stacks on pg. 40 (a & We) > - 3 word stack on pg. 46 (the/the/The) > - 2 word stack on pg. 47 (a) > - awkward break at the bottom of the first page of Chapter VII where the poem is referred to, but appears on the following page > (when viewed in Sony's ebook viewing program)). In the .pdf I believe there were only one or two places where I let two word stacks stand (because they were intractable) --- will have to try again using xetex and margin protrusion and character expansion (I'd used DEK's macro for hanging punctuation from _The TeXbook_). William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Style file for iPad? 2012-03-07 16:30 ` William Adams @ 2012-03-07 22:35 ` Alasdair McAndrew 0 siblings, 0 replies; 11+ messages in thread From: Alasdair McAndrew @ 2012-03-07 22:35 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 3858 bytes --] A while ago I grabbed some mathematics book samples for the Kindle. These were books produced by well-known publishing companies, retailing for considerable sums (even in the electronic versions), and in all of them the mathematics typesetting was atrocious. I think that in most (all?) ebook formats, a formula is included as an image, which means that it automatically resizes. This means that formulas may be of all different sized fonts, which gives the result a very scrappy look. At least PDF - even if not designed for ebook reading - provides decent layout. The problem is not just mathematics. I have some ebooks about poetry, and in them the included poems (as set off from the surrounding text), seem to be typeset almost randomly, with regard to layout, font size and spacing. And these are commercial ebooks, for which I paid real Earth dollars! -Alasdair On Thu, Mar 8, 2012 at 3:30 AM, William Adams <will.adams@frycomm.com>wrote: > On Mar 7, 2012, at 3:34 AM, Nicola wrote: > > > It's worse than pre-TeX printed books. Which makes me wonder: is anyone > in the > > world addressing this? Are there people in the TeX community involved in > the > > standardization processes (say, Epub3, but also the various W3C > specifications), > > who could push forward ideas from TeX, like minimum requirements for the > > algorithms that rendering engines should use? These questions (together > with > > sighs) arise every time I see a web page especially with mathematical > notation… > > The problem is, since the rendering is based on HTML, people just grab a > web browser framework and build on that to make an ebook viewer. > > Here's a post I wrote up once comparing a specific ePub display on a > specific viewing program w/ a hand-tweaked Plain TeX version: > > http://www.mobileread.com/forums/showpost.php?p=1371218&postcount=7 > > > those who're curious may find it educational to compare my .pdf w/ this > ePub version to see the sort of typographic infelicities which even in the > best ePub version can't be controlled for --- > > > - one word last lines > > - # of lines on a page constantly changing to prevent widows / orphans > > - overly loose line on the middle of pg. 20 > > - 3 word stack on pg. 21 (meditation/Meditation) > > - 2 word stack on pg. 32 (black) > > - 2 word stack on pg. 37 (the) Twice! > > - six word river on pg. 40 (the/their/the/the/its/we) > > - 2 word stacks on pg. 40 (a & We) > > - 3 word stack on pg. 46 (the/the/The) > > - 2 word stack on pg. 47 (a) > > - awkward break at the bottom of the first page of Chapter VII where > the poem is referred to, but appears on the following page > > > (when viewed in Sony's ebook viewing program)). In the .pdf I believe > there were only one or two places where I let two word stacks stand > (because they were intractable) --- will have to try again using xetex and > margin protrusion and character expansion (I'd used DEK's macro for hanging > punctuation from _The TeXbook_). > > William > > -- > William Adams > senior graphic designer > Fry Communications > Sphinx of black quartz, judge my vow. > > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > ___________________________________________________________________________________ > -- Blog: http://amca01.wordpress.com Web: http://sites.google.com/site/amca01/ Facebook: http://www.facebook.com/alasdair.mcandrew [-- Attachment #1.2: Type: text/html, Size: 5090 bytes --] [-- Attachment #2: Type: text/plain, Size: 485 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Style file for iPad? 2012-03-06 11:03 Style file for iPad? Alasdair McAndrew 2012-03-06 11:36 ` Philipp A. @ 2012-03-06 12:47 ` Hans Hagen 2012-03-06 13:48 ` Aditya Mahajan 2012-03-06 13:41 ` Aditya Mahajan 2 siblings, 1 reply; 11+ messages in thread From: Hans Hagen @ 2012-03-06 12:47 UTC (permalink / raw) To: mailing list for ConTeXt users On 6-3-2012 12:03, Alasdair McAndrew wrote: > If this has been asked before, my apologies. > > Is there a style file for formatting PDFs from ConTeXt for reading on an > iPad? So far I've just used > > \setuppapersize[A4][A4] > \setuplayout[backspace=20mm, > width=160mm, > topspace=20mm, top=0mm, > header=0mm, footer=10mm, > bottomspace=20mm,bottom=0mm, > textheight=250mm] > > which works fine - for printing - but isn't optimized for the iPad. If > anybody has any suggestions or examples, I'd be very grateful of them! copied from s-inf-03.mkiv \setuppapersize [S6,landscape] [S6,landscape] \setuplayout [header=0cm, footer=1cm, backspace=.5cm, topspace=.5cm, width=middle, height=middle] (not that I use the ipad for reading docs ... too must hassle to get something on it) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Style file for iPad? 2012-03-06 12:47 ` Hans Hagen @ 2012-03-06 13:48 ` Aditya Mahajan 2012-03-06 14:14 ` Hans Hagen 0 siblings, 1 reply; 11+ messages in thread From: Aditya Mahajan @ 2012-03-06 13:48 UTC (permalink / raw) To: mailing list for ConTeXt users On Tue, 6 Mar 2012, Hans Hagen wrote: > On 6-3-2012 12:03, Alasdair McAndrew wrote: >> If this has been asked before, my apologies. >> >> Is there a style file for formatting PDFs from ConTeXt for reading on an >> iPad? So far I've just used >> >> \setuppapersize[A4][A4] >> \setuplayout[backspace=20mm, >> width=160mm, >> topspace=20mm, top=0mm, >> header=0mm, footer=10mm, >> bottomspace=20mm,bottom=0mm, >> textheight=250mm] >> >> which works fine - for printing - but isn't optimized for the iPad. If >> anybody has any suggestions or examples, I'd be very grateful of them! > > copied from s-inf-03.mkiv > > \setuppapersize > [S6,landscape] > [S6,landscape] A5 is closer to the screen size than S6. Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Style file for iPad? 2012-03-06 13:48 ` Aditya Mahajan @ 2012-03-06 14:14 ` Hans Hagen 0 siblings, 0 replies; 11+ messages in thread From: Hans Hagen @ 2012-03-06 14:14 UTC (permalink / raw) To: mailing list for ConTeXt users On 6-3-2012 14:48, Aditya Mahajan wrote: > On Tue, 6 Mar 2012, Hans Hagen wrote: > >> On 6-3-2012 12:03, Alasdair McAndrew wrote: >>> If this has been asked before, my apologies. >>> >>> Is there a style file for formatting PDFs from ConTeXt for reading on an >>> iPad? So far I've just used >>> >>> \setuppapersize[A4][A4] >>> \setuplayout[backspace=20mm, >>> width=160mm, >>> topspace=20mm, top=0mm, >>> header=0mm, footer=10mm, >>> bottomspace=20mm,bottom=0mm, >>> textheight=250mm] >>> >>> which works fine - for printing - but isn't optimized for the iPad. If >>> anybody has any suggestions or examples, I'd be very grateful of them! >> >> copied from s-inf-03.mkiv >> >> \setuppapersize >> [S6,landscape] >> [S6,landscape] > > A5 is closer to the screen size than S6. S6 has an 3:4 aspect ratio Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Style file for iPad? 2012-03-06 11:03 Style file for iPad? Alasdair McAndrew 2012-03-06 11:36 ` Philipp A. 2012-03-06 12:47 ` Hans Hagen @ 2012-03-06 13:41 ` Aditya Mahajan 2 siblings, 0 replies; 11+ messages in thread From: Aditya Mahajan @ 2012-03-06 13:41 UTC (permalink / raw) To: mailing list for ConTeXt users On Tue, 6 Mar 2012, Alasdair McAndrew wrote: > If this has been asked before, my apologies. > > Is there a style file for formatting PDFs from ConTeXt for reading on an > iPad? I use the following style for an ebook reader: https://gist.github.com/1886670 I set the paper size to the physical size of the device screen, use tiny margins, and set an appropriate font size. See http://randomdeterminism.wordpress.com/2009/10/21/creating-a-style-file-in-context/ for example output. Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2012-03-07 22:35 UTC | newest] Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-03-06 11:03 Style file for iPad? Alasdair McAndrew 2012-03-06 11:36 ` Philipp A. 2012-03-06 11:40 ` Alasdair McAndrew 2012-03-06 13:40 ` Khaled Hosny 2012-03-07 8:34 ` Nicola 2012-03-07 16:30 ` William Adams 2012-03-07 22:35 ` Alasdair McAndrew 2012-03-06 12:47 ` Hans Hagen 2012-03-06 13:48 ` Aditya Mahajan 2012-03-06 14:14 ` Hans Hagen 2012-03-06 13:41 ` Aditya Mahajan
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).