Re: [NTG-context] \typefile not including file and returning success

2023-02-21 Thread Marco Patzer via ntg-context
On Wed, 21 Dec 2022 13:17:15 +0100
Hans Hagen via ntg-context  wrote:

> The next upload will have:
> 
> \adddefaultsuffix[foo,{},crap]
> \adddefaultsuffix[{}]
> 
> \typefile{./crapcrap}
> \typefile{crapcrap}
> 
> which someone has to document on the wiki

Apologies for taking so long. But I just now tested your fix and
wanted to remove the absolute paths from my document and found that
either your fix is not working or I'm doing something wrong
(probably the latter). Example:

# create file “bar”
echo Bar > bar

%% \adddefaultsuffix[foo,{},crap,bar]
\adddefaultsuffix[{}]

\starttext
  Foo
  \typefile{bar}
\stoptext

This does *not* include the file “bar”. As far as I understand:

%% searches for files with no extention
\adddefaultsuffix[{}]

%% searches for files with extension aa, bb, foobar,
%% e.g. file.aa, blurp.bb or example.foobar
\adddefaultsuffix[aa, bb, foobar]

But that's not how it behaves. Can you elaborate?


Marco

LMTX 2023.02.14 17:44
PS: When I get it to work, I'll document it on the wiki.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] \typefile not including file and returning success

2022-12-21 Thread Marco Patzer via ntg-context
On Wed, 21 Dec 2022 13:17:15 +0100
Hans Hagen via ntg-context  wrote:

> > But context returning success when it clearly doesn't include the
> > file is unfortunate. The missing file might go completely unnoticed.
> > I'd expect an error there.  
> The next upload will have:
> 
> \adddefaultsuffix[foo,{},crap]
> \adddefaultsuffix[{}]
> 
> \typefile{./crapcrap}
> \typefile{crapcrap}

Thanks Hans for looking into that. I'll play with it after the next
update.

> which someone has to document on the wiki

Wilco

Marco
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] \typefile not including file and returning success

2022-12-21 Thread Hans Hagen via ntg-context

On 12/17/2022 6:27 PM, Marco via ntg-context wrote:

On Sat, 17 Dec 2022 17:43:48 +0100
Otared Kavian  wrote:

Thanks for your quick reply.


It seems that one can fool ConTeXt into typing a file without suffix
by giving the path to that file…


That works, I can confirm.


\typefile{/Users/kavian/Context/essais/mkiv/bar-bis}


Hard-coded absolute paths in TeX files are something I avoid, but I
assume that's just for demonstration here.


\typefile{./bar-bis}


That works as well. It's a workaround at least.

But context returning success when it clearly doesn't include the
file is unfortunate. The missing file might go completely unnoticed.
I'd expect an error there.

The next upload will have:

\adddefaultsuffix[foo,{},crap]
\adddefaultsuffix[{}]

\typefile{./crapcrap}
\typefile{crapcrap}

which someone has to document on the wiki

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] \typefile not including file and returning success

2022-12-17 Thread Marco Patzer via ntg-context
On Sat, 17 Dec 2022 10:41:11 -0800
skyhorse--- via ntg-context  wrote:

> The context wiki says:
>   "When no file extension is specified the extension .tex is assumed."

It's not on the page for typefile:

  https://wiki.contextgarden.net/Command/typefile

And that surely makes sense for TeX (input) files, but not \type'ed
files, which are usually not TeX files.

\startnitpicking

The message

  verbatims   > file 'bar' does not exist

is wrong, the file “bar” exists. Displaying

  verbatims   > file 'bar.txt' does not exist

\stopnitpicking

would be correct. But as I said, assuming \type'ed files are .tex
files does not make sense, IMO.

> By chance, do you have a file named "bar.tex" that would prevent this
> from being an error?

No. It just doesn't produce an error here (or non-success exit code
for that matter).

using LMTX:  2022.12.15 18:12

Marco
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] \typefile not including file and returning success

2022-12-17 Thread skyhorse--- via ntg-context

The context wiki says:
  "When no file extension is specified the extension .tex is assumed."

Yes an error message should be displayed.
By chance, do you have a file named "bar.tex" that would prevent this from 
being an error?

skyhorse


-

Otared Kavian via ntg-context  wrote:

> Hi Marco,
> 
> If I create a file named « bar.txt » then
> 
> \starttext
> Nothing to say\dots
> 
> \typefile{bar.txt}
> 
> \stoptext
> 
> gives the correct result. However ConTeXt seems to dislike \typefile{bar} 
> when the filename has no suffix.
> 
> Best regards : Otared
> 
> > On 17 Dec 2022, at 16:06, Marco Patzer via ntg-context  
> > wrote:
> > 
> > Hi!
> > 
> > In the following example the file “bar” is not included:
> > 
> > # create file “bar”
> > echo Bar > bar
> > 
> > # t.tex
> > \starttext
> >  Foo
> >  \typefile{bar}
> > \stoptext
> > 
> > Then run
> > 
> >  context --errors='*' t.tex
> > 
> > The text “bar” is not included in the PDF, only Foo is. The log file
> > shows:
> > 
> >  verbatims   > file 'bar' does not exist
> > 
> > However, the file “bar” clearly does exist. Furthermore, context
> > exits with no error in the log file and a successful exit value:
> > 
> >  context --errors='*' t.tex > /dev/null; echo $?
> >  0
> > 
> > Is this working as intended?
> > 
> > Marco
> > ___
> > If your question is of interest to others as well, please add an entry to 
> > the Wiki!
> > 
> > maillist : ntg-context@ntg.nl / 
> > https://www.ntg.nl/mailman/listinfo/ntg-context
> > webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> > archive  : https://bitbucket.org/phg/context-mirror/commits/
> > wiki : https://contextgarden.net
> > ___
> 
> Otared Kavian
> e-mail: ota...@gmail.com
> Phone: +33 6 88 26 70 95
> 
> 
> 
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] \typefile not including file and returning success

2022-12-17 Thread Marco via ntg-context
On Sat, 17 Dec 2022 17:43:48 +0100
Otared Kavian  wrote:

Thanks for your quick reply.

> It seems that one can fool ConTeXt into typing a file without suffix
> by giving the path to that file…

That works, I can confirm.

> \typefile{/Users/kavian/Context/essais/mkiv/bar-bis}

Hard-coded absolute paths in TeX files are something I avoid, but I
assume that's just for demonstration here.

> \typefile{./bar-bis}

That works as well. It's a workaround at least.

But context returning success when it clearly doesn't include the
file is unfortunate. The missing file might go completely unnoticed.
I'd expect an error there.

Marco
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] \typefile not including file and returning success

2022-12-17 Thread Marco Patzer via ntg-context
On Sat, 17 Dec 2022 16:25:01 +0100
Otared Kavian via ntg-context  wrote:

> If I create a file named « bar.txt » then
> 
> \starttext
> Nothing to say\dots
> 
> \typefile{bar.txt}
> 
> \stoptext
> 
> gives the correct result.

I can confirm that.

> However ConTeXt seems to dislike \typefile{bar} when the filename
> has no suffix.

Is there a way around it? Traditionally there are plenty of files
without suffix (e.g. README, Makefile, configure, etc.)

Marco
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] \typefile not including file and returning success

2022-12-17 Thread Otared Kavian via ntg-context
Hi Marco,

If I create a file named « bar.txt » then

\starttext
Nothing to say\dots

\typefile{bar.txt}

\stoptext

gives the correct result. However ConTeXt seems to dislike \typefile{bar} when 
the filename has no suffix.

Best regards : Otared

> On 17 Dec 2022, at 16:06, Marco Patzer via ntg-context  
> wrote:
> 
> Hi!
> 
> In the following example the file “bar” is not included:
> 
> # create file “bar”
> echo Bar > bar
> 
> # t.tex
> \starttext
>  Foo
>  \typefile{bar}
> \stoptext
> 
> Then run
> 
>  context --errors='*' t.tex
> 
> The text “bar” is not included in the PDF, only Foo is. The log file
> shows:
> 
>  verbatims   > file 'bar' does not exist
> 
> However, the file “bar” clearly does exist. Furthermore, context
> exits with no error in the log file and a successful exit value:
> 
>  context --errors='*' t.tex > /dev/null; echo $?
>  0
> 
> Is this working as intended?
> 
> Marco
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___

Otared Kavian
e-mail: ota...@gmail.com
Phone: +33 6 88 26 70 95



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] \typefile not including file and returning success

2022-12-17 Thread Marco Patzer via ntg-context
Hi!

In the following example the file “bar” is not included:

# create file “bar”
echo Bar > bar

# t.tex
\starttext
  Foo
  \typefile{bar}
\stoptext

Then run

  context --errors='*' t.tex

The text “bar” is not included in the PDF, only Foo is. The log file
shows:

  verbatims   > file 'bar' does not exist

However, the file “bar” clearly does exist. Furthermore, context
exits with no error in the log file and a successful exit value:

  context --errors='*' t.tex > /dev/null; echo $?
  0

Is this working as intended?

Marco
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2018-02-19 Thread Jeong Dal
Dear Wolfgang,

I found that the previous run “mtxrun - script font…” cheked the fonts for 
TeXLive 2017.
So I run “setuptex” for ConTeXt standalone and run “mtxrun” again.
After that I compiled the same file.
The result is that \tt works as Nanum Gothic Coding but \ss still not working.
“Nanum Gothic” file was not found yet.

I am using Mac OSX 10.13 and latest beta.

Thank you.

Best regards,

Dalyoung

> 2017. 12. 7. 오전 2:17, ntg-context-requ...@ntg.nl 
>  작성:
> 
> You need fonts [1-3]  which contains hangul characters (don’t forget to 
> set a math font because it is used for the symbols in enumerations) and 
> you have to enable linebreaking for korean with the \setscript command.
> 
>  begin example
> \definefallbackfamily [mainface] [rm] [Nanum Myeongjo] [preset=range:korean]
> \definefontfamily [mainface] [rm] [DejaVu Serif]
> 
> \definefallbackfamily [mainface] [ss] [Nanum Gothic] [preset=range:korean]
> \definefontfamily [mainface] [ss] [DejaVu Sans]
> 
> \definefallbackfamily [mainface] [tt] [Nanum Gothic Coding] 
> [features=none,preset=range:korean]
> \definefontfamily [mainface] [tt] [DejaVu Sans Mono] [features=none]
> 
> \definefontfamily [mainface] [mm] [DejaVu Math]
> 
> \setupbodyfont[mainface]
> 
> \setscript[hangul]
> 
> \starttext
> 
> 이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로
> 모아 엮어졌습니다.
> 
> {\ss 이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로
> 모아 엮어졌습니다.}
> 
> \starttyping
> 이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로
> 모아 엮어졌습니다.
> \stoptyping
> 
> \stoptext
>  end example

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2018-02-19 Thread Pablo Rodriguez
On 02/19/2018 10:15 PM, Jeong Dal wrote:
> Dear Wolfgang,
> 
> Two months ago, you suggested an example for typefile with korean. I
> just read it at that time and I try your sample today. 
> Although there are Nanum Gothic and Nanum Gothic Coding in my system
> font, no output of korean for \ss and \tt.
> I run ‘mtxrun —script font —reload —force
> [...]
> Why ConTeXt couldn’t locate the font files?
> 
> I am using Mac OSX 10.13 and latest beta.

Hi Jeong,

as far as I can remember, I experienced a similar problem with these
fonts. I needed the first option to get the fonts embedded in the PDF
document.

Go to tex/texmf-cache and remove the directory luatex-cache.

Run "mtxrun --generate" and compile the sample again.

If that doesn’t work, try to copy those fonts to tex/texmf-fonts (and
reload fonts with mxtrun)..

I hope it helps,

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2018-02-19 Thread Jeong Dal
Dear Wolfgang,

Two months ago, you suggested an example for typefile with korean. I just read 
it at that time and I try your sample today. 
Although there are Nanum Gothic and Nanum Gothic Coding in my system font, no 
output of korean for \ss and \tt.
I run ‘mtxrun —script font —reload —force
in the terminal, but the output is same. In the log file, it reads that 

selectfont  > The requested fallback font 'Nanum Gothic' for typeface 
'mainface' style 'ss' was ignored because no files where found.
selectfont  > The requested fallback font ‘Nanum Gothic Coding' for 
typeface 'mainface' style 'tt' was ignored because no files where found.


Why ConTeXt couldn’t locate the font files?

I am using Mac OSX 10.13 and latest beta.

Thank you.

Best regards,

Dalyoung

> 2017. 12. 7. 오전 2:17, ntg-context-requ...@ntg.nl 작성:
> 
> You need fonts [1-3]  which contains hangul characters (don’t forget to 
> set a math font because it is used for the symbols in enumerations) and 
> you have to enable linebreaking for korean with the \setscript command.
> 
>  begin example
> \definefallbackfamily [mainface] [rm] [Nanum Myeongjo] [preset=range:korean]
> \definefontfamily [mainface] [rm] [DejaVu Serif]
> 
> \definefallbackfamily [mainface] [ss] [Nanum Gothic] [preset=range:korean]
> \definefontfamily [mainface] [ss] [DejaVu Sans]
> 
> \definefallbackfamily [mainface] [tt] [Nanum Gothic Coding] 
> [features=none,preset=range:korean]
> \definefontfamily [mainface] [tt] [DejaVu Sans Mono] [features=none]
> 
> \definefontfamily [mainface] [mm] [DejaVu Math]
> 
> \setupbodyfont[mainface]
> 
> \setscript[hangul]
> 
> \starttext
> 
> 이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로
> 모아 엮어졌습니다.
> 
> {\ss 이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로
> 모아 엮어졌습니다.}
> 
> \starttyping
> 이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로
> 모아 엮어졌습니다.
> \stoptyping
> 
> \stoptext
>  end example

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-06 Thread Jeong Dal
Dear Wim,

There were a lot of discussions during the night.

For the use CJK, I think that Wolfgang’s example is good enough(Nanum fonts are 
free).
Here is another simple way.
In 2012, Hans included a typescript file for Un Fonts, you can use it just do 
“\setupbodyfont”.
The good thing is you can handle Korean, Chinese, and Japanese together.
I heard that Unfonts are included in TeXLive. If not, you can downloaded it.

I hope that you have no problem to compile the follwoing code.

Best regards,

Dalyoung


%
\setupbodyfont[unfonts]

\starttext
%\typefile[C][]{cjk.asy}
한자와 일본어는 어떤가요?

학이시습지불역열호(學而時習之不亦說乎)
가령 蓄音機(축음기) → レコード(레코드)

\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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-06 Thread Alan Braslau
On Wed, 06 Dec 2017 23:32:45 +0100
Wolfgang Schuster  wrote:

> You’re using the command \cornflowerbluein in your setups (probably
> for the header or footer)
> to change the color of the page number but ConTeXt doesn’t create 
> individual commands
> anymore for colors which are loaded from the color files.
> 
> 
> You can fix fix when you change the color setting to
> 
>  \color[cornflowerbluein]{\userpagenumber}
> 
> or even better you set the color with
> 
>  \setupheader[color=cornflowerbluein]

This change in behavior was (partially) motivated by an amusing bug:
\tan

Alan
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-06 Thread Wolfgang Schuster



Wim Neimeijer 
6. Dezember 2017 um 22:30
This is the output ConText gives me, when I use a newer version of 
ConText,


 output of run ===
mtx-context | run 1: luatex 
--fmt="/opt/context_new/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en" 
--jobname="goasy" 
--lua="/opt/context_new/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui" 
--no-parse-first-line --c:currentrun=1 --c:fulljobname="./goasy" 
--c:input="./goasy" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"

This is LuaTeX, Version 1.06.2 (TeX Live 2018/dev)
 system commands enabled.
open source > level 1, order 1, name 
'/opt/context_new/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'

system >
system > ConTeXt  ver: 2017.11.19 20:15 MKIV beta  fmt: 2017.11.21 
 int: english/english

system >
system > 'cont-new.mkiv' loaded
open source > level 2, order 2, name 
'/opt/context_new/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
close source > level 2, order 2, name 
'/opt/context_new/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'

system > files > jobname 'goasy', input './goasy', result 'goasy'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > level 2, order 3, name 
'/home/icubic/go/src/bitbucket.org/wneimeijer/goasy/docs/manual/goasy.tex 
'

fonts > preloading latin modern fonts (second stage)
fonts > 'fallback modern-designsize rm 12pt' is loaded
open source > level 3, order 4, name 
'/opt/context_new/tex/texmf-context/tex/context/fonts/mkiv/type-imp-libertine.mkiv'
close source > level 3, order 4, name 
'/opt/context_new/tex/texmf-context/tex/context/fonts/mkiv/type-imp-libertine.mkiv'

fonts > typescripts > unknown library 'default'
fonts > defining > font with asked name 'linlibertiner' is not found 
using lookup 'file'

fonts > defining > unknown font 'linlibertiner', loading aborted
fonts > defining > unable to define 'linlibertiner' as 
'libertine-12pt-rm-tf-0--0'

open source > level 3, order 5, name '../setup_global.tex'
modules > 'units' is loaded
open source > level 4, order 6, name 
'/opt/context_new/tex/texmf-context/tex/context/modules/mkiv/m-units.mkiv'
resolvers > lua > loading file 
'/opt/context_new/tex/texmf-context/tex/context/modules/mkiv/x-mathml.lua' 
succeeded
units > The units module is obsolete because functionality is built 
into the core.
close source > level 4, order 6, name 
'/opt/context_new/tex/texmf-context/tex/context/modules/mkiv/m-units.mkiv'

open source > level 4, order 7, name '../setup_colors.tex'
colors > defining > unknown library 'hex'
colors > 'rgb' color space is supported
colors > 'cmyk' color space is supported
open source > level 5, order 8, name 
'/opt/context_new/tex/texmf-context/tex/context/base/mkiv/colo-imp-xwi.mkiv'
close source > level 5, order 8, name 
'/opt/context_new/tex/texmf-context/tex/context/base/mkiv/colo-imp-xwi.mkiv'

colors > system 'xwi' is loaded
close source > level 4, order 8, name '../setup_colors.tex'
open source > level 4, order 9, name '../setup_language.tex'
close source > level 4, order 9, name '../setup_language.tex'
open source > level 4, order 10, name '../setup_title.tex'
close source > level 4, order 10, name '../setup_title.tex'
open source > level 4, order 11, name '../setup_i18n.tex'
close source > level 4, order 11, name '../setup_i18n.tex'
open source > level 4, order 12, name '../setup_parts.tex'
close source > level 4, order 12, name '../setup_parts.tex'
open source > level 4, order 13, name '../setup_chapter.tex'
close source > level 4, order 13, name '../setup_chapter.tex'
open source > level 4, order 14, name '../setup_section.tex'
close source > level 4, order 14, name '../setup_section.tex'
open source > level 4, order 15, name '../setup_bookmarks.tex'
close source > level 4, order 15, name '../setup_bookmarks.tex'
open source > level 4, order 16, name '../setup_toc_foc.tex'
close source > level 4, order 16, name '../setup_toc_foc.tex'
open source > level 4, order 17, name '../setup_definitions.tex'
close source > level 4, order 17, name '../setup_definitions.tex'
open source > level 4, order 18, name '../setup_hyphen_rules.tex'
close source > level 4, order 18, name '../setup_hyphen_rules.tex'
open source > level 4, order 19, name '../setup_matrix.tex'
close source > level 4, order 19, name '../setup_matrix.tex'
open source > level 4, order 20, name '../setup_code.tex'
close source > level 4, order 20, name '../setup_code.tex'
close source > level 3, order 20, name '../setup_global.tex'
open source > level 3, order 21, name '../setup_frontmatter.tex'
structures > begin of sectionblock 'frontpart'
open source > level 4, order 22, name 'title.tex'
metapost > initializing instance 'metafun' using format 'metafun'
metapost > loading 'metafun' as 

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-06 Thread Wim Neimeijer
This is the output ConText gives me, when I use a newer version of ConText,

 output of run ===
mtx-context | run 1: luatex
--fmt="/opt/context_new/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en"
--jobname="goasy"
--lua="/opt/context_new/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui"
--no-parse-first-line --c:currentrun=1 --c:fulljobname="./goasy"
--c:input="./goasy" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"
This is LuaTeX, Version 1.06.2 (TeX Live 2018/dev)
 system commands enabled.
open source > level 1, order 1, name
'/opt/context_new/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
system  >
system  > ConTeXt  ver: 2017.11.19 20:15 MKIV beta  fmt: 2017.11.21
 int: english/english
system  >
system  > 'cont-new.mkiv' loaded
open source > level 2, order 2, name
'/opt/context_new/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
close source> level 2, order 2, name
'/opt/context_new/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > files > jobname 'goasy', input './goasy', result 'goasy'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > level 2, order 3, name '/home/icubic/go/src/
bitbucket.org/wneimeijer/goasy/docs/manual/goasy.tex'
fonts   > preloading latin modern fonts (second stage)
fonts   > 'fallback modern-designsize rm 12pt' is loaded
open source > level 3, order 4, name
'/opt/context_new/tex/texmf-context/tex/context/fonts/mkiv/type-imp-libertine.mkiv'
close source> level 3, order 4, name
'/opt/context_new/tex/texmf-context/tex/context/fonts/mkiv/type-imp-libertine.mkiv'
fonts   > typescripts > unknown library 'default'
fonts   > defining > font with asked name 'linlibertiner' is not
found using lookup 'file'
fonts   > defining > unknown font 'linlibertiner', loading aborted
fonts   > defining > unable to define 'linlibertiner' as
'libertine-12pt-rm-tf-0--0'
open source > level 3, order 5, name '../setup_global.tex'
modules > 'units' is loaded
open source > level 4, order 6, name
'/opt/context_new/tex/texmf-context/tex/context/modules/mkiv/m-units.mkiv'
resolvers   > lua > loading file
'/opt/context_new/tex/texmf-context/tex/context/modules/mkiv/x-mathml.lua'
succeeded
units   > The units module is obsolete because functionality is
built into the core.
close source> level 4, order 6, name
'/opt/context_new/tex/texmf-context/tex/context/modules/mkiv/m-units.mkiv'
open source > level 4, order 7, name '../setup_colors.tex'
colors  > defining > unknown library 'hex'
colors  > 'rgb' color space is supported
colors  > 'cmyk' color space is supported
open source > level 5, order 8, name
'/opt/context_new/tex/texmf-context/tex/context/base/mkiv/colo-imp-xwi.mkiv'
close source> level 5, order 8, name
'/opt/context_new/tex/texmf-context/tex/context/base/mkiv/colo-imp-xwi.mkiv'
colors  > system 'xwi' is loaded
close source> level 4, order 8, name '../setup_colors.tex'
open source > level 4, order 9, name '../setup_language.tex'
close source> level 4, order 9, name '../setup_language.tex'
open source > level 4, order 10, name '../setup_title.tex'
close source> level 4, order 10, name '../setup_title.tex'
open source > level 4, order 11, name '../setup_i18n.tex'
close source> level 4, order 11, name '../setup_i18n.tex'
open source > level 4, order 12, name '../setup_parts.tex'
close source> level 4, order 12, name '../setup_parts.tex'
open source > level 4, order 13, name '../setup_chapter.tex'
close source> level 4, order 13, name '../setup_chapter.tex'
open source > level 4, order 14, name '../setup_section.tex'
close source> level 4, order 14, name '../setup_section.tex'
open source > level 4, order 15, name '../setup_bookmarks.tex'
close source> level 4, order 15, name '../setup_bookmarks.tex'
open source > level 4, order 16, name '../setup_toc_foc.tex'
close source> level 4, order 16, name '../setup_toc_foc.tex'
open source > level 4, order 17, name '../setup_definitions.tex'
close source> level 4, order 17, name '../setup_definitions.tex'
open source > level 4, order 18, name '../setup_hyphen_rules.tex'
close source> level 4, order 18, name '../setup_hyphen_rules.tex'
open source > level 4, order 19, name '../setup_matrix.tex'
close source> level 4, order 19, name '../setup_matrix.tex'
open source > level 4, order 20, name '../setup_code.tex'
close source> level 4, order 20, name '../setup_code.tex'
close source> level 3, order 20, name '../setup_global.tex'
open source > level 3, order 21, name '../setup_frontmatter.tex'
structures  > begin of sectionblock 'frontpart'
open source > level 4, order 22, name 

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-06 Thread Wim Neimeijer
Thanks for all your input and help, but as said before I don't have the
time to upgrade and than to discover existing things don't work
resulting in a complete new thread to debug these existing things and/or
fix with a new beta installation.

But that is perhaps not my biggest concern with all these beta releases,
ConText is great and for the most part easy to use, I am more worried that
my existing ConText environment (setup) becomes broken, and/or resulting in
complete different PDF output.
I have no way of knowing, apart from visually inspecting a lot of pages of
PDF.

I thought including some code examples via \typefile (with a bit of text in
either Cyrillic, Chinese, Japanese or Korean)
could be achieved with a simple local font switch, or setting a regime or
via \setuptyping but not on a global level
with \definefontsynonym, definefontfallback etc.

My fix is to change the examples a bit and continue.
Again thanks for the help





On Wed, Dec 6, 2017 at 9:25 PM, Hans Hagen  wrote:

> On 12/6/2017 7:24 PM, Wim Neimeijer wrote:
>
>> I disagree, a version from 2016 is not very old. I have a lot of
>> documents using a ConText setup which works with this version
>> of luatex and context.
>>
>> Last week I tried to use the latest beta with my documents and the beta
>> was unable to run my documents.
>> As it seems it is not backward compatible and I have no time at the
>> moment to debug or test.
>>
> hm, normally updates are backwar dcompatible (apart from very beta
> features) ... what fails?
>
>
>
> -
>   Hans Hagen | PRAGMA ADE
>   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-06 Thread Hans Hagen

On 12/6/2017 7:24 PM, Wim Neimeijer wrote:
I disagree, a version from 2016 is not very old. I have a lot of 
documents using a ConText setup which works with this version

of luatex and context.

Last week I tried to use the latest beta with my documents and the beta 
was unable to run my documents.
As it seems it is not backward compatible and I have no time at the 
moment to debug or test.
hm, normally updates are backwar dcompatible (apart from very beta 
features) ... what fails?



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-06 Thread Rik Kabel

On 2017-12-06 13:24, Wim Neimeijer wrote:
I disagree, a version from 2016 is not very old. I have a lot of 
documents using a ConText setup which works with this version

of luatex and context.

Last week I tried to use the latest beta with my documents and the 
beta was unable to run my documents.
As it seems it is not backward compatible and I have no time at the 
moment to debug or test.


So no, I cannot update at the moment.
It is not necessary to update. You can have multiple separate ConTeXt 
installations on a single system.


--
Rik
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-06 Thread Pablo Rodriguez
On 12/06/2017 07:24 PM, Wim Neimeijer wrote:
> I disagree, a version from 2016 is not very old. I have a lot of
> documents using a ConText setup which works with this version
> of luatex and context.
> 
> Last week I tried to use the latest beta with my documents and the beta
> was unable to run my documents. 
> As it seems it is not backward compatible and I have no time at the
> moment to debug or test.
> 
> So no, I cannot update at the moment.

Sorry, but I’m afraid that ConTeXt has beta releases almost every week
(when not every day).

Just in case it helps, I had to remove the luatex-cache directory and
run "mtxrun --generate", before I could use the new fonts (cache
reloading doesn’t work for me [even forcing it]).

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-06 Thread Wim Neimeijer
I disagree, a version from 2016 is not very old. I have a lot of documents
using a ConText setup which works with this version
of luatex and context.

Last week I tried to use the latest beta with my documents and the beta was
unable to run my documents.
As it seems it is not backward compatible and I have no time at the moment
to debug or test.

So no, I cannot update at the moment.

On Wed, Dec 6, 2017 at 7:13 PM, Aditya Mahajan  wrote:

> On Wed, 6 Dec 2017, Wim Neimeijer wrote:
>
> @Wolfgang,
>>
>> Ran your example (unsure about all these \definefontfamily commands), but
>> does not work, a lot of errors
>>
>
> This is LuaTeX, Version beta-0.89.4 (TeX Live 2016/dev)
>> ConTeXt  ver: 2016.03.13 23:40 MKIV beta  fmt: 2016.3.23  int:
>> english/english
>>
>
> You are using a very old version of luatex and context. You need to update
> your distribution or install context standalone, which can be installed in
> parallel with texlive.
>
> http://wiki.contextgarden.net/ConTeXt_Standalone
>
> 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/list
> info/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-06 Thread Pablo Rodriguez
On 12/06/2017 06:16 PM, Wim Neimeijer wrote:
> @Wolfgang,
> 
> Ran your example (unsure about all these \definefontfamily commands),
> but does not work, a lot of errors 
> [...]
> This is LuaTeX, Version beta-0.89.4 (TeX Live 2016/dev) 
> [...]
> ConTeXt  ver: 2016.03.13 23:40 MKIV beta  fmt: 2016.3.23  int:
> english/english

Hi Wim,

how about updating to latest beta?

There have been some changes since your installed version:

My versions are:

mtx-context | current version: 2017.12.04 16:37
This is LuaTeX, Version 1.06.2 (TeX Live 2018/dev)

Just in case it helps,

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-06 Thread Aditya Mahajan

On Wed, 6 Dec 2017, Wim Neimeijer wrote:


@Wolfgang,

Ran your example (unsure about all these \definefontfamily commands), but
does not work, a lot of errors



This is LuaTeX, Version beta-0.89.4 (TeX Live 2016/dev)
ConTeXt  ver: 2016.03.13 23:40 MKIV beta  fmt: 2016.3.23  int:
english/english


You are using a very old version of luatex and context. You need to update 
your distribution or install context standalone, which can be installed in 
parallel with texlive.


http://wiki.contextgarden.net/ConTeXt_Standalone

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-06 Thread Wim Neimeijer
@Wolfgang,

Ran your example (unsure about all these \definefontfamily commands), but
does not work, a lot of errors

==
mtx-context | warning: no (local) file './context_cjk', proceeding
mtx-context | run 1: luatex
--fmt="/opt/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en"
--jobname="context_cjk"
--lua="/opt/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui"
--no-parse-first-line --c:currentrun=1 --c:fulljobname="./context_cjk"
--c:input="./context_cjk" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"
This is LuaTeX, Version beta-0.89.4 (TeX Live 2016/dev)
 system commands enabled.
open source > 1 > 1 >
/opt/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv

ConTeXt  ver: 2016.03.13 23:40 MKIV beta  fmt: 2016.3.23  int:
english/english

system  > 'cont-new.mkiv' loaded
open source > 2 > 2 >
/opt/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv
close source> 2 > 2 >
/opt/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv
system  > files > jobname 'context_cjk', input './context_cjk',
result 'context_cjk'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > 2 > 3 > /home/icubic/download/wim/context_cjk.tex
fonts   > otf loading > loading
'/opt/context/tex/texmf/fonts/truetype/public/dejavu/DejaVuSerif.ttf', hash
'dejavuserif'
otf reader  > found cmaps:
otf reader  >   platform 0: unicode
otf reader  > encoding 3: unicode 2.0 bmp
otf reader  >   formats: 4
otf reader  > encoding 4: unicode 2.0 full (unsupported)
otf reader  >   formats: 12 (unsupported)
otf reader  >   platform 1: macintosh (unsupported)
otf reader  > encoding 0: roman (unsupported)
otf reader  >   formats: 6 (unsupported)
otf reader  >   platform 3: windows
otf reader  > encoding 1: unicode bmp
otf reader  >   formats: 4
otf reader  > encoding 10: unicode ucs-4
otf reader  >   formats: 12
otf reader  > cmap checked: platform 3 (windows), encoding 1 (unicode
bmp), format 4, new unicodes 3329
otf reader  > cmap checked: platform 3 (windows), encoding 10 (unicode
ucs-4), format 12, new unicodes 55
otf reader  > cmap checked: platform 0 (unicode), encoding 3 (unicode
2.0 bmp), format 4, new unicodes 0
otf reader  > ignoring global kern table using gpos kern feature
otf reader  > not unicoded: brailledot dlLtcaron
otf reader  > 2809 bogus names removed (verbose unicode)
otf reader  > 3357 base class tags removed (default is base)
fonts   > otf loading > loading done
fonts   > otf loading > saving
'/opt/context/tex/texmf/fonts/truetype/public/dejavu/DejaVuSerif.ttf' in
cache
system  > lua > compiling
'/opt/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/dejavuserif.tma'
into
'/opt/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/dejavuserif.tmc'
system  > lua > dumping
'/opt/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/dejavuserif.tma'
into
'/opt/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/dejavuserif.tmc'
stripped
fonts   > otf loading > loading, optimizing, packing and caching
time 0.134
fonts   > defining > font with asked name 'mainface-rm--fallback-1'
is not found using lookup 'file'
fonts   > defining > unknown font 'mainface-rm--fallback-1',
loading aborted
fonts   > defining > unable to define 'mainface-rm--fallback-1' as
'dummy--0'
fonts   > defining > font with asked name 'mainface-rm--fallback-1'
is not found using lookup 'file'
fonts   > defining > unknown font 'mainface-rm--fallback-1',
loading aborted
fonts   > defining > unable to define 'mainface-rm--fallback-1' as
'dummy--0'



On Wed, Dec 6, 2017 at 12:00 PM, Wolfgang Schuster <
schuster.wolfg...@gmail.com> wrote:

>
> Wim Neimeijer 
> 6. Dezember 2017 um 00:32
> The thing here is, I am not an ConText expert just an user. I am working
> on a manual (200+ pages) where including code snippets
> is just a small part of the document and not something isolated. Not sure
> what to do next as the wiki explains a lot
> but not this.
>
> You need fonts [1-3]  which contains hangul characters (don’t forget to
> set a math font because it is used for the symbols in enumerations) and you
> have to enable linebreaking for korean with the \setscript command.
>
>  begin example
> \definefallbackfamily [mainface] [rm] [Nanum Myeongjo]
> [preset=range:korean]
> \definefontfamily [mainface] [rm] [DejaVu Serif]
>
> \definefallbackfamily [mainface] [ss] [Nanum Gothic] [preset=range:korean]
> \definefontfamily [mainface] [ss] [DejaVu Sans]

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-06 Thread Wolfgang Schuster



Wim Neimeijer 
6. Dezember 2017 um 00:32
The thing here is, I am not an ConText expert just an user. I am 
working on a manual (200+ pages) where including code snippets
is just a small part of the document and not something isolated. Not 
sure what to do next as the wiki explains a lot

but not this.

You need fonts [1-3]  which contains hangul characters (don’t forget to 
set a math font because it is used for the symbols in enumerations) and 
you have to enable linebreaking for korean with the \setscript command.


 begin example
\definefallbackfamily [mainface] [rm] [Nanum Myeongjo] [preset=range:korean]
\definefontfamily [mainface] [rm] [DejaVu Serif]

\definefallbackfamily [mainface] [ss] [Nanum Gothic] [preset=range:korean]
\definefontfamily [mainface] [ss] [DejaVu Sans]

\definefallbackfamily [mainface] [tt] [Nanum Gothic Coding] 
[features=none,preset=range:korean]

\definefontfamily [mainface] [tt] [DejaVu Sans Mono] [features=none]

\definefontfamily [mainface] [mm] [DejaVu Math]

\setupbodyfont[mainface]

\setscript[hangul]

\starttext

이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로
모아 엮어졌습니다.

{\ss 이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로
모아 엮어졌습니다.}

\starttyping
이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로
모아 엮어졌습니다.
\stoptyping

\stoptext
 end example

[1] https://www.freekoreanfont.com/nanum-myeongjo-free-download/
[2] https://www.freekoreanfont.com/nanum-gothic-free-download/
[3] https://www.freekoreanfont.com/nanum-gothic-coding-free-download/

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-06 Thread luigi scarso
On Wed, Dec 6, 2017 at 9:53 AM, Hans Hagen  wrote:
> On 12/6/2017 12:32 AM, Wim Neimeijer wrote:
>>
>> The thing here is, I am not an ConText expert just an user. I am working
>> on a manual (200+ pages) where including code snippets
>> is just a small part of the document and not something isolated. Not sure
>> what to do next as the wiki explains a lot
>> but not this.
>
> in the tEst suite:

The test suite is
http://www.pragma-ade.nl/context/latest/cont-tst.7z


-- 
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-06 Thread Henning Hraban Ramm
Am 2017-12-06 um 00:32 schrieb Wim Neimeijer :

> The thing here is, I am not an ConText expert just an user. I am working on a 
> manual (200+ pages) where including code snippets
> is just a small part of the document and not something isolated. Not sure 
> what to do next as the wiki explains a lot 
> but not this. 

Here’s an example for Hebrew, I guess you can adapt it to Japanese:

\definefallbackfamily[MyBodyFontFamily][sans][Arial Hebrew][range=0591-05F4]


Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-06 Thread Hans Hagen

On 12/6/2017 12:32 AM, Wim Neimeijer wrote:
The thing here is, I am not an ConText expert just an user. I am working 
on a manual (200+ pages) where including code snippets
is just a small part of the document and not something isolated. Not 
sure what to do next as the wiki explains a lot

but not this.

in the tEst suite:

  ./fonts/fallbacks-001.tex
  ./scripts/type-kor-mixed.tex

for simple few-time cases you can decide to set the font explicitly:

\starttyping[style=\bf]
foo
\stoptyping

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-05 Thread Wim Neimeijer
The thing here is, I am not an ConText expert just an user. I am working on
a manual (200+ pages) where including code snippets
is just a small part of the document and not something isolated. Not sure
what to do next as the wiki explains a lot
but not this.




On Tue, Dec 5, 2017 at 11:53 PM, Hans Hagen  wrote:

> On 12/5/2017 11:10 PM, Wim Neimeijer wrote:
>
>> I wish it is that simple, but alas, I need to
>> to inform \typefile of the font as well,
>> possibly via setuptyping ?
>>
> if you mix scripts you need to either use font that has the glyphs or you
> have to create a bodyfint with a combination of fonts ... i'm pretty sure
> that the wiki explains this somewhere (fallbacks and such)
>
> Hans
>
>
> -
>   Hans Hagen | PRAGMA ADE
>   Ridderstraat 27 | 8061 GH Hasselt | The Nethe
> 
> rlands
>tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-05 Thread Hans Hagen

On 12/5/2017 11:10 PM, Wim Neimeijer wrote:

I wish it is that simple, but alas, I need to
to inform \typefile of the font as well,
possibly via setuptyping ?
if you mix scripts you need to either use font that has the glyphs or 
you have to create a bodyfint with a combination of fonts ... i'm pretty 
sure that the wiki explains this somewhere (fallbacks and such)


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-05 Thread Wim Neimeijer
I wish it is that simple, but alas, I need to
to inform \typefile of the font as well,
possibly via setuptyping ?

The following works with texlive 2017 (pdflatex), meaning I have the fonts
installed.
I also ran
$ mtxrun --script font --reload

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{CJKutf8}
\usepackage[english]{babel}

\begin{document}
\begin{CJK}{UTF8}{mj}
  이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로
  모아 엮어졌습니다.
\end{CJK}
\end{document}





On Tue, Dec 5, 2017 at 9:43 PM, luigi scarso  wrote:

> On Tue, Dec 5, 2017 at 9:32 PM, Wim Neimeijer 
> wrote:
> > I am writing a manual where I include code snippets with typefile. Some
> of
> > the code snippets contain text in Japanese
> > but don't appear in the PDF document as typefile seems to skip the
> Japanese
> > characters
> >
> > MWE
> >
> > file cjk.asy
> > 
> > Label L;
> > L = Label("\\begin{CJK}{UTF8}{gbsn}{\\CJKfamily{gbsn}여보세요  \\end{CJK}");
> > label(L);
> > shipout();
> >
> > main file
> > ===
> > \starttext
> > \typefile[C][]{cjk.asy}
> > \stoptext
>
> Assuming a font with the glyphs needed, this should work:
> \starttext
> \typefile{cjk.asy}
> \stoptext
>
>
> --
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-05 Thread luigi scarso
On Tue, Dec 5, 2017 at 9:32 PM, Wim Neimeijer  wrote:
> I am writing a manual where I include code snippets with typefile. Some of
> the code snippets contain text in Japanese
> but don't appear in the PDF document as typefile seems to skip the Japanese
> characters
>
> MWE
>
> file cjk.asy
> 
> Label L;
> L = Label("\\begin{CJK}{UTF8}{gbsn}{\\CJKfamily{gbsn}여보세요  \\end{CJK}");
> label(L);
> shipout();
>
> main file
> ===
> \starttext
> \typefile[C][]{cjk.asy}
> \stoptext

Assuming a font with the glyphs needed, this should work:
\starttext
\typefile{cjk.asy}
\stoptext


-- 
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-05 Thread Wim Neimeijer
I am writing a manual where I include code snippets with typefile. Some of
the code snippets contain text in Japanese
but don't appear in the PDF document as typefile seems to skip the Japanese
characters

MWE

file cjk.asy

Label L;
L = Label("\\begin{CJK}{UTF8}{gbsn}{\\CJKfamily{gbsn}여보세요  \\end{CJK}");
label(L);
shipout();

main file
===
\starttext
\typefile[C][]{cjk.asy}
\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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] \typefile and width (number of spaces) for '\t'

2015-08-24 Thread Procházka Lukáš Ing . - Pontex s . r . o .

... Thanks, that's it... Lukas


On Mon, 24 Aug 2015 13:57:12 +0200, Wolfgang Schuster 
schuster.wolfg...@gmail.com wrote:


Procházka Lukáš Ing. - Pontex s. r. o. mailto:l...@pontex.cz
24. August 2015 13:30
Hello,

is there a way to specify width for a tabulator ('\t') being read in a
text file during \typefile command?

E.g. 10 spaces...

\setuptyping[file][tab=10]

Wolfgang




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

[NTG-context] \typefile and width (number of spaces) for '\t'

2015-08-24 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

is there a way to specify width for a tabulator ('\t') being read in a text 
file during \typefile command?

E.g. 10 spaces...

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] \typefile and width (number of spaces) for '\t'

2015-08-24 Thread Wolfgang Schuster

Procházka Lukáš Ing. - Pontex s. r. o. mailto:l...@pontex.cz
24. August 2015 13:30
Hello,

is there a way to specify width for a tabulator ('\t') being read in a 
text file during \typefile command?


E.g. 10 spaces...

\setuptyping[file][tab=10]

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] typefile with absolute path to file

2012-11-21 Thread Hans Hagen

On 11/20/2012 11:17 PM, Aditya Mahajan wrote:


On my machine, I can read files **with an extension** from anywhere in
the system, but  \typefile{...} for a file without an extension results in:

verbatimsfile abc does not exist


ah .. but it makes sense to be explicit in what you want to be typed 
(it's not an input file in the sense of a document)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] typefile with absolute path to file

2012-11-21 Thread Sietse Brouwer
I think he means files of which the name does not have an extension.
I.e. he is trying to type a file called 'xxx', not 'xxx.something'.
Example of such a file: the shell script /usr/bin/ps2pdf.
Cheers,
--Sietse
___
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] typefile with absolute path to file

2012-11-21 Thread Hans Hagen

On 11/21/2012 11:18 AM, Sietse Brouwer wrote:

I think he means files of which the name does not have an extension.
I.e. he is trying to type a file called 'xxx', not 'xxx.something'.
Example of such a file: the shell script /usr/bin/ps2pdf.


hopefully fixed in next upload .. btw, testing can best be done with

\enabletrackers[resolvers.locating,resolvers.detail]


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] typefile with absolute path to file

2012-11-20 Thread Erik Margraf
Dear List,

a question about \typefile{}.
I tried to use \typefile{ /with/an/absolute/path/to/some_file }  and failed
Message in the log: Verbatim some_file not found. Also tried with
no path at all, assuming it will take the file from the current directory.
Same result.

Do I miss something? Should this work? Or, if not, how can I achieve
this effect (typefile
with absolute path to a file. btw. on a Linux system)

I'm aware of a similar message thread to this list from May 25th, this year.
But I didn't feel that it speaks against my comprehension of \typefile ...

Thanks!

Erik
___
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] typefile with absolute path to file

2012-11-20 Thread Aditya Mahajan



Dear List,

a question about \typefile{}.
I tried to use \typefile{ /with/an/absolute/path/to/some_file }  and failed
Message in the log: Verbatim some_file not found. Also tried with
no path at all, assuming it will take the file from the current directory.
Same result.

Do I miss something? Should this work? Or, if not, how can I achieve
this effect (typefile
with absolute path to a file. btw. on a Linux system)


\starttext
\typefile{\jobname.tex}
\typefile{/tmp/test.tex}
\stoptext

work with ConTeXt MkIV  2012.11.16.

However, I can confirm that

\typefile{/usr/bin/pdf2ps} does not work with context minimals on 
archlinux, although the texmfcnf.lua file says:


[system.outputmode]= restricted,
[system.inputmode] = any,

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


Re: [NTG-context] typefile with absolute path to file

2012-11-20 Thread Erik Margraf
Hi,

Thanks Aditya!

I tried this again with

\starttext
   \typefile{/tmp/xxx.tex}
\stoptext

and could trace what's going on ... (not even /tmp/xxx.tex worked)

The lines below is the trace output belonging to /tmp/xxx

stat(tmp/xxx.tex, 0x7fff5dc73d90) = -1 ENOENT (No such file or directory)
stat(../tmp/xxx.tex, 0x7fff5dc73d90)  = -1 ENOENT (No such file or directory)
stat(../../tmp/xxx.tex, 0x7fff5dc73d90) = -1 ENOENT (No such file or
directory)
stat(tmp/xxx.tex.tex, 0x7fff5dc73d90) = -1 ENOENT (No such file or directory)
stat(../tmp/xxx.tex.tex, 0x7fff5dc73d90) = -1 ENOENT (No such file
or directory)
stat(../../tmp/xxx.tex.tex, 0x7fff5dc73d90) = -1 ENOENT (No such
file or directory)

I could verify that tmp/xxx.tex is actually found!
current version: 2012.11.16 23:51
Anything I can do about that?  (I guess I can work with relative paths
below - tested this ...)

Context Version: current version: 2012.11.16 23:51
System: Debian 3.2.32-1 x86_64 GNU/Linux

regards
Erik

On Tue, Nov 20, 2012 at 4:25 PM, Aditya Mahajan adit...@umich.edu wrote:

 Dear List,

 a question about \typefile{}.
 I tried to use \typefile{ /with/an/absolute/path/to/some_file }  and
 failed
 Message in the log: Verbatim some_file not found. Also tried with
 no path at all, assuming it will take the file from the current directory.
 Same result.

 Do I miss something? Should this work? Or, if not, how can I achieve
 this effect (typefile
 with absolute path to a file. btw. on a Linux system)


 \starttext
 \typefile{\jobname.tex}
 \typefile{/tmp/test.tex}
 \stoptext

 work with ConTeXt MkIV  2012.11.16.

 However, I can confirm that

 \typefile{/usr/bin/pdf2ps} does not work with context minimals on archlinux,
 although the texmfcnf.lua file says:

 [system.outputmode]= restricted,
 [system.inputmode] = any,

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


Re: [NTG-context] typefile with absolute path to file

2012-11-20 Thread Hans Hagen

On 11/20/2012 9:06 PM, Erik Margraf wrote:

Hi,

Thanks Aditya!

I tried this again with

\starttext
\typefile{/tmp/xxx.tex}
\stoptext

and could trace what's going on ... (not even /tmp/xxx.tex worked)


I just tried a standalone on a xubuntu virtual machine. I had no 
problems with


/data/temp/test/test.tex: (also copied one level lower)

\starttext

\typefile{/data/temp/test.tex}
\typefile{/data/test.tex}

\stoptext

So, I'm a bit puzzled.

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] typefile with absolute path to file

2012-11-20 Thread Aditya Mahajan

On Tue, 20 Nov 2012, Hans Hagen wrote:


On 11/20/2012 9:06 PM, Erik Margraf wrote:

Hi,

Thanks Aditya!

I tried this again with

\starttext
\typefile{/tmp/xxx.tex}
\stoptext

and could trace what's going on ... (not even /tmp/xxx.tex worked)


I just tried a standalone on a xubuntu virtual machine. I had no problems 
with


/data/temp/test/test.tex: (also copied one level lower)

\starttext

\typefile{/data/temp/test.tex}
\typefile{/data/test.tex}

\stoptext

So, I'm a bit puzzled.


On my machine, I can read files **with an extension** from anywhere in the 
system, but  \typefile{...} for a file without an extension results in:


verbatimsfile abc does not exist

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


Re: [NTG-context] typefile with absolute path to file

2012-11-20 Thread Sietse Brouwer
Compiling the evidence... all I can say is hmm

== Erik ==
Version: 2012.11.16 on Linux
Absolute path (parent dir): ???
Absolute path (non-parent dir): did not work

== Aditya ==
Version: 2012.11.16 on Linux
[system.outputmode]= restricted,
[system.inputmode] = any,
Absolute path (parent dir): works
Absolute path (non-parent dir): works
Absolute path (filename has no extension): fails

== Hans ==
Version: ??? on Linux
Absolute path (parent dir): works
Absolute path (non-parent dir): /??

== Sietse ==
Version: 2012.11.08 on Linux
[system.outputmode]= restricted,
[system.inputmode] = any,
Absolute path (parent dir): does not work
Absolute path (non-parent dir): does not work
Relative path: works
Absolute or relative path, filename has no extension: does not work.

Hmm.
___
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] typefile with absolute path to file

2012-11-20 Thread Erik Margraf
That's interesting. As I could trace, the leading / is removed on my system.

ldd output on my luatex gives (seems not really spectacular):

linux-vdso.so.1 =  (0x7fffad7ff000)
libdl.so.2 = /lib/x86_64-linux-gnu/libdl.so.2 (0x7f221f099000)
libm.so.6 = /lib/x86_64-linux-gnu/libm.so.6 (0x7f221ee17000)
libc.so.6 = /lib/x86_64-linux-gnu/libc.so.6 (0x7f221ea8f000)
/lib64/ld-linux-x86-64.so.2 (0x7f221f2c1000)

lua -v gives:  Lua 5.1.5  Copyright (C) 1994-2012 Lua.org, PUC-Rio

Though, I have lua5.2 installed in parallel

Any other infos, which might help?

On Tue, Nov 20, 2012 at 11:17 PM, Aditya Mahajan adit...@umich.edu wrote:
 On Tue, 20 Nov 2012, Hans Hagen wrote:

 On 11/20/2012 9:06 PM, Erik Margraf wrote:

 Hi,

 Thanks Aditya!

 I tried this again with

 \starttext
 \typefile{/tmp/xxx.tex}
 \stoptext

 and could trace what's going on ... (not even /tmp/xxx.tex worked)


 I just tried a standalone on a xubuntu virtual machine. I had no problems
 with

 /data/temp/test/test.tex: (also copied one level lower)

 \starttext

 \typefile{/data/temp/test.tex}
 \typefile{/data/test.tex}

 \stoptext

 So, I'm a bit puzzled.


 On my machine, I can read files **with an extension** from anywhere in the
 system, but  \typefile{...} for a file without an extension results in:

 verbatimsfile abc does not exist


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


Re: [NTG-context] \typefile does not obey global path settings

2012-05-25 Thread Marco
On 2012-05-20 Marco net...@lavabit.com wrote:

 the \typefile command does not obey the \usepath setting any more.

Still failing in current beta.

% file: test.tex
\usepath [code]
\starttext

  % fails
  % \typefile{somefile}

  % works
  \typefile{code/somefile}
\stoptext

% file: code/somefile
This should be printed.


Marco


___
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] \typefile does not obey global path settings

2012-05-25 Thread Hans Hagen

On 25-5-2012 12:29, Marco wrote:

On 2012-05-20 Marconet...@lavabit.com  wrote:


the \typefile command does not obey the \usepath setting any more.


Still failing in current beta.


it was never part of the idea .. added in next beta


% file: test.tex
\usepath [code]
\starttext

   % fails
   % \typefile{somefile}

   % works
   \typefile{code/somefile}
\stoptext

% file: code/somefile
This should be printed.



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] \typefile does not obey global path settings

2012-05-20 Thread Marco
Hi,

the \typefile command does not obey the \usepath setting any more.
Older versions did (before beta 2011.07.13 20:14). Example:

% test.tex
\usepath [code]
\starttext
  Here is some source code:
  \typefile{somefile}
\stoptext

% code/somefile
This should be printed.


Marco


___
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] \typefile without breaking long lines

2010-11-16 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

is it possible to \setuptyping in the manner that long lines won't be broken?

So to get:

-\textwidth -
a

instead of:

aAA
AA

Thank you in advance.

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 244 062 238
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
___


[NTG-context] \typefile from n-th line

2010-10-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

I'd need to \typefile a file from n-th line (= ignoring first n-1 lines).

Is there such an option for \typefile macro? 
(http://wiki.contextgarden.net/Reference/en/typefile is silent.)

I tried:

\typefile[default][lines={10}]{a_file.txt} % Start at line 10

\typefile[default][lines={10,+1}]{a_file.txt} % Start at line 10, step = 1

\typefile[default][start=10]{a_file.txt} % Start at line 10

\typefile[default][from=10]{a_file.txt} % Start at line 10

No success.

(The last Ctx minimals, WinXP.)

Lukas

___
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] \typefile from n-th line

2010-10-15 Thread luigi scarso
2010/10/15 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz:
 Hello,

 I'd need to \typefile a file from n-th line (= ignoring first n-1 lines).

 Is there such an option for \typefile macro?
 (http://wiki.contextgarden.net/Reference/en/typefile is silent.)

 I tried:

 \typefile[default][lines={10}]{a_file.txt} % Start at line 10

 \typefile[default][lines={10,+1}]{a_file.txt} % Start at line 10, step = 1

 \typefile[default][start=10]{a_file.txt} % Start at line 10

 \typefile[default][from=10]{a_file.txt} % Start at line 10

 No success.

 (The last Ctx minimals, WinXP.)

 Lukas
Not an answer, but quick recipe:
With mkiv is trivial ; use lua to skip the first n-1 lines.
With  mkii just use luatex as lua interpreter to call with
\executesystemcommand  and then see previous point.


-- 
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] \typefile from n-th line

2010-10-15 Thread Henning Hraban Ramm


Am 2010-10-15 um 09:16 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:

I'd need to \typefile a file from n-th line (= ignoring first n-1  
lines).



\typefile[default][start=10]{a_file.txt} % Start at line 10



According to older ML messages and the source, \typefile[start=10]  
should work. Maybe it need stop also?

Otherwise it's undocumented.

see
http://source.contextgarden.net/tex/context/base/buff-ver.mkii?search=typefile 
 (MkII)
http://source.contextgarden.net/tex/context/base/buff-ver.mkiv?search=typefile 
 (MkIV)



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


Re: [NTG-context] \typefile from n-th line

2010-10-15 Thread Peter Münster
On Fri, Oct 15 2010, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
 
 I'd need to \typefile a file from n-th line (= ignoring first n-1 lines).

\starttext% 1
\typefile[range=3]{test.tex}  % 2
bla   % 3
bla   % 4
bla   % 5
bla   % 6
\stoptext % 7

See also: http://tracker.luatex.org/view.php?id=475

Cheers, Peter

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


Re: [NTG-context] \typefile from n-th line

2010-10-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello, it doesn't seem to work.

Let's have t-TypeF2.mkiv with the following content:

---
\setuptyping[default][bodyfont=small,style={\ttx\setupinterlinespace}] % 1
% 2
\starttext % 3
  \typefile[default][start=4]{t-TypeF2.mkiv} % = This file; 4
  \typefile[default][start=4,stop=99]{t-TypeF2.mkiv} % = This file; 5
  \typefile[default][lines={4,+1}]{t-TypeF2.mkiv} % = This file; 6
\stoptext % 7
---

If you see the result, all lines are printed in all cases.

Moreover, 4 and 99 are also printed in the front and at the end of the 
typed file in the second case.

2Luigi:


Not an answer, but quick recipe:
With mkiv is trivial ; use lua to skip the first n-1 lines.
With  mkii just use luatex as lua interpreter to call with
\executesystemcommand  and then see previous point.


I had also such idea, but I believed to be simply solvable even with the 
existing \typefile command - supposing there is start/stop line option (or it 
couldn't be so complicated to provide them). So I supposed the valid syntax is 
unknown for me.

Lukas


On Fri, 15 Oct 2010 10:00:10 +0200, Henning Hraban Ramm hra...@fiee.net wrote:


\typefile[default][start=10]{a_file.txt} % Start at line 10



According to older ML messages and the source, \typefile[start=10]
should work. Maybe it need stop also?
Otherwise it's undocumented.

see
http://source.contextgarden.net/tex/context/base/buff-ver.mkii?search=typefile
  (MkII)
http://source.contextgarden.net/tex/context/base/buff-ver.mkiv?search=typefile
  (MkIV)


--
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 244 062 238
Fax: +420 244 461 038

t-TypeF2.mkiv
Description: Binary data


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


Re: [NTG-context] \typefile from n-th line

2010-10-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .

... Yes, thanks, that's it:

\typefile[default][range={3,5}]{t-TypeF2.mkiv} % If also the upper limit is to 
be specified

Regards,

Lukas


On Fri, 15 Oct 2010 10:09:13 +0200, Peter Münster pmli...@free.fr wrote:


On Fri, Oct 15 2010, Procházka Lukáš Ing. - Pontex s. r. o. wrote:


I'd need to \typefile a file from n-th line (= ignoring first n-1 lines).


\starttext% 1
\typefile[range=3]{test.tex}  % 2
bla   % 3
bla   % 4
bla   % 5
bla   % 6
\stoptext % 7

See also: http://tracker.luatex.org/view.php?id=475

Cheers, Peter




--
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 244 062 238
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
___


[NTG-context] \typefile without the last n lines

2010-08-25 Thread Peter Münster
Hello,

Here a little feature request:

\starttext
\typefile[start=1, stop=-3]{test.tex} % printing this file without the
  % last 3 lines
% line to print
\stoptext % don't print this line
% don't print this line
% don't print this line

TIA for any help!
Peter

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


[NTG-context] typefile consorts (setup etc)

2009-10-06 Thread R. Bastian
Hello,

is there a way to get reserved words to bz printed \bf
(and maybe comments - \it, strings - \rm or another wise}

I think it is possible with lua+mk IV ; but i am working with mk II.



-- 
René Bastian
www.pythoneon.org
www.musiques-rb.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] \typefile with filenames with $ characters in their name

2009-06-28 Thread Henning Hraban Ramm

Am 2009-06-26 um 19:33 schrieb Gerben Wierda:

\typefile balks on filenames with $ characters in their names.  
Anything I can do about that?


Rename the file. It's an error if characters like that appear in a  
file name.


You could even rename it using Lua from within your TeX code.


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] \typefile with filenames with $ characters in their name

2009-06-28 Thread Gerben Wierda

On 28 Jun 2009, at 19:17, Henning Hraban Ramm wrote:


Am 2009-06-26 um 19:33 schrieb Gerben Wierda:

\typefile balks on filenames with $ characters in their names.  
Anything I can do about that?


Rename the file. It's an error if characters like that appear in a  
file name.



You could even rename it using Lua from within your TeX code.


In my book, moving to a beta product or not accepting what is a vaild  
filename according to the filesystem is a limitation of the program.  
Not ConTeXt or TeX defines what a valid filename is, the OS decides.


I do not decide what the names of these files are, someone else  
produces them, and my work flow should be able to handle all valid  
filenames.


I assume then the answer is no? (Con)TeX(t) can't handle this?

G
___
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] \typefile with filenames with $ characters in their name

2009-06-28 Thread Taco Hoekwater

Gerben Wierda wrote:
I do not decide what the names of these files are, someone else produces 
them, and my work flow should be able to handle all valid filenames.


I assume then the answer is no? (Con)TeX(t) can't handle this?


kpathsea can't handle files with $ signs in them, unless
the $ starts a variable it knows about (and that, it will
expand).

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] \typefile with filenames with $ characters in their name

2009-06-28 Thread luigi scarso
On Sun, Jun 28, 2009 at 8:59 PM, Gerben Wierda gerben.wie...@rna.nl wrote:

 On 28 Jun 2009, at 19:17, Henning Hraban Ramm wrote:

  Am 2009-06-26 um 19:33 schrieb Gerben Wierda:

  \typefile balks on filenames with $ characters in their names. Anything I
 can do about that?


 Rename the file. It's an error if characters like that appear in a file
 name.


  You could even rename it using Lua from within your TeX code.


 In my book, moving to a beta product or not accepting what is a vaild
 filename according to the filesystem is a limitation of the program. Not
 ConTeXt or TeX defines what a valid filename is, the OS decides.

TeX (and ConTeXt) try hard to be OS independant , so I find natural some
limitations


 I do not decide what the names of these files are, someone else produces
 them, and my work flow should be able to handle all valid filenames.

 Well, my experience is that leave to  the users this prerogative is not
safe.
I always transform a filename in safe filename, process it, and eventually
transform back the name .

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


[NTG-context] \typefile with filenames with $ characters in their name

2009-06-26 Thread Gerben Wierda
\typefile balks on filenames with $ characters in their names.  
Anything I can do about that?


G
___
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] \typefile with filenames with $ characters in their name

2009-06-26 Thread Hans Hagen

Gerben Wierda wrote:
\typefile balks on filenames with $ characters in their names. Anything 
I can do about that?


probeer eens:

\expanded{\typefile{\detokenize{}}}

-
  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] \typefile with filenames with $ characters in their name

2009-06-26 Thread Gerben Wierda


On 26 Jun 2009, at 22:40, Hans Hagen wrote:


Gerben Wierda wrote:
\typefile balks on filenames with $ characters in their names.  
Anything I can do about that?


probeer eens:

\expanded{\typefile{\detokenize{}}}


\def\typeSQLfile#1{\expanded{\typefile[SQL]{\detokenize{#1
\typeSQLfile{Library-procedures/hlx$requery.pls}

Does not work. File not found.

Nor does directly calling:

\expanded{\typefile{\detokenize{Library-procedures/hlx$requery.pls}}}




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



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

2008-11-10 Thread Hans Hagen
Aditya Mahajan wrote:

 \starttext
 \typefile{test-aditya-001.tex}
 \stoptext
 
 Ah, this also works here. The error only shows if the file does not have 
 an extension.

this is fixed (hack, awaiting a proper split of supp-fil into mkii and 
mkiv)

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

2008-11-10 Thread luigi scarso
On Mon, Nov 10, 2008 at 6:49 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Aditya Mahajan wrote:

  \starttext
  \typefile{test-aditya-001.tex}
  \stoptext
 
  Ah, this also works here. The error only shows if the file does not have
  an extension.

 this is fixed (hack, awaiting a proper split of supp-fil into mkii and
 mkiv)

 Hans

\starttext
\typefile{test-aditya-TEST}
\stoptext
where
test-aditya-TEST has
TEST
fails
with

! Undefined control sequence.
argument \filepath

\pathplusfile #1#2-#1
  \f!pathseparator #2
\mktypefileverbatim ...rs.typefile(\readfilename
  )}
\dosometyping ...rt }{\typingparameter \c!stop }}}
  \stopverbatimcolor
\stoppa...
\dotypefile ...else \dodotypefile [\v!file ][]{#3}
  \fi \fi
l.3 \typefile{test-aditya-TEST}

?

minimals-beta
Linux luigicasa-laptop 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008
i686 GNU/Linux
This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown
ConTeXt MtxRun | current version: 2008.42.10 15:11

PS
context --version gives current version: 2008.42.10 15:11

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


Re: [NTG-context] typefile

2008-11-10 Thread Hans Hagen
luigi scarso wrote:
 
 
 On Mon, Nov 10, 2008 at 6:49 PM, Hans Hagen [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:
 
 Aditya Mahajan wrote:
 
   \starttext
   \typefile{test-aditya-001.tex}
   \stoptext
  
   Ah, this also works here. The error only shows if the file does
 not have
   an extension.
 
 this is fixed (hack, awaiting a proper split of supp-fil into mkii and
 mkiv)
 
 Hans
 
 \starttext
 \typefile{test-aditya-TEST}
 \stoptext
 where
 test-aditya-TEST has
 TEST
 fails
 with
 
 ! Undefined control sequence.
 argument \filepath

bah, i'll fis this asap (when i do the split)


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

2008-11-10 Thread Aditya Mahajan
On Mon, 10 Nov 2008, Hans Hagen wrote:

 bah, i'll fis this asap (when i do the split)

For me this is not urgent as there is a manual workaround.

\def\filepath{the current working directory}

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


[NTG-context] typefile

2008-10-30 Thread Aditya Mahajan
Hi,

Something is wrong with \typefile in latest context in MKIV.

\starttext
\typefile{somefile}
\stoptext

(the file 'somefile' should exist)

gives

! Undefined control sequence.
argument \filepath

\pathplusfile #1#2-#1
   \f!pathseparator #2
\mktypefileverbatim ...rs.typefile(\readfilename
   )}
\dosometyping ...rt }{\typingparameter \c!stop }}}
   \stopverbatimcolor 
\stoppa...
\dotypefile ...else \dodotypefile [\v!file ][]{#3}
   \fi \fi
l.3 \typefile{somefile}


Also, in MKII, when the file does not exist, you get a warning message in 
the pdf output. In MKIV, there is no warning. Missing files are silently 
ignored.

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

2008-10-30 Thread luigi scarso
On Thu, Oct 30, 2008 at 8:09 PM, Aditya Mahajan [EMAIL PROTECTED] wrote:

 Hi,

 Something is wrong with \typefile in latest context in MKIV.

 \starttext
 \typefile{somefile}
 \stoptext

 (the file 'somefile' should exist)

 gives

 ! Undefined control sequence.
 argument \filepath

 \pathplusfile #1#2-#1
   \f!pathseparator #2
 \mktypefileverbatim ...rs.typefile(\readfilename
   )}
 \dosometyping ...rt }{\typingparameter \c!stop }}}
   \stopverbatimcolor
 \stoppa...
 \dotypefile ...else \dodotypefile [\v!file ][]{#3}
   \fi \fi
 l.3 \typefile{somefile}


 Also, in MKII, when the file does not exist, you get a warning message in
 the pdf output. In MKIV, there is no warning. Missing files are silently
 ignored.

 Aditya

it works here,with  minimals-beta

Linux luigicasa-laptop 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008
i686 GNU/Linux
This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown
ConTeXt MtxRun | current version: 2008.10.30 08:50

\starttext
\typefile{test-aditya-001.tex}
\stoptext



-- 
luigi


test-aditya-001.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
___


Re: [NTG-context] typefile

2008-10-30 Thread Aditya Mahajan
On Thu, 30 Oct 2008, luigi scarso wrote:

 On Thu, Oct 30, 2008 at 8:09 PM, Aditya Mahajan [EMAIL PROTECTED] wrote:

 Hi,

 Something is wrong with \typefile in latest context in MKIV.

 \starttext
 \typefile{somefile}
 \stoptext

 (the file 'somefile' should exist)

 gives

 ! Undefined control sequence.
 argument \filepath

 \pathplusfile #1#2-#1
   \f!pathseparator #2
 \mktypefileverbatim ...rs.typefile(\readfilename
   )}
 \dosometyping ...rt }{\typingparameter \c!stop }}}
   \stopverbatimcolor
 \stoppa...
 \dotypefile ...else \dodotypefile [\v!file ][]{#3}
   \fi \fi
 l.3 \typefile{somefile}


 Also, in MKII, when the file does not exist, you get a warning message in
 the pdf output. In MKIV, there is no warning. Missing files are silently
 ignored.

 Aditya

 it works here,with  minimals-beta

 Linux luigicasa-laptop 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008
 i686 GNU/Linux
 This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown
 ConTeXt MtxRun | current version: 2008.10.30 08:50

 \starttext
 \typefile{test-aditya-001.tex}
 \stoptext

Ah, this also works here. The error only shows if the file does not have 
an extension.

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

2008-10-30 Thread luigi scarso
On Thu, Oct 30, 2008 at 8:23 PM, Aditya Mahajan [EMAIL PROTECTED] wrote:

 On Thu, 30 Oct 2008, luigi scarso wrote:

  On Thu, Oct 30, 2008 at 8:09 PM, Aditya Mahajan [EMAIL PROTECTED]
 wrote:
 
  Hi,
 
  Something is wrong with \typefile in latest context in MKIV.
 
  \starttext
  \typefile{somefile}
  \stoptext
 
  (the file 'somefile' should exist)
 
  gives
 
  ! Undefined control sequence.
  argument \filepath
 
  \pathplusfile #1#2-#1
\f!pathseparator #2
  \mktypefileverbatim ...rs.typefile(\readfilename
)}
  \dosometyping ...rt }{\typingparameter \c!stop }}}
\stopverbatimcolor
  \stoppa...
  \dotypefile ...else \dodotypefile [\v!file ][]{#3}
\fi \fi
  l.3 \typefile{somefile}
 
 
  Also, in MKII, when the file does not exist, you get a warning message
 in
  the pdf output. In MKIV, there is no warning. Missing files are silently
  ignored.
 
  Aditya
 
  it works here,with  minimals-beta
 
  Linux luigicasa-laptop 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC
 2008
  i686 GNU/Linux
  This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown
  ConTeXt MtxRun | current version: 2008.10.30 08:50
 
  \starttext
  \typefile{test-aditya-001.tex}
  \stoptext

 Ah, this also works here. The error only shows if the file does not have
 an extension.


Confirmed

\starttext
\typefile{test-aditya-TEST}
\stoptext

where test-aditya-TEST is
TEST

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


Re: [NTG-context] \typefile with a file in \usepath fails

2006-04-30 Thread Hans Hagen
nico wrote:
 Hello,

 \typefile does not output a file not in the current directory but  
 available from a path defined by \usepath. It sounds like a bug since the  
 file is actually found; if not, a message telling that the file does not  
 exist would be printed.

 Example:
 \usepath[/path/to/my/file]
 \typefile{filebasename}

   
what version of context do you run? i though that i added support for that some 
time ago 

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
-

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


Re: [NTG-context] \typefile with a file in \usepath fails

2006-04-30 Thread Hans Hagen
nico wrote:
 On Sun, 30 Apr 2006 12:33:20 +0200, Hans Hagen [EMAIL PROTECTED] wrote:

   
 nico wrote:
 
 Hello,

 \typefile does not output a file not in the current directory but
 available from a path defined by \usepath. It sounds like a bug since  
 the
 file is actually found; if not, a message telling that the file does not
 exist would be printed.

 Example:
 \usepath[/path/to/my/file]
 \typefile{filebasename}


   
 what version of context do you run? i though that i added support for  
 that some time ago
 

 Version 2006.04.27.

 \dodotypefile checks where the file is, but a following call to  
 \makelocreadfilename seems to set improperly \readfilename, but I'm not  
 sure to understand correctly the code.
   
\tracefilestrue

-- 

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

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


Re: [NTG-context] \typefile with a file in \usepath fails

2006-04-30 Thread nico
On Sun, 30 Apr 2006 15:22:49 +0200, Hans Hagen [EMAIL PROTECTED] wrote:

 what version of context do you run? i though that i added support for
 that some time ago

 Version 2006.04.27.

 \dodotypefile checks where the file is, but a following call to
 \makelocreadfilename seems to set improperly \readfilename, but I'm not
 sure to understand correctly the code.

 \tracefilestrue

Hm, verbatim seems not using the file interface: there's no trace about  
file found or not related to typefile. Another thing I did is to patch  
\processfileverbatim to trace what is actually the file used:

\def\processfileverbatim#1%
   {\par
\bgroup
\writestatus{jo}{file=#1}
...

And doing:

\typefile{list1.tex} % file in the current directory (ok)
\typefile{test-001.tex} % file in the \usepath directory (nok)
\typefile{joke} % file that does not exist (ok, an error is printed)
\typefile{pos2.tex} % again a local existing file (ok)

Gives the traces:

systems : begin file typefile at line 79
jo  : file=list1.tex
systems : searching for pdfr-ec on tex path
systems : pdfr-ec located
(/usr/local/share/texmf-local/tex/context/base/pdfr-ec.tex)
jo  : file=test-001.tex
verbatim: file joke does not exist
jo  : file=pos2.tex

So, the actual file path is not used, but it is the argument passed that  
is always used.

Regards,
BG


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


Re: [NTG-context] \typefile with a file in \usepath fails

2006-04-30 Thread Hans Hagen
nico wrote:
 On Sun, 30 Apr 2006 15:22:49 +0200, Hans Hagen [EMAIL PROTECTED] wrote:

   
 what version of context do you run? i though that i added support for
 that some time ago
 
 Version 2006.04.27.

 \dodotypefile checks where the file is, but a following call to
 \makelocreadfilename seems to set improperly \readfilename, but I'm not
 sure to understand correctly the code.

   
 \tracefilestrue

 
 Hm, verbatim seems not using the file interface: there's no trace about  
 file found or not related to typefile. Another thing I did is to patch  
 \processfileverbatim to trace what is actually the file used:

 \def\processfileverbatim#1%
{\par
 \bgroup
 \writestatus{jo}{file=#1}
 ...

 And doing:

 \typefile{list1.tex} % file in the current directory (ok)
 \typefile{test-001.tex} % file in the \usepath directory (nok)
 \typefile{joke} % file that does not exist (ok, an error is printed)
 \typefile{pos2.tex} % again a local existing file (ok)

 Gives the traces:

 systems : begin file typefile at line 79
 jo  : file=list1.tex
 systems : searching for pdfr-ec on tex path
 systems : pdfr-ec located
 (/usr/local/share/texmf-local/tex/context/base/pdfr-ec.tex)
 jo  : file=test-001.tex
 verbatim: file joke does not exist
 jo  : file=pos2.tex

 So, the actual file path is not used, but it is the argument passed that  
 is always used.

   
it's

\makelocreadfilename{#3}%

that does the search 

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

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


Re: [NTG-context] \typefile with a file in \usepath fails

2006-04-30 Thread nico
On Sun, 30 Apr 2006 18:59:53 +0200, Hans Hagen [EMAIL PROTECTED] wrote:

 nico wrote:
 On Sun, 30 Apr 2006 15:22:49 +0200, Hans Hagen [EMAIL PROTECTED] wrote:


 what version of context do you run? i though that i added support for
 that some time ago

 Version 2006.04.27.

 \dodotypefile checks where the file is, but a following call to
 \makelocreadfilename seems to set improperly \readfilename, but I'm  
 not
 sure to understand correctly the code.


 \tracefilestrue


 Hm, verbatim seems not using the file interface: there's no trace about
 file found or not related to typefile. Another thing I did is to patch
 \processfileverbatim to trace what is actually the file used:

 \def\processfileverbatim#1%
{\par
 \bgroup
 \writestatus{jo}{file=#1}
 ...

 And doing:

 \typefile{list1.tex} % file in the current directory (ok)
 \typefile{test-001.tex} % file in the \usepath directory (nok)
 \typefile{joke} % file that does not exist (ok, an error is printed)
 \typefile{pos2.tex} % again a local existing file (ok)

 Gives the traces:

 systems : begin file typefile at line 79
 jo  : file=list1.tex
 systems : searching for pdfr-ec on tex path
 systems : pdfr-ec located
 (/usr/local/share/texmf-local/tex/context/base/pdfr-ec.tex)
 jo  : file=test-001.tex
 verbatim: file joke does not exist
 jo  : file=pos2.tex

 So, the actual file path is not used, but it is the argument passed that
 is always used.

 it's

 \makelocreadfilename{#3}%

 that does the search

Really? As far as I understand the code, it sets \readfilename and  
\locreadfilename in a clean way, and that's all:

\def\makelocreadfilename#1%
   {\sanitizefilename#1\to\readfilename
\checkfilename\readfilename
\ifcase\kindoffile
  \edef\locreadfilename{\pathplusfile\f!currentpath{#1}}%
\fi}

Anyway, if it's that call that should expand the filename, it does not  
work. In \dodotypefile the search is done previously by a call to  
\doifinputfileelse that sets \filepath (set again to \readfilename but I  
don't know why), but this result is not used since \readfilename is re-set  
to #3 by \makelocreadfilename. But you know this far better than I :-)

Regards,
BG
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \typefile with a file in \usepath fails

2006-04-30 Thread nico
On Sun, 30 Apr 2006 18:59:53 +0200, Hans Hagen [EMAIL PROTECTED] wrote:

 nico wrote:
 On Sun, 30 Apr 2006 15:22:49 +0200, Hans Hagen [EMAIL PROTECTED] wrote:


 what version of context do you run? i though that i added support for
 that some time ago

 Version 2006.04.27.

 \dodotypefile checks where the file is, but a following call to
 \makelocreadfilename seems to set improperly \readfilename, but I'm  
 not
 sure to understand correctly the code.
 it's

 \makelocreadfilename{#3}%

 that does the search

With the following patch it works: the \filepath found is used to expand  
the filename. \makelocreadfilename is still used, but i don't understand  
its role.

\def\dodotypefile[#1][#2]#3%
   {\bgroup
\let\currenttypingclass\??tp
\edef\currenttyping{#1}%
\typingparameter\c!before
\doiflocfileelse{#3}
  \donetrue % sets \readfilename
  {\doifinputfileelse{#3}
 {\donetrue\def\readfilename{\pathplusfile{\filepath}{#3}}} % here  
the filename is absolute
 \donefalse}%
\ifdone
  \startpacked % includes \bgroup
   \dosetuptypelinenumbering{#2}%
   \doifinset{\typingparameter\c!option}{\v!commands,\v!slanted,\v!normal}
 {\setuptyping[#1][\c!option=\v!none]}%
   \doif{\typingparameter\c!option}\v!color
 {\expandafter\aftersplitstring#3\at.\to\prettyidentifier
  \settypingparameter\c!option{\prettyidentifier}}%
   \initializetyping
   \startverbatimcolor
   % still use this macro, but applied to \readfilename instead of #3
   \makelocreadfilename{\readfilename}%
   \doifundefinedelse{\currenttypingclass#3\v!global\c!start}
   ...

Now it can wait a real fix :-)

Regards,
BG
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \typefile with a file in \usepath fails

2006-04-28 Thread nico
Hello,

\typefile does not output a file not in the current directory but  
available from a path defined by \usepath. It sounds like a bug since the  
file is actually found; if not, a message telling that the file does not  
exist would be printed.

Example:
\usepath[/path/to/my/file]
\typefile{filebasename}

Regards,
BG
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \typefile problem

2006-03-25 Thread Hans Hagen
Thomas A. Schmitz wrote:
 Yes, same here, the file is missing, so generating the formats runs  
 into trouble:

 loading : MetaPost Graphics / Stand Alone Graphics
 ) (/usr/local/teTeX/share/texmf.local/tex/context/base/core-pos.tex
 loading : Context Positioning Support
 )
 ! I can't find file `core-bar.tex'.
 l.299 \input core-bar.tex
   
oeps, i'll correct this 

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
-

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


[NTG-context] \typefile problem

2006-03-24 Thread Tobias Burnus
Hello,

I have: ConTeXt  ver: 2006.03.23 09:57  fmt: 2006.3.23  int: english 
mes: english

and get this cryptic error message. I'm positiv that it used to work
with an older version.

Any ideas?

---
(./texexec.tuo) (/system/home/tob/texmf/tex/context/base/pdfr-ec.tex)
! Missing number, treated as zero.
to be read again
   f
\currenttyping -f
  ile
\checkverbatimfileline ...enumber \currenttyping
  \c!start \else \ifnum
\ver...

\presetnormalverbatimline ...\doflushverbatimline
  \global \chardef
\verbatim...

\readline ...line \else \presetnormalverbatimline
  \fi \fi \fi \fi
\handlever...

\processfileverbatim ...expandafter \readline \fi
  \closein
\verbatiminput \e...
...
l.39 \typefile{/dev/shm/tmp_0.9.xtls}
-

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


Re: [NTG-context] \typefile problem

2006-03-24 Thread Peter Rolf
Hi Tobias,

Tobias Burnus wrote:
 Hello,
 
 I have: ConTeXt  ver: 2006.03.23 09:57  fmt: 2006.3.23  int: english 
 mes: english
 
 and get this cryptic error message. I'm positiv that it used to work
 with an older version.
 
 Any ideas?
 
core-ver.tex:

\def\dodotypefile[#1][#2]#3%
  {\bgroup
   \let\currenttypingclass\??tp
   \edef\currenttyping{#1}%
   \typingparameter\c!before
   \doiflocfileelse{#3}
 \donetrue % sets \readfilename
 {\doifinputfileelse{#3}
{\donetrue\let\readfilename\filepath}
\donefalse}%
   \ifdone
 \startpacked % includes \bgroup
  \dosetuptypelinenumbering{#2}%
  \doifinset{\\currenttyping\c!option}{\v!commands,\v!slanted,\v!normal}
   ^^

looks like a typo. Hope that helps,

Peter


 ---
 (./texexec.tuo) (/system/home/tob/texmf/tex/context/base/pdfr-ec.tex)
 ! Missing number, treated as zero.
 to be read again
f
 \currenttyping -f
   ile
 \checkverbatimfileline ...enumber \currenttyping
   \c!start \else \ifnum
 \ver...
 
 \presetnormalverbatimline ...\doflushverbatimline
   \global \chardef
 \verbatim...
 
 \readline ...line \else \presetnormalverbatimline
   \fi \fi \fi \fi
 \handlever...
 
 \processfileverbatim ...expandafter \readline \fi
   \closein
 \verbatiminput \e...
 ...
 l.39 \typefile{/dev/shm/tmp_0.9.xtls}
 -
 
 Tobias
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context
 
 

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


Re: [NTG-context] \typefile problem

2006-03-24 Thread Peter Rolf
Peter Rolf wrote:

   \doifinset{\\currenttyping\c!option}{\v!commands,\v!slanted,\v!normal}
^^
looks like a bad placed marker :)

The problem is the double backslash (should be

..{\currenttyping\c!option}..

Peter

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


Re: [NTG-context] \typefile problem

2006-03-24 Thread Hans Hagen
Peter Rolf wrote:
 Peter Rolf wrote:

   
   \doifinset{\\currenttyping\c!option}{\v!commands,\v!slanted,\v!normal}
^^
 
 looks like a bad placed marker :)

 The problem is the double backslash (should be

 ..{\currenttyping\c!option}..
   
it's worse, more is wrong 

i'm uploading a fixed version; for the source readers: 

- page-str.tex
- page-plg.tex
- core-bar.tex 
- m-streams.tex 

are added; streams are rather experimental but promissing 

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
-

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


Re: [NTG-context] \typefile problem

2006-03-24 Thread nico
On Fri, 24 Mar 2006 22:50:09 +0100, Hans Hagen [EMAIL PROTECTED] wrote:

 it's worse, more is wrong

 i'm uploading a fixed version; for the source readers:

 - page-str.tex
 - page-plg.tex
 - core-bar.tex
 - m-streams.tex

 are added; streams are rather experimental but promissing

Strange, I don't find core-bar.tex in 2006.03.24 22:36 cont-tmf.zip.

Regards,
BG
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \typefile problem

2006-03-24 Thread Thomas A. Schmitz
Yes, same here, the file is missing, so generating the formats runs  
into trouble:

loading : MetaPost Graphics / Stand Alone Graphics
) (/usr/local/teTeX/share/texmf.local/tex/context/base/core-pos.tex
loading : Context Positioning Support
)
! I can't find file `core-bar.tex'.
l.299 \input core-bar.tex

Best

Thomas

On Mar 24, 2006, at 11:30 PM, nico wrote:

 On Fri, 24 Mar 2006 22:50:09 +0100, Hans Hagen [EMAIL PROTECTED] wrote:

 it's worse, more is wrong

 i'm uploading a fixed version; for the source readers:

 - page-str.tex
 - page-plg.tex
 - core-bar.tex
 - m-streams.tex

 are added; streams are rather experimental but promissing

 Strange, I don't find core-bar.tex in 2006.03.24 22:36 cont-tmf.zip.

 Regards,
 BG
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context

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