I understand it might have been deliberately and for various reasons, but ConTeXt has no analogue for {``} and {''} for quotes. \quotation is a replacement, but it is awkward if you write a draft in ConTeXt and make the final variant in pdfLatex. Is there a ready solution for the quotation marks as marked out in the text? Or one needs to write his own macro for this?
On Fri, 19 Jul 2019 18:54:08 +0300
Dmitry Starostin
I understand it might have been deliberately and for various reasons, but ConTeXt has no analogue for {``} and {''} for quotes. \quotation is a replacement, but it is awkward if you write a draft in ConTeXt and make the final variant in pdfLatex. Is there a ready solution for the quotation marks as marked out in the text? Or one needs to write his own macro for this?
Write a macro in pdfLatex. (You can always use utf-8: “” « » „“ etc. as appropriate) Alan
On 7/19/2019 6:21 PM, Alan Braslau wrote:
On Fri, 19 Jul 2019 18:54:08 +0300 Dmitry Starostin
wrote: I understand it might have been deliberately and for various reasons, but ConTeXt has no analogue for {``} and {''} for quotes. \quotation is a replacement, but it is awkward if you write a draft in ConTeXt and make the final variant in pdfLatex. Is there a ready solution for the quotation marks as marked out in the text? Or one needs to write his own macro for this?
Write a macro in pdfLatex.
(You can always use utf-8: “” « » „“ etc. as appropriate) Quotes are rather language dependent so therefore we use \quotation.
As Alan says, you can always define a macro for latex: \def\quotation#1{``#1''} doing that for context is not a good idea. (Also because future versions might issue an error when such core macros are redefined.) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
Hi all, I think in the same way as Dmitry. It might be obsolete but, as far as I searched, under the setup \definefontfeature [texligatures] [tlig=yes] \feature[+][texligatures] {''} produces right quotation correctly but left quotation seems not correct (I don't know why). It is true quotes are language dependent but sometime we need language independent quotes. So it will be nice if we can use {``}, {''} and \quotation at the same time. Best regards, Atsuhito Kohda ___________________________________________________________________________________If your question is of interest to others as well, please add an entry to the Wiki!maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-contextwebpage : http://www.pragma-ade.nl / http://context.aanhet.netarchive : https://bitbucket.org/phg/context-mirror/commits/wiki : http://contextgarden.net____________________________________________________...
On 7/20/2019 2:07 AM, Alan Braslau wrote:
On Sat, 20 Jul 2019 08:58:27 +0900 Atsuhito Kohda
wrote: It is true quotes are language dependent but sometime we need language independent quotes. So it will be nice if we can use {``}, {''} and \quotation at the same time
“”
indeed. `` and '' are (in tex) pseudo ligatures and not really a portable standard, certainly not now that we have utf8 as input (in a similar fashion users who need accented characters will not use \"u and \'a any more) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
Another option: Use the fabulous csquotes-package and map \quotation to
\enquote:
=>
```
\usepackage{csquotes}
\let\quotation=\enquote
```
Denis
Am Sa., 20. Juli 2019 um 02:57 Uhr schrieb Hans Hagen
On 7/20/2019 2:07 AM, Alan Braslau wrote:
On Sat, 20 Jul 2019 08:58:27 +0900 Atsuhito Kohda
wrote: It is true quotes are language dependent but sometime we need language independent quotes. So it will be nice if we can use {``}, {''} and \quotation at the same time
“”
indeed. `` and '' are (in tex) pseudo ligatures and not really a portable standard, certainly not now that we have utf8 as input (in a similar fashion users who need accented characters will not use \"u and \'a any more)
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net
___________________________________________________________________________________
Hi all, thanks for all replies.
indeed. `` and '' are (in tex) pseudo ligatures and not really a portable standard, certainly not now that we have utf8 as input (in a similar fashion users who need accented characters will not use \"u and \'a any more)
In fact, I don't know how to input left, right double quotation marks and accented characters directly with keyboard. It is easier for me to input {``}, {''} and \"u etc than to input utf8 characters with keyboard. I don't say to make tex-style ligature available by default but only to make it available under an appropriate setup. Even this is not suitable for ConTeXt? Best regards, Atsuhito Kohda
Atsuhito Kohda schrieb am 20.07.2019 um 01:58:
Hi all, I think in the same way as Dmitry. It might be obsolete but, as far as I searched, under the setup \definefontfeature [texligatures] [tlig=yes] \feature[+][texligatures] {''} produces right quotation correctly but left quotation seems not correct (I don't know why). You're wrong here because ' is replaced with a apostrophe and what you see are just two and the have a different space between then than a normal double quotation mark.
%%%% begin example \starttext \switchtobodyfont[100pt] “ ” ’ '' \stoptext %%%% end example Wolfgang
Hi Wolfgang, thanks for your reply. You are right. I shoud say "looks correct" or something like that. Best regards, Atsuhito Kohda
participants (6)
-
Alan Braslau
-
Atsuhito Kohda
-
Denis Maier
-
Dmitry Starostin
-
Hans Hagen
-
Wolfgang Schuster