ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* uppercase, small caps, numerals and German capital sharp s
@ 2016-04-19  7:10 Thomas Fehige
  2016-04-19 12:05 ` Wolfgang Schuster
  0 siblings, 1 reply; 61+ messages in thread
From: Thomas Fehige @ 2016-04-19  7:10 UTC (permalink / raw)
  To: ntg-context

Hello,

I'm new to ConTeXt and this list. After a long time of using LaTeX and 
xeLaTeX I was finally lured into trying ConTexT by its ability of grid 
typesetting.

Today's problem is a bit complex. In a book project I have several 
points where stuff is capitalized or turned into caps+smallcaps or pure 
smallcaps. My guess is that that should work either with \WORD{Stuff}, 
\Cap{Stuff} and \cap{Stuff} or with \uppercase, \sc, and 
{\sc\lowercase{Stuff}}. (Not quite, it seems)

I'll use a commercial font called Calluna, but have added Linux Biolinum 
O to the example for those who don't want to download Calluna (the 
"Regular" can be "bought" for free, e.g. at 
https://www.fontspring.com/fonts/exljbris/calluna).

Both Calluna and Biolinum contain the glyph "LATIN CAPITAL LETTER SHARP 
S" at "1E9E. Calluna also has a small caps version at "F727", while 
Biolinum has it at "E092. I'd like to use these glyphs in the 
capitalizations mentioned, but that only works erratically (cf. example).

Secondly, Calluna comes with oldstyle numerals switched on, which is 
nice for normal text, but should change to proportional lining numbers 
in uppercase and to small-cap proportional lining numbers in an 
all-small-cap text. I'm not sure what I'd want in a caps+smallcaps 
context, but certainly not oldstyle numerals with their descenders.

Any hints and ideas? Thanks for reading! -- Thomas

PS: I asked the same question on stackexchange, there's also an image of 
the result of my example: 
http://tex.stackexchange.com/questions/302823/context-uppercase-%C3%9F-customizing-glyph-substitution

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mainlanguage[de]
\language[de]

\uccode`ß="1E9E    % This gives the capital ß to \uppercase

\definefontfeature[fcalluna][default][]	% I tried all the font features 
built into Calluna, to no avail.

\definefontfamily [myfamily] [serif][Calluna][features=fcalluna]
\definefontfamily [myfamily] [sans] [Linux Biolinum O][features=fcalluna]
\definefontfamily [myfamily] [mono] [TeX Gyre Cursor]

\setupbodyfont [myfamily]
\startTEXpage[offset=10pt]
     \starttabulate[|l|l|l|]
     	 \NC \it Command \NC \it Calluna \NC \it Linux Biolinum \NC\NR
         \NC\type{\WORD{Gruß134}}: 		\NC\WORD{Gruß134} 			\NC 
{\ss\WORD{Gruß134}} 		\NC\NR
         \NC\type{\uppercase{Gruß134}}:	\NC\uppercase{Gruß134} 
\NC{\ss\uppercase{Gruß134}} 	\NC\NR
         \NC\type{\sc{Gruß134}}: 			\NC{\sc Gruß134} 			\NC{\ss{\sc 
Gruß134}}			\NC\NR
         \NC\type{\Cap{Gruß134}:} 		\NC\Cap{Gruß134} 			\NC{\ss 
\Cap{Gruß134}}		\NC\NR
         \NC\type{\cap{Gruß134}:} 		\NC\cap{Gruß134} 			\NC{\ss 
\cap{Gruß134}}		\NC\NR
         \NC\type{{\sc\lowercase{Gruß134}}:} 	 
\NC{\sc\lowercase{Gruß134}} 			\NC{\ss\sc\lowercase{Gruß134}}	\NC\NR
     \stoptabulate
\stopTEXpage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 61+ messages in thread
* ConTeXt and SciTE
@ 2012-06-19  4:54 Bill Meahan
  2012-06-19  8:58 ` Hans Hagen
  0 siblings, 1 reply; 61+ messages in thread
From: Bill Meahan @ 2012-06-19  4:54 UTC (permalink / raw)
  To: ConTeXt Mailing List


[-- Attachment #1.1: Type: text/plain, Size: 1552 bytes --]

I'm trying to get the SciTE lexers that come with the ConTeXt 
distribution working but I'm not having much luck. SciTE certainly 
processes the ConTeXt start-up script but never does any highlighting.

I always get the warning that lpeg is not loaded but I cannot find any 
separate lpeg.properties file or lpeg.lua file so I don't know how to 
get it imported and active to run the lexers. Any suggestions?

Interestingly, the lexers work just fine in Textadept but I haven't 
quite figured out how to get them to load automatically. I have to 
manually select the lexer but it works fine once I do.

I'm inclined to go the Textadept route and build a nice snippets file 
and Adeptsense support but I'd like to see things running in SciTE, too.

Right now I'm using Emacs to do my editing but AUCTeX does a poor job of 
supporting ConTeXt and when I asked about future plans on the AUCTeX 
mailing list, I got a snarky, sarcastic reply that "code doesn't change 
itself." Typical FSF attitude, I see. If I'm going to have to write my 
own support, Lua is much closer to the languages I've used before than 
elisp so it should be considerably easier.

Of course, I'll pass on anything I come up with to the ConTeXt community.


-- 
Bill Meahan K8QN

"The pessimist complains about the wind;
  the optimist expects it to change;
  the realist adjusts the sails."

-- William Arthur Ward

This message is digitally signed with an X.509 certificate
to prove it is from me and has not been altered since it was sent.


[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4920 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 61+ messages in thread

end of thread, other threads:[~2016-05-19 16:15 UTC | newest]

Thread overview: 61+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-19  7:10 uppercase, small caps, numerals and German capital sharp s Thomas Fehige
2016-04-19 12:05 ` Wolfgang Schuster
2016-04-19 12:46   ` Thomas Fehige
2016-04-20 14:03   ` Thomas Fehige
2016-04-20 14:25     ` Wolfgang Schuster
2016-04-20 21:25       ` Thomas Fehige
2016-04-20 21:27       ` Thomas Fehige
2016-04-22 11:35       ` glyph substitution Thomas Fehige
2016-04-22 20:28         ` Hans Hagen
2016-04-25  9:53           ` Thomas Fehige
2016-04-25 12:48           ` Thomas Fehige
2016-04-25 15:49             ` Thomas Fehige
2016-04-25 18:12             ` Thomas Fehige
2016-04-25 20:44               ` Wolfgang Schuster
2016-04-26  8:42                 ` Thomas Fehige
2016-04-27 14:27                 ` Thomas Fehige
2016-04-27 15:10                   ` Hans Hagen
2016-04-29  7:44                     ` Thomas Fehige
2016-04-29  7:56                       ` Hans Hagen
2016-04-29  8:38                     ` Test Suite Fonts "extensions-001" Thomas Fehige
2016-04-29  9:05                       ` Wolfgang Schuster
2016-05-03  9:22                         ` Setting up TeXworks Thomas Fehige
2016-05-06  8:04                           ` Mojca Miklavec
2016-05-06 11:39                             ` L.S.-Soc&Gam
2016-05-16 15:46                               ` Thomas Fehige
2016-05-16 15:55                                 ` Jean-Pierre Delange
2016-05-17 11:16                                   ` Thomas Fehige
2016-05-17 12:39                                     ` Thomas Fehige
2016-05-17 12:59                                       ` Hans Hagen
2016-05-19 14:09                                         ` Thomas Fehige
2016-05-17 13:22                                       ` Jean-Pierre Delange
2016-05-19 15:16                                         ` Thomas Fehige
2016-05-19 16:15                                           ` Jean-Pierre Delange
2016-05-07 10:49                             ` Thomas Fehige
2016-05-09 11:02                               ` Thomas Fehige
2016-05-15 19:29                                 ` Thomas Fehige
2016-05-16 14:34                                   ` ConTeXt and Scite Thomas Fehige
2016-05-03  9:51                         ` Setting up TeXworks Thomas Fehige
2016-05-03 10:21                           ` Mojca Miklavec
2016-05-03 13:01                             ` Thomas Fehige
2016-04-25 20:47             ` glyph substitution Wolfgang Schuster
2016-04-26  7:42               ` Thomas Fehige
  -- strict thread matches above, loose matches on Subject: below --
2012-06-19  4:54 ConTeXt and SciTE Bill Meahan
2012-06-19  8:58 ` Hans Hagen
2012-06-19 16:48   ` Bill Meahan
2012-06-19 17:28     ` Hans Hagen
2012-06-19 20:17       ` Bill Meahan
2012-06-19 20:43         ` Hans Hagen
2012-06-19 21:27           ` Bill Meahan
2012-06-19 21:57             ` Hans Hagen
2012-06-20 16:37               ` Bill Meahan
2012-06-20 18:02                 ` Hans Hagen
2012-06-20 18:44                   ` Hans Hagen
2012-06-20 18:59                     ` Bill Meahan
2012-06-20 19:05                   ` Bill Meahan
2012-06-20 19:32                     ` Hans Hagen
2012-06-20  3:04   ` Bill Meahan
2012-06-20 14:24     ` Hans Hagen
2012-06-20 14:46       ` luigi scarso
2012-06-20 15:24       ` Aditya Mahajan
2012-06-20 16:11         ` Bill Meahan

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).