Re: [NTG-context] ConTeXt on Excursion: translations in the Garden

2007-05-11 Thread Zhichu Chen

Hi everybody

I'm sorry that I haven't upload anything except the makefile. So Authur, you
can adopt it to French now. But Hans' \horizontalchineseunicodeglyph macro
has some conflict with \starttyping . . . \stoptyping environment. I checked
for like two days and comment the following lines:
=
\ifx\nextutoken\relax
\insertunicodeglyph
\else
=
and the corresponding \fi, then it's OK now. I do the translation after work
during workdays, so it'll be very slow.

I don't know much about the TEXINPUTS thing. since I got error, I copied all
files from the parent folder to my working folder, which is called zh.
It's a mess now, and I'll purge all the auxillary files after I finish it.


On 5/10/07, Arthur Reutenauer [EMAIL PROTECTED] wrote:


 I wasn't able to test my answer because I use myself a different file
structure
 for the beginners manual and never encountered this problem.

I guess the problem is with \doiffileelse in ma-cb-setups.tex:

# \doiffileelse{t-setup.tex}
#   {\usemodule[setup]}  % third party t-setup.tex
#   {\usemodule[set-11]}

As it is (without tweaking TEXINPUTS or installing t-setup.tex
manually), t-setup.tex isn't found in the parent directory, so
x-set-11.tex is loaded in its place.

How is \doiffileelse supposed to search for files exactly?

___
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

___





--
Best Regards
Chen


 Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
  | www.sinap.ac.cn

___
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] linking to txt files

2007-05-11 Thread Andrea Valle


Sorry for being so terse, I was in a hurry.


Thanks for the reply.



Basically, as you found
out, searching the sources on cotextgarden is the easiest way.


Ok.


A
Does \attachment give you what you were looking for?



Yes, absolutely wonderful, now aollider.ll the sources are inlcuded  
in the pdf anc can be direclty open by SuperCollider


Thanks

Best

-a-





Aditya
__ 
_
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
__ 
_


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)




___
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] linking to txt files

2007-05-11 Thread Jano Kula
Hello!

Aditya Mahajan wrote:

 And if 
 you remember that a regex search is going in the background, that you 
 can make use of that.

Good to know. A note on this on the main search page would be usefull.

Not a big issue, just remark: with more complex regexp searching works, 
but displaying the page fails (highlighting?). Try \\def[^\]a.

Jano

___
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] ConTeXt on Excursion: translations in the Garden

2007-05-11 Thread Renaud Aubin

Wolfgang Schuster a écrit :

Hi Arthur,

I wasn't able to test my answer because I use myself a different file structure
for the beginners manual and never encountered this problem.

The better solution rather than making a TEXINPUTS entry is to put the
setup module
in the third party directory in your local TeX tree.


It works at least on my debian box with tetex...

Renaud
begin:vcard
fn:Renaud AUBIN
n:AUBIN;Renaud
email;internet:[EMAIL PROTECTED]
url:http://www.nibua-r.org
version:2.1
end:vcard

___
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] lilypond newbie

2007-05-11 Thread Mojca Miklavec
On 5/10/07, Henning Hraban Ramm wrote:

 I didn't even knew there was a version of t-lilypond on CTAN
 (overlooked that in Steffen's post).

You cannot escape the big brother ;)

 (It's a known problem that ConTeXt versions on CTAN are often
 outdated, too.)

If we're speaking about ConTeXt, that's partly intentional. (It gets
updated only when Taco explicitely submits it - when he thinks the
version is less buggy that on average.)

If you're speaking about the modules: updates to CTAN are curretly
manual. CTAN team asked for rsync access to the modules. Now they have
it, but didn't respond yet. I guess it's not automatic yet ... but
should become so sooner or later.

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
___


[NTG-context] hotkey definitions again

2007-05-11 Thread Vyatcheslav Yatskovsky
Hello,

I have following two definitions for hotkeys

\def\hotkey#1{\inframed[corner=00, offset=0pt]{\ #1\ }}

\def\hotkey#1{\inframed[corner=00, offset=0pt]{\enspace#1\enspace}}

The first is my favorite since it looks compact, but one-letter hotkeys look 
odd (the frame's height is more then width). 

\hotkey{Ctrl} - nice
\hotkey{T} - not nice

The second definition works better for one-letter hotkeys.

\hotkey{Ctrl} - not nice
\hotkey{T} - nice

My question is: can I set the MINIMUM width of a box to have boxes not less 
then, say, squared.

-- 
Best regards,
Vyatcheslav Yatskovsky

___
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] non-integer bodyfont size

2007-05-11 Thread Sanjoy Mahajan
I'm a bit confused about font sizes.  I had a bunch of missing \Delta
symbols in inline math (e.g. $\Delta x$), which I tracked down to

\setupbodyfont[10.5pt]

The non-integral point size works for text but not for math (the \Delta
turned into a backquote).  How to fix that?

type-siz.tex has several sections to which I could add
\definebodyfontenvironment or \definebodyfont lines.  Which sections
would I add to?  Or can I put the additions outside of that file?  And,
most crucially, what are the magic lines :-)

Thanks for suggestions, which I'll wikify.

-Sanjoy
___
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] non-integer bodyfont size

2007-05-11 Thread Hans Hagen
Sanjoy Mahajan wrote:
 I'm a bit confused about font sizes.  I had a bunch of missing \Delta
 symbols in inline math (e.g. $\Delta x$), which I tracked down to

 \setupbodyfont[10.5pt]

 The non-integral point size works for text but not for math (the \Delta
 turned into a backquote).  How to fix that?

 type-siz.tex has several sections to which I could add
 \definebodyfontenvironment or \definebodyfont lines.  Which sections
 would I add to?  Or can I put the additions outside of that file?  And,
 most crucially, what are the magic lines :-)

 Thanks for suggestions, which I'll wikify.
   
you need to define a bodyfont environment 

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

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