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 n

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[

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

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

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 Ma

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

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

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

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 Got

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 an

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

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 ca

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 c

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/5fe67e0bfe781ce0dde776fb1556f3

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

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 the

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 document

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

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 m

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 an

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

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

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/5fe67e0bfe781c

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

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 isolate

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

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 no

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

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 pr

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} \usep

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

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 wrote: Procházka Lukáš Ing. - Pontex s. r. o. 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?

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

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 bes

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

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: verbatims > file abc does not exist ah .. but it makes sense to be explicit in what you want t

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-

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", Absolu

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 m

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

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 directo

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

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

2012-05-25 Thread Marco
On 2012-05-25 Hans Hagen wrote: > >> the \typefile command does not obey the \usepath setting any more. > > > > Still failing in current beta. > > it was never part of the idea .. Then it happened to work by accident. I am currently revising an old document (but already MkIV) and it doesn't use

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 Marco 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{somefil

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

2012-05-25 Thread Marco
On 2012-05-20 Marco 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 pri

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 wrote: On Fri, Oct 15 2010, Procházka Lukáš Ing. - Pontex s. r. o. wrote: I'd need to \typefile a file

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

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

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

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. : > 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={1

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

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

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 r

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

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{

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

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 yo

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] > > wrote: > > Aditya Mahajan wrote: > > >> \starttext > >> \typefile{test-aditya-001.tex} > >> \stoptext > > > > Ah, this also works here. The error

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

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

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. > >> > >> \st

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

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. > \filepath > > \pa

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

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

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 cal

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 t

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

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

2006-04-30 Thread nico
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 t

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

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

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

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 Str

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 wro

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 mail

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% {\b