![]() |
#1 |
Member
![]() Posts: 20
Karma: 10
Join Date: Nov 2009
Device: PRS-600
|
Latex, PDF and the PRS-600 Dictionary
Hello,
Up until recently, I have been creating my ebooks with Microsoft Word and exporting to PDF for reading on my PRS-600. This worked fine, however I wanted more control over my fonts, justification, etc. so I recently started using XeLaTeX to create my PDFs. Since switching to XeLaTeX, I notice that I can no longer use the dictionary feature of the PRS-600. The reason is that now, when I double-tap a word, it selects everything from the previous punctuation mark to the next instead of just the word. Does anyone know why this happens with a PDF output from XeLaTeX and not with a PDF output from Word? How can I correct this behaviour? ![]() |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
Interesting. I have noticed that XeLaTeX does sometimes do strange things with how it encodes characters and embeds fonts. Just as a point of comparison, do you have the same problem if you generate using plain LaTeX 2e with type 1 fonts?
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,258
Karma: 3439432
Join Date: Feb 2008
Device: Amazon Kindle Paperwhite (300ppi), Samsung Galaxy Book 12
|
The problem is likely caused by the spaces being omitted when the .pdf is built --- instead they're encoded in as positional information which the .pdf renderer is ignoring.
If memory serves, you can get it to insert the spaces by adding: \XeTeXinterchartokenstate=1 to your document preamble. William |
![]() |
![]() |
![]() |
#4 | ||
Member
![]() Posts: 20
Karma: 10
Join Date: Nov 2009
Device: PRS-600
|
Quote:
Quote:
I looked up the command you mentioned, it enables you to insert tokens between different characters. However I'm not quite sure how to use it to solve my problem, or even if these interchartokens can solve my problem. Thank you both for you replies ![]() |
||
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,258
Karma: 3439432
Join Date: Feb 2008
Device: Amazon Kindle Paperwhite (300ppi), Samsung Galaxy Book 12
|
OIC. In that case, for xelatex, it's likely an issue of the pdf viewer failing to understand how the font is encoded.
I would try sending a sample file to Sony and seeing if they'd look into it. William |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-600 Replacing dictionary on PRS-600 | SieGHe | Sony Reader | 2 | 03-30-2010 09:11 PM |
prs-300/prs-600 --> text pdf redable | Evolut1on | Sony Reader | 16 | 03-11-2010 11:29 AM |
The PRS-600 dictionary | AprilHare | Sony Reader | 36 | 11-12-2009 06:34 AM |
Sony PRS-600 Dictionary | dek | Sony Reader | 12 | 09-09-2009 06:19 AM |
Does the PRS-300SC have pdf zoom like the prs-600? | jsmithlamington | Which one should I buy? | 2 | 08-23-2009 01:00 AM |