Re: [NTG-context] spanish tilde-n lost

2009-06-29 Thread Peter Münster
On Sun, 28 Jun 2009, Ciro Soto wrote:

 This last solution is the one I was looking for because my keyboard has no ñ

You only need dead_tilde and n to build the ñ.
Cheers, Peter

P.S.: I've just tried dead_tilde - dead_circumflex - E, it works!
--- Ễ

-- 
Contact information: http://pmrb.free.fr/contact/

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] letter/correspondence module

2009-06-29 Thread Henning Hraban Ramm

Am 2009-06-28 um 23:12 schrieb Henning Hraban Ramm:

I guess it would be interesting how to define your own keys, maybe  
some IM adresses etc., also for other users.

Would it be possible to use unknown keys just unchanged? I.e. if I say

\setupletter[
Skype={fiee.visuelle}
]

to get just Skype: fiee.visuelle?


More questions will follow... I'll try to get my logo at the right  
place by myself before...



I found a simple workaround (but would prefer a clean general solution):

\setupletter[skype][
separator={Skype:}
]



Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] spanish tilde-n lost

2009-06-29 Thread Mojca Miklavec
On Sun, Jun 28, 2009 at 16:31, Hans Hagen wrote:
 Mojca Miklavec wrote:

 But still I would ask Hans to add the following line to enco-ini.mkiv:

    \defineaccent ~ N {\Ntilde}        \defineaccent ~ n {\ntilde}

 (I always thought that these lines were auto-generated from Unicode
 data on the fly.)

 not this one; the ntild probably got lost at some point during cleaning up

I would bet that not many people would use those characters if any,
but on the list quite some more characters are missing that exist in
Unicode:

Zcircumflex,
Ngrave, Wgrave,
Etilde, Vtilde, Ytilde,
Hdiaeresis, Tdiaeresis, Wdiaeresis, Xdiaeresis,
Gacute, Kacute, Macute, Pacute, Wacute, ...

(I stopped at acute, there are a few more accents ...)

But just repeating the pattern (\defineaccent ^ Z {\Zcircumflex})
would mean having to define new named entities. In MKII these would
not make any sense at all as there was no TeX encoding supporting
these characters. An alternative would be to define them directly from
Unicode data in MKIV.

I'm not suggesting that this needs to be added ... Extra low priority
task, or if someone else asks.

Mojca
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] letter/correspondence module

2009-06-29 Thread Wolfgang Schuster


Am 28.06.2009 um 23:12 schrieb Henning Hraban Ramm:


Hallo Wolfgang! ;-)

Since my old letter and CV environment doesn't work anymore in MkIV,  
I'm trying to reproduce it with t-letter.


At the moment I struggle with the reference keys:

\setupletterstyle[reference][
alternative=d,
list={name,street,city,,phone,skype,email,,date},
]


Interesting way to insert empty lines, I never thought about this method
and use myself the special key 'line' to insert a empty line.


\setupletter[name,street,phone,date,skype,email][
separator={: },
titlestyle={\ss\tfxx},
]

The keys street, city and skype aren't defined in your module.


There is *no* predefined keys (except line in the reference line) for  
\setupletter in my module.


I found where the other keys are defined (and I guess I could mine  
in or use a similar approach in my environment), but I'm clueless,  
where the translation comes from - I grepped eg. after Telefon  
without results, and I think I looked into every file of your module.


I guess it would be interesting how to define your own keys, maybe  
some IM adresses etc., also for other users.

Would it be possible to use unknown keys just unchanged? I.e. if I say


I don't define keys in my module, I set only labels for the text in  
the left column
which can be find in the file 'label.nle', to get a text for skype,  
street etc. put
the following lines in your document (or add them to label.nle and  
send me the extended

list):

\setuplabeltext[de][letter:skype=Skype]
\setuplabeltext[de][letter:street=Stra\ssharp e]
\setuplabeltext[de][letter:city=Ort] % or Stadt ...
...


\setupletter[
Skype={fiee.visuelle}
]

to get just Skype: fiee.visuelle?


TeX is case sensitive, write 'skype=fiee.visuelle.

More questions will follow... I'll try to get my logo at the right  
place by myself before...


The module provides a few layers you can use to position your graphic.

\setupletterstyle
  [lettermain]
  [hoffset=..cm,
   voffset=..cm,
   symbol={\externalfigure[...]},
   state=repeat] % repeat=place on each page, start=only on first  
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] letter/correspondence module

2009-06-29 Thread Henning Hraban Ramm

Am 2009-06-29 um 11:51 schrieb Wolfgang Schuster:

\setupletterstyle[reference][
alternative=d,
list={name,street,city,,phone,skype,email,,date},
]


Interesting way to insert empty lines, I never thought about this  
method

and use myself the special key 'line' to insert a empty line.


Woo, I found an accidental feature! ;-)
I don't think line is documented in your manual.
Id wouldbe great if you'd also add the label stuff below!


The keys street, city and skype aren't defined in your module.
There is *no* predefined keys (except line in the reference line)  
for \setupletter in my module.


Ok, in the manual it looks like.

the following lines in your document (or add them to label.nle and  
send me the extended

list):

\setuplabeltext[de][letter:skype=Skype]
\setuplabeltext[de][letter:street=Stra\ssharp e]
\setuplabeltext[de][letter:city=Ort] % or Stadt ...
...


Thank you!
I don't think it would make sense to add my personal preferences to  
the module, just please document this.


E.g. there are just too much IM services to provide them all; I myself  
use Address as label for the street and add the city without label,  
Web instead of URL as label for my homepage etc.



\setupletter[
Skype={fiee.visuelle}
]

to get just Skype: fiee.visuelle?


TeX is case sensitive, write 'skype=fiee.visuelle.


Ok; I wrote the capital intentionally for my suggestion of using the  
key as label.


More questions will follow... I'll try to get my logo at the right  
place by myself before...


The module provides a few layers you can use to position your graphic.


I saw that in the manual and wanted to try it on my own first - but  
thank you very much!



BTW I tried to come up with measures for Swiss business letters, but  
only found some advise for secretaries how to write addresses: http://home.intergga.ch/beck/wg/awi/schreibregeln/4_Briefe.pdf

My typographical literature is only about Germany.
Most swiss business letters are sent in B5 envelopes with a window on  
the right side - I could meter some right looking Swiss letters if  
you'd like.



Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)



PGP.sig
Description: Signierter Teil der Nachricht
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] letter/correspondence module

2009-06-29 Thread Wolfgang Schuster


Am 29.06.2009 um 17:31 schrieb Henning Hraban Ramm:


Am 2009-06-29 um 11:51 schrieb Wolfgang Schuster:

\setupletterstyle[reference][
alternative=d,
list={name,street,city,,phone,skype,email,,date},
]


Interesting way to insert empty lines, I never thought about this  
method

and use myself the special key 'line' to insert a empty line.


Woo, I found an accidental feature! ;-)


I would consider this as a ConTeXt feature.


I don't think line is documented in your manual.


You're right but it's so boring to write documentation.


Id wouldbe great if you'd also add the label stuff below!

The keys street, city and skype aren't defined in your module.
There is *no* predefined keys (except line in the reference line)  
for \setupletter in my module.


Ok, in the manual it looks like.


You mean because I use always the same keys and all of them work?

the following lines in your document (or add them to label.nle and  
send me the extended

list):

\setuplabeltext[de][letter:skype=Skype]
\setuplabeltext[de][letter:street=Stra\ssharp e]
\setuplabeltext[de][letter:city=Ort] % or Stadt ...
...


Thank you!
I don't think it would make sense to add my personal preferences to  
the module, just please document this.


E.g. there are just too much IM services to provide them all; I  
myself use Address as label for the street and add the city  
without label, Web instead of URL as label for my homepage etc.


I added the missing label from your example to my module, let me know  
what you think

about the labels but 'Address' as label for 'street' is a no go.

BTW: Most of the previous labels are taken from scrlttr2, when you  
want always your
own texts you can make a file with the name 'user.nls' and change the  
label text

to your own style.


\setupletter[
Skype={fiee.visuelle}
]

to get just Skype: fiee.visuelle?


TeX is case sensitive, write 'skype=fiee.visuelle.


Ok; I wrote the capital intentionally for my suggestion of using the  
key as label.


Makes no sense because you need then different keys for each language,
e.g. telefonnumer=...

More questions will follow... I'll try to get my logo at the right  
place by myself before...


The module provides a few layers you can use to position your  
graphic.


I saw that in the manual and wanted to try it on my own first - but  
thank you very much!


The problem is the module use hard coded background layers and the  
only option

to place logos etc. is to use them.

BTW I tried to come up with measures for Swiss business letters, but  
only found some advise for secretaries how to write addresses: http://home.intergga.ch/beck/wg/awi/schreibregeln/4_Briefe.pdf

My typographical literature is only about Germany.
Most swiss business letters are sent in B5 envelopes with a window  
on the right side - I could meter some right looking Swiss letters  
if you'd like.


Sounds good.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Conditional commands

2009-06-29 Thread Andreas Schneider
Hi,

I'm currently trying to make a command that outputs different text
depending on the situation it has been called, but I'm absolutely stuck
there (I'm not very familiar with TeX, so it's probably obvious to most
of you :-/). It currently looks like this:

\doassign[mycite][last=]
\def\mycite[#1]{%
  \footnote{%
 \doifelse{\mycitelast}{#1}{Ebenda}{\cite[alternative=data][#1]}%
  }
  \doassign[mycite][last=#1]
}

The idea is as follow: if I cite the same citation two or more times in
a row (e.g. Some text\mycite[chan_genetic_2005] ... more
text\mycite[chan_genetic_2005]) it should only output the whole
quotation the first time, and Ebenda all the other times. But as it
seems, the \doifelse always evaluates to false and therefore outputs
the whole citation every time.

Does someone see what I might be doing wrong? Or is there even a better
way to do this?

Thanks,
Andreas.


smime.p7s
Description: S/MIME cryptographic signature
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Mark IV Syntax highlighting support

2009-06-29 Thread Renaud Aubin

Hi folks,

Where to start with this topic (current state in Mark IV, roadmap, ...) ?

Renaud
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Mark IV Syntax highlighting support

2009-06-29 Thread Renaud Aubin

./tex/texmf-context/tex/context/base/verb-.*\.lua !

Renaud Aubin a écrit :

Hi folks,

Where to start with this topic (current state in Mark IV, roadmap, ...) ?

Renaud
___ 

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___ 






___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Can't change typeface without type size

2009-06-29 Thread Maurí­cio

This seems to be a small bug. This works well:

 (...)


\starttypescript [serif] [default] [size]
\definebodyfont [22pt] [rm] [default]
\stoptypescript
\usetypescript[pagella]
\usetypescript[chorus]
\setupbodyfont[pagella,22pt]
\starttext
Text on body font.
{
\switchtobodyfont[chorus]
Text on special typeface.
}
\stoptext



Thanks. Is this a workaround around a small problem,
or I actualy did something wrong?

Maurício

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___