[NTG-context] Adrian Frutiger

2015-09-17 Thread luigi scarso
http://www.linotype.com/720-34866/adrianfrutigerremembered.html


-- 
luigi
___
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
___

Re: [NTG-context] formatting of reference links

2015-09-17 Thread Wolfgang Schuster

Henning Hraban Ramm 
17. September 2015 07:49

Thank you, I had only tried style=normal
This is wrong because “style=normal” is in most cases the same as 
"style=\tf” which is not what

you want when the surrounding text is italic or bold.

The example below shows why "style=NAME” is not always the same as 
“style=\COMMAND”.


\starttext

\section{Text \style[style=bold]{text} text}

Text \style[style=bold]{text} text

\section{Text \style[style=\bf]{text} text}

Text \style[style=\bf]{text} text

\stoptext

Wolfgang
___
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
___

Re: [NTG-context] suppress header-footers

2015-09-17 Thread Wolfgang Schuster

Pablo Rodriguez 
17. September 2015 07:24
On 09/14/2015 09:45 PM, Wolfgang Schuster wrote:

Pablo Rodriguez 14. September 2015 21:28
[...]
I have only a question: why doesn’t blank behave the same way? Is blank
a switch?

What do you expect from blank?


Well, the question isn’t my expectation about blank, but about right.

Header and footer are applied to the right page only if set before
right. But blank may be written before or after right.

I must be missing something, because I think that the behavior of blank
in both cases might be inconsistent.


Let me repeat my question, what do expect from the blank keyword?

The only description I found is “insert a completely blank page” from 
cont-enp.pdf.


Wolfgang
___
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
___

[NTG-context] Lua file finder for \externalimage

2015-09-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

what is the name of a Lua function (if such function exists) which performs 
lookup for an image inside \externalimage?

I'm asking especially due to the fact that the path here can be modified by 
[location={...}].

Best regards,

Lukas


--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038

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

Re: [NTG-context] suppress header-footers

2015-09-17 Thread Pablo Rodriguez
On 09/17/2015 12:36 PM, Wolfgang Schuster wrote:
> [...]
> Let me repeat my question, what do expect from the blank keyword?
> 
> The only description I found is “insert a completely blank page” from
> cont-enp.pdf.

Many thanks for your reply, Wolfgang.

I thought that blank implied the how the next page would look like, but
not the insertion of a new page.

Everything is clear to me now.

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
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
___

[NTG-context] \hl line thickness

2015-09-17 Thread Andrea De Michele
Hello,

there is a way to select the line thickness of a \hl[n] command?

I want to use \hl[n] for a fillin space in a question/answer
document. The \fillinline, \fillinrules, ... are not good for my goal
because they extend the horizontal line until the end of the line. I
need several fillin space of different width on the same line for
question like:
Complete the following sentence:

bla bla bla __ bla bla bla __ bla bla bla__.

The \hl[n] is ok for this but I like to have a thinner line.
-- 
Andrea De Michele

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

[NTG-context] Usage of ConTeXt in Digital Humanities

2015-09-17 Thread Jan U. Hasecke
I just stumpled upon this:
http://www.bbaw.de/en/telota/software/ediarum

"Print edition

With the help of ConTeXt a print edition is automatically generated as a
PDF from the TEI XML document. Each TEI element is given a specific
formatting command through a configuration file. In this way the
different apparatuses appear as footnotes that refer to the main text
with the help of line numbers and lemmata. The print edition can also
provide the suitable index for each transcription and solves any
occurring cross references between manuscripts."

juh

-- 
Demeter und die Allmende des Seins
https://www.amazon.de/dp/B008G4Z2I2
Spekulativer Essay wider die Ahnenlosigkeit und die Anmaßung des
Eigentums. Eine philosophische Polemik gegen das geistige Eigentum
___
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
___

[NTG-context] comparing strings

2015-09-17 Thread Pablo Rodriguez
Dear list,

I have the following sample:

\startluacode
function document.gouppercase(str)
tex.print(str:upper())
end
\stopluacode

\unexpanded\def\MyUpper#1%
{\ctxlua{document.gouppercase("#1")}}

\starttext
\doif{\MyUpper{adfalkjfaeñf}}{\MyUpper{aDFAlkjfaeñf}}{equal}{unequal}

\ctxlua{if string.upper("adfalkjfaeñf") == string.upper("aDFAlkjfaeñf")
then tex.print("equal") else tex.print("unequal") end}
\stoptext

Why are are the first two strings unequal?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
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
___

Re: [NTG-context] comparing strings

2015-09-17 Thread Pablo Rodriguez
On 09/17/2015 07:26 PM, Wolfgang Schuster wrote:
>> Pablo Rodriguez 17. September 2015 18:47
>> [...]
>> \unexpanded\def\MyUpper#1%
>> {\ctxlua{document.gouppercase("#1")}}
>>
>> \starttext
>> \doif{\MyUpper{adfalkjfaeñf}}{\MyUpper{aDFAlkjfaeñf}}{equal}{unequal}
>>
>> Why are are the first two strings unequal?
>
> You can’t use a unexpandable (which you created with \unexpanded) in
> ConTeXts \doifXXX commands.

Many thanks for your reply, Wolfgang.

I see. I thought it was better to add \unexpanded before a pure \def.

Is it \unexpaded required before a \def with more than one argument?

(Sorry, but expansion is a concept which I’m not familiar with.)

> PS. You need \doifelse and not \doif.

I realized this too sending the message to the list.



Pablo
-- 
http://www.ousia.tk
___
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
___

Re: [NTG-context] suppress header-footers

2015-09-17 Thread Wolfgang Schuster

Pablo Rodriguez 
17. September 2015 17:55

Many thanks for your reply, Wolfgang.

I thought that blank implied the how the next page would look like, but
not the insertion of a new page.
The blank keyword doesn’t insert a new page, it sets only a flag which 
hides all page backgrounds
(colors, overlays or headers) on the given page but the flag lasts only 
for a single page.


Wolfgang
___
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
___

Re: [NTG-context] comparing strings

2015-09-17 Thread Wolfgang Schuster

Pablo Rodriguez 
17. September 2015 18:47
Dear list,

I have the following sample:

\startluacode
function document.gouppercase(str)
tex.print(str:upper())
end
\stopluacode

\unexpanded\def\MyUpper#1%
{\ctxlua{document.gouppercase("#1")}}

\starttext
\doif{\MyUpper{adfalkjfaeñf}}{\MyUpper{aDFAlkjfaeñf}}{equal}{unequal}

\ctxlua{if string.upper("adfalkjfaeñf") == string.upper("aDFAlkjfaeñf")
then tex.print("equal") else tex.print("unequal") end}
\stoptext

Why are are the first two strings unequal?
You can’t use a unexpandable (which you created with \unexpanded) in 
ConTeXts \doifXXX commands.


PS. You need \doifelse and not \doif.

Wolfgang
___
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
___

Re: [NTG-context] formatting of reference links

2015-09-17 Thread Henning Hraban Ramm
Am 2015-09-17 um 16:32 schrieb Wolfgang Schuster :

>> Henning Hraban Ramm 17. September 2015 07:49
>> 
>> Thank you, I had only tried style=normal
> This is wrong because “style=normal” is in most cases the same as "style=\tf” 
> which is not what
> you want when the surrounding text is italic or bold.

Maybe, but it didn’t do anything. The surroundings were upright not-bold, the 
reference links were still upright bold.

> The example below shows why "style=NAME” is not always the same as 
> “style=\COMMAND”.

Thank you!

Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

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