Re: [NTG-context] \showmathfontcharacters ?

2016-10-10 Thread Wolfgang Schuster
tcharacters. (3) \showmathfontrepertoire 2067 pages output, one character a page So about (1) and (2) I do not understand what happens. If there are still problems send complete examples. Wolfgang ___ If your questio

Re: [NTG-context] \showmathfontcharacters ?

2016-10-10 Thread Meer, Hans van der
"Too many }'s"? (3) \showmathfontrepertoire 2067 pages output, one character a page So about (1) and (2) I do not understand what happens. Hans van der Meer > On 10 Oct 2016, at 14:44, Hans Hagen <pra...@wxs.nl> wrote: > > On 10/10/2016 12:55 PM,

Re: [NTG-context] Underlining formulas and units

2016-10-06 Thread Otared Kavian
Hi, Maybe you should use rather $\underbar{F_C=\unit{1e2 newton}}$ or \underbar{\unit{1e2 newton}} since otherwise \underbar considers each character in the math formula as a word, which should be underlined separately. Best regards: OK > On 5 Oct 2016, at 22:01, Florian Leup

Re: [NTG-context] problem with \startcolumns[distance=0pt]

2016-10-06 Thread Michael Witten
In particular, Peter's example produces something like the following: (I'm assuming these 90-character-plus-CRLF lines made it through the Internet; if they did not make it, then someone's email-processing software is non-conformant, so shame on him!) We thrive in information-thick worlds scr

Re: [NTG-context] Protrusion, hyphens and lining figures

2016-09-27 Thread Jose Luis Arellano
so if I want lining numbers I > > have to use: > > definefontfeature[default][default] > > [% > > lnum=yes, > > protrusion=quality, > > expansion=quality, > > ] > > This works just fine, except for hyphens sign where character protrusion > > fails

Re: [NTG-context] Protrusion, hyphens and lining figures

2016-09-27 Thread Pablo Rodriguez
umbers I > have to use: > definefontfeature[default][default] > [% > lnum=yes, > protrusion=quality, > expansion=quality, > ] > This works just fine, except for hyphens sign where character protrusion > fails. > > I will appreciate any suggestion. Hi Jose L

[NTG-context] Protrusion, hyphens and lining figures

2016-09-27 Thread Jose Luis Arellano
, protrusion=quality, expansion=quality, ] This works just fine, except for hyphens sign where character protrusion fails. I will appreciate any suggestion. ___ If your question is of interest to others as well, please add

Re: [NTG-context] Input methods

2016-09-26 Thread Hans Åberg
h it in hand, it is not particularly >>> difficult to use Unicode symbols in the input file. > Can you provide your file(s) for download? They are at [1] with instructions. Using an escape character as "\" is not necessary, but helps against unwanted replacements. And it is not ne

Re: [NTG-context] Bold italic font in Math (\definefallbackfamily)

2016-09-15 Thread Hans Åberg
> On 15 Sep 2016, at 18:50, Hans Hagen <pra...@wxs.nl> wrote: > > On 9/15/2016 6:33 PM, Hans Åberg wrote: >> If one does not know the Unicode character, because the translation is >> correct, one can typeset using legacy TeX commands, and copy from the output

Re: [NTG-context] Bold italic font in Math (\definefallbackfamily)

2016-09-15 Thread Hans Hagen
a neat trick: If one does not know the Unicode character, because the translation is correct, one can typeset using legacy TeX commands, and copy from the output PDF. It can then be used in the input file, if one so likes. or maybe your editor has some selection menu (the scite setup that ships

Re: [NTG-context] Bold italic font in Math (\definefallbackfamily)

2016-09-15 Thread Hans Åberg
to the expected >> Unicode $퐱 풙$. > > That is already the case. FYI, I found a neat trick: If one does not know the Unicode character, because the translation is correct, one can typeset using legacy TeX commands, and copy from the output PDF. It can then be used in the input file, if on

Re: [NTG-context] Math letters in commands

2016-09-13 Thread Hans Åberg
#1\endcsname} \appendtoks \catcode`‘=\activecatcode \letcharcode `‘ \usemathcommand \to \everymathematics Then “$” must be followed by a character other than ‘ for this command to be seen, but it works with “$$”. _

Re: [NTG-context] Math letters in commands

2016-09-12 Thread Hans Hagen
On 9/12/2016 10:02 PM, Hans Åberg wrote: On 12 Sep 2016, at 21:45, Hans Hagen <pra...@wxs.nl> wrote: On 9/12/2016 8:25 PM, Hans Åberg wrote: But then there seems to be a bug in the LuaTex \letcharcode command: There must be a character between “$” and the first occurring \activec

Re: [NTG-context] Math letters in commands

2016-09-12 Thread Hans Åberg
> On 12 Sep 2016, at 21:45, Hans Hagen <pra...@wxs.nl> wrote: > > On 9/12/2016 8:25 PM, Hans Åberg wrote: >> But then there seems to be a bug in the LuaTex \letcharcode command: There >> must be a character between “$” and the first occurring \activecatcode &g

Re: [NTG-context] Math letters in commands

2016-09-12 Thread Hans Hagen
On 9/12/2016 8:25 PM, Hans Åberg wrote: Found a workaround: The idea is to use \csname …\endcsname with two delimiters not likely to be used in math mode, below chosen to ‘…’. But then there seems to be a bug in the LuaTex \letcharcode command: There must be a character between

Re: [NTG-context] Math letters in commands

2016-09-12 Thread Hans Åberg
Found a workaround: The idea is to use \csname …\endcsname with two delimiters not likely to be used in math mode, below chosen to ‘…’. But then there seems to be a bug in the LuaTex \letcharcode command: There must be a character between “$” and the first occurring \activecatcode letter

Re: [NTG-context] underscore added by xtable

2016-09-08 Thread Wolfgang Schuster
\blank[...] ? Or is this just a work-around, until the "underscore-bug" is fixed? The problem with \crlf is that you start a new line for the following text but you don’t end the current paragraph which is necessary when you use "split=yes" for xtables. BTW: The extra character in

Re: [NTG-context] APA formatting and reference questions

2016-08-24 Thread Alan BRASLAU
eses, the last > author should be separated by the & (Ampersand) character. Yes, authoryears should use "and" and authoryear should use "&". I'll fix it. However, the APA style goes even further: "Precede the final name in a multiple-author citation in running text

[NTG-context] APA formatting and reference questions

2016-08-24 Thread Todd DeVries
be separated by the & (Ampersand) character. 3. The last reference has 3 authors and should be written as Koch et al (2014) instead, it replicates the entire list of authors previously cited. I must be missing something obvious in my settings. What changes to this sample need to be made to cor

Re: [NTG-context] Dotted characters

2016-08-20 Thread Wolfgang Schuster
e size). One more question - is there a ConTeXt/Lua function which would assign a non-diacritical-character to that with diacritics, like: Á => A Š => S Ý => Y etc.? I'm asking as the "Trace Font for Kids" doesn't contain characters with diacritics... Simple Lua tab

Re: [NTG-context] Dotted characters

2016-08-20 Thread Lukáš Procházka
would assign a non-diacritical-character to that with diacritics, like: Á => A Š => S Ý => Y etc.? I'm asking as the "Trace Font for Kids" doesn't contain characters with diacritics... Simple Lua table would do the job, like remove_dia_czech = { ["

Re: [NTG-context] \getscaledglyph for width-only

2016-08-20 Thread Hans Hagen
nly scaling of a hyphen/dash/minus isn't so bad. \scaled[] worked perfectly, but it breaks inside a natural table with character alignment enabled. I have a commented example of this below. \getscaledglyph works in the table, but the vertical shrink is a non-starter. Here's an example: \ede

Re: [NTG-context] \getscaledglyph for width-only

2016-08-18 Thread Hans Hagen
nly scaling of a hyphen/dash/minus isn't so bad. \scaled[] worked perfectly, but it breaks inside a natural table with character alignment enabled. I have a commented example of this below. \getscaledglyph works in the table, but the vertical shrink is a non-starter. Here's an example: \ede

Re: [NTG-context] \definemathcommand lowers the text

2016-08-18 Thread Mikael P. Sundqvist
a "feature" of \mathop. > > > \definemathcommand [D] [nolop] {\mfunction{D}} > \starttext > Compare $\D f$ with $\mfunction{D}f$ and $\mathop{\mfunction{D}}f$. > \stoptext > > If the argument of \mathop is a single character, \mathop centers the glyph on the math

Re: [NTG-context] \definemathcommand lowers the text

2016-08-18 Thread Aditya Mahajan
, how should I define my own operator (I found this example on the wiki). This is a "feature" of \mathop. \definemathcommand [D] [nolop] {\mfunction{D}} \starttext Compare $\D f$ with $\mfunction{D}f$ and $\mathop{\mfunction{D}}f$. \stoptext If the argument of \mathop is a single

Re: [NTG-context] \getscaledglyph for width-only

2016-08-18 Thread Brian R. Landy
minus isn't so bad. \scaled[] worked perfectly, but it breaks inside a natural table with character alignment enabled. I have a commented example of this below. \getscaledglyph works in the table, but the vertical shrink is a non-starter. Here's an example: \edef\mathminus{\normalUchar&

Re: [NTG-context] Dotted characters

2016-08-16 Thread Procházka Lukáš Ing .
shape and the middle triange are separate: _ / \ / \ /\ / _ \/__\ /_/ \_\ yes, I was aware of that, that's why I mentioned a "single-drawings-character". there is no easy way to convert that into a dotted line that matches the ‘black parts’ of

Re: [NTG-context] Dotted characters

2016-08-16 Thread Hans Hagen
dots - something like /\ . / \ . . /\ . / \ . . I guess that some MP "trick(s)" might be used; also, a "simple" font should be used to be drawn dotted, which uses "single drawings" to draw each line of the character. Most anything

Re: [NTG-context] Dotted characters

2016-08-16 Thread Taco Hoekwater
rawn > with dots - something like > > /\ . > / \ . . > /\ . > / \ . . > > I guess that some MP "trick(s)" might be used; > also, a "simple" font should be used to be drawn dotted, which uses "single > drawings" to draw each line of the character. Most anyt

[NTG-context] Dotted characters

2016-08-16 Thread Procházka Lukáš Ing .
mple" font should be used to be drawn dotted, which uses "single drawings" to draw each line of the character. Could anybody help with such (MP) code? Best regards, Lukas -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pontex s. r. o. | mailto:pon...@pontex.cz | http://www.pont

Re: [NTG-context] Bug in CONTEXT/LuaTeX or just buggy font

2016-08-10 Thread Hans Hagen
digits as I mentioned. If I use the \definedfont approach, I don't see the character ۴ (argument of \high) at all. With the typescript approach, the same character /is/ typeset but is /not/ raised; it appears on the baseline but with smaller size. A

Re: [NTG-context] Bug in CONTEXT/LuaTeX or just buggy font

2016-08-10 Thread Mohammad Hossein Bateni
>> >> \definetypeface [myfont][rm] [serif][samim][default] >> \setupbodyfont [myfont] >> >> \starttext >> %\definedfont[Samim*arabic] >> ۱۲۳\high{۴}۵۶. >> \stoptext >> >> >> I am using Persian digits because the font lacks Latin d

Re: [NTG-context] Bug in CONTEXT/LuaTeX or just buggy font

2016-08-10 Thread Hans Hagen
Latin digits as I mentioned. If I use the \definedfont approach, I don't see the character ۴ (argument of \high) at all. With the typescript approach, the same character /is/ typeset but is /not/ raised; it appears on the baseline but with smaller size. Any ideas why this is happening? Could

[NTG-context] Bug in CONTEXT/LuaTeX or just buggy font

2016-08-09 Thread Mohammad Hossein Bateni
approach, I don't see the character ۴ (argument of \high) at all. With the typescript approach, the same character *is* typeset but is *not* raised; it appears on the baseline but with smaller size. Any ideas why this is happening? Could it be that some parameters, for instance, \exheight

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-08 Thread Hans Hagen
123.45. \stoptext Though this font feature works outside math, it does not seem to have any effect within the math font. Why is that? Can we add font feature to the math font? Are the character codes different? Notic

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-08 Thread Mohammad Hossein Bateni
set=digitsnormal] >> >> \definefontsynonym >> [MathRoman][name:modern][features={math\mathsizesuffix,mathp >> eriod},goodies=lm-math,fallbacks=mathdigits] >> >> \starttext >> $123.45.$ >> >> 123.45. >> >&g

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-08 Thread Hans Hagen
fect within the math font. Why is that? Can we add font feature to the math font? Are the character codes different? Notice that I could not get it to work, so I commented out the fallback for Persian digits, to make things simpler. To get the proof of concept, I am try

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-08 Thread Hans Hagen
Can we add font feature to the math font? Are the character codes different? Notice that I could not get it to work, so I commented out the fallback for Persian digits, to make things simpler. To get the proof of concept, I am trying to change period to forward slash (see below). Is the syntax I use for h

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-02 Thread Mohammad Hossein Bateni
addff{mathperiod} > 123.45. > \stoptext > > > Though this font feature works outside math, it does not seem to have any > effect within the math font. Why is that? Can we add font feature to the > math font? Are the character codes different? > > Notice that I could n

[NTG-context] Changing decimals points to Persian ones via font features

2016-08-01 Thread Mohammad Hossein Bateni
ix,mathperiod},goodies=lm-math,fallbacks=mathdigits] \starttext $123.45.$ 123.45. \addff{mathperiod} 123.45. \stoptext Though this font feature works outside math, it does not seem to have any effect within the math font. Why is that? Can we add font feature to the math font? Are the charact

[NTG-context] hz in MkIV

2016-07-03 Thread Mohammad Hossein Bateni
trying? I once converted Vafa Khalighi's XeTeX-based code to Lua but ran into several setbacks. (The idea is to insert a sequence of (ZWJ,\nobreak,stretchable leader,\nobreak,ZWJ) between certain character pairs that join one another.) Here are some of the issues I faced: 1) This could

Re: [NTG-context] A question about a symbol in an text

2016-07-01 Thread Hans Hagen
wrote it in the text as i need it, after compiling, i got a message, that i am not allowed (You cant’t use macro paramenter character #‘ in horinzontal mode) to use it as i wanted. Can sombebody help me please? As you can see above, i tried to use the unicode. But there is something wrong

[NTG-context] A question about a symbol in an text

2016-07-01 Thread Ursula Hermann
it, after compiling, i got a message, that i am not allowed (You cant’t use macro paramenter character #‘ in horinzontal mode) to use it as i wanted. Can sombebody help me please? As you can see above, i tried to use the unicode. But there is something wrong. Uschi

[NTG-context] Table of character frequency for portuguese

2016-06-30 Thread Marcus Vinicius Mesquita
Dear Hans In the annex you can find a table of character frequency for Portuguese. Is it possible to add it in a future beta? TIA Marcus Vinicius -- Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o corpo nem seus membros, por ser descanso da alma, primavera do coração

Re: [NTG-context] Underbar offset

2016-05-26 Thread Aditya Mahajan
On Thu, 26 May 2016, Mojca Miklavec wrote: \catcode`č=\active \defč{\buildtextaccent\textcaron c} Instead of creating an active character, does this work: \definefontfeature [default] [default] [compose=yes

Re: [NTG-context] Reviewing old messages

2016-05-16 Thread Meer, Hans van der
in the first two examples. To my surprise none of the \framed[align=..] options exhibits \vbox character! Thus my question: has the behaviour of \framed[align=..] changed in the mean time? Three years is of course an eternity when seen in the perspective of the speed with which C

Re: [NTG-context] Reviewing old messages

2016-05-16 Thread Wolfgang Schuster
chosen, not unimportant of course. I did this by typesetting \hbox{abc}\hbox{xyz} inside a framed. For \hbox want expects abcxyz as output and for \vbox abc and below it xyz. As can be seen in the first two examples. To my surprise none of the \framed[align=..] options exhibits \vbox character! T

[NTG-context] Reviewing old messages

2016-05-16 Thread Meer, Hans van der
} inside a framed. For \hbox want expects abcxyz as output and for \vbox abc and below it xyz. As can be seen in the first two examples. To my surprise none of the \framed[align=..] options exhibits \vbox character! Thus my question: has the behaviour of \framed[align=..] changed in the mean time

Re: [NTG-context] What are your ten (10) favorite typography books of the last 50 years? (*not* OT)

2016-05-15 Thread Alan BRASLAU
= {1993}, title = {American metal typefaces of the twentieth century}, publisher = {Oak Knoll Pr}, language = {english}, } @Book{McGuinne1992, author= {McGuinne, D.}, year = {1992}, title = {Irish type design}, subtitle = {a history of printing types in th

Re: [NTG-context] Problem with urls

2016-05-15 Thread Hans Hagen
On 5/14/2016 7:35 PM, Peter Münster wrote: On Sat, May 14 2016, Pablo Rodriguez wrote: the coma is the problematic character in url: \setupinteraction[state=start] \starttext \goto{http://a,b.c}[url(http://a,b.c)] \stoptext I’m afraid this might be a bug. Workaround: url

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-14 Thread Aditya Mahajan
is updating) .. there are less files too (so no big burden to have it alongside tex live) With this installation, I get a strange bug: In the example below, the first integral gets ‘limits' in the displayed formula, as though ‘nolimits’ has not been defined. It works if one puts a character befo

Re: [NTG-context] Problem with urls

2016-05-14 Thread Robert Blackstone
On 14 May 2016, at 20:01, Pablo Rodriguez <oi...@gmx.es>l wrote: > > On 05/14/2016 11:25 AM, Robert Blackstone wrote: >> >> When I process this with mkiv, the urls in AA and CC are active, >> while in BB it is not. Why? > > Hi Robert, > > the

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-14 Thread Hans Åberg
s quite simple (as is >>> updating) .. there are less files too (so no big burden to have it >>> alongside tex live) >> >> With this installation, I get a strange bug: >> >> In the example below, the first integral gets ‘limits' in the displayed &g

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-14 Thread Aditya Mahajan
I get a strange bug: In the example below, the first integral gets ‘limits' in the displayed formula, as though ‘nolimits’ has not been defined. It works if one puts a character before the first integral sign. So it seems that the \startformula command misses the ∫ definition on the first non

Re: [NTG-context] Problem with urls

2016-05-14 Thread Peter Münster
On Sat, May 14 2016, Pablo Rodriguez wrote: > the coma is the problematic character in url: > > \setupinteraction[state=start] > \starttext > \goto{http://a,b.c}[url(http://a,b.c)] > \stoptext > > I’m afraid this might be a bug. Workaround: url(htt

Re: [NTG-context] Problem with urls

2016-05-14 Thread Pablo Rodriguez
not. > [...] > When I process this with mkiv, the urls in AA and CC are active, > while in BB it is not. Why? Hi Robert, the coma is the problematic character in url: \setupinteraction[state=start] \starttext \goto{http://a,b.c}[url(http://a,b.c)] \stoptext I’m afraid this mi

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-14 Thread Hans Åberg
the example below, the first integral gets ‘limits' in the displayed formula, as though ‘nolimits’ has not been defined. It works if one puts a character before the first integral sign. So it seems that the \startformula command misses the ∫ definition on the first non-space character. \

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-13 Thread Hans Åberg
>>>>> On 13 May 2016, at 12:22, Hans Hagen <pra...@wxs.nl> wrote: >>>>> >>>>> in principle one can make∫and \int but that has other side effects >>>> >>>> What side effect do you have in mind here? >>> >

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-13 Thread Hans Hagen
side effect do you have in mind here? using it as normal character .. it's often harder to turn off features than to turn on and making all those characters active by default is not a good idea The use in the source code helps readability of math formulas, though. it's no problem to m

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-13 Thread Hans Åberg
de effects >> >> What side effect do you have in mind here? > > using it as normal character .. it's often harder to turn off features than > to turn on > > and making all those characters active by default is not a

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-13 Thread Hans Hagen
On 5/13/2016 1:07 PM, Hans Åberg wrote: On 13 May 2016, at 12:22, Hans Hagen <pra...@wxs.nl> wrote: in principle one can make ∫ and \int but that has other side effects What side effect do you have in mind here? using it as normal character .. it's often harder to turn off features

Re: [NTG-context] \right| spacing issue

2016-05-09 Thread Hans Hagen
atin modern. These are modelled after traditional tex fonts and in traditional tex mode italics are always added and sometimes compensated when not needed, while in opentype math those corrections are only added in character sequences (sort of) and not in constructs (which left/right are). Fixing

Re: [NTG-context] issue with # in url

2016-05-09 Thread Pablo Rodriguez
[...] > > It has to do with more robust ways to let special character travel > through the machinery Many thanks for the code to fix the issue, Hans. Pablo -- http://www.ousia.tk ___ If your question is

Re: [NTG-context] issue with # in url

2016-05-09 Thread Hans Hagen
om 2016.02.15 10:26 (and LuaTeX-0.89.0), but links weren’t made interactive. I hope the description helps. Could anyone confirm the issue? It has to do with more robust ways to let special character travel through the machinery \startbuffer[demo] Case 1: http://a.b/c#d;>http://a.b/c#d

Re: [NTG-context] Problems with ttc-fonts

2016-05-01 Thread Hans Hagen
st 1234567890 \stoptext This gives: .234567890 p234567890 So with latin modern it works fine, while with cambria the first letter of the substituation is used. I found the reason for that (side effect of utf conversion that takes the first character) of 'period'. The used fonts are: filename=lmro

Re: [NTG-context] Ligature color is not reliable

2016-04-11 Thread Jan Tosovsky
On 2016-04-11 Hans Hagen wrote: > On 4/11/2016 9:06 PM, Jan Tosovsky wrote: > > On 2016-04-09 Jan Tosovsky wrote: > >> > >> for an illustration I wanted to colorize all ligatures, but the > >> following method is not reliable for three character

Re: [NTG-context] Ligature color is not reliable

2016-04-11 Thread Hans Hagen
On 4/11/2016 9:06 PM, Jan Tosovsky wrote: On 2016-04-09 Jan Tosovsky wrote: for an illustration I wanted to colorize all ligatures, but the following method is not reliable for three character ligatures - which ends up black. While tested with Palatino, it can be simulated even with a default

Re: [NTG-context] Ligature color is not reliable

2016-04-11 Thread Jan Tosovsky
On 2016-04-09 Jan Tosovsky wrote: > > for an illustration I wanted to colorize all ligatures, but the > following method is not reliable for three character ligatures > - which ends up black. > > While tested with Palatino, it can be simulated even with > a

Re: [NTG-context] defining a comamnd as variable which behaves as constant

2016-04-10 Thread Wolfgang Schuster
Sorry if there is too much nonsense in the previous paragraph. But I need to know how to do it for another example too. You can use Lua to create a list of all character combinations. The convert function takes three argument, the first is the conversion method, the second the conversion value and the

[NTG-context] Ligature color is not reliable

2016-04-09 Thread Jan Tosovsky
Dear All, for an illustration I wanted to colorize all ligatures, but the following method is not reliable for three character ligatures - which ends up black. While tested with Palatino, it can be simulated even with a default font (however there are missing ffi and ffl ligatures

Re: [NTG-context] Microtypography in ConTeXt

2016-04-06 Thread Jan Tosovsky
otype.pdf > >>> pdfTeX offers fine tuning of: > >>> (1) Character protrusion > >>> (2) Font expansion > >>> (3) Tracking > >>> (4) Additional kerning > >>> (5) Interword spacing > >>> > >>> AFAIK C

Re: [NTG-context] Microtypography in ConTeXt

2016-04-06 Thread Hans Hagen
On 4/6/2016 6:48 AM, Henning Hraban Ramm wrote: Am 2016-04-06 um 03:51 schrieb Jan Tosovsky <j.tosov...@email.cz>: Note that character protrusion requires pdfTeX (version 0.14f or later), LuaTeX, or XeTeX (at least version 0.9997). Font expansion works with pdfTeX (versio

Re: [NTG-context] Microtypography in ConTeXt

2016-04-06 Thread Hans Hagen
On 4/5/2016 11:51 PM, Jan Tosovsky wrote: On 2016-04-05 Hans Hagen wrote: On 4/5/2016 10:55 PM, Jan Tosovsky wrote: according to http://texdoc.net/texmf- dist/doc/latex/microtype/microtype.pdf pdfTeX offers fine tuning of: (1) Character protrusion (2) Font expansion (3) Tracking (4

Re: [NTG-context] Microtypography in ConTeXt

2016-04-05 Thread Henning Hraban Ramm
Am 2016-04-06 um 03:51 schrieb Jan Tosovsky <j.tosov...@email.cz>: > > Note that character protrusion requires pdfTeX (version 0.14f or later), > LuaTeX, or > XeTeX (at least version 0.9997). Font expansion works with pdfTeX (version > 1.20 for > automatic expansion

Re: [NTG-context] Microtypography in ConTeXt

2016-04-05 Thread Jan Tosovsky
On 2016-04-05 Hans Hagen wrote: > On 4/5/2016 10:55 PM, Jan Tosovsky wrote: > > > > according to http://texdoc.net/texmf- > > dist/doc/latex/microtype/microtype.pdf > > pdfTeX offers fine tuning of: > > (1) Character protrusion > > (2) Font expansion >

Re: [NTG-context] Microtypography in ConTeXt

2016-04-05 Thread Hans Hagen
On 4/5/2016 10:55 PM, Jan Tosovsky wrote: Dear All, according to http://texdoc.net/texmf-dist/doc/latex/microtype/microtype.pdf pdfTeX offers fine tuning of: (1) Character protrusion (2) Font expansion (3) Tracking (4) Additional kerning (5) Interword spacing AFAIK ConTeXt covers 1+2+(3

[NTG-context] Microtypography in ConTeXt

2016-04-05 Thread Jan Tosovsky
Dear All, according to http://texdoc.net/texmf-dist/doc/latex/microtype/microtype.pdf pdfTeX offers fine tuning of: (1) Character protrusion (2) Font expansion (3) Tracking (4) Additional kerning (5) Interword spacing AFAIK ConTeXt covers 1+2+(3?). In recent discussion Hans mentioned

Re: [NTG-context] Alignment for narrower text

2016-04-01 Thread Hans Hagen
...) in such cases Btw, from end user perspective I'd expect it should work by default without further tweaking. so what if someone has \hbox{some image or whatever unknonws} should character overflow into the box? how is tex supposed to know the intentions so if all gets a boundary mark in the end

Re: [NTG-context] Hanging punctuation misalignment in footnotes

2016-03-29 Thread Jan Tosovsky
On 2014-02-23 Wolfgang Schuster wrote: > On 2014-02-22 Jan Tosovsky wrote: > > On 2014-02-22 Jan Tosovsky wrote: > >> > >> when hanging in footnotes is enabled and the starting character > >> is a punctuation, it is not protruded. However, the same character

Re: [NTG-context] Protrusion cancellation by index term

2016-03-22 Thread Hans Hagen
}>Bar< ... A minimal example is available at http://drifted.in/other/sample.tex I cannot place the space character between these two parts (which helps) as I sometimes need to join this and the previous phrase with the non-breaking space. It is more serious issue than expected. Consider ne

Re: [NTG-context] Protrusion cancellation by index term

2016-03-21 Thread Jan Tosovsky
erm. > > > > > > ... \index{foo}>Bar< ... > > > > > > A minimal example is available at > > > http://drifted.in/other/sample.tex > > > > > > I cannot place the space character between these two parts > > > (which helps) as

Re: [NTG-context] kerning with \quotation

2016-03-06 Thread Hans Hagen
On 3/6/2016 2:19 PM, Schmitz Thomas A. wrote: Hi all, short example in extra big size to make the effect visible: \setupbodyfont [termes,48pt] \mainlanguage [de] \starttext „Vater“ \quotation{Vater} \stoptext In the first line, the character „ has a bit of kerning with the following V

[NTG-context] kerning with \quotation

2016-03-06 Thread Schmitz Thomas A.
Hi all, short example in extra big size to make the effect visible: \setupbodyfont [termes,48pt] \mainlanguage [de] \starttext „Vater“ \quotation{Vater} \stoptext In the first line, the character „ has a bit of kerning with the following V (could be even more, to my taste

Re: [NTG-context] Controlling \at output

2016-03-01 Thread Aidan Nichol
SOLVED: I cut and pasted the code from the original response and failed to notice that the very first character i.e. the ‘\’ was missing in the message. It all executed with no error messages!! Works fine with the minor correction. Thanks for your help. Aidan

Re: [NTG-context] math with Unicode characters

2016-02-29 Thread Pablo Rodriguez
On 02/29/2016 03:21 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez 29. Februar 2016 um 00:27 >> [...] >> Is there any way to have the Unicode character on the final PDF document >> without having to edit the text? > > You have to switch to math mode to show the

Re: [NTG-context] math with Unicode characters

2016-02-29 Thread Wolfgang Schuster
Pablo Rodriguez <mailto:oi...@gmx.es> 29. Februar 2016 um 00:27 Dear list, I have the following sample: \definefallbackfamily[mainface][rm][TeX Gyre Pagella][range={⋀}] \definefontfamily[mainface][rm][EB Garamond] \starttext ⋀ \stoptext Is there any way to have the Unicode cha

[NTG-context] math with Unicode characters

2016-02-28 Thread Pablo Rodriguez
Dear list, I have the following sample: \definefallbackfamily[mainface][rm][TeX Gyre Pagella][range={⋀}] \definefontfamily[mainface][rm][EB Garamond] \starttext ⋀ \stoptext Is there any way to have the Unicode character on the final PDF document without having to edit

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-18 Thread Hans Hagen
probably does some character substitution, so as long as I have any font that contains that particular character, I can see that character in the editor. There is no need for a special huge font because the system takes care of it to some extent. This is probably different on Windows and Linux though

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-18 Thread Mojca Miklavec
On 18 February 2016 at 10:22, Hans Hagen wrote: > > this brings up the question: would users (here) start using real math > unicode input if we had a monospace math font? On Mac (TextMate, but I assume other editors would behave the same) the system probably does some character substit

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-18 Thread Hans Hagen
... Hans, you forgot: ¥x^2¥, ₽x^2₽, ₱x^2₱, ₹x^2₹, ... Besides, U+0024 comes from ASCII and all programmers know that it is a perfectly valid and useful character. Of course, and even ₧x²₧ or even ₯x²₯... we need a proper begin/end symbol .. Too bad Knuth did not choose ¡x^2! Excuse me, Alan

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-17 Thread Pablo Rodriguez
Hans, you forgot: ¥x^2¥, ₽x^2₽, ₱x^2₱, ₹x^2₹, ... > Besides, U+0024 comes from ASCII and all programmers know that it is a > perfectly valid and useful character. Of course, and even ₧x²₧ or even ₯x²₯... >> we need a proper begin/end symbol .. > > Too bad Knuth did not cho

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-17 Thread Alan BRASLAU
024 comes from ASCII and all programmers know that it is a perfectly valid and useful character. > we need a proper begin/end symbol .. Too bad Knuth did not choose ¡x^2! > anyway, this won't happen as it's too tricky: > > $[i:tight] x^2$ This is a good case for \math[i:tight]{x^

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-17 Thread Hans Hagen
one could easily make then math-shift characters again \catcode`\$ = 3 (or pounds on an brittish keyboard or ...) btw, in math mode some chars are special too (primes for instance, a headache character) Best regards: OK On 16 Feb 2016, at 20:18, Alan BRASLAU <alan.bras...@cea.fr>

Re: [NTG-context] tip

2016-02-16 Thread Hans Hagen
quotation mark for German * blue with o most punctuation, but not *]* or *)*, when at paragraph end or not followed by whitespace o some punctuation (*@ # & % *** / …***·* *and others) at any position o *.* preceding a character other than *]* o *.* prece

Re: [NTG-context] tip

2016-02-15 Thread Rik Kabel
, but not *]* or *)*, when at paragraph end or not followed by whitespace o some punctuation (*@ # & % *** / …***·* *and others) at any position o *.* preceding a character other than *]* o *.* preceding *\,* o some asterisms ⁂ (the second and third when t

Re: [NTG-context] Character rotation font feature available?

2016-02-14 Thread Zhichu Chen
Hi Marco, On 02/15/2016 05:30 AM, Marco Patzer wrote: On Mon, 15 Feb 2016 04:42:31 +0800 Zhichu Chen wrote: I have some special needs that requires all the characters be rotated by 90 degrees. I've searched around the web and maybe adding /FontMatrix [0 1 -1 0 0 0] to

[NTG-context] Character rotation font feature available?

2016-02-14 Thread Zhichu Chen
Dear list, I have some special needs that requires all the characters be rotated by 90 degrees. I've searched around the web and maybe adding /FontMatrix [0 1 -1 0 0 0] to the font descriptor dictionary is helpful. But I can't find a \pdf??? primitive that can achieve this. (Am I wrong about

Re: [NTG-context] Character rotation font feature available?

2016-02-14 Thread Marco Patzer
On Mon, 15 Feb 2016 04:42:31 +0800 Zhichu Chen wrote: > I have some special needs that requires all the characters be rotated > by 90 degrees. I've searched around the web and maybe adding > /FontMatrix [0 1 -1 0 0 0] > to the font descriptor dictionary is helpful. But I

Re: [NTG-context] (bug?) wrong hyphenation with external fonts

2016-02-05 Thread Hans Hagen
quite complex but still quite fast too) just for the sake of an occasional three character ligature in latin which is not even always permitted due to language constraints Hans - Hans

[NTG-context] doifnextcharelse

2016-01-24 Thread dr. Hans van der Meer
I would like to differentiate on the following character being one of X or not X. But cannot get it right in \doifnextcharelse. For example \def\mynextchar{\doifnextcharelse{X}{\def\Next{Y}}{\def\Next{Z}}\Next} delivers: ZX ZQ then input: \mynextchar X \mynextchar Q I hoped for YX ZQ

<    3   4   5   6   7   8   9   10   11   12   >