ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Dan Seracu" <dans@sintezis.rdsor.ro>
Cc: "NTG ConTeXt" <ntg-context@ntg.nl>
Subject: Comma accent
Date: Tue, 5 Jun 2001 09:23:08 +0300	[thread overview]
Message-ID: <FBELLLEAGJFLNNDMPHGIMEGBCBAA.dans@sintezis.rdsor.ro> (raw)

[-- 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 

                 reply	other threads:[~2001-06-05  6:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FBELLLEAGJFLNNDMPHGIMEGBCBAA.dans@sintezis.rdsor.ro \
    --to=dans@sintezis.rdsor.ro \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).