Re: [NTG-context] Type-setting filenames
I am using \filename to type-set filenames. Some of these are very long (greater than 30 characters) and overhang the right hand margin, sometimes even disappearing off the edge of the page. The first line break is just before the full stop. There are usually plenty of spaces in the names. Can I get ConTeXt to put a line-break into filenames? Did you try \hyphenatedfilename ? Yes, I tried that, no difference. I presume that \hyphenatedfilename is for use with filenames that already have hyphens in them? Mine don't, but I want them to split. Perhaps splitting filenames is frowned upon - if so, what is the best way to put them into documents? Or perhaps I should use shorter filenames, but why should I compromise readability? One example is Transfer functions for PID and KF controllers.xmcd Any ideas or comments? Richard ___ 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] Type-setting filenames
[EMAIL PROTECTED] wrote: I am using \filename to type-set filenames. Some of these are very long (greater than 30 characters) and overhang the right hand margin, sometimes even disappearing off the edge of the page. The first line break is just before the full stop. There are usually plenty of spaces in the names. Can I get ConTeXt to put a line-break into filenames? Did you try \hyphenatedfilename ? Yes, I tried that, no difference. I presume that \hyphenatedfilename is for use with filenames that already have hyphens in them? Mine don't, but I want them to split. Perhaps splitting filenames is frowned upon - if so, what is the best way to put them into documents? Or perhaps I should use shorter filenames, but why should I compromise readability? One example is Transfer functions for PID and KF controllers.xmcd Any ideas or comments? \def\myfilename#1{{\spaceskip.25em plus 1em\relax\tttf\normallanguage\zerocount#1}} \myfilename{Transfer functions for PID and KF controllers.xmcd} \myfilename{Transfer functions for PID and KF controllers.xmcd} \myfilename{Transfer functions for PID and KF controllers.xmcd} \myfilename{Transfer functions for PID and KF controllers.xmcd} - 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 ___
[NTG-context] problem finding files (cygwin-related?)
Hi all, I try to help a colleague who has successfully installed ConTeXt using the Windows installer and has started typesetting some documents. His installation has problems finding files. Using something like \input ./path/to/file.tex works OK, but this doesn't: \externalfigure[./path/to/file.pdf] He gets a figure ./path/to/file.pdf can not be found-error, while the same code works OK with my local Windows in a VMware virtual machine. He happens to have cygwin installed (I don't have it) and I was wondering whether that is the course of his problems? How does cygwin interfere with finding the /path/to/the picture file? Can I solve this by escaping the path in some special way? Or would moving the picture to the current directory help? Thanks for any suggestions, Jelle ___ 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] Type-setting filenames
On Thu, Sep 18, 2008 at 11:09 AM, Hans Hagen [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: I am using \filename to type-set filenames. Some of these are very long (greater than 30 characters) and overhang the right hand margin, sometimes even disappearing off the edge of the page. The first line break is just before the full stop. There are usually plenty of spaces in the names. Can I get ConTeXt to put a line-break into filenames? Did you try \hyphenatedfilename ? Yes, I tried that, no difference. I presume that \hyphenatedfilename is for use with filenames that already have hyphens in them? Mine don't, but I want them to split. Perhaps splitting filenames is frowned upon - if so, what is the best way to put them into documents? Or perhaps I should use shorter filenames, but why should I compromise readability? One example is Transfer functions for PID and KF controllers.xmcd Any ideas or comments? \def\myfilename#1{{\spaceskip.25em plus 1em\relax\tttf\normallanguage\zerocount#1}} \myfilename{Transfer functions for PID and KF controllers.xmcd} \myfilename{Transfer functions for PID and KF controllers.xmcd} \myfilename{Transfer functions for PID and KF controllers.xmcd} \myfilename{Transfer functions for PID and KF controllers.xmcd} Why do you use the language trick and not just \nohyphens? 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Type-setting filenames
\def\myfilename#1{{\spaceskip.25em plus 1em\relax\tttf\normallanguage\zerocount#1}} \myfilename{Transfer functions for PID and KF controllers.xmcd} \myfilename{Transfer functions for PID and KF controllers.xmcd} \myfilename{Transfer functions for PID and KF controllers.xmcd} \myfilename{Transfer functions for PID and KF controllers.xmcd} That works brilliantly (I've no idea why through). Thanks Hans ___ 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] lang-ita.tex (see=)
Missing from lang-ita.tex: \setuplabeltext[\s!fr][\v!see=voir ] (indeed, this label needs to be set for all of the variants fr es ca it la pt ro) Thanks, 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Type-setting filenames
Wolfgang Schuster wrote: On Thu, Sep 18, 2008 at 11:09 AM, Hans Hagen [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: I am using \filename to type-set filenames. Some of these are very long (greater than 30 characters) and overhang the right hand margin, sometimes even disappearing off the edge of the page. The first line break is just before the full stop. There are usually plenty of spaces in the names. Can I get ConTeXt to put a line-break into filenames? Did you try \hyphenatedfilename ? Yes, I tried that, no difference. I presume that \hyphenatedfilename is for use with filenames that already have hyphens in them? Mine don't, but I want them to split. Perhaps splitting filenames is frowned upon - if so, what is the best way to put them into documents? Or perhaps I should use shorter filenames, but why should I compromise readability? One example is Transfer functions for PID and KF controllers.xmcd Any ideas or comments? \def\myfilename#1{{\spaceskip.25em plus 1em\relax\tttf\normallanguage\zerocount#1}} \myfilename{Transfer functions for PID and KF controllers.xmcd} \myfilename{Transfer functions for PID and KF controllers.xmcd} \myfilename{Transfer functions for PID and KF controllers.xmcd} \myfilename{Transfer functions for PID and KF controllers.xmcd} Why do you use the language trick and not just \nohyphens? because of a bug in luatex -) - 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] problem finding files (cygwin-related?)
On Thu, 18 Sep 2008, Jelle Huisman wrote: Hi all, I try to help a colleague who has successfully installed ConTeXt using the Windows installer and has started typesetting some documents. His installation has problems finding files. Using something like \input ./path/to/file.tex works OK, but this doesn't: \externalfigure[./path/to/file.pdf] He gets a figure ./path/to/file.pdf can not be found-error, while the same code works OK with my local Windows in a VMware virtual machine. He happens to have cygwin installed (I don't have it) and I was wondering whether that is the course of his problems? How does cygwin interfere with finding the /path/to/the picture file? Can I solve this by escaping the path in some special way? Or would moving the picture to the current directory help? Is he trying to compile the file on cygwin or on cmd.exe? Was ruby installed for windows or for cygwin? Was another tex package installed on cygwin which may be interfering with context binaries (cygwin resets the paths when it is started). 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] problem finding files (cygwin-related?)
Hi Aditya, Is he trying to compile the file on cygwin or on cmd.exe? Both don't work. Was ruby installed for windows or for cygwin? For cygwin. Was another tex package installed on cygwin which may be interfering with context binaries (cygwin resets the paths when it is started). No. We'll try to remove the path to the cygwin commands and install standalone ruby for windows. Any other suggestions? Thanks, Jelle ___ 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] The most Tex friendly distribution?
On Sep 18, 2008, at 7:30 AM, Peter Münster wrote: You're right, but I've to protect suse a bit: this was only an issue with a very new MKIV (new logic how to use TEXINPUTS), and suse could really not know about that. TEXINPUTS was quite useful, because every user could put his own personal directory in it, and there did not need to be an ls-R file. Cheers, Peter Well, no offense, I used to be a big fan of SuSE myself (still like it a lot, but their package manager really needs work). But: I just double-checked, and TEXINPUTS is still set on my 11.0 system - even though I don't have any SuSE-provided TeX-system installed. That's really unpardonable. I can understand why they want to set it for their own TeXLive packages, but not on a virgin system without any TeX component. For an inexperienced user who wants to install TeXLive from DVD or via the net installer, this will be a major obstacle. So I think the point remains valid: SuSE is not a TeX-friendly distribution. Thomas ___ 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] Arabic numbers (in MkIV) should be left to right
Arabic numbers (characters with bidi property an) should be left to right, just as European numbers ((characters with bidi property en). Currently Arabic numbers are made right to left: \setupdirections[bidi=global] \starttext 12345\par ١٢٣٤٥ \stoptext Both line should have the same digits order. I think d == an in core-spa.lua line 1075 should be moved to line 1071 (I tested it and it does fix this issue for me). -- Khaled Hosny Arabic localizer and member of Arabeyes.org team signature.asc Description: Digital signature ___ 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] problem finding files (cygwin-related?)
On Thu, 18 Sep 2008, Jelle Huisman wrote: Hi Aditya, Is he trying to compile the file on cygwin or on cmd.exe? Both don't work. Was ruby installed for windows or for cygwin? For cygwin. Was another tex package installed on cygwin which may be interfering with context binaries (cygwin resets the paths when it is started). No. We'll try to remove the path to the cygwin commands and install standalone ruby for windows. Any other suggestions? I had a hard time getting texexec to work with cygwin ruby? Although I do not think that finding images is related to ruby. Try installing windows ruby and run everything from cmd.exe. (And check the paths carefully). This way you eliminate cygwin from the picture (It is installed by not in the path). If the problem persists, then others on windows should be able to reproduce it. 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] problem finding files (cygwin-related?)
Hi Aditya, I had a hard time getting texexec to work with cygwin ruby? Although I do not think that finding images is related to ruby. Try installing windows ruby and run everything from cmd.exe. (And check the paths carefully). This way you eliminate cygwin from the picture (It is installed by not in the path). This is what we did and that solved it. Thanks! Jelle ___ 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] Updating LuaTeX on MacTeX-TeXLive 2008
Dear ConTeXters, I just updated my TeX installation with the latest MacTeX-TeXLive 2008, and since the version of LuaTeX included there was 0.25.0, I built a binary version LuaTeX, Version snapshot-0.29.0-2008091817. Now the problem is that my usual procedure for generating mkiv doesn't work and I couldn't fix the problem… (That procedure used to work fine with the previous version of MacTeX-TeXLive 2008). More precisely mtxrun --selfupdate seems to work fine, but then luatools --selfupdate results in: LuaTools | to be replaced old script /usr/texbin/luatools LuaTools | unable to locate new script LuaTools | LuaTools | runtime: 0.082 seconds and the command luatools --generate apparently works fine, since there is no complaints, as far as I can see. Now when I issue the command: luatools --ini --verbose --compile cont-en luatools stops after executing some commands and finally I get: LuaTools | using lua initialization file cont-en.luc LuaTools | running command: luatex --ini --lua=cont-en.luc /usr/ local/texlive/texmf-local/tex/context/base/cont-en.tex \\dump (/usr/local/texlive/texmf-local/tex/context/base/cont-en.tex ! I can't find file `context.tex'. l.16 \input context.tex Please type another input file name: If I do give a complete path for this file, that is /usr/local/texlive/texmf-local/tex/context/base/context.tex (or for another one /usr/local/texlive/2008/texmf-dist/tex/context/ base/context.tex) again luatools complaints about not finding the file syst-pln.tex… and so on. I should say that I execute also the commands export TEXMFCACHE=/tmp export TEXMFCNF=/usr/local/texlive/2008/texmf/web2c/ export TEXMF={/Users/kavian/Library/texmf,/usr/local/texlive/2008/ texmf-config,/usr/local/texlive/2008/texmf-var,/usr/local/texlive/ 2008/../texmf-local,/usr/local/texlive/2008/texmf-dist,/usr/local/ texlive/2008/texmf,/usr/local/texlive/texmf-local} export LUAINPUTS={/usr/local/texlive/texmf-local/tex/context/base,/ usr/local/texlive/texmf-local/scripts/context/lua} export OSFONTDIR={/Users/kavian/Library/Fonts,/Library/Fonts} export TEXMFSCRIPTS={$TEXMF/scripts/context/,$TEXMF/tex/context/base} before the above. Since I do most of the operations without really understanding what is going on, I am sure I am doing something wrong… But what? Thanks for your help… Best regards: OK ___ 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] mkii colour problem
Jano Kula jano.kula at tiscali.cz writes: I've just compiled it with mkii and mkiv. At first sight they looked identical, but in mkiv the dots in the first line are in red. I didn't study the code (quite long minimal example) so I don't know what was your aim. should be able to upload it on http://www.filebin.ca/. Doesn't work now, so I'm sending it to you off-list. Jano Just take a look at the colour used for the hyperlinks (on page 2), in both cases it's black instead of sephia. Source; http://pastebin.com/m4dd31559 test6-mkii.pdf; http://filebin.ca/ghvkcv/test6-mkii.pdf or http://filebin.ca/ghvkcv test6-mkiv.pdf; http://filebin.ca/efqws/test6-mkiv.pdf or http://filebin.ca/efqws ___ 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 ___