Re: [NTG-context] why no smallcaps?

2012-01-25 Thread Wolfgang Schuster
| mapping : timesnewromanpsmt mtx-fonts | fontname: timesnewromanpsmt mtx-fonts | fullname: timesnewroman mtx-fonts | filename: /Library/Fonts/Microsoft/Times New Roman.ttf mtx-fonts | family : timesnewroman mtx-fonts | weight : normal mtx-fonts | style : normal mtx

Re: [NTG-context] include file in xml processing

2012-01-20 Thread Meer, H. van der
this but it doesn't work: texinclude file=filename/ tex \useMPgraphic{xyz}{param=285} /tex The tex node is just a wrapper around \xmlcontext{#1}{.} Someone who can put me on the right track? Hans van der Meer On 19 jan. 2012, at 21:38, Hans van der Meer wrote: I have the following setup for use of ConTeXt

Re: [NTG-context] Citations fail when components and bodymatter are used

2012-01-19 Thread Marco
transform the \jobname.bbl into a \jobname.bbl.bib file, which does not happen for some reason. I didn't find anything interesting in the log file, except: snip report.log used files 48: filename=report.bbl | foundname=report.bbl | usedmethod=direct /snip Regards Marco

Re: [NTG-context] Undefined controle sequence with usemodule[simpleslides]

2012-01-04 Thread Aditya Mahajan
] \unprotect %D This module is the first sub-module that is loaded by %D \filename{simpleslides}. This sets up the style macros for the module. We %D choose a rather plain style as the default; separate style sub-modules %D redefine some internal macros to achieve fancier effects. %D We start

Re: [NTG-context] Newest ConTeXt in Windows7: kpathsea60.dll is missing ?

2011-12-28 Thread Wolfgang Schuster
to run MkII (pdftex) instead of MkIV (LuaTeX)! There are different ways to use MkII: - texexec filename - context --pdftex filename - Use “% engine=pdftex” as first line of your document Wolfgang ___ If your question

[NTG-context] Parse error when using `\define`

2011-12-03 Thread Paul Menzel
/context/base/lpdf-pdx.xml' pagesflushing realpage 1, userpage 1, subpage 1 /opt/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf system files start used files used files 1: filename=mult-mps.lua | filetype=tex | format=tex | foundname=/opt/context/tex

[NTG-context] Saving module data in tuc file

2011-12-03 Thread Aditya Mahajan
(filename) return collected[filename] or end function commands.doiffilechangedelse(filename) local md5sum = md5.HEX(io.loaddata(filename) or ) local cached = cachedmd5sum(filename) tobesaved[filename] = md5sum print(, md5sum) print(, cached) commands.testcase

Re: [NTG-context] Lua script not registered

2011-12-02 Thread Aditya Mahajan
add to PATH C:\context\tex\texmf-mswin\bin\ run from shell C:\contextfirst-setup.bat --keep Then create tex file \starttext Hello world \stopptext in different location. Navigate shell to that location and context firstfile.tex Before you run context filename you need to run C:\context\tex

Re: [NTG-context] Figure Help

2011-11-10 Thread Hans Hagen
On 9-11-2011 22:49, Christian wrote: May be I missed one or the other mail on this topic. There is indeed support for svg-inclusion in MKIV. In order to be possibly of help I would like you to send a minimal example. Note: When I include the extension in the filename (testimage.svg) I get

Re: [NTG-context] Figure Help

2011-11-09 Thread Christian
-file is taken of the german Wikipedia-article of the svg file format. It includes fonts, I'm not sure if this causes trouble. Note: When I include the extension in the filename (testimage.svg) I get !LuaTeX error: cannot find image file 'm_k_i_v_testimage.pdf' probably due to some failed

Re: [NTG-context] Figure Help

2011-11-09 Thread Aditya Mahajan
On Wed, 9 Nov 2011, Christian wrote: May be I missed one or the other mail on this topic. There is indeed support for svg-inclusion in MKIV. In order to be possibly of help I would like you to send a minimal example. Note: When I include the extension in the filename (testimage.svg) I get

Re: [NTG-context] Figure Help

2011-11-09 Thread Christian
May be I missed one or the other mail on this topic. There is indeed support for svg-inclusion in MKIV. In order to be possibly of help I would like you to send a minimal example. Note: When I include the extension in the filename (testimage.svg) I get !LuaTeX error: cannot find image

Re: [NTG-context] highlight problems on xml export (Was: Missing break/ while exporting to xml before highlight)

2011-11-07 Thread Marco Pessotto
Published on vol. I Published on vol. I Published on \dontleavehmode\emph{Dissonanze} vol. I \stopparagraph \stoptext %%% stop example Output: ?xml version='1.0' encoding='UTF-8' standalone='yes' ? !-- input filename : prova -- !-- processing date : Mon Nov 7 09:32:00 2011

Re: [NTG-context] highlight problems on xml export [hacky workaround included]

2011-11-07 Thread Marco Pessotto
paragraph. See produced pdf. ?xml version='1.0' encoding='UTF-8' standalone='yes' ? !-- input filename : prova -- !-- processing date : Mon Nov 7 17:43:10 2011 -- !-- context version : 2011.11.04 14:15 -- !-- exporter version : 0.30 -- document language=en file

Re: [NTG-context] highlight problems on xml export [hacky workaround included]

2011-11-07 Thread Aditya Mahajan
for XML export, and use something equivalent to context --mode=screen --result=s-filename filename to get a screen version of the document, context --mode=handout --result=h-filename filename to get a handout version of the document, and context --mode=export filename to get an xml

[NTG-context] Missing break/ while exporting to xml before highlight

2011-11-06 Thread Marco Pessotto
Hi! See the following minimal example: %%% start example \setupbackend[export=yes] \definehighlight[emph][style=italic] \starttext Hey, hello! \emph{Hello world!} \stoptext %%% stop example And the output is: ?xml version='1.0' encoding='UTF-8' standalone='yes' ? !-- input filename

[NTG-context] \unknown lost on xml export

2011-11-05 Thread Marco Pessotto
! \stoptext %%% end example Which leads to: ?xml version='1.0' encoding='UTF-8' standalone='yes' ? !-- input filename : prova -- !-- processing date : Sat Nov 5 15:45:09 2011 -- !-- context version : 2011.11.02 20:10 -- !-- exporter version : 0.30 -- document

Re: [NTG-context] Problems with linespacing - typescript

2011-11-05 Thread Wolfgang Schuster
of: \definedfont[file:allerlt*default at 36pt] then it works. Changed: file: - name: allerlt - allerlight When “file:allerlt” doesn’t work your fonts have a different filename than mine. What output on the command line do you get? keima:TeX wolf$ mtxrun --script font --list --all

Re: [NTG-context] Problems with linespacing

2011-11-05 Thread Jan Heinen
When “file:allerlt” doesn’t work your fonts have a different filename than mine. What output on the command line do you get? keima:TeX wolf$ mtxrun --script font --list --all aller* aller aller /Users/wolf/Library/Fonts/Aller_Rg.ttf allerbold allerbold /Users/wolf/Library/Fonts

Re: [NTG-context] Italic correction spoils XHTML-output

2011-10-31 Thread Aditya Mahajan
PS. By composing this example I noticed that \savebuffer do nothing. Unless something has changed recently, \savebuffer[buffer-list][filename] concatenates all the buffers in `buffer-list` and saves them to the file `\jobname-filename.tmp`. In the filter module, I work around

[NTG-context] Script to upload modules to context garden

2011-10-22 Thread Aditya Mahajan
interaction. To use the script, simply run update [modulename] The script will prompt you for username and password, then display a list of all the modules that you own, and you can select a module to update. Then, the script asks for a new version number and filename for the zip file

Re: [NTG-context] Metapost error

2011-10-19 Thread luigi scarso
\starttext \startMPcode def externalfigure primary filename = if false : rawtextext(\externalfigure[ filename ]) else : image ( addto currentpicture doublepath unitsquare withprescript fg_name= filename ; ) % unitsquare

[NTG-context] SimpleFonts: no italic and bold

2011-10-17 Thread Andreas Schneider
telegrotesknornormal telegrotesknorm c:/windows/fonts/t036013t_v21.ttf The --info output for normal ... mtx-fonts | mapping : telegrotesknornormal mtx-fonts | fontname: telegrotesknorm mtx-fonts | fullname: telegrotesknor mtx-fonts | filename: c:/windows/fonts/t036013t_v21.ttf mtx-fonts

[NTG-context] Error in simpleslides style Swoosh

2011-10-13 Thread Marco
system files start used files used files 1: filename=generic-talk-15min-45min | filetype=tex | foundname=generic-talk-15min-45min.tex | usedmethod=filesystem used files 2: filename=cont-new.mkiv | filetype=tex | foundname=/usr/local/share/context/tex/texmf-context/tex

Re: [NTG-context] Strange problem related to \usemodule

2011-10-10 Thread Hongwen Qiu
\stoptext 13 l.4 \definevimtyping [RUBY][syntax=ruby] ? X system files start used files used files 1: filename=mult-mps.lua | filetype=tex | format=tex | foundname=/ifs2/S2PH/qiuhw/opt/context-1008/tex/texmf-context/tex/context/base/mult-mps.lua

[NTG-context] Strange problem related to \usemodule

2011-10-09 Thread Hongwen Qiu
=ruby] 4 5 \starttext 6 7 \startRUBY 8 puts Hello 9 \stopRUBY 10 11 \stoptext 12 l.3 \definevimtyping [RUBY][syntax=ruby] ? X system files start used files used files 1: filename=mult-mps.lua | filetype=tex

Re: [NTG-context] Exported figures

2011-08-27 Thread Aditya Mahajan
or not. The 'converter' program can filter the pages ... so we need to pass the page number. Page number is already passed. The filename conversion should make use of it. I think that the best solution is to allow the user to configure (using a directive) the function that sets the new name for a pdf file

Re: [NTG-context] fonts

2011-08-26 Thread Hans van der Meer
Still a mystery to me. In your logfile I see the line used files 16: filename=AntykwaTorunska-Regular | filetype=otf | format=otf | foundname=R:/tex/texmf/fonts/opentype/public/antt/AntykwaTorunska-Regular.otf | usedmethod=database I therefore concluse in your system ConTeXt has found

Re: [NTG-context] fonts

2011-08-26 Thread Taco Hoekwater
On Aug 26, 2011, at 2:55 PM, Hans van der Meer wrote: Still a mystery to me. In your logfile I see the line used files 16: filename=AntykwaTorunska-Regular | filetype=otf | format=otf | foundname=R:/tex/texmf/fonts/opentype/public/antt/AntykwaTorunska-Regular.otf | usedmethod

Re: [NTG-context] fonts

2011-08-26 Thread Hans van der Meer
On 26 aug. 2011, at 15:14, Taco Hoekwater wrote: On Aug 26, 2011, at 2:55 PM, Hans van der Meer wrote: Still a mystery to me. In your logfile I see the line used files 16: filename=AntykwaTorunska-Regular | filetype=otf | format=otf | foundname=R:/tex/texmf/fonts/opentype

Re: [NTG-context] fonts

2011-08-26 Thread Peter Rolf
Am 26.08.2011 15:43, schrieb Hans van der Meer: On 26 aug. 2011, at 15:14, Taco Hoekwater wrote: On Aug 26, 2011, at 2:55 PM, Hans van der Meer wrote: Still a mystery to me. In your logfile I see the line used files 16: filename=AntykwaTorunska-Regular | filetype=otf | format

Re: [NTG-context] Pretty printing ConTeXt sources

2011-08-25 Thread Marcin Borkowski
/context/tex/texmf/fonts/type1/public/lm/lmsy10.pfb system files start used files used files 1: filename=pack-rul.run | foundname=pack-rul.run | usedmethod=direct used files 2: filename=cont-new.mkiv | filetype=tex | foundname=/home/marcin/context/tex/texmf-context/tex

[NTG-context] Imposition and repeating pages

2011-08-25 Thread Marcin Borkowski
Hi, imposition in ConTeXt is great, but... 1. When I last used it (MkII), I had to invoke texexec with the --arrange option or something like this. Does it work in an easier way with MkIV? (I mean, I just do context filename and don't care about multiple runs etc.) 2. I'd like to prepare

Re: [NTG-context] Imposition and repeating pages

2011-08-25 Thread Aditya Mahajan
On Fri, 26 Aug 2011, Marcin Borkowski wrote: Hi, imposition in ConTeXt is great, but... 1. When I last used it (MkII), I had to invoke texexec with the --arrange option or something like this. Does it work in an easier way with MkIV? (I mean, I just do context filename and don't care about

Re: [NTG-context] Imposition and repeating pages

2011-08-25 Thread Marcin Borkowski
it work in an easier way with MkIV? (I mean, I just do context filename and don't care about multiple runs etc.) In MkIV you don't need to pass --arrange. In one of my projects, I have \setuppapersize[halfletter][letter,landscape] \setuparranging[2SIDE] (where halfletter is a user

Re: [NTG-context] Lilypond

2011-08-21 Thread Henning Hraban Ramm
its output files. In some cases I get filename-1.pdf sometimes not. Can I force it to always give filename-1.pdf or always give filename.pdf LilyPond adds a number to EPS, if there’s more that one page. But in my songbook setup, I always get a filename-temp-lilypond- ##.eps plus an identical

Re: [NTG-context] Lilypond

2011-08-21 Thread Henning Hraban Ramm
filename-1.pdf sometimes not. Can I force it to always give filename-1.pdf or always give filename.pdf IME there’s always a filename.pdf; you get filename-1.pdf for your first page; if you use the preamble quoted above, you’ll get filename-1.pdf etc. for every system. Greetlings from

Re: [NTG-context] Lilypond

2011-08-21 Thread Aditya Mahajan
On Sun, 21 Aug 2011, Henning Hraban Ramm wrote: Current version doesn’t work at all: - it writes the buffer with doubled filename and extension parts, i.e. from foo.tex foo-foo-temp-lilypond.tmp.tmp, but looks for foo-temp-lilypond.tmp. The \savebuffer command has changed!!! \starttext

Re: [NTG-context] Lilypond

2011-08-21 Thread Hans Hagen
On 22-8-2011 00:14, Aditya Mahajan wrote: On Sun, 21 Aug 2011, Henning Hraban Ramm wrote: Current version doesn’t work at all: - it writes the buffer with doubled filename and extension parts, i.e. from foo.tex foo-foo-temp-lilypond.tmp.tmp, but looks for foo-temp-lilypond.tmp

Re: [NTG-context] Lilypond

2011-08-21 Thread Aditya Mahajan
On Mon, 22 Aug 2011, Hans Hagen wrote: On 22-8-2011 00:14, Aditya Mahajan wrote: On Sun, 21 Aug 2011, Henning Hraban Ramm wrote: Current version doesn’t work at all: - it writes the buffer with doubled filename and extension parts, i.e. from foo.tex foo-foo-temp-lilypond.tmp.tmp, but looks

Re: [NTG-context] Lilypond

2011-08-20 Thread Aditya Mahajan
lilypond-book handle this at all? It does not appear to. Manually adjusting each inline snippet will be too much work, IMO. Do you know how lilypond numbers its output files. In some cases I get filename-1.pdf sometimes not. Can I force it to always give filename-1.pdf or always give filename.pdf

[NTG-context] Fw: Pretty printing ConTeXt sources

2011-08-20 Thread Marcin Borkowski
22:53 schrieb Marcin Borkowski: Hi, I'm sure it was answered before, but I couldn't find it: how to pretty-print ConTeXt (and lua) files (I mean especially ConTeXt sources, but also module sources)? TeX: context --ctx=s-mod filename Lua: context --ctx=x-ldx filename OK. So I

Re: [NTG-context] Lilypond

2011-08-20 Thread David Wooten
much work, IMO. Do you know how lilypond numbers its output files. In some cases I get filename-1.pdf sometimes not. Can I force it to always give filename-1.pdf or always give filename.pdf LilyPond adds a number to EPS, if there’s more that one page. But in my songbook setup, I always get

Re: [NTG-context] buffer names in MKII

2011-08-19 Thread Hans Hagen
of some cleaning up of filename code deep down. Normally in mkiv buffers are not saved on disk (as with mkii). Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt

[NTG-context] Lilypond (Re: buffer names in MKII)

2011-08-19 Thread Aditya Mahajan
you know how lilypond numbers its output files. In some cases I get filename-1.pdf sometimes not. Can I force it to always give filename-1.pdf or always give filename.pdf Which OSes do you have access to? Thanks, Aditya

Re: [NTG-context] Lilypond

2011-08-19 Thread Henning Hraban Ramm
how lilypond numbers its output files. In some cases I get filename-1.pdf sometimes not. Can I force it to always give filename-1.pdf or always give filename.pdf LilyPond adds a number to EPS, if there’s more that one page. But in my songbook setup, I always get a filename-temp-lilypond-##.eps

Re: [NTG-context] Smileys

2011-08-18 Thread Cecil Westerhof
2011/8/17 Wolfgang Schuster schuster.wolfg...@googlemail.com The filename of the font is “windings.ttf”. I now have: \def\numcharacter#1{\char#1{}} \let\dochar\numcharacter \definefont[wingding][windings.ttf at 12pt] \starttext windings: {\wingding \dochar{74}\dochar{75}\dochar{76

Re: [NTG-context] Smileys

2011-08-18 Thread Wolfgang Schuster
Am 18.08.2011 um 09:40 schrieb Cecil Westerhof: 2011/8/17 Wolfgang Schuster schuster.wolfg...@googlemail.com The filename of the font is “windings.ttf”. I now have: […] But it just gives: windings: JKL It’s “wingdings” with a “g” in the name! \definefontsynonym[Wingdings

Re: [NTG-context] Smileys

2011-08-18 Thread Jaroslav Hajtmar
\numcharacter#1{\char#1{}} \let\dochar\numcharacter \definefont[wingding][wingding.ttf at 12pt] \starttext {\wingding \dochar{74}\dochar{75}\dochar{76}} \stoptext That just gives JKL. The filename of the font is “windings.ttf”. Wolfgang

Re: [NTG-context] Smileys

2011-08-18 Thread Wolfgang Schuster
File wingdings.ttf I do not see there … I have two versions of the font on my system, one came with Mac OS and the other with MS Office and each has “Wingdings.ttf” as filename. I have also the other two fonts you mentioned but their filenames on my system are “Wingdings 2.ttf” and “Wingdings 3

Re: [NTG-context] Smileys

2011-08-17 Thread Wolfgang Schuster
at 12pt] \starttext {\wingding \dochar{74}\dochar{75}\dochar{76}} \stoptext That just gives JKL. The filename of the font is “windings.ttf”. Wolfgang___ If your question is of interest to others as well

[NTG-context] Weirdness with the names of files processed

2011-07-26 Thread Jaroslav Hajtmar
Hello ConTeXist I met with great strangeness. When I was looking for a mistake in my source text, so I experimented and at one point I renamed myfile so that there are + in its name. At that moment compilation ran flawlessly. I know that the use of + in the filename is relatively non-standard

Re: [NTG-context] Weirdness with the names of files processed

2011-07-26 Thread Peter Münster
On Tue, Jul 26 2011, Jaroslav Hajtmar wrote: Conversely, if + is part of the filename, while images are found, the compilation will collapse and prints a message that I mention below. Short answer: don't use + in filenames. See also: http://archive.contextgarden.net/message/20100912.064154

Re: [NTG-context] *****SPAM***** Re: Weirdness with the names of files processed

2011-07-26 Thread Jaroslav Hajtmar
, Peter Münster napsal(a): On Tue, Jul 26 2011, Jaroslav Hajtmar wrote: Conversely, if + is part of the filename, while images are found, the compilation will collapse and prints a message that I mention below. Short answer: don't use + in filenames. See also: http

Re: [NTG-context] TeX capacity exceeded, sorry (was: mkiv: 'extras' option in cite command = error)

2011-07-22 Thread Christian
the document thereafter (context filename). I'm still getting the error. BTW: mtx-context | current version: 2011.07.19 11:22 ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] TeX capacity exceeded, sorry (was: mkiv: 'extras' option in cite command = error)

2011-07-22 Thread Wolfgang Schuster
--generate luatools --generate and compiled the document thereafter (context filename). I'm still getting the error. You need “context --make”. Wolfgang ___ If your question is of interest to others as well

Re: [NTG-context] TeX capacity exceeded, sorry (was: mkiv: 'extras' option in cite command = error)

2011-07-22 Thread Christian
and compiled the document thereafter (context filename). I'm still getting the error. You need “context --make”. Ha! That's it. Somehow I associated regenerate with generate and not with make :-\ It works now, problem solved. Thank you for fixing

[NTG-context] ConTeXt sample presentations: no pdf generated

2011-07-21 Thread Marcin Borkowski
loading preprocessing and caching took 0.689 seconds fontsfallback modern rm 14.4pt is loaded ) system invalid \starttext ... \stoptext structure system files start used files used files 1: filename=s-pre-93 | filetype=tex | foundname=s-pre-93.tex

Re: [NTG-context] Edit a ConTeXt generated document with Adobe Acrobat Professional

2011-07-14 Thread Cecil Westerhof
| fontname: texmfhome mtx-fonts | fullname: texmfhome mtx-fonts | filename: texmfhome.otf mtx-fonts | family : texmfhome mtx-fonts | weight : medium mtx-fonts | style : normal mtx-fonts | width : normal mtx-fonts | variant : normal mtx-fonts

Re: [NTG-context] Edit a ConTeXt generated document with Adobe Acrobat Professional

2011-07-14 Thread Khaled Hosny
knew the filename already, but `mtxrun --script fonts` should help for locating fonts in more general way though I never had success with it). You have to copy the whole family (i.e. italic, bold and bolditalic too) to the Windows machine, and it should make the Adobe thing happy. Regards, Khaled

Re: [NTG-context] Sanskrit Devanagari characters

2011-06-26 Thread Mojca Miklavec
. The only difference is that you have to run texexec --xtx filename as opposed to context filename. You'd think it would just be something really simple like \switchfont[devangari] तरीकिन \unswitchfont With ConTeXt+XeTeX it boils down to: % this is plain xetex font switch; see next example

Re: [NTG-context] Sanskrit Devanagari characters

2011-06-26 Thread Kip Warner
. If you have it up and running, you can use it now also for XeTeX. The only difference is that you have to run texexec --xtx filename as opposed to context filename. You'd think it would just be something really simple like \switchfont[devangari] तरीकिन \unswitchfont With ConTeXt+XeTeX

Re: [NTG-context] Bibliography is not working

2011-06-24 Thread yoraxe
with the bibliographic system this month It could be a \write18 problem. Is a \jobname.bbl file generated? Yes, it is, but it is empty. So that is the problem. Try manually running bibtex filename to see if a correct .bbl file is generated. I got the following error message: This is BibTeX, Version 0.99d

Re: [NTG-context] Bibliography is not working

2011-06-23 Thread Aditya Mahajan
problem. Is a \jobname.bbl file generated? Yes, it is, but it is empty. So that is the problem. Try manually running bibtex filename to see if a correct .bbl file is generated. Checking the texmf.cnf it is set: shell_escape= t Referring to the wiki, that means that \write18

Re: [NTG-context] teletype style in type-win.mkiv

2011-06-03 Thread Wolfgang Schuster
and Courier but they don’t work on each system (e.g. the fonts use different filenames on the Mac). The simplefonts module makes things a little bit easier because it tries a few combinations to find the files but it still depends on the filename. \usemodule[simplefonts] \setmainfont[Arial] \setmonofont

Re: [NTG-context] Non-breakable space in export to XML

2011-05-24 Thread Hans Hagen
\starttext test test\nobreakspace test 12345\par 12\figurespace45\par 12.34\par 12\punctuationspace34\par \stoptext oepsoeps.pdf Description: Adobe PDF document ?xml version='1.0' encoding='UTF-8' standalone='yes' ? !-- input filename : oepsoeps -- !-- processing date : 05/24/11 10:25:10

Re: [NTG-context] \type and linebreak (again)

2011-05-23 Thread Wolfgang Schuster
in similar cases where I have a very very long directory name, I wouldn't care if it gets broken the hard way. \filename{cp \$SOMEVAR/some/very/very/very/long/directory/WITHFILE \$SOMEVAR/other/long/directory} Wolfgang

Re: [NTG-context] \type and linebreak (again)

2011-05-23 Thread Andreas Schneider
On Monday, May 23, 2011 12:11 Wolfgang Schuster wrote: \filename{cp \$SOMEVAR/some/very/very/very/long/directory/WITHFILE \$SOMEVAR/other/long/directory} Wolfgang It's kinda depressing how easy some solutions are, that one could have found themselves if one just looked beyond the own walls

Re: [NTG-context] \type and linebreak (again)

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 12:54 schrieb Andreas Schneider: On Monday, May 23, 2011 12:11 Wolfgang Schuster wrote: \filename{cp \$SOMEVAR/some/very/very/very/long/directory/WITHFILE \$SOMEVAR/other/long/directory} Wolfgang It's kinda depressing how easy some solutions are, that one could have

Re: [NTG-context] change user interface

2011-05-23 Thread Wolfgang Schuster
or call context with “context --interface=fr filename”. 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

[NTG-context] dirty epub fixes

2011-05-13 Thread Reviczky, Adam
stylesheet for css or the xhtml filename without the suffix * opf: itemref needs to be the name of the xhtml without the suffix Here's a very dirty quick fix I did to get a working epub: add after line 112 or so: + local id = file.removesuffix(filename) line 116: - used

Re: [NTG-context] Latest beta not working.

2011-05-06 Thread Aditya Mahajan
regenerating the filename database: mtxrun --generate 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

Re: [NTG-context] Multiplication table (with lines) in ConTeXt?

2011-05-04 Thread Wolfgang Schuster
. Compile your document with “context filename” instead of “texexec filename”. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] Minimals tree on Wiki?

2011-04-30 Thread taco
/contextgarden.net/contextwiki/images/4/46/P1030314.jpg': No such file or directory. convert: missing an image filename `/var/www/contextgarden.net/contextwiki/images/thumb/4/46/P1030314.jpg/300px-P1030314.jpg'. Is there something amiss here? Yes, the images appear to be lost

[NTG-context] Minimals tree on Wiki?

2011-04-28 Thread Hans van der Meer
/images/4/46/P1030314.jpg': No such file or directory. convert: missing an image filename `/var/www/contextgarden.net/contextwiki/images/thumb/4/46/P1030314.jpg/300px-P1030314.jpg'. Is there something amiss here? Hans van der Meer

Re: [NTG-context] is this possbile ? \externalfigure[c:\test\test.pdf at page 5 (0, 0) (20, 20)]

2011-04-18 Thread Peter Münster
/externalfigure and http://wiki.contextgarden.net/Reference/en/clip I guess, that \ in a filename is not allowed. Perhaps it's better to use c:/test/test.pdf. -- Peter ___ If your question is of interest to others

Re: [NTG-context] Typo in buff-ini.lua

2011-04-16 Thread Aditya Mahajan
On Sat, 16 Apr 2011, Aditya Mahajan wrote: Hi Hans, In buff-ini.lua, line 73 should be return concat(t,separator or \n) -- AM: was \r Actually, I am not sure if this is a bug or not. I was testing by cat filename and was only seeing the last line. Opening the file on editor shows

Re: [NTG-context] Typo in buff-ini.lua

2011-04-16 Thread Hans Hagen
On 16-4-2011 8:24, Aditya Mahajan wrote: On Sat, 16 Apr 2011, Aditya Mahajan wrote: Hi Hans, In buff-ini.lua, line 73 should be return concat(t,separator or \n) -- AM: was \r Actually, I am not sure if this is a bug or not. I was testing by cat filename and was only seeing the last line

Re: [NTG-context] x-ldx markup tags?

2011-03-25 Thread Philipp Gesang
October. No trace of “x-ldx.mkiv” in the commitdiffs from the gitorious repo either. Did something go wrong? Regards, Philipp PS: “$ mtxrun --find-file filename” results in a Lua error. Commenting out line 14892 of mtxrun makes it sort-of work

Re: [NTG-context] Use date of the tex file in the document

2011-03-24 Thread Florian Wobbe
\def\getdate {\dosingleempty\dogetdate} \def\dogetdate[#1]% {\ctalua{context(modification_date(\jobname.tex, #1))}} How would you automatically find out the filename which the macro is called from? For instance if the file with the macro is included in a master document. Florian

Re: [NTG-context] Use date of the tex file in the document

2011-03-24 Thread Aditya Mahajan
On Thu, 24 Mar 2011, Florian Wobbe wrote: \def\getdate {\dosingleempty\dogetdate} \def\dogetdate[#1]% {\ctalua{context(modification_date(\jobname.tex, #1))}} How would you automatically find out the filename which the macro is called from? For instance if the file with the macro

Re: [NTG-context] Use date of the tex file in the document

2011-03-24 Thread Florian Wobbe
How would you automatically find out the filename which the macro is called from? For instance if the file with the macro is included in a master document. \inputfilename So, if you want the name of the file in which this macro is defined in, then something like this should work

Re: [NTG-context] Use date of the tex file in the document

2011-03-24 Thread Aditya Mahajan
On Thu, 24 Mar 2011, Florian Wobbe wrote: How would you automatically find out the filename which the macro is called from? For instance if the file with the macro is included in a master document. \inputfilename So, if you want the name of the file in which this macro is defined

Re: [NTG-context] Use date of the tex file in the document

2011-03-24 Thread Florian Wobbe
Thanks, nice! I suppose the filename is also directly reachable from inside \startluacode ... \stopluacode. How? \start-stop luacode expands its contents. So, the following should work (untested) \startluacode thisfilename = \thisfilename.tex \stopluacode No, that is not what I

Re: [NTG-context] Use date of the tex file in the document

2011-03-24 Thread Hans Hagen
the f? function modification_date(filename,format) local attr = lfs.attributes(filename) if type(attr) == table and attr.mode ~= directory then if format == nice then return os.date(%Y-%m-%dT%X,attr.modification) .. os.timezone(true) elseif format == long

Re: [NTG-context] Use date of the tex file in the document

2011-03-24 Thread Philipp Gesang
to achieve a quasilocale effect (concerning the month, that is). (- attachments.) Good night all, Philipp function modification_date(file, format) local f= file local attr = lfs.attributes(f) why the f? function modification_date(filename,format) local attr

Re: [NTG-context] cals tables - UNSOLVED

2011-03-18 Thread R. Ermers
= xml.applylpath({ getid(xml.load(filename)) },directive) -- is { } needed ? to local collection = xml.applylpath(getid(xml.load(filename)),directive) -- AM: removed { } [@Hans: I do not checked if this affects other uses of directives.load(...).] Then run c --make to regenerate formats

Re: [NTG-context] cals tables - UNSOLVED

2011-03-17 Thread Aditya Mahajan
this - as far as I understand - needs to be: cals:table, cals:tgroup, etc. (My xml reader does not recognize them anymore.) There is a bug in lxml-dir.lua. Open lxml-dir.lua and change local collection = xml.applylpath({ getid(xml.load(filename)) },directive) -- is { } needed ? to local

Re: [NTG-context] Creation of PDF Oddly Differs on Ubuntu and Mac OS X

2011-03-16 Thread Raymond LeClair
All, I could have phrased my question better ... here is another attempt: I use ConTeXt to generate a PDF for upload using the command context filename on either Mac OS X or Ubuntu. I have installed ConTeXt by installing a TeX Live distribution on each platform. The command completes without

Re: [NTG-context] Does MKIV take more time as MKII

2011-03-14 Thread Aditya Mahajan
system. So that was the other possibility. In my experience context --silent=\* filename speeds up compilation by a factor of 1.5 (but you loose all the logging messages) Aditya ___ If your question

Re: [NTG-context] Does MKIV take more time as MKII

2011-03-14 Thread Alan BRASLAU
. Is this possible, Yes, MkIV is slower. Okay, thanks. I also updated my system. So that was the other possibility. In my experience context --silent=\* filename speeds up compilation by a factor of 1.5 (but you loose all the logging messages) or context --batch filename

Re: [NTG-context] Does MKIV take more time as MKII

2011-03-14 Thread Cecil Westerhof
as slow as the MKII I used in texlive. Is this possible, Yes, MkIV is slower. context --silent=\* filename speeds up compilation by a factor of 1.5 (but you loose all the logging messages) or context --batch filename Both did not work for me. But removing --purgeall from my

Re: [NTG-context] special character in filename

2011-03-06 Thread Vnpenguin
if the filename has no special characters in it. Can this be fixed? Yeah, please fix this ASAP. I keep all my context files in a directory which I call /dev/null, and for some reason, this doesn't really work. But I am not going to change the name of my directory, no, you have to rewrite your

Re: [NTG-context] special character in filename

2011-03-06 Thread Hans Hagen
On 6-3-2011 9:36, Vnpenguin wrote: /dev/null as folder name ? Wow, what a crazy idea ! well, \input /dev/null/thesis-chapter-1.tex does miracles (in germany) Hans - Hans Hagen | PRAGMA

[NTG-context] automatic filename extension with \externalfigure

2011-03-06 Thread Florian Wobbe
Hi, I have an image file with two dots: file.xy.pdf I can embed this file with \externalfigure[file.xy.pdf][][width=\textwidth] When leaving out the extension, the image is not found, e.g.: \externalfigure[file.xy][][width=\textwidth] For the time being, I renamed the files but it would

[NTG-context] special character in filename

2011-03-05 Thread Reviczky, Adam
Hi Context fails to run with an input (filename or directoryname) that includes special characters. example files: %%% reviczky@arlequin ~/minimal % la total 0 drwxrwxr-x 1 reviczky reviczky 60 2011-03-05 19:58 ./ drwxr-xr-x 1 reviczky reviczky 2148 2011-03-05 20:00 ../ drwxrwxr-x 1 reviczky

Re: [NTG-context] special character in filename

2011-03-05 Thread Thomas Schmitz
On Sat, 5 Mar 2011 20:09:12 + Reviczky, Adam adam.revic...@kcl.ac.uk wrote: It works with the + character though. The same problem goes for the directory names; directories with ~ in the name drops and error, even if the filename has no special characters in it. Can this be fixed

Re: [NTG-context] special character in filename

2011-03-05 Thread Reviczky, Adam
Yeah, please fix this ASAP. I keep all my context files in a directory which I call /dev/null, and for some reason, this doesn't really work. But I am not going to change the name of my directory, no, you have to rewrite your software! Thomas Dear Thomas I understand, that it's not a good

Re: [NTG-context] special character in filename

2011-03-05 Thread Thomas Schmitz
On Sat, 5 Mar 2011 20:38:13 + Reviczky, Adam adam.revic...@kcl.ac.uk wrote: Dear Thomas I understand, that it's not a good idea, and I've seen similar issues on the list (http://www.ntg.nl/pipermail/ntg-context/2010/052339.html). I ran into this by making a deb package of a software

Re: [NTG-context] special character in filename

2011-03-05 Thread Reviczky, Adam
only Hans can decide if this can/should be changed I won't argue for any changes, just thought to ask about it. A simple yes, can be done or no, its a really bad idea is perfectly enough for me. I'll think about a workaround outside context. Cheers, Adam

<    4   5   6   7   8   9   10   11   12   13   >