08-18-2014, 04:00 PM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Aug 2014
Device: Mobipocket/Kindle
|
Problem with syntax <idx:orth infl=""> and hiragana
Hello,
As the title say, I have an insoluble problem with the syntax : Code:
<idx:orth infl=""> Code:
<idx:infl><idx:iform value=""/></idx:infl> Anybody have an idea? Thanks in advance. |
08-19-2014, 03:24 AM | #2 | |
Grand Sorcerer
Posts: 5,636
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
<idx:entry name="japanese" scriptable="yes"> <idx:orth>猫<idx:infl><idx:iform value="貓"/><idx:iform value="ねこ"/><idx:iform value="ネコ"/></idx:infl></idx:orth><br/> chat (m) </idx:entry> The tricky part is selecting multiple consecutive characters. I wasn't able to do this with my PW2 even when the GUI was changed to Japanese. For testing purposes, I inserted regular spaces between Kanji and Kana characters and when I selected one of the Kana equivalents the correct headword was displayed. For more information on the dictionary syntax also see the Kindle Publishing Guidelines, which describes the dictionary syntax in detail. Just out of curiosity, do Japanese ebooks contain invisible delimiters (ZWNJ etc.) between lexical units? If so which ones? |
|
Advert | |
|
08-19-2014, 11:33 AM | #3 |
Junior Member
Posts: 4
Karma: 10
Join Date: Aug 2014
Device: Mobipocket/Kindle
|
Hello,
Thanks for the response. Maybe it works on Kindle devices, but for me, converted with MC 4.8 or Kindlegen 2.9, it doesn't work on my Mobipocket reader 6.2 (PC or WM) even with regular spaces : no links are available from an other ebook (except of course for the entries 猫 and 車) and the inflexions are not accessible from index. The only syntax which works well is Code:
<idx:orth value""> To my knowledge, there is no delimiters in japanese ebooks, apart from hyperlinks and sometimes for to make easier the researches (like for find 待つ in 待っていました). Thanks again. P.S. : I you are interested, I send to you a sample of the dictionary. |
08-19-2014, 01:51 PM | #4 | |
Grand Sorcerer
Posts: 5,636
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
<idx:entry> <idx:orth>猫</idx:orth> <idx:orth value="貓"/> <idx:orth value="ねこ"/> <idx:orth value="ネコ"/><br /> chat (m) </idx:entry> |
|
08-19-2014, 04:22 PM | #5 |
Junior Member
Posts: 4
Karma: 10
Join Date: Aug 2014
Device: Mobipocket/Kindle
|
Yes, it's what I'm doing. I just wanted to hide some labels
Code:
idx:orth value="" |
Advert | |
|
Tags |
hiragana, idx:orth, infl, japanese, kindlegen, mobi |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to use 'format' in <idx:orth> tags for dictionaries? | totsubo | Kindle Formats | 12 | 10-30-2013 03:28 AM |
Problem "installing" "Kindle library extractor" | dhdurgee | Kindle Developer's Corner | 7 | 11-24-2012 07:09 PM |
tab2opf.py <idx:key key="xxx"> | Doitsu | Kindle Formats | 0 | 01-11-2011 11:57 AM |
"A Problem Occurred" on the "Shop" page. | swallman | Nook Color & Nook Tablet | 1 | 12-25-2010 12:34 PM |
Need Help With "Regular Expression Syntax" | dkritso109 | Calibre | 42 | 10-05-2010 09:03 AM |