%
TEXMFCACHE=%TEMP%
VARTEXMF=%TEXMFCACHE%\texmf-var
TEXMF={$TEXMFOS,$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFEXTRA,!!$TEXMFMAIN}
TEXMFDBS=$TEXMF
RUBYLIB=%TEXMFLOCAL%\SCRIPTS\CONTEXT\RUBY;
___
If your question is of interest
not really used
TEXMF={$TEXMFOS,$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFEXTRA,!!$TEXMFMAIN}
yes
TEXMFDBS=$TEXMF
dependes on kpse version i think
RUBYLIB=%TEXMFLOCAL%\SCRIPTS\CONTEXT\RUBY;
often not needed
is defined, but I see UNIX-style $var here and there. Should
these be expanded at define-time also, or are these for the programs
that use them to understand?
I've got Perl, Python, and Ruby installed, I'm using mswincontext
and upgrades thereto as the only TeX distribution on the machine; I'd
like
mimimal distribution (56Mb), install or require Ruby
too (not included in minimals?). This installation will NOT be able to coexist
with MikTeX or TeXLive, because settings will clash.
That's all news and thank you all!!
Best,
Vyatcheslav Yatskovsky
regex will be
\\(.\{-}\);
I guess that $1 (the first group, that is everything that matches .-)
will be compared with mojcaentities table and replaced accordingly.
This looks like a really nice feature of lua. In Ruby and Vim, I often
find myself writing a bunch of similar regex, and always wished
.
indeed
This looks like a really nice feature of lua. In Ruby and Vim, I often
find myself writing a bunch of similar regex, and always wished there
was something like what lua does.
the nice thing about many lua feature is that less code (lua c code)
behaves more powerful
dify texmfstart
to use "#!/usr/local/bin/ruby" rather than "#!/usr/bin/env ruby".
However, after removing the "=", I get a different error:
luatools --generate
Missing script file
Even if I try the entire command line as given
texlua --luaonly luatools.lua --gene
I also have to modify texmfstart
to use "#!/usr/local/bin/ruby" rather than "#!/usr/bin/env ruby".
However, after removing the "=", I get a different error:
luatools --generate
Missing script file
Even if I try the entire command line as given
texlua --luaonly luatools
my scripts look like this:
ctxtools
#!/bin/sh
texmfstart
/usr/local/texlive/texmf-local/scripts/context/ruby/ctxtools.rb "$@"
texexec
#!/bin/sh
texmfstart
/usr/local/texlive/texmf-local/scripts/context/ruby/texexec.rb "$@"
luatools
#!/bin/sh
luatex --luaonly=luatools.lua "$@&
,!!$TEXMFMAIN}
TEXMFDBS=$TEXMF
TEXFORMATS=i:\context\tex\texmf-mswin/web2c/{$engine,}
MPMEMS=i:\context\tex\texmf-mswin/web2c/{$engine,}
TEXPOOL=i:\context\tex\texmf-mswin/web2c/{$engine,}
MPPOOL=i:\context\tex\texmf-mswin/web2c/{$engine,}
RUBYLIB=i:\context\tex\texmf-local\SCRIPTS\CONTEXT\RUBY;
PATH
Thanks
I edited ~/.bash_profile
adding
On 10 Sep 2007, at 19:26, Henning Hraban Ramm wrote:
export PATH='$PATH:/usr/texbin'
alias texetex='texexec --xtx'
calling from Terminal
texetex /test/xetest.tex
I'm having
env: ruby: No such file or directory
Best
I'm having
env: ruby: No such file or directory
You should surround the PATH line with double quotes (), not simple
ones (').
___
If your question is of interest to others as well, please add an entry to the
Wiki
Am 2007-09-11 um 12:44 schrieb Arthur Reutenauer:
I'm having
env: ruby: No such file or directory
You should surround the PATH line with double quotes (), not simple
ones (').
Sorry, I'm used to write Python (where or ' doesn't matter) or PHP
(where I normally use 's)...
Never post
be that the space in path
name is causing problems, but I'm not sure.
I just tried the following (although I don't have any windows around):
cd /tmp
mkdir bla bla
cd bla bla
ln -s path-to-context mycontext
cd mycontext
. setuptex
texexec --make --all
and got
ruby: No such file or directory -- /tmp/bla
--all
and got
ruby: No such file or directory -- /tmp/bla (LoadError)
(Because it's bla bla, not bla.)
But this has failed already one step before yours.
(Besides that: are your folders write-protected? Since mktexlsr
complains about unable to write to ...)
Mojca
On 7/6/07, Henning Hraban Ramm wrote:
Am 2007-07-03 um 17:59 schrieb Wolfgang Werners-Lucchini:
Sorry, the publicly available LilyPond module is outdated. Try the
attached one.
I delayed the publishing of my latest version because Ruby texexec
had a bug that prevented lilypond from being
gs
08.08.2007 17:31DIR perl
08.08.2007 17:31DIR ruby
08.08.2007 17:32DIR scite
12.08.2007 04:04DIR tex
08.08.2007 17:31DIR xmllib
When I run cscite.bat it sets some env. vars, and everything within the sci-te
editor works
Hello Wolfgang,
The otftotfm documentation is exemplary!
It is, indeed.
I would like to volunteer to help writing such docs for texfont or
otfinstall. But it is very difficult to get the information. Not all
of us are able to read sourcecode in perl and ruby and lua.
Well, as propably
On 8/8/07, Peter Rolf [EMAIL PROTECTED] wrote:
So you don't even need lua anymore.
i see. but on windows you waste more than 7mb disk space this way.
installing the lua binaries costs only 288kb. so where is the benefit?
- no need to install anything else (no huge ruby/perl or whatever
ruby/perl or whatever)
- bytcode compiler in sync with luatex internals
- texlua has the libs that we need built in
it's just that i don't see the need for three identical files, when you
can use one with different (mode switching) parameters. yes, i know.
it's an early beta.
If you're
as advantage
- no need to install anything else (no huge ruby/perl or whatever)
- bytcode compiler in sync with luatex internals
- texlua has the libs that we need built in
alternatives:
-- texlua.cmd --
@echo off
setlocal
set ownpath=%~dp0%
%ownpath%luatex --luaonly %*
endlocal
and similar for texluac
meg gave as advantage
- no need to install anything else (no huge ruby/perl or whatever)
- bytcode compiler in sync with luatex internals
- texlua has the libs that we need built in
i see the advantages :)
it's just that i don't see the need for three identical files, when you
can use one
be a better way.
these 7 meg gave as advantage
- no need to install anything else (no huge ruby/perl or whatever)
- bytcode compiler in sync with luatex internals
- texlua has the libs that we need built in
has to do with unix where the shebang line will only work with texlua
since luatex --luaonly
Peter Rolf wrote:
Hans Hagen schrieb:
Hi,
ConTeXt MKiV goes beta.
no big problems on windows. only
- texmfstart.exe is missing in the binaries
i noticed this, somehow there is/was a problem with the ruby to exe
conversion
- pdftex should be updated to 1.40.5
will happen in due time
Hans Hagen schrieb:
Peter Rolf wrote:
Hans Hagen schrieb:
Hi,
ConTeXt MKiV goes beta.
no big problems on windows. only
- texmfstart.exe is missing in the binaries
i noticed this, somehow there is/was a problem with the ruby to exe
conversion
- pdftex should be updated to 1.40.5
the script didn't support Semibold, which to
me is very essential. The Bold version of AGaramondPro doesn't have any
small caps, and Semibold just looks beter.
And if I understand the script correctly, the font in converted into
static versions supporting OsF and Sc, right? (Ruby isn't very readable,
when
and what the steps are.
Patrick
The otftotfm documentation is exemplary!
I would like to volunteer to help writing such docs for texfont or
otfinstall. But it is very difficult to get the information. Not all
of us are able to read sourcecode in perl and ruby and lua.
Wolfgang
bolditalic GaramondPremrPro-BdIt.otf
--
Put the files in otf/adobe/garamond and run
ruby otfinst.rb -f otf
Patrick
___
If your question is of interest to others as well, please
.
Next we used the ruby library hpricot to retrieve the web document and
filter it into a context document. This step was interesting and I
would like to sharing the code with anybody interested. I am a novice Ruby
programmer, so the code may be far from perfect .. nevertheless.
saji
the publishing of my latest version because Ruby texexec
had a bug that prevented lilypond from being called, I guess that's
gone, but I had no time to check yet. And I didn't adapt the module
to LilyPond 2.11, too. (2.10.2x should work.)
I don't know if inline LilyPond worked at any time, though; I
Thanks all, Taco, Mojca, and Hans!
I tried your suggestions and finally decided to install TeXLive with
ruby, which let me compile tex files and get pdf output. Thanks again!
_
In-Hee Park
[2007-06-24.Sun.10:03am] Mojca Miklavec wrote `Re: [NTG-context] cannot...'
Also, be aware
script like sgf2mpost, I don't know how to if there is an easy way
to
determine how many steps does the sgf include.
I didn't mean using sgf2mpost script directly, but to use it as a help
when creating a new one [in ruby for example].
If I solved the sgf problem, I think I can input a game manually
Oliver Buerschaper wrote:
Hi all,
I'm in the middle of putting together a native Mac OS X edition of
ConTeXt Minimal ... for this I need to know which version of Ruby is
minimally required by the latest ConTeXt release. (It wouldn't hurt
though to know this for older ConTeXt versions
Hi all,
I'm in the middle of putting together a native Mac OS X edition of
ConTeXt Minimal ... for this I need to know which version of Ruby is
minimally required by the latest ConTeXt release. (It wouldn't hurt
though to know this for older ConTeXt versions, too ;-) Any help
appreciated
Oliver Buerschaper wrote:
Hi all,
I'm in the middle of putting together a native Mac OS X edition of
ConTeXt Minimal ... for this I need to know which version of Ruby is
minimally required by the latest ConTeXt release. (It wouldn't hurt
though to know this for older ConTeXt versions
end
end
BTW, using p as a variable name is not a good idea in ruby. p prints
out the output of inspect, and is useful while debugging programs.
Compare
a = /ad?/
b = a.match(Dad)
puts b
p b
puts b.inspect
Aditya
output.
If I was in your place, I would write a ruby (or lua ;) parser (the
file above can help you, but you can probably parse the input in a
much more clever efficient way with ruby) + metapost code generator.
Then you write a ConTeXt module with
\startSGFscript{name} or \startSGFfile
::finalizer method. In /scritps/ruby/base/texutil.rb change
def MyExtras::finalizer(logger)
unless (ENV[CTX.TEXUTIL.EXTRAS] =~ /^(no|off|false|0)$/io) ||
(ENV[CTX_TEXUTIL_EXTRAS] =~ /^(no|off|false|0)$/io) then
@@programs.each do |p|
cmd = @@programs[p.to_i] #AM: why p.to_i
Am 2007-05-14 um 23:39 schrieb Henning Hraban Ramm:
Did you try old Perl texexec?
(As I wrote several times, LilyPond doesn't get called - or one time
at max - with Ruby texexec.)
But it seems to need one Ruby run afterwards.
I tried to track down my problem with texexec calling LilyPond
? Is there a setting
somewhere in my texlive instllation that I can tweak? Should I do
surgery on texexec itself? (Never fooled with Ruby, but there is
always a first time.)
--
John Culleton
Able Indexing and Typesetting
Precision typesetting (tm) at reasonable cost.
Satisfaction guaranteed.
http
?
Did you try old Perl texexec?
(As I wrote several times, LilyPond doesn't get called - or one time
at max - with Ruby texexec.)
But it seems to need one Ruby run afterwards.
Sorry, I can't help you further, I just don't understand most of the
TeX internals needed.
Greetlings from Lake
a known problem that ConTeXt versions on CTAN are often
outdated, too.)
I should update the contextgarden version, but I wanted to wait if
Aditya could find the error with Ruby texexec and clean up the code a
bit.
In any case, just take the example from the file Hraban just posted
as you use more
than one LilyPond snippet - at the moment the Ruby texexec doesn't
process more than one, the old Perl texexec does, though.
Aditya is hunting the bug (I hope).
Please find attached my latest version of t-lilypond (has some more
options).
BTW I always check my LilyPond code
Ahoi!
While processing my LilyPond/ConTeXt songbook, I experience still the
same behaviour as in 2006-10:
The checking, if a LilyPond buffer/temp file has changed, works only
with the old Perl texexec, the recent Ruby version creates/processes
the files only if they're missing completely
On Fri, 4 May 2007, Henning Hraban Ramm wrote:
Ahoi!
While processing my LilyPond/ConTeXt songbook, I experience still the
same behaviour as in 2006-10:
The checking, if a LilyPond buffer/temp file has changed, works only
with the old Perl texexec, the recent Ruby version creates/processes
.
Actually it was easy, and I remember to have that problem reported
when I enhanced the LilyPond module:
It says the following with *-1.tmp for every song, i.e. the counter
doesn't work in the Ruby version:
TeXUtil | running texmfstart --ifchanged=prd_winternacht-
lilypond-1.tmp --exec bin:lilypond
, it will also
affect the R
module.
Actually it was easy, and I remember to have that problem reported
when I enhanced the LilyPond module:
It says the following with *-1.tmp for every song, i.e. the counter
doesn't work in the Ruby version:
TeXUtil | running texmfstart --ifchanged
Am 2007-05-04 um 21:15 schrieb Aditya Mahajan:
\global\advance\lily!figures\plusone
\edef\lily!filename{\bufferprefix lilypond-\the\lily!figures}
...
\edef\LP{texmfstart --ifchanged=\lily!filename.tmp --exec
bin:lilypond -b eps -dno-gs-load-fonts -dinclude-eps-fonts \lily!
filename.tmp}
Am 2007-05-04 um 21:50 schrieb Henning Hraban Ramm:
\global\advance\lily!figures\plusone
\edef\lily!filename{\bufferprefix lilypond-\the\lily!figures}
...
\edef\LP{texmfstart --ifchanged=\lily!filename.tmp --exec
bin:lilypond -b eps -dno-gs-load-fonts -dinclude-eps-fonts \lily!
On Fri, 4 May 2007, Henning Hraban Ramm wrote:
Am 2007-05-04 um 21:50 schrieb Henning Hraban Ramm:
\global\advance\lily!figures\plusone
\edef\lily!filename{\bufferprefix lilypond-\the\lily!figures}
...
\edef\LP{texmfstart --ifchanged=\lily!filename.tmp --exec
bin:lilypond -b eps
at all (only placeholders), while normally also
the Ruby script does create something...
And remember: It works with Perl texexec!
Maybe --ifchanged in not honored at all and lilypond is run every
time, irrespective of whether the snippet has changed or not.
No, it works completely correct
on Windows XP and I am using the standalone ConTeXt distribution
from the 22nd March 2007. When I came to install the module, I found
that it was already included in the distribution. I have installed the
distribution under C:\ConTeXt\ along with Perl (C:\perl\) and Ruby
(C:\ruby\). What is non
the tail end of the last error I mentioned in a
previous email):
system(texmfstart bin:vim -u NONE -e -c \set noswapfile\ -c \set tabstop=8\
-c \set cp\ -c \syntax on\ -c \set syntax=ruby\ -c \let contextstartli
ne=1\ -c \let contextstopline=0\ -c \source kpse:2context.vim\ -c \wqa\
c_Implementation
\set tabstop=8\
-c \set cp\
-c \syntax on\
-c \set syntax=ruby\
-c \let contextstartline=1\
-c \let contextstopline=0\
-c \source kpse:2context.vim\
-c \wqa\
c_Implementation-vimsyntax.tmp
Aditya
unnessary configurations
Line 312 after:
-u NONE % No need to read unnessary configurations
Line 324 before:
#1}}
Line 324 after:
#1}}
I never really understood how quoting behaves in the tex-ruby-vim
chain. Something is still fishy there as the module
Hi,
the following command works with the PERL but not with the RUBY version.
Is this option obsolete or simply not yet implemented:
(texmfstart) texexec --pdfarrange --paper=a5a4 --print=up test.pdf
texexec: works
texmfstart texexec:
! Missing number, treated as zero.
to be read again
Tobias Burnus wrote:
Hi,
the following command works with the PERL but not with the RUBY version.
Is this option obsolete or simply not yet implemented:
(texmfstart) texexec --pdfarrange --paper=a5a4 --print=up test.pdf
The option --paper should become --papersize.
The shortcutted form
2007/4/5, Tobias Burnus [EMAIL PROTECTED]:
Hi,
the following command works with the PERL but not with the RUBY version.
Is this option obsolete or simply not yet implemented:
(texmfstart) texexec --pdfarrange --paper=a5a4 --print=up test.pdf
Hi Tobias,
replace --paper by --paperformat
, which used to support LaTeX input as well until
ConTeXt has switched to ruby (and there should be no reason why it
would not support that now).
so some user (like me for example) don't
use latex anymore from some year at least.
Exactly that was the problem: no LaTeX user has ever updated
to change it everytime before an update :-)
Since ruby treats tha call to Net::HTTP::Proxy(proxy_addr,
proxy_port).new(site)
without giving proxy_addr and proxy_port the same way as Net::HTTP.new
(site),
perhaps Hans can change ctxtools.rb in this way.
I would like to have a command line like:
ctxtools
and ruby.
-Sanjoy
`Not all those who wander are lost.' (J.R.R. Tolkien)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
features. Then, I was no longer happy
with perl. Then, the XML format was not complete enough to cover all
of the nice extensions in texshow-web. Even later, we wanted to create
a local http server using ruby (and reuse the texshow-web code), but we
could not figure out how to make that work reliably
Thanks. From reading the mails I can't see a solution. Perhaps
Sanjoy knows one.
I don't know, unfortunately. Hans sent me a proposed fix, but it
didn't work. One problem is that passing multiple options is working
on Hans's setup, so the problem is elusive. I need to learn a bit of
ruby
On 2007-02-15, at 18:16.0, Vyatcheslav Yatskovsky wrote:
1) How can I integrate ruby/perl scripts into a .tex document? (I
want to create a CD cataloguing tool and gonna use script for
reading CD file list).
By coincidence I've just written something about this too. Not for
ruby/perl
On Sat, 17 Feb 2007, [EMAIL PROTECTED] wrote:
On 2007-02-15, at 18:16.0, Vyatcheslav Yatskovsky wrote:
1) How can I integrate ruby/perl scripts into a .tex document? (I
want to create a CD cataloguing tool and gonna use script for
reading CD file list).
By coincidence I've just written
On 2007-02-17, at 18:45.0, Aditya Mahajan wrote:
Interesting. Just a couple of points. Do not use the prefix m- for
your modules. m- is reserved for modules in the core distribution. You
can use t- (third party) if you want to distribute your module, or p-
(personal) if you do not want to
Hi,
Let me restate my question. If I get some text from an XML file using
\XMLflush, is there a command in PLAIN TeX to replace some symbols (say, ““ -
\letterampersand), on-a-fly without invoking perl, ruby, or lisp or ...? Why is
there need in external script to do such an easy thing
On 2/15/07, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote:
Hello,
I want to ask a few questions that I cannot resolve by myself so far.
1) How can I integrate ruby/perl scripts into a .tex document? (I want to
create a CD cataloguing tool and gonna use script for reading CD file list
\executesystemcommand{some_external_program ...}
When I try something like
\starttext
Hello
\executesystemcommand{1.rb}
\stoptext
I get
systems : system commands are disabled
(D:\context\cd-mus.tuo) (D:\context\cd-mus.tuo) (D:\context\cd-mus.tuo)
(D:\context\cd-mus.tuo)
Thanks, \executesystemcommand{myscript.rb} seems to work.
But what is the best way to insert a result (say, formatted text) into the
'caller' document body?
The only idea I have is to use \input later in the document, but I'm not sure
that it would work.
Best regards,
Vyatcheslav Yatskovsky wrote:
\executesystemcommand{some_external_program ...}
When I try something like
\starttext
Hello
\executesystemcommand{1.rb}
\stoptext
I get
systems : system commands are disabled
(D:\context\cd-mus.tuo) (D:\context\cd-mus.tuo)
On Fri, 16 Feb 2007, Aditya Mahajan wrote:
On Fri, 16 Feb 2007, Vyatcheslav Yatskovsky wrote:
\executesystemcommand{some_external_program ...}
When I try something like
\starttext
Hello
\executesystemcommand{1.rb}
\stoptext
I get
systems : system commands are disabled
On Fri, 16 Feb 2007, Vyatcheslav Yatskovsky wrote:
\executesystemcommand{some_external_program ...}
When I try something like
\starttext
Hello
\executesystemcommand{1.rb}
\stoptext
I get
systems : system commands are disabled
(D:\context\cd-mus.tuo) (D:\context\cd-mus.tuo)
Hello,
I want to ask a few questions that I cannot resolve by myself so far.
1) How can I integrate ruby/perl scripts into a .tex document? (I want to
create a CD cataloguing tool and gonna use script for reading CD file list).
2) How to change line spacing for typed text only? (I use medium
In the NTG MAPS journal of last fall Hans Hagen has written an
article titled What tools do ConTeXt users have? It broadly
describes the many changes and additions to the ConTeXt Perl tools on
account of the switch to Ruby tools.
In several places a manual or different manuals are pointed
The -recorder switch of pdftex/web2c (don't know how to use that
with texexec)
Like so:
texexec --passon=-recorder file.tex
The --passon feature had lapsed in the transition from perl to ruby
texexec, but Hans and Taco fixed it in one of the recent ConTeXt
releases. I now use it all
a metapost source:
\startuseMPgraphic{taalengels}{width,height,gap}
label.ulft(textext(\tts 66\%~), (bs + 27 * u, baseline + 660 * bt +
dotsize/2));
Aha, I conclude, trouble with the %-sign!
But I think I have seen that error before, originating in one of the
Ruby-scripts if I remember well
. Is there any way to get this or
something similar that's not in a bash environment to
just work?
It looks like this is a side-effect of a not-too-robust
installation, may apparent by switching from the perl
version of texexec to the ruby version.
The simple and best solution is to add the source
Michal Kvasnicka wrote:
Good morning.
I've just installed new ConTeXt (ver: 2006.08.08 21:51) under SuSE 10.1
Linux. I tried to make ruby version of texexec working, but I failed.
When I try to run it, I get this error message:
/usr/share/texmf/scripts/context/ruby/texexec.rb:10:in `require
Good morning.
I've just installed new ConTeXt (ver: 2006.08.08 21:51) under SuSE 10.1
Linux. I tried to make ruby version of texexec working, but I failed.
When I try to run it, I get this error message:
/usr/share/texmf/scripts/context/ruby/texexec.rb:10:in `require': no
such file to load
I've just installed new ConTeXt (ver: 2006.08.08 21:51) under SuSE 10.1
How did you install it? What was there before? It sounds like the
new one isn't visible, since it's date is 2007.01.12 15:56 (or maybe
later). Is 2006.08.08 the version that came with SuSE?
What does
kpsewhich
What's wrong? Was something changed? Haven't I installed the ConTeXt
properly?
I don't think you have. See my response in the texexec ruby problem
thread.
-Sanjoy
`Not all those who wander are lost.' (J.R.R. Tolkien)
___
ntg-context mailing list
be touched by rpm (for personal files)
- support for URW Garamond
- support for Adobe eurofont
- support for ruby versions of ConTeXt scripts
- latest TeX-live
- latest ConTeXt
- latest pdfTeX
- latest MetaPost
See also http://wiki.contextgarden.net/TeX-live
Tested on SuSE-10.1.
Feedback is welcome
tree
( updateConTeXt.sh )
- texmf-local tree that won't be touched by rpm (for personal files)
- support for URW Garamond
- support for Adobe eurofont
- support for ruby versions of ConTeXt scripts
- latest TeX-live
- latest ConTeXt
- latest pdfTeX
- latest MetaPost
See also http
On Mon, 8 Jan 2007, Helin Gai wrote:
Thanks for the reply.
I solved the problem eventually by commenting out the line
$ENV{'TEXFONTMAPS'} = '.;$TEXMF/fonts/map/{xetex,pdftex,dvips,}//' ;
in texexec.pl.
texexec.pl is no longer supported. About a year ago, ConTeXt moved to
the ruby
by commenting out the line
$ENV{'TEXFONTMAPS'} = '.;$TEXMF/fonts/map/{xetex,pdftex,dvips,}//' ;
in texexec.pl.
texexec.pl is no longer supported. About a year ago, ConTeXt moved to
the ruby version texexec.rb. Try your code with
texmfstart texexec --xetex filename
Aditya
and to the latest ConTeXt beta
and since then I get an error if my Metapost file contains LaTeX control
sequences:
Same here. I am guessing this is a bug in the ruby version of texexec,
because it used to work with the perl version, for sure.
Taco
MPtoPDF 1.3.2 : running 'texexec --mptex '
TeXExec
kind of lost in the sequence of shell script calling ruby
scripts calling perl scripts, etc. So, I wasn't able to find out the
right command line options, etc. for making mpost aware of calling latex
instead of tex. Can someone help me out here?
does adding a --latex directive help?
Hans
call mptopdf
but got kind of lost in the sequence of shell script calling ruby
scripts calling perl scripts, etc. So, I wasn't able to find out the
right command line options, etc. for making mpost aware of calling latex
instead of tex. Can someone help me out here?
Best regards
Martin
(Terminal.app) and have defined
the following aliases:
---
# ConTeXt stuff
alias texmfstart=ruby /usr/local/teTeX/share/texmf.local/scripts/
context/ruby/texmfstart.rb
alias context=texmfstart texexec
---
You could try those, just change the name and path to texmfstart.rb
so that it matches your
On 2006-12-30, at 21:24.0, Jarimatti Valkonen wrote:
/usr/local/teTeX/share/texmf.local/scripts/context/ruby/texmfstart.rb
Unfortunately, I don't have a scripts directory here... Obviously my
system is not correctly installed.
What is the recommended way to install the latest Context version
.
kpathsea: Appending font creation commands to missfont.log.
! Font \*12ptrmtfrm*=ec-lmr12 not loadable: Metric (TFM) file not found.
ruby `kpsewhich --format=texmfscripts texmfstart.rb` texexec test
(which is in essence what the recommended shell script does) gives
ConTeXt ver: 2005.01.31
=counter.tex
TeXExec | while=counter.tex
Notice that ok=\jobname. Shouldn't ok be a boolean. And the condition
for while is a string rather than a boolean. I am not too sure on what
ruby does for non boolean conditionals, but the present implementation
can break (under some crazy conditions, maybe
OK, I think vim works OK here, so this is what I tried:
...
\setupcolors[state=start]
\usemodule[vimsyntax]
\definetypeVIMfile [typeRUBY] [syntax=ruby]
\typeRUBY[typeRUBY]{fibo.rb}
\defineVIMtyping[RUBY][syntax=ruby]
\startRUBY
# This is a ruby program
puts Hello World
\stopRUBY
...
Error
On 12/29/06, [EMAIL PROTECTED] wrote:
OK, I think vim works OK here, so this is what I tried:
...
\setupcolors[state=start]
\usemodule[vimsyntax]
\definetypeVIMfile [typeRUBY] [syntax=ruby]
\typeRUBY[typeRUBY]{fibo.rb}
\defineVIMtyping[RUBY][syntax=ruby]
\startRUBY
# This is a ruby
On Fri, 29 Dec 2006, Mojca Miklavec wrote:
On 12/29/06, [EMAIL PROTECTED] wrote:
OK, I think vim works OK here, so this is what I tried:
...
\setupcolors[state=start]
\usemodule[vimsyntax]
\definetypeVIMfile [typeRUBY] [syntax=ruby]
\typeRUBY[typeRUBY]{fibo.rb
.
I wouldn't really know how to do any other kind... ;-)
try using
texmfstart texexec filename
which should call the ruby version of texexec. What is the output of
texmfstart texexec --check
It will take some time, and it will be a long output, just post the
first 10-15 lines.
Aditya
mentioned.
Except if you need some more processing of the TeX contents, like some
people do :-(
In that case, since the mkiv stuff isn't available, currently you either
have to switch to plain luatex or to use ConTeXt with pdftex and maybe
weave another layer of ruby around the script onion
Isn't there --nobackends (or something similar) which will then not
run any dvips (or dvipdfm)?
It's --nobackend
Here's the revised (ruby) texexec man page (as PDF) -- see p.3. It's
in the Debian packages and will go into the 2006 TeXLive.
-Sanjoy
`Not all those who wander are lost.' (J.R.R
. (And ofcourse,
\setupcolors[state=start])
1. If you want to typeset an existing file, and lets say the filetype
(in vim's terms) is ruby. Then
\definetypeVIMfile [name of macro] %Usually typeRUBY, typeMATLAB, etc.
[ % Optional arguments
start=linenumber, %starting line number, defaults
601 - 700 of 1321 matches
Mail list logo