Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 02-26-2015, 10:29 AM   #1
venturacottage
Junior Member
venturacottage began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2014
Device: kindle paperwhite
dictionary/thesaurus design examples syntax code

I am trying to put together an ebook listing plants and their details the syntax is
Genus name Specific name, COMMON ENGLISH NAME, details of the plant and its colours location etc go here
eg
Abelmoschus esculentus OKRA is valued for its edible green fruits, said to be shaped like lady's fingers - one of its common names in British English.

I have InDesign, MS Word and am used to Using H1, H2 etc but in this case I wish to keep these keywords on the same line but later compile as TOC/ Glossary etc.
Looking for guidance as to how to begin the mark up or any ebook dictionary/thesaurus example
venturacottage is offline   Reply With Quote
Old 02-26-2015, 11:41 AM   #2
dickloraine
Guru
dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.
 
Posts: 631
Karma: 7544080
Join Date: Apr 2013
Location: Berlin
Device: PRS 350, Kobo Aura
You could use paragraphs first and then use regex and search and replace for the ebook.
Make a style for each and use words ability to set the following style so that you don't need to switch styles by hand each paragraph.
If you export that to html you have structured file where it should be easy to make it look like you want by using search and replace. Never used it, but word has a build in tool for making an index.
dickloraine is offline   Reply With Quote
Advert
Old 02-26-2015, 11:48 AM   #3
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,141
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
I can't help but think that doing this using what I might call "pseudo markup", and then processing that through a script to actually convert it into the ebook format would be an idea. Something like
Code:
<plant>
 <genus>Abelmoschus</genus>
 <specific>esculentus</specific>
 <common>OKRA</common>
 <description>is valued for its edible green fruits, said to be shaped like lady's fingers - one of its common names in British English.</description>
</plant>
PeterT is offline   Reply With Quote
Old 02-26-2015, 12:25 PM   #4
dickloraine
Guru
dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.
 
Posts: 631
Karma: 7544080
Join Date: Apr 2013
Location: Berlin
Device: PRS 350, Kobo Aura
That is what I meant, just replace the pseudo markup with word styles. Ultimately every structured file will do it. Excel or a databse comes also to mind. What would be the best depends on additional usage and what the op is able to use.
dickloraine is offline   Reply With Quote
Old 02-26-2015, 01:31 PM   #5
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,141
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Ideally one could use a tool like XSLT to transform that into the desired format.
PeterT is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dictionary/Thesaurus goldberry Nook Color & Nook Tablet 4 06-20-2011 12:38 AM
Recommendations for Dictionary, Thesaurus? John1997 Reading Recommendations 5 01-18-2010 12:12 PM
Dictionary? Thesaurus? Stu Segal Sony Reader 2 10-19-2007 03:06 AM


All times are GMT -4. The time now is 07:08 AM.


MobileRead.com is a privately owned, operated and funded community.