[NTG-context] Opportunity to include ConTeXt code into a LaTeXe environment

2007-12-28 Thread cyberplaque
Hi @ all,

I'm glad about the opportunities ConTeXt gives me to create Coverpages. Now
that I have a working example of a coverpage my question is, if it is
possible to include that ConTeXt-code into Latex to create a book. If yes,
how is the procedure to do so.

Kind regards

Martin
___
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] Opportunity to include ConTeXt code into a LaTeXe environment

2007-12-28 Thread luigi scarso
On Dec 27, 2007 11:55 AM, cyberplaque [EMAIL PROTECTED] wrote:
 Hi @ all,

 I'm glad about the opportunities ConTeXt gives me to create Coverpages. Now
 that I have a working example of a coverpage my question is, if it is
 possible to include that ConTeXt-code into Latex to create a book. If yes,
 how is the procedure to do so.
hmm, i think that the only pratical way consists in make a pdf with
context and then include it into latex.

BTW, i'm starting to think about the opposite:
how to include Latex code into Context code .

-- 
luigi
http://wiki.contextgarden.net/User:Luigi.scarso/Merry_Christmas_2007

it's new .
it's powerful .
it's luatex .
http://www.luatex.org
___
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] strutted pars?

2007-12-28 Thread Hans Hagen
Idris Samawi Hamid wrote:
 Dear gang,
 
 We can use \struttedbox to force an eg, large expression to obey the  
 surrounding interlinespace:
 
 ===
 {blah blah \struttedbox{\tfc blah blah}} blah blah blah blah blah blah  
 blah blah blah blah blah blah blah blah blah blah blah blah blah blah  
 \struttedbox{\tfc blah blah}} blah blah blah blah blah blah
 ===
 
 but this has the drawback that the box cannot be broken across lines. Is  
 there a way to force the interlinespace to remain constant and ignore the  
 size of grouped insertions with big font sizes?

\dontleavehmode \begstrut bla bla \endstrut \par

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


Re: [NTG-context] strutted pars?

2007-12-28 Thread Taco Hoekwater
Idris Samawi Hamid wrote:
 Dear gang,
 
 We can use \struttedbox to force an eg, large expression to obey the  
 surrounding interlinespace:
 
 ===
 {blah blah \struttedbox{\tfc blah blah}} blah blah blah blah blah blah  
 blah blah blah blah blah blah blah blah blah blah blah blah blah blah  
 \struttedbox{\tfc blah blah}} blah blah blah blah blah blah
 ===

That was a bad example, just try it :-)

 but this has the drawback that the box cannot be broken across lines. Is  
 there a way to force the interlinespace to remain constant and ignore the  
 size of grouped insertions with big font sizes?

Are you talking about a controlled environment here? In the general
case, this can't be done. But if you have a chuck of well-controlled
text, there is a trick:

\lineskiplimit=-1pt
blaq blaq {\tfc blaq blaq} blaq blaq blaq blaq blaq blaq
blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq
{\tfc blaq blaq} blaq blaq blaq blaq blaq blaq


Best wishes,
Taco
___
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] strutted pars?

2007-12-28 Thread Wolfgang Schuster
On Thu, 27 Dec 2007 14:20:22 -0700
Idris Samawi Hamid [EMAIL PROTECTED] wrote:

 Dear gang,
 
 We can use \struttedbox to force an eg, large expression to obey the  
 surrounding interlinespace:
 
 ===
 {blah blah \struttedbox{\tfc blah blah}} blah blah blah blah blah blah  
 blah blah blah blah blah blah blah blah blah blah blah blah blah blah  
 \struttedbox{\tfc blah blah}} blah blah blah blah blah blah
 ===
 
 but this has the drawback that the box cannot be broken across lines. Is  
 there a way to force the interlinespace to remain constant and ignore the  
 size of grouped insertions with big font sizes?
 
 Best wishes
 Idris

\starttext

%\lineskiplimit=0pt
\lineskip=0pt

blah blah {\tfc blah blah} blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah
{\tfc blah blah} blah blah blah blah blah blah

\stoptext

Is this what you want?

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] quotation/blockquote bug

2007-12-28 Thread Taco Hoekwater
Wolfgang Schuster wrote:

 \def\delimitedtext[#1]%
   {\bgroup
\pushdelimitedtext{#1}%
\doifelse{\delimitedtextparameter\c!method}\s!font
  {\dofontdrivendelimited}
  {\doifinsetelse{\delimitedtextparameter\c!location}{\v!paragraph,
 \v!margin}% \dodelimitedtextpar\dodelimitedtexttxt}}


Emailer error:

\def\delimitedtext[#1]%
  {\bgroup
   \pushdelimitedtext{#1}%
   \doifelse
{\delimitedtextparameter\c!method}\s!font
{\dofontdrivendelimited}
{\doifinsetelse
 {\delimitedtextparameter\c!location}
 {\v!paragraph,\v!margin}%
 \dodelimitedtextpar
 \dodelimitedtexttxt}}
___
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] First document — problems with bi b module and layout

2007-12-28 Thread Taco Hoekwater
Matija Šuklje wrote:
 Dne četrtek 27. decembra 2007 je Taco Hoekwater napisal(a):
 The solution is probably along the lines of
 [...]
 More tomorrow, maybe. You have picked the worst possible time to ask
 me about computer stuff. ;-)
 
 Thanks, will try tomorrow. My day has been amazingly awful as well. I'll 
 probably just do additions to the pf_ul.tex file where I think I'm on halfway 
 familiar ground already.

Your pf_ul.tex had a spurious (or incomplete) \insert command at
the end, that is what was causing an error problems Missing number.


For the footnoted references, this seems to work:

% two new fields, for use in \mycite
\newbibfield[avtor]
\newbibfield[kratko]

%  footnote-based definition of \cite, with extra data
\def\mycite[#1][#2]%
{\bgroup
% this adds the reference to the publication list
% in the back:
\nocite[#2]%
% you can get all single-valued fields with this
% \commands (title,issue,journal etc.) but not the
% \author,\artauthor and \editor because they have
% special arguments:
\getcitedata[avtor][#2] to \localavtor
\getcitedata[kratko][#2] to \localkratko
% you may want more fields and/or better formatting:
\footnote{\localavtor, \localkratko, #1}%
\egroup}

% use is like so:
This is known\mycite[str. IV-VI in XI][bavcon_zkp]


% this setup needs the extra \avtor and \kratko in the bbl file :
\startpublication[
k=bavcon_zkp,
a=Bavcon,
t=clanek,
y=2003]
\title{Na rob peti noveli zakona o kazenskem postopku}
\kratko{Na rob}
 \avtor{L. Bavcon}
\author{Ljubo}[L.]{}{Bavcon}
\journal{Pravna praksa}
\volume{22}
\issue{6/7}
\pubyear{2003}
\stoppublication


You are operating on the border of what is doable for the current
bibliographic module, and I have no time to spend a month on a rewrite 
just now, so if this is still not good enough, you are out of luck.


Best wishes,
Taco













___
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] strutted pars?

2007-12-28 Thread Idris Samawi Hamid

On Fri, 28 Dec 2007 01:28:23 -0700, Hans Hagen [EMAIL PROTECTED] wrote:


\dontleavehmode \begstrut bla bla \endstrut \par


On Fri, 28 Dec 2007 01:40:50 -0700, Taco Hoekwater [EMAIL PROTECTED]  
wrote:



That was a bad example, just try it :-)


Ok, better example attached :-)


But if you have a chuck of well-controlled text, there is a trick:



\lineskiplimit=-1pt
blaq blaq {\tfc blaq blaq} blaq blaq blaq blaq blaq blaq
blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq
{\tfc blaq blaq} blaq blaq blaq blaq blaq blaq


On Fri, 28 Dec 2007 01:41:35 -0700, Wolfgang Schuster  
[EMAIL PROTECTED] wrote:



%\lineskiplimit=0pt
\lineskip=0pt

blah blah {\tfc blah blah} blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah
{\tfc blah blah} blah blah blah blah blah blah


I have attached a file and pdf that illustrate all four scenarios; none of  
the above solutions seems to work, but maybe I need to tinker with the  
def's in test-strut.tex.


For my purposes Hans' approach is the most useful (if we can make it work)  
because otherwise it makes me have to do more copy-editing of paragraphs  
and I might miss some (based on Taco's observation it is probably not wise  
to make this global).


Best wishes
Idris

--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

test-strut.pdf
Description: Adobe PDF document


test-strut.tex
Description: TeX document
___
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] strutted pars?

2007-12-28 Thread Taco Hoekwater
Idris Samawi Hamid wrote:
 On Fri, 28 Dec 2007 01:28:23 -0700, Hans Hagen [EMAIL PROTECTED] wrote:
 
 \dontleavehmode \begstrut bla bla \endstrut \par
 
 On Fri, 28 Dec 2007 01:40:50 -0700, Taco Hoekwater [EMAIL PROTECTED] 
 wrote:
 
 That was a bad example, just try it :-)
 
 Ok, better example attached :-)

There should be a \par or empty line before those \stop commands,
otherwise none of the paragraph-based tricks work.

Best wishes,
Taco


___
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] strutted pars?

2007-12-28 Thread Idris Samawi Hamid
On Fri, 28 Dec 2007 09:07:39 -0700, Taco Hoekwater [EMAIL PROTECTED]  
wrote:

 There should be a \par or empty line before those \stop commands,
 otherwise none of the paragraph-based tricks work.

Ok, yours works now, but not Wolfgang's or Hans'. Wolfgang's is  
essentially the same idea as yours so that's fine but if we could just get  
the Hans approach to work...

Best wishes
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
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] strutted pars?

2007-12-28 Thread Hans Hagen
Idris Samawi Hamid wrote:
 On Fri, 28 Dec 2007 09:07:39 -0700, Taco Hoekwater [EMAIL PROTECTED]  
 wrote:
 
 There should be a \par or empty line before those \stop commands,
 otherwise none of the paragraph-based tricks work.
 
 Ok, yours works now, but not Wolfgang's or Hans'. Wolfgang's is  
 essentially the same idea as yours so that's fine but if we could just get  
 the Hans approach to work...

\unexpanded\def\Idrisized#1%
   {\begingroup
\let\processword\struttedbox
\processwords{#1}%
\endgroup}

blaq blaq blaq blaq blaq blaq blaq blaq \Idrisized{\tfc blaq blaq blaq
blaq blaq blaq} blaq blaq blaq blaq \Idrisized{\tfc blaq blaq} blaq blaq
blaq blaq blaq blaq blaq blaq  blaq blaq blaq blaq blaq blaq
blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq

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


Re: [NTG-context] strutted pars?

2007-12-28 Thread Idris Samawi Hamid
On Fri, 28 Dec 2007 09:39:56 -0700, Hans Hagen [EMAIL PROTECTED] wrote:

 \unexpanded\def\Idrisized#1%
{\begingroup
 \let\processword\struttedbox
 \processwords{#1}%
 \endgroup}
 blaq blaq blaq blaq blaq blaq blaq blaq \Idrisized{\tfc blaq blaq blaq
 blaq blaq blaq} blaq blaq blaq blaq \Idrisized{\tfc blaq blaq} blaq blaq
 blaq blaq blaq blaq blaq blaq  blaq blaq blaq blaq blaq blaq
 blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq

Thank you a million, Hans!

And thank you, Taco and Wolfgang, for enriching my bag of tricks. You are  
all the best!

Best wishes
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
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] active strings in luatex?

2007-12-28 Thread Idris Samawi Hamid
Dear Hans and Taco,
This may be of general interest to the Europeans (and indirectly relates  
to the [EMAIL PROTECTED] email):

I need the following:

LATIN CAPITAL LETTER L WITH TILDE;004C 0303
LATIN SMALL LETTER L WITH TILDE;006C 0303

The proposal is still under consideration for lithuanian and not yet in  
unicode. In luatex can I make a definition such that such that the string

U004C U0303 (l ̃)

is always treated as l with tilde above, taking into account italics and  
without using \~l (which does not work in, eg, footnote)?

Best wishes
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
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] strutted pars?

2007-12-28 Thread Idris Samawi Hamid

On Fri, 28 Dec 2007 09:39:56 -0700, Hans Hagen [EMAIL PROTECTED] wrote:


\unexpanded\def\Idrisized#1%
   {\begingroup
\let\processword\struttedbox
\processwords{#1}%
\endgroup}
blaq blaq blaq blaq blaq blaq blaq blaq \Idrisized{\tfc blaq blaq blaq
blaq blaq blaq} blaq blaq blaq blaq \Idrisized{\tfc blaq blaq} blaq blaq
blaq blaq blaq blaq blaq blaq  blaq blaq blaq blaq blaq blaq
blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq


Hmm, there is a bug, unfortunately: Only the first word in #1 is  
processed, the rest are ignored. Adding grouping causes the argument to be  
treated as a box and the desired effect is lost. (pdf attached).


Best
Idris

=
% engine=luatex

\starttext

 \start

\unexpanded\def\Idrisized#1%
   {\begingroup
\let\processword\struttedbox
\processwords{#1}%
\endgroup}

blaq blaq blaq blaq blaq blaq blaq blaq \Idrisized{\tfc blaq blaq blaq
blaq blaq blaq} blaq blaq blaq blaq \Idrisized{\tfc blaq blaq} blaq blaq
blaq blaq blaq blaq blaq blaq  blaq blaq blaq blaq blaq blaq
blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq

\blank

blaq blaq blaq blaq blaq blaq blaq blaq \Idrisized{{\tfc blaq blaq blaq
blaq blaq blaq}} blaq blaq blaq blaq \Idrisized{{\tfc blaq blaq}} blaq blaq
blaq blaq blaq blaq blaq blaq  blaq blaq blaq blaq blaq blaq
blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq

 \stop

\stoptext
=

--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

test-strut2.pdf
Description: Adobe PDF document
___
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] Luatex installation

2007-12-28 Thread Hans van der Meer
I have read the instructions for installing luatex on MacOSX so  
clearly spelt out by Thomas Schmitz, but they leave a question open.
Thomas advises to set TEXMFCACHE=/tmp with the argument that it then  
is cleared each time the computer is restarted.
What is unclear to me if this means that on each restart some explicit  
reinitialzation has to be done or are the data in TEXMFCACHE suitable  
candidates for thrashing at all times?

Hans van der Meer




___
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] Permission Policy

2007-12-28 Thread Hans van der Meer
I ran into trouble with luatools --generate
which does not seem to work with sudo luatools --generate
The seem applies to texmfstart and friends.

Why this manco? I want to keep my system as safe as possible  
especially regarding applications and stuff that takes a lot of time  
installing (like the texlive system).
Therefore I have this in an administrator account (root:wheel).
Cannot ConTeXt cope with such a scheme? All it has to do is honor  
sudo, apparently.

Hans van der Meer



___
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] Permission Policy

2007-12-28 Thread Hans Hagen
Hans van der Meer wrote:
 I ran into trouble with luatools --generate
 which does not seem to work with sudo luatools --generate
 The seem applies to texmfstart and friends.
 
 Why this manco? I want to keep my system as safe as possible  
 especially regarding applications and stuff that takes a lot of time  
 installing (like the texlive system).
 Therefore I have this in an administrator account (root:wheel).
 Cannot ConTeXt cope with such a scheme? All it has to do is honor  
 sudo, apparently.

i'm happily unaware of such problems -)

there is no built in if sudo then quit or so, i.e.\ no assumption is 
made to its usage; i leave this to the unix experts

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
___


Re: [NTG-context] Permission Policy

2007-12-28 Thread Aditya Mahajan
On Fri, 28 Dec 2007, Hans van der Meer wrote:

 I ran into trouble with luatools --generate
 which does not seem to work with sudo luatools --generate
 The seem applies to texmfstart and friends.

What error message do you get?

 Why this manco? I want to keep my system as safe as possible
 especially regarding applications and stuff that takes a lot of time
 installing (like the texlive system).
 Therefore I have this in an administrator account (root:wheel).
 Cannot ConTeXt cope with such a scheme? All it has to do is honor
 sudo, apparently.

sudo luatools --generate works here (Ubuntu Linux). AFAIU, luatools 
--generate only reads the relevant files from $TEXMF and writes details to 
$TEXMFCACHE. If all directories in $TEXMF are readable by normal user 
(should be) and $TEXMFCACHE is writable by normal user (should be), then 
you do not even need a sudo.

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
___


Re: [NTG-context] Luatex installation

2007-12-28 Thread Hans Hagen
Hans van der Meer wrote:
 I have read the instructions for installing luatex on MacOSX so  
 clearly spelt out by Thomas Schmitz, but they leave a question open.
 Thomas advises to set TEXMFCACHE=/tmp with the argument that it then  
 is cleared each time the computer is restarted.
 What is unclear to me if this means that on each restart some explicit  
 reinitialzation has to be done or are the data in TEXMFCACHE suitable  
 candidates for thrashing at all times?

clearing the cache each time is a waste of time

mtxrun --script cache

can be used to remove redundant files or clear the cache

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
___


Re: [NTG-context] strutted pars?

2007-12-28 Thread Hans Hagen
Idris Samawi Hamid wrote:
 On Fri, 28 Dec 2007 09:39:56 -0700, Hans Hagen [EMAIL PROTECTED] wrote:
 
 \unexpanded\def\Idrisized#1%
{\begingroup
 \let\processword\struttedbox
 \processwords{#1}%
 \endgroup}
 blaq blaq blaq blaq blaq blaq blaq blaq \Idrisized{\tfc blaq blaq blaq
 blaq blaq blaq} blaq blaq blaq blaq \Idrisized{\tfc blaq blaq} blaq blaq
 blaq blaq blaq blaq blaq blaq  blaq blaq blaq blaq blaq blaq
 blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq
 
 Hmm, there is a bug, unfortunately: Only the first word in #1 is 
 processed, the rest are ignored. Adding grouping causes the argument to 
 be treated as a box and the desired effect is lost. (pdf attached).

\unexpanded\def\Idrisized#1#2%
{\begingroup#1%
 \let\processword\struttedbox
 \processwords{#2}%
 \endgroup}

blaq blaq blaq blaq blaq blaq blaq blaq \Idrisized\tfb{blaq blaq blaq
blaq blaq blaq} blaq blaq blaq blaq \Idrisized\tfb{blaq blaq} blaq blaq
blaq blaq blaq blaq blaq blaq  blaq blaq blaq blaq blaq blaq
blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq


 Best
 Idris
 
 =
 % engine=luatex
 
 \starttext
 
  \start
 
 \unexpanded\def\Idrisized#1%
{\begingroup
 \let\processword\struttedbox
 \processwords{#1}%
 \endgroup}
 
 blaq blaq blaq blaq blaq blaq blaq blaq \Idrisized{\tfc blaq blaq blaq
 blaq blaq blaq} blaq blaq blaq blaq \Idrisized{\tfc blaq blaq} blaq blaq
 blaq blaq blaq blaq blaq blaq  blaq blaq blaq blaq blaq blaq
 blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq
 
 \blank
 
 blaq blaq blaq blaq blaq blaq blaq blaq \Idrisized{{\tfc blaq blaq blaq
 blaq blaq blaq}} blaq blaq blaq blaq \Idrisized{{\tfc blaq blaq}} blaq blaq
 blaq blaq blaq blaq blaq blaq  blaq blaq blaq blaq blaq blaq
 blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq
 
  \stop
 
 \stoptext
 =
 
 
 
 
 ___
 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
 ___


-- 

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


[NTG-context] Luatex startup difficulties

2007-12-28 Thread Willi Egger
Hi,

It has taken quite some time. ... now I would like to get started  
with Luatex.

I have installed justtex, upgraded context to the latest version,  
upgraded the binaries to the latest version (Version  
snapshot-0.20.2-2007121720 (Web2C 7.5.6)).

 luatools --generate
 texexec --lua --make --all
 texexec --make --all

My testfile is:

\enableregime[utf]

\starttext
There is text.
\stoptext

ConTeXt  ver: 2007.12.26 20:00 MKIV  fmt: 2007.12.26  int: english/ 
english
...
This went wrong: ...luatex/tex/texmf-local/tex/context/base/font- 
otf.lua:1759: table index is nil
.
to be read again
\relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
   \let  
\localrelativefontsiz...
\fontstrategy ...ame #1\csname #2#3#4#5\endcsname
   \tryingfontfalse \fi
inserted text ...yle \fontalternative \fontsize
   \fi \iftryingfont  
\fontstr...
\synchronizefont ...strategy \the \fontstrategies
   \relax \fi  
\ifskipfontchar...
argument \getvalue [EMAIL PROTECTED]@ \fontstyle }
\edef \fontstyle  
{\fontstyle }\if...
...
l.1

Humble, my stupid question is: what is wrong here?

Willi
___
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] strutted pars?

2007-12-28 Thread Idris Samawi Hamid
On Fri, 28 Dec 2007 13:34:00 -0700, Hans Hagen [EMAIL PROTECTED] wrote:

 \unexpanded\def\Idrisized#1#2%
 {\begingroup#1%
  \let\processword\struttedbox
  \processwords{#2}%
  \endgroup}

Ok, thanks a lot!

Best
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
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] escaping filenames with externalfigure

2007-12-28 Thread Hans Hagen
Santy, Michael wrote:
 The problem that I've found with that approach is that the braces have to be 
 balanced.
 
 \def\myimagefilename{flower{1.jpg} % doesn't work
 \def\myimagefilename{flower{1}.jpg} % works

no time for a detailed answer now, but in xml mode you can make { } 
letters which solves the problem

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
___