tag:blogger.com,1999:blog-7523589.post384983397442697901..comments2024-02-20T19:17:55.835+01:00Comments on TSDgeos' blog: Okular users we want your input!Albert Astals Cidhttp://www.blogger.com/profile/12001470108926138921noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-7523589.post-74709369058729455782012-02-08T10:37:25.770+01:002012-02-08T10:37:25.770+01:00This may be language dependent.
In Portuguese, if...This may be language dependent.<br /><br />In Portuguese, if the line break happens where there is already a gramatical hyphen, then you should repeat the hyphen at the beginning of the next line.<br /><br /> Isto é um guarda-chuva.<br /><br />should break as:<br /><br /> ..... Isto é um guarda-<br /> -chuva.<br /><br />IOW, in both these cases:<br /><br /> guarda-<br /> -chuva.<br /><br /> guarda-chu-<br /> va.<br /><br />when written on a single line, the word is<br /><br /> guarda-chuva<br /><br />If the same rules apply to English (I don't know if they do), you return either "This is an ex-\nample" or "This is an example", but never "This is an ex-ample".Pedro Alveshttps://www.blogger.com/profile/14239070784533401135noreply@blogger.comtag:blogger.com,1999:blog-7523589.post-89284643377727655892012-02-08T10:05:36.243+01:002012-02-08T10:05:36.243+01:00The PDF reference says:
Hyphenation. Among the ar...The PDF reference says:<br /><br />Hyphenation. Among the artifacts introduced by text layout is the hyphen marking the incidental division of <br />a word at the end of a line. In Tagged PDF, such an incidental word division shall be represented by a soft <br />hyphen character, which the Unicode mapping algorithm (see “Unicode Mapping in Tagged PDF” in <br />14.8.2.4, “Extraction of Character Properties”) translates to the Unicode value U+00AD. (This character is <br />distinct from an ordinary hard hyphen, whose Unicode value is U+002D.) The producer of a Tagged PDF <br />document shall distinguish explicitly between soft and hard hyphens so that the consumer does not have <br />to guess which type a given character represents.<br /><br /><br />So okular could at least distinguish between soft and hard hyphens and treat them separately.<br /><br />For some languages hyphenation changes the spelling. A straightforward merging would then introduce errors.<br /><br />So I think that removing soft hyphens but keeping others is the best solution.<br /><br />(I comment here because it does not require an additional login)Christoph Bartoscheknoreply@blogger.comtag:blogger.com,1999:blog-7523589.post-71032354948991923542012-02-08T08:53:24.125+01:002012-02-08T08:53:24.125+01:00It would be nice to have these options in the pref...It would be nice to have these options in the preferences dialog box, with default option set to "example".Uomo Ragnohttps://www.blogger.com/profile/17526178726605455960noreply@blogger.comtag:blogger.com,1999:blog-7523589.post-52727362284088500212012-02-08T07:55:21.975+01:002012-02-08T07:55:21.975+01:00I think the coolest would be if okular tried a spe...I think the coolest would be if okular tried a spellcheck on the "example". If example turns out to be in the users wordbook, it would be copied as this word else as "ex-ample".Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7523589.post-44486814409382483392012-02-08T00:41:18.025+01:002012-02-08T00:41:18.025+01:00@Anonymous: No, a hyphen is a hyphen
@The rest: Y...@Anonymous: No, a hyphen is a hyphen<br /><br />@The rest: You are voting in the wrong place ;-)Albert Astals Cidhttps://www.blogger.com/profile/12001470108926138921noreply@blogger.comtag:blogger.com,1999:blog-7523589.post-71224140398388289522012-02-08T00:31:19.140+01:002012-02-08T00:31:19.140+01:00"example" all the way :)
Thanks for ask..."example" all the way :)<br /><br />Thanks for asking.Luis Románnoreply@blogger.comtag:blogger.com,1999:blog-7523589.post-56583050229794259292012-02-08T00:23:58.299+01:002012-02-08T00:23:58.299+01:00I'd go for 'example'.
Think is the mo...I'd go for 'example'.<br /><br />Think is the most common case of them all.Ivan Čukićhttps://www.blogger.com/profile/15823868861262537935noreply@blogger.comtag:blogger.com,1999:blog-7523589.post-39282573629819069872012-02-08T00:23:36.640+01:002012-02-08T00:23:36.640+01:00Is it possible to distinguish for example in PDF b...Is it possible to distinguish for example in PDF between hyphens that are added because of line breaks and hyphens that belong to the word?Anonymousnoreply@blogger.com