ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Comma accent
@ 2001-06-05  6:23 Dan Seracu
  0 siblings, 0 replies; only message in thread
From: Dan Seracu @ 2001-06-05  6:23 UTC (permalink / raw)
  Cc: NTG ConTeXt

[-- Attachment #1: Type: text/plain, Size: 361 bytes --]

Hello!

In Romanian the standard accent for \c s etc is kind of comma. So I hacked
an accent with this result:

\def\commaaccent#1%
%
   {\oalign{#1\crcr\hidewidth\vbox to.2ex{\hbox{,}\vss}\hidewidth}}

And it seems that it is working. So I changed a little bit the enco-fro.tex.

Maybe it will be added to the next ConTeXt distribution.

Sincerely,
Dan Seracu

[-- Attachment #2: enco-fro.tex --]
[-- Type: application/octet-stream, Size: 1112 bytes --]

%D \module
%D   [     file=enco-fro,
%D      version=2000.08.20,
%D        title=\CONTEXT\ Encoding Macros,
%D     subtitle=Romanian Input Filter,
%D       author=Hans Hagen,
%D         date=\currentdate,
%D    copyright=Hans Hagen]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

%D These definitions used to be part of lang-ita.tex.

\unprotect 

\def\commaaccent#1%
	%   
	{\oalign{#1\crcr\hidewidth\vbox to.2ex{\hbox{,}\vss}\hidewidt}}

\startlanguagespecifics[\s!ro]

  \installcompoundcharacter "a {\abreve}
  \installcompoundcharacter "i {\icircumflex}
  \installcompoundcharacter "s {\commaaccent s}
  \installcompoundcharacter "t {\commaaccent t}
  \installcompoundcharacter "A {\Acircumflex} 
  \installcompoundcharacter "I {\Icircumflex}
  \installcompoundcharacter "S {\commaaccent S}
  \installcompoundcharacter "T {\commaaccent T}
  \installcompoundcharacter "` {\handlequotation\c!leftquotation}  
  \installcompoundcharacter "' {\handlequotation\c!rightquotation}

\stoplanguagespecifics

\protect \endinput 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-06-05  6:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-05  6:23 Comma accent Dan Seracu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).