08-09-2013, 08:29 AM | #46 |
Grand Sorcerer
Posts: 12,103
Karma: 73447988
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
@Agama: Where can we find your plugin?
|
08-09-2013, 09:57 AM | #47 | ||
Addict
Posts: 264
Karma: 9246
Join Date: Feb 2010
Location: Berlin, Germany
Device: Kobo H20, iPhone 6+, Macbook Pro
|
Quote:
When it's true, that many devices cannot interprete a simple descendant selector like "h1 em" than I would suggest an <h1>Chapter <em class="chapter-number">3</h1> But may be I missunderstood you. Quote:
The easiest way to understand it, would be to post a link to an epub document before and after the treatment by the plugin. |
||
Advert | |
|
08-09-2013, 10:08 AM | #48 |
Grand Sorcerer
Posts: 12,103
Karma: 73447988
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Maybe I'm missing something here. Why not experiment yourself with the tools that are readily available and see for yourself?
The calibre epub to txt conversion is easily done, as is the conversion from txt back to epub. Experiment for yourself! |
08-09-2013, 11:07 AM | #49 |
Addict
Posts: 264
Karma: 9246
Join Date: Feb 2010
Location: Berlin, Germany
Device: Kobo H20, iPhone 6+, Macbook Pro
|
@PeterT
Of course I could experiment on my own. But one of benefits of communities are: not everybody has to do all experiments again. Please don't missunderstand me: I never expect any help or answers. I appreciate it. A conversion to TXT will destroy important semantic. When it doesn't destroy it, it's not a TXT conversion |
08-09-2013, 11:24 AM | #50 |
Grand Sorcerer
Posts: 27,441
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I get it now; you're a philosopher. You don't really want the tool. You want the discussion about why you can't have the tool. The fact of the matter is: if there were a way to make all markup automatically conform to any individual's personal preferences/conventions at the touch of a button, you wouldn't need to ask where to find it. Everyone would already be using it.
|
Advert | |
|
08-09-2013, 11:34 AM | #51 |
Addict
Posts: 264
Karma: 9246
Join Date: Feb 2010
Location: Berlin, Germany
Device: Kobo H20, iPhone 6+, Macbook Pro
|
@DiapDealer
You are getting personally. That's not necessary. Of course there's no tool which does conversions complete automatically. That's obvious and we do have to talk about it. I'm just interested in the workflow of experienced source code cleaners. No more no less. |
08-09-2013, 12:52 PM | #52 |
Grand Sorcerer
Posts: 27,441
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I may be getting personal, but I'm certainly not "attacking" anyone personally (unless calling someone a philosopher is an insult I'm unaware of).
For better or worse, I put the people who come seeking help of a technological nature into two categories: technicians and philosophers. I can usually help the former, but I've learned I lack the necessary skills to help the latter. So to them, I usually say "good luck and good day" ... sincerely. |
08-09-2013, 01:12 PM | #53 |
Addict
Posts: 264
Karma: 9246
Join Date: Feb 2010
Location: Berlin, Germany
Device: Kobo H20, iPhone 6+, Macbook Pro
|
@DiapDealer
Thanks for telling, that you didn't meant "philosopher" as an attack. Well, I like several aspects in public discussions. Those types, which result in a practical solution. And others, which open the mind, which induce a rethinking of your own practice, your view, your utopias, ... Be sure, I'm not a philosopher. I want to edit real epubs. |
08-09-2013, 01:25 PM | #54 | |
Grand Sorcerer
Posts: 12,103
Karma: 73447988
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Quote:
|
|
08-09-2013, 01:43 PM | #55 |
Addict
Posts: 264
Karma: 9246
Join Date: Feb 2010
Location: Berlin, Germany
Device: Kobo H20, iPhone 6+, Macbook Pro
|
@PeterT
Sure I took a look at the ePub of post #30. What I didn't understood is, how you kept/reconstructed the EM inside the paragraphs when it's a conversion of epub to txt. |
08-09-2013, 01:51 PM | #56 |
Grand Sorcerer
Posts: 12,103
Karma: 73447988
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
THAT IS THE WHOLE IDEA OF MARKDOWN.
Markdown is a means of marking up plan text. From a web page that describes it Code:
A First Level Header ==================== A Second Level Header --------------------- Now is the time for all good men to come to the aid of their country. This is just a regular paragraph. The quick brown fox jumped over the lazy dog's back. ### Header 3 > This is a blockquote. > > This is the second paragraph in the blockquote. > > ## This is an H2 in a blockquote Code:
<h1>A First Level Header</h1> <h2>A Second Level Header</h2> <p>Now is the time for all good men to come to the aid of their country. This is just a regular paragraph.</p> <p>The quick brown fox jumped over the lazy dog's back.</p> <h3>Header 3</h3> <blockquote> <p>This is a blockquote.</p> <p>This is the second paragraph in the blockquote.</p> <h2>This is an H2 in a blockquote</h2> </blockquote> |
08-09-2013, 01:55 PM | #57 | |
Enthusiast
Posts: 36
Karma: 8164
Join Date: Jul 2012
Device: Kindle Keyboard
|
Quote:
I think that the total number of people in the world who share your concerns and goals is less than the number of people commenting on this thread. I think you have gotten excellent responses and suggestions on how to approach your self-appointed task. In my view, you are unlikely to find better information anywhere else. |
|
08-09-2013, 01:58 PM | #58 |
Grand Sorcerer
Posts: 12,103
Karma: 73447988
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
To elaborate:
Original ePub Spoiler:
Text Conversion (markup) Spoiler:
Conversion back to ePub Spoiler:
My Cleaned up code Spoiler:
|
08-09-2013, 02:29 PM | #59 |
Addict
Posts: 264
Karma: 9246
Join Date: Feb 2010
Location: Berlin, Germany
Device: Kobo H20, iPhone 6+, Macbook Pro
|
@PeterT
Thanks. Now I got it. Sorry that I'v been so slow on the uptake. @William Ockham I disagree with your assumptions (less costs, selling more). And I disagree with your assumptions of the number of users who would benefit from a better markup. I realized, that I do not only bother you in this thread. Therefore I will withdraw from it. It was not my intention to go into a discussion "What is good XHTML and what is useful for". The thread get that direction. I took part. I stop it now. |
08-09-2013, 02:52 PM | #60 | ||
Grand Sorcerer
Posts: 5,185
Karma: 25133758
Join Date: Nov 2008
Location: SF Bay Area, California, USA
Device: Pocketbook Touch HD3 (Past: Kobo Mini, PEZ, PRS-505, Clié)
|
Quote:
Quote:
If one method had a sharp, noticeable, commercial advantage over the others, it would catch on. (See: dominance of epub; decline of LIT and LRF.) However, the general public does not care whether chapter headers are "properly" formatted H1, or <span> sections with specific formatting details. They care that chapter headers start on a new page and are bold. (Sometimes. Sometimes they don't even care about that.) "Clean" ebook files are for formatting fanatics; readers, especially paying readers, aren't seeing the code. Readers care about whether the book "looks nice," but that's a subjective standard; there's no universal agreement on the best basic look. (I prefer indented paragraphs with no space between. Many readers prefer flush-left with spaces between. I like slab serifs; some people like serifs; some prefer sans. And so on.) There is no universal method because there is no way that works "best," especially with many specific requirements in play for niche markets that don't matter for the larger crowd. And there's no cooperation to create a universal system, because the major developers are competitors. |
||
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Touch Problem with all epubs, my epubs, or my kobo? (line clipping) | plague006 | Kobo Reader | 14 | 12-02-2011 11:32 PM |
Gui Plugin for Cleaning Ebooks, Fast | burbleburble | Plugins | 91 | 10-11-2011 04:45 PM |