ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* new minimals
@ 2005-07-27 16:28 Hans Hagen
  2005-07-28  9:51 ` Taco Hoekwater
  2005-07-29  3:52 ` Stuart Jansen
  0 siblings, 2 replies; 10+ messages in thread
From: Hans Hagen @ 2005-07-27 16:28 UTC (permalink / raw)


I uploaded new minimals etc.

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: new minimals
  2005-07-27 16:28 new minimals Hans Hagen
@ 2005-07-28  9:51 ` Taco Hoekwater
  2005-07-29  3:52 ` Stuart Jansen
  1 sibling, 0 replies; 10+ messages in thread
From: Taco Hoekwater @ 2005-07-28  9:51 UTC (permalink / raw)



Also a new release with most of last-week's bugs fixed
and last week's extensions added:

   http://contextgarden.net/Release_Notes#Context_2005.07.27

Cheers, Taco

Hans Hagen wrote:
> I uploaded new minimals etc.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: new minimals
  2005-07-27 16:28 new minimals Hans Hagen
  2005-07-28  9:51 ` Taco Hoekwater
@ 2005-07-29  3:52 ` Stuart Jansen
  2005-07-29  6:37   ` Hans Hagen
  2005-07-29  7:06   ` \type ,\meaning eror check luigi.scarso
  1 sibling, 2 replies; 10+ messages in thread
From: Stuart Jansen @ 2005-07-29  3:52 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 370 bytes --]

On Wed, 2005-07-27 at 18:28 +0200, Hans Hagen wrote:
> I uploaded new minimals etc.

Thanks!

Unfortunately, the linux64tex.zip appears to be missing the binaries. It
also looks like you also haven't updated your site to list its
existence.

[Which kinda balances out in the end, doesn't it? ;-) ]

-- 
Stuart Jansen <sjansen@gurulabs.com>
Guru Labs, L.C.

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: new minimals
  2005-07-29  3:52 ` Stuart Jansen
@ 2005-07-29  6:37   ` Hans Hagen
  2005-07-29  7:06   ` \type ,\meaning eror check luigi.scarso
  1 sibling, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2005-07-29  6:37 UTC (permalink / raw)


Stuart Jansen wrote:

>On Wed, 2005-07-27 at 18:28 +0200, Hans Hagen wrote:
>  
>
>>I uploaded new minimals etc.
>>    
>>
>
>Thanks!
>
>Unfortunately, the linux64tex.zip appears to be missing the binaries. It
>also looks like you also haven't updated your site to list its
>existence.
>  
>
i'll have a look (btw, you can use the old binaries since nothing changed in that part) 

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* \type ,\meaning eror check
  2005-07-29  3:52 ` Stuart Jansen
  2005-07-29  6:37   ` Hans Hagen
@ 2005-07-29  7:06   ` luigi.scarso
  2005-07-29  8:32     ` Taco Hoekwater
  2005-07-31 21:11     ` Hans Hagen
  1 sibling, 2 replies; 10+ messages in thread
From: luigi.scarso @ 2005-07-29  7:06 UTC (permalink / raw)


I have this problem:

%% test.tex
%-save this with utf-8 encoding--------------
\language[it]
\enableregime[utf]
\newif\ifArticleError
%%
\def\startArticle[#1]{%
\getparameters[ARTICLE][#1]
\setbox101=\vbox{%
\csname ARTICLEdescription\endcsname%
}
%% here some sorts of checking
%% if there are some errors
%% while expanding
%% \csname ARTICLEdescription\endcsname ;
%% check will change state of \ifArticleError
%%
\ifArticleError
%%  errors:
%% typescript macros \ARTICLEdescription
\type{description:}%
\edef\T{\expandafter%
\meaning\csname ARTICLEdescription\endcsname}%
\aftersplitstring \T \at>\to\Temp%
\expandafter\type\expandafter{\Temp}%
\else %% else ok
\type{OK}%
\fi
}
%%
\starttext
{{\bf Hòàà}\framed{wrong  framed macros}}
\startArticle[description={{\bf Hoòaà}\framed{ok  framed macro}}]
\startArticle[description={{\bf Hoòaà}\Framed{WRONG  framed macro}}]
\stoptext
%--------------------------------------------------------------------

where
oò := {o\`o}
aà := {a\`a}

compile it with
$>texexec --pdf --batch test.tex

Problems

   1. i dont't know how to make checking
   2. \type does not combine well with \meaning: ò (ie {\`o} ) is not show.

thanks in advance

luigi

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: \type ,\meaning eror check
  2005-07-29  7:06   ` \type ,\meaning eror check luigi.scarso
@ 2005-07-29  8:32     ` Taco Hoekwater
  2005-07-29  9:13       ` luigi.scarso
  2005-07-31 21:11     ` Hans Hagen
  1 sibling, 1 reply; 10+ messages in thread
From: Taco Hoekwater @ 2005-07-29  8:32 UTC (permalink / raw)




luigi.scarso wrote:
> Problems
> 
>   1. i dont't know how to make checking

AFAIK, there is only one way to do this: write a new tex file on-
the-fly and run a separate texexec on that file (using \write18),
then parse the resulting log file for the occurence of any errors.
Not simple at all, I'm afraid.

>   2. \type does not combine well with \meaning: ò (ie {\`o} ) is not show.

This is a side-effect of TeX being an 8-bit program that doesn't
understand utf-8 itself. utf-8 in ConTeXt works by virtue of the
first character of a sequence having catcode 13 (\active), but
\meaning never outputs any catcodes except 12 (character) and 10
(space). This can be fixed by calling \scantokens:

   \expanded\type{\expandafter\scantokens\expandafter{\Temp}}%

Cheers, Taco

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: \type ,\meaning eror check
  2005-07-29  8:32     ` Taco Hoekwater
@ 2005-07-29  9:13       ` luigi.scarso
  2005-07-29  9:28         ` Taco Hoekwater
  0 siblings, 1 reply; 10+ messages in thread
From: luigi.scarso @ 2005-07-29  9:13 UTC (permalink / raw)


Taco Hoekwater wrote:

>
>
> AFAIK, there is only one way to do this: write a new tex file on-
> the-fly and run a separate texexec on that file (using \write18),
> then parse the resulting log file for the occurence of any errors.
> Not simple at all, I'm afraid.
>
hmm, i've hundred of \startArticle..

>>   2. \type does not combine well with \meaning: ò (ie {\`o} ) is not 
>> show.
>
>
>
>   \expanded\type{\expandafter\scantokens\expandafter{\Temp}}%
>
good , but type also first \expandafter after \type

thanks
luigi

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: \type ,\meaning eror check
  2005-07-29  9:13       ` luigi.scarso
@ 2005-07-29  9:28         ` Taco Hoekwater
  2005-07-29  9:42           ` luigi.scarso
  0 siblings, 1 reply; 10+ messages in thread
From: Taco Hoekwater @ 2005-07-29  9:28 UTC (permalink / raw)




luigi.scarso wrote:
> Taco Hoekwater wrote:
> 
>>
>>
>> AFAIK, there is only one way to do this: write a new tex file on-
>> the-fly and run a separate texexec on that file (using \write18),
>> then parse the resulting log file for the occurence of any errors.
>> Not simple at all, I'm afraid.
>>
> hmm, i've hundred of \startArticle..

I'll consider the possibility of adding a new primitive to pdfetex
(the language) for the discovery of run-time errors like this. That
will not help you at this moment, though.

>>>   2. \type does not combine well with \meaning: ò (ie {\`o} ) is not 
>>> show.
>>
>>
>>   \expanded\type{\expandafter\scantokens\expandafter{\Temp}}%
>>
> good , but type also first \expandafter after \type

Sorry, the correct solution is:

  \expandafter\expandafter\expandafter\type
  \expandafter\expandafter\expandafter
    {\expandafter\scantokens\expandafter{\Temp}}%

or, a bit shorter but needing \(un)protect:

  \@EA\@EA\@EA\type\@EA\@EA\@EA{\@EA\scantokens\@EA{\Temp}}%

My original post only \expanded the single token \type, not the whole
argument.

Cheers, Taco

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: \type ,\meaning eror check
  2005-07-29  9:28         ` Taco Hoekwater
@ 2005-07-29  9:42           ` luigi.scarso
  0 siblings, 0 replies; 10+ messages in thread
From: luigi.scarso @ 2005-07-29  9:42 UTC (permalink / raw)


Taco Hoekwater wrote:

> Sorry, the correct solution is:
>
>  \expandafter\expandafter\expandafter\type
>  \expandafter\expandafter\expandafter
>    {\expandafter\scantokens\expandafter{\Temp}}%

sounds good, thanks
(I was missing some \expandafter ...)

luigi

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: \type ,\meaning eror check
  2005-07-29  7:06   ` \type ,\meaning eror check luigi.scarso
  2005-07-29  8:32     ` Taco Hoekwater
@ 2005-07-31 21:11     ` Hans Hagen
  1 sibling, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2005-07-31 21:11 UTC (permalink / raw)


luigi.scarso wrote:

> I have this problem:

i have no clue what you're tryng to do -)

- provide a zipped file (so that i get the right chars)
- don't use box 101 ungrouped (it's probably in use)
- get the meaning with:

\convertcommand\ARTICLEdescription\to\ascii\ascii


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-07-31 21:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-27 16:28 new minimals Hans Hagen
2005-07-28  9:51 ` Taco Hoekwater
2005-07-29  3:52 ` Stuart Jansen
2005-07-29  6:37   ` Hans Hagen
2005-07-29  7:06   ` \type ,\meaning eror check luigi.scarso
2005-07-29  8:32     ` Taco Hoekwater
2005-07-29  9:13       ` luigi.scarso
2005-07-29  9:28         ` Taco Hoekwater
2005-07-29  9:42           ` luigi.scarso
2005-07-31 21:11     ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).