Re: AW: [docbook-apps] Capital latin "Q" with dot above

2018-06-15 Thread maxwell

On 2018-06-15 00:48, Frank Steimke wrote:

...
So writing down the combining character sequence is no problem at all,
however it has to be supported by a font in the final PDF file. If the
default font does not work: Have a look at Google Noto Fonts
(https://www.google.com/get/noto/).


SIL's fonts are also very good at supporting standards, including the 
positioning of combining diacritics.  There's a list here:
   
http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi=fontdownloads
Many of these are non-Roman fonts, so not what you're looking for.  But 
the Doulos and Charis fonts have wide coverage of Latin characters (I 
want to say "complete"), and support not only combining diacritics, but 
stacked diacritics.  The SIL fonts are free (in fact the SIL font 
license has become a semi-standard for free fonts).


There are other fonts which do *not* correctly support stacked 
diacritics the last time I looked, such as Linux Biolinum, Linux 
Libertine, Nimbus Sans, Fira Mono (and maybe other Fira fonts), and 
DejaVu.  Of course if you don't have stacked diacritics (=multiple 
diacritics on a single base character), these may be adequate.


   Mike Maxwell
   University of Maryland


-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



AW: [docbook-apps] Capital latin "Q" with dot above

2018-06-14 Thread Frank Steimke
We are writing an article (hopefully it will become an official standard of our 
national standardization authority, DIN) about a set of characters that every 
ICT system in Germany should support. The article is written in docbook, 
because its main part is generated from a character database (subset of Unicode 
Character Database UCD). We have plenty of sequences with diacritical 
characters, like LATIN CAPITAL LETTER K WITH COMBINING DOT ABOVE. It is a 
"combining character sequence" in the sense of the Unicode standard. It is very 
easy to write them down in docbook. Since docbook is XML, you can use the 
general mechanism for representation of arbitrary characters by their hex-code: 
"K" (character LATIN CAPITAL LETTER K immediately followed by the 
character with hex-code 0307, which is COMBINING DOT ABOVE). You can do exactly 
the same for LATIN CAPITAL LETTER Q WITH COMBINING DOT ABOVE, although I did 
not find that in our database. Q̇ is not a result of any ISO recommendation for 
transcription from other scripts to latin, right?

So writing down the combining character sequence is no problem at all, however 
it has to be supported by a font in the final PDF file. If the default font 
does not work: Have a look at Google Noto Fonts 
(https://www.google.com/get/noto/).  

Sincerely,
Frank

> -Ursprüngliche Nachricht-
> Von: maxwell 
> Gesendet: Dienstag, 12. Juni 2018 20:48
> An: Jan Tosovsky 
> Cc: 'DocBook Apps' 
> Betreff: RE: [docbook-apps] Capital latin "Q" with dot above
> 
> On 2018-06-12 14:14, Jan Tosovsky wrote:
> > You cannot combine multiple characters to form the composed one. If
> > there is Unicode character for this combination, you can use it
> > directly. If it is not displayed correctly, it means your font doesn't
> > contain this character and you need to switch to the font with broader
> > character support.
> 
> You can if, as jmt pointed out, one of the characters (the dot, in this
> case) is a Unicode combining diacritical mark.  At least you can in systems 
> I've
> used, for most fonts.  Systems I've used in this case means XeLaTeX (a
> Unicode-aware version of LaTeX) and Microsoft Word.  I have not used the
> XSL-FO transform, but hopefully it works there too.
> 
> There may of course be Latin fonts where the dot-over is not defined, and
> there might possibly be fonts where it is defined but where it doesn't
> position itself correctly over some base characters (particularly where there
> is more than one diacritic, i.e. stacked diacritics).  Fonts should come with 
> a
> chart that tells what code points they handle, but that information can
> sometimes be difficult to find.
> 
> Mike Maxwell
> University of Maryland
> 
> -
> To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



RE: [docbook-apps] Capital latin "Q" with dot above

2018-06-12 Thread maxwell

On 2018-06-12 14:14, Jan Tosovsky wrote:

You cannot combine multiple characters to form the composed one. If
there is Unicode character for this combination, you can use it
directly. If it is not displayed correctly, it means your font doesn't
contain this character and you need to switch to the font with broader
character support.


You can if, as jmt pointed out, one of the characters (the dot, in this 
case) is a Unicode combining diacritical mark.  At least you can in 
systems I've used, for most fonts.  Systems I've used in this case means 
XeLaTeX (a Unicode-aware version of LaTeX) and Microsoft Word.  I have 
not used the XSL-FO transform, but hopefully it works there too.


There may of course be Latin fonts where the dot-over is not defined, 
and there might possibly be fonts where it is defined but where it 
doesn't position itself correctly over some base characters 
(particularly where there is more than one diacritic, i.e. stacked 
diacritics).  Fonts should come with a chart that tells what code points 
they handle, but that information can sometimes be difficult to find.


   Mike Maxwell
   University of Maryland

-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



RE: [docbook-apps] Capital latin "Q" with dot above

2018-06-12 Thread Jan Tosovsky
On 2018-06-11 oa...@docbook-autor.de wrote:
> 
> as it seems there isn't an entity for a capital latin "Q" with a dot
> above like .
> 
> I'm wondering how to realise generic diacritical marks with DocBook
> (besides using an inline image...).

You cannot combine multiple characters to form the composed one. If there is 
Unicode character for this combination, you can use it directly. If it is not 
displayed correctly, it means your font doesn't contain this character and you 
need to switch to the font with broader character support.

If there is no suitable Unicode character nor appropriate font, the only way is 
to use the inline image, ideally vector one, e.g. SVG.

HTH, Jan




-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



Re: [docbook-apps] Capital latin "Q" with dot above

2018-06-12 Thread jmt
Unicode provides "combining diacritical marks" : you can use
"COMBINING DOT ABOVE", the hexadecimal value of which is 307 :

in xml :
Q

in text, on a linux platform (Hold down the shift and control keys
while typing 'u' and the hex value)
Q̇


Please note that result is dependant on the font you are using ; but it
works for most standard (browser) fonts.

More information is available at
http://www.unicode.org
and charts
http://www.unicode.org/charts/
can be helpful (I have local copies available when working with
docbook !)



jmt



On Mon, 11 Jun 2018 11:13:37 +0200
oa...@docbook-autor.de wrote:

>  Hi,
> 
> as it seems there isn't an entity for a capital latin "Q" with a dot
> above like .
> 
> I'm wondering how to realise generic diacritical marks with DocBook
> (besides using an inline image...).
> 
> Using "Q" or "Q" result in "Q˙" or "˙Q".
> 
> Any help would be appreciated.
> 
> I'm using:
> 
> DocBook 5.0
> DocBook XSL Stylesheets 1.79.1
> fop2.1
> 
>  Best regards
>   Michael
> 



-- 


Jean-Marie Thomas


http://www.dxdydz.net

-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



[docbook-apps] Capital latin "Q" with dot above

2018-06-11 Thread oasis

 Hi,

as it seems there isn't an entity for a capital latin "Q" with a dot
above like .

I'm wondering how to realise generic diacritical marks with DocBook
(besides using an inline image...).

Using "Q" or "Q" result in "Q˙" or "˙Q".

Any help would be appreciated.

I'm using:

DocBook 5.0
DocBook XSL Stylesheets 1.79.1
fop2.1

 Best regards
  Michael



signature.asc
Description: OpenPGP digital signature