Re: [NTG-context] finding out what font are available
I am getting closer to the solution. This is my new environment: % env | grep -i tex TEXMFOS=/home/ciro/context/tex/texmf-linux TEXMFCACHE=/home/ciro/context/tex/texmf-cache TEXMFPROJECT=/home/ciro/context/tex/texmf-project TEXMFLOCAL=/home/ciro/context/tex/texmf-local PATH=/home/ciro/context/tex/texmf-linux/bin:/home/ciro/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/bin/ PWD=/home/ciro/context/tex TEXMFCONTEXT=/home/ciro/context/tex/texmf-context TEXFORMATS=/home/ciro/context/tex/texmf-linux/web2c TEXMFDBS=/home/ciro/context/tex/texmf TEXMFEXTRA=/home/ciro/context/tex/texmf-extra MPMEMS=/home/ciro/context/tex/texmf-linux/web2c HOMETEXMF=/nonexist TEXMF=/home/ciro/context/tex/texmf TEXMFFONTS=/home/ciro/context/tex/texmf-fonts RUBYLIB=/home/ciro/context/tex/texmf-context/scripts/context/ruby: TEXMFCNF=/home/ciro/context/tex/texmf/web2c TEXMFMAIN=/home/ciro/context/tex/texmf OLDPWD=/home/ciro/context but running the mtxrun I get: % mtxrun --script fonts --list MtxRun | unknown script 'fonts.lua' or 'mtx-fonts.lua' any suggestion? thank you Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre On Fri, Jun 12, 2009 at 5:58 PM, Maurício wrote: > >> >> still something missing (the fonts script), and the cnf file >> >> Any advice? >> >> > http://wiki.contextgarden.net/ConTeXt_Minimals > > Best, > Maurício > > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] stand-alone ConTeXt
right now the most important thing missing in the distribution is: gs, ruby, xml stuffs, gzip, zip, and tidy. On Fri, Jun 12, 2009 at 3:44 PM, Hans Hagen wrote: > Kevin D. Robbins wrote: >> >> Thanks! I'll play around a bit with TeXWorks and Notepad++. > > i have texworks kind of working (stripped and patched set of configuration > files) and at some point i will add them to the distribution > > - > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | www.pragma-pod.nl > - > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Is this font changing allowed/correct?
Can I switch fonts like this? I know something is wrong because it doesn't work ('concrete' typeface is not used), but I would like to know if I'm in the right direction. Thanks, Maurício %%% \usetypescriptfile[type-gentium] \usetypescriptfile[type-otf] \usetypescript[gentium] \usetypescript[concrete] \setupbodyfont[gentium,20pt] \starttext Some text. { \switchtobodyfont[concrete] More text. } \stoptext %%% ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] finding out what font are available
I just installed the minimals from the link given by Mauricio, and followed instructions for the linux installation. I still get: %sudo mtxrun -script fonts --list MtxRun | error unable to identify cnf file MtxRun | error unable to identify cnf file MtxRun | no cnf files found (TEXMFCNF may not be set/known) MtxRun | unknown script: fonts BTW, I have the folliwng environment variables related to tex: % env TEXMFOS=/home/ciro/context/tex/texmf-linux TEXMFCACHE=/home/ciro/context/tex/texmf-cache SHELL=/bin/bash TEXMFLOCAL=/usr/share/texmf-local PATH=/home/ciro/context/tex/texmf-linux/bin:/home/ciro/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/bin/ CTXMINIMAL=yes TEXMFFONTS=/usr/share/texmf-fonts TEXMFCNF=/usr/share/texmf/web2c TEXMFMAIN=/usr/share/texmf thank you, Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre On Fri, Jun 12, 2009 at 5:58 PM, Maurício wrote: > >> >> still something missing (the fonts script), and the cnf file >> >> Any advice? >> >> > http://wiki.contextgarden.net/ConTeXt_Minimals > > Best, > Maurício > > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] finding out what font are available
still something missing (the fonts script), and the cnf file Any advice? http://wiki.contextgarden.net/ConTeXt_Minimals Best, Maurício ___ 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] label, caption and eps in figures?
Pau wrote: Hello, thanks for the hint. The legend worked very well. Nevertheless, I still have not understood what the equivalent in ConTeXt of LaTeX \ref{} <---> \label{} is label is always an optional arg refs go like: \in{figure}[label] or \at{page}[label] --- \begin{equation} 1 + 1 = 2 \label{eq.1} \end{equation} In Eq. \ref{eq.1}, we show that one plus one equals two How would you write that in ConTeXt? \placeformula[label] \startformula . \stopformula And for a figure? \placefigure [here] % location [fig.MyCaption] % reference {My Caption} % caption {\externalfigure[MyFigure.eps][factor=broad]} - 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] finding out what font are available
I installed lutex 0.28.0-2 Then I ran the command that Khaled told me, and I got % sudo mtxrun -script fonts --list MtxRun | error unable to identify cnf file MtxRun | error unable to identify cnf file MtxRun | no cnf files found (TEXMFCNF may not be set/known) MtxRun | unknown script: fonts still something missing (the fonts script), and the cnf file Any advice? thank you Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre On Fri, Jun 12, 2009 at 5:17 AM, Matthijs Kooijman wrote: > Hi Ciro, > > > How do I solve the problem then? > You should probably just install the luatex package (IIRC you were running > Ubuntu, which should ship it, Debian does at least). > > Gr. > > Matthijs > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEARECAAYFAkoyHSEACgkQz0nQ5oovr7wHeQCfQXfqBPTydHiM1/+/Gqg8itue > 8YAAoNbHtVHYKpGyeIXpPnqbZKGCeChn > =ctFN > -END PGP 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] label, caption and eps in figures?
Hello, thanks for the hint. The legend worked very well. Nevertheless, I still have not understood what the equivalent in ConTeXt of LaTeX \ref{} <---> \label{} is --- \begin{equation} 1 + 1 = 2 \label{eq.1} \end{equation} In Eq. \ref{eq.1}, we show that one plus one equals two How would you write that in ConTeXt? And for a figure? thanks for your patience, Pau >>> "Fig. 1" on it) and with the label. \ref{fig.mylabel} is not >>> recognised (see below). >> > > \setuplabeltext[en][figure=Fig. ] > >> \starttext >> >> \placefigure > [fig.MyCaption] >> {My Caption} >> {\externalfigure[MyFigure.eps][factor=broad]} >> >> \stoptext > -- Let there be peace on earth. And let it begin with misc ___ 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] Bug in mark to ligature handling
On Wed, Mar 04, 2009 at 12:13:38AM +0200, Khaled Hosny wrote: > > Marks don't get positioned correctly unless all marks are supplied, if > one mark is omitted, the next mark will be positioned at the first > anchor point, not in the second one etc, in some cases it'll even not > positioned on the anchor point at all. > > In the attached sample, the first word in the line is correct, > subsequent ones aren't. > (The font used: > http://raqm.googlecode.com/svn/trunk/fonts/simplenaskhi/SimpleNaskhi.ttf) I think I found another similar bug. In the attached file, the mark should have applied to index 4 not index 1 (since it comes after the last component in the ligature). BTW, thanks for \showotfcomposition command, it is very handy in "visually" debugging opentype fonts :) P.S. You need the latest version of the font to trigger this bug. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer \definefontfeature[otfnaskhi] [mode=node,language=dflt,script=arab, init=yes,medi=yes,fina=yes,calt=yes, rlig=yes,liga=yes,dlig=yes,curs=yes, mark=yes,mkmk=yes] \starttext \showotfcomposition{SimpleNaskhi*otfnaskhi at 40pt}{-1}{اللهِ} \stoptext liga_mark.pdf Description: Adobe PDF document 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] label, caption and eps in figures?
Pau wrote: Hello, I am struggling to get something equivalent to this in ConTeXt: - \begin{figure} \resizebox{\hsize}{!}{\includegraphics[scale=1,bb=0 0 0 0,clip] {MyFigure.eps}} \caption{My Caption \label{fig.mylabel} } \end{figure} - I am especially having difficulties with caption (I would need a bold "Fig. 1" on it) and with the label. \ref{fig.mylabel} is not recognised (see below). \starttext \placefigure {My Caption} {\externalfigure[MyFigure.eps][factor=broad]} \stoptext by default pdftex is used; if you use eps, best convert them to pdf first (once) - 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] label, caption and eps in figures?
Hello, I am struggling to get something equivalent to this in ConTeXt: - \begin{figure} \resizebox{\hsize}{!}{\includegraphics[scale=1,bb=0 0 0 0,clip] {MyFigure.eps}} \caption{My Caption \label{fig.mylabel} } \end{figure} - I am especially having difficulties with caption (I would need a bold "Fig. 1" on it) and with the label. \ref{fig.mylabel} is not recognised (see below). Also, texexec seems to not understand the eps format The closest I have got is this: - \placeexternalfigure{\externalfigure[MyFigure][label=fig.mylabel,factor=broad,method=eps] \addlegendentry{My Caption} } - Any help will be appreciated a lot Pau ___ 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] Is there any "leftoffset" and "rightoffset" possibilities for \framed (in natural tables) ?
Peter Münster wrote: On Fri, 12 Jun 2009, Wolfgang Schuster wrote: Am 12.06.2009 um 15:04 schrieb B. Tommy Jensen: I have the following challenge: I am using natural Tables (e.g. \bTABLE) and want to have a larger left/right offset than the top/bottom offset for the table cells. The "offset" parameter (which I believe is from the \framed command) works fine, but assigns equal offset to all sides of the table cell. Does anybody have a tip/solution on how to get individual left/right/top/bottom offsets? MkIV only: loffset/roffset/toffset/boffset. Great! Then http://tracker.luatex.org/view.php?id=113 can be closed, I suppose. done - 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] Is there any "leftoffset" and "rightoffset" possibilities for \framed (in natural tables) ?
On Fri, 12 Jun 2009, Wolfgang Schuster wrote: > Am 12.06.2009 um 15:04 schrieb B. Tommy Jensen: > > > I have the following challenge: > > > > I am using natural Tables (e.g. \bTABLE) and want to have a larger > > left/right offset than the top/bottom offset for the table cells. > > > > The "offset" parameter (which I believe is from the \framed command) works > > fine, but assigns equal offset to all sides of the table cell. > > > > Does anybody have a tip/solution on how to get individual > > left/right/top/bottom offsets? > > MkIV only: loffset/roffset/toffset/boffset. Great! Then http://tracker.luatex.org/view.php?id=113 can be closed, I suppose. Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Is there any "leftoffset" and "rightoffset" possibilities for \framed (in natural tables) ?
Am 12.06.2009 um 15:04 schrieb B. Tommy Jensen: I have the following challenge: I am using natural Tables (e.g. \bTABLE) and want to have a larger left/right offset than the top/bottom offset for the table cells. The "offset" parameter (which I believe is from the \framed command) works fine, but assigns equal offset to all sides of the table cell. Does anybody have a tip/solution on how to get individual left/right/ top/bottom offsets? MkIV only: loffset/roffset/toffset/boffset. 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 ___
[NTG-context] Is there any "leftoffset" and "rightoffset" possibilities for \framed (in natural tables) ?
I have the following challenge: I am using natural Tables (e.g. \bTABLE) and want to have a larger left/right offset than the top/bottom offset for the table cells. The "offset" parameter (which I believe is from the \framed command) works fine, but assigns equal offset to all sides of the table cell. Does anybody have a tip/solution on how to get individual left/right/top/bottom offsets? Regards, B. Tommy Jensen ___ 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] finding out what font are available
Hi Ciro, > How do I solve the problem then? You should probably just install the luatex package (IIRC you were running Ubuntu, which should ship it, Debian does at least). Gr. Matthijs 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] possible problem with setuptex
Mojca Miklavec wrote: >> >> But I'm asking myself, how SELFAUTOPARENT works: >> luatex is here: /opt/context/tex/texmf-linux-64/bin/luatex >> So it seems, that SELFAUTOPARENT is /opt/context/tex > > Yes. > >> But I would have guessed that it's /opt/context/tex/texmf-linux-64 ... > > No, that's SELFAUTODIR. And /opt/context/tex/texmf-linux-64/bin/luatex is SELFAUTOLOC. The somewhat confusing variable names are a historical artifact. Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] possible problem with setuptex
On Fri, Jun 12, 2009 at 07:25, Peter Münster wrote: > On Fri, 12 Jun 2009, Mojca Miklavec wrote: > >> I left TEXMFCACHE variable as an excuse for not adding texmfcnf.lua to >> the distribution. (Though in theory it's still not needed, you just >> need to regenerate the database since LuaTeX doesn't know about the >> location of your old cache.) >> >> I have added the file now. > > Great, it works now. Clean solution! > > But I'm asking myself, how SELFAUTOPARENT works: > luatex is here: /opt/context/tex/texmf-linux-64/bin/luatex > So it seems, that SELFAUTOPARENT is /opt/context/tex Yes. > But I would have guessed that it's /opt/context/tex/texmf-linux-64 ... No, that's SELFAUTODIR. > I even suggest, to suppress setuptex and only write in the readme/wiki, > that the PATH must be adjusted so that context can be found, that's all. We could issue a warning or we could put something at the end of first-setup.sh (that needs to be renamed anyway) to tell users that they should either adjust path or use the script. I might be having weird habits, but I really like being able to have a simple single command that switches the TeX tree. export PATH=/something/very/long/:$PATH costs more effort to type than just ". setuptex" :) :) :) Wiki could/should be modified for sure. One day I need to revise all kinds of instructions for different installations ... (finishing study in time has a high priority at the moment). The initial idea of setuptex was to shield all the environmental variables that have been set by tetex. I suspect that cleaning up setuptex had a consequence that it's not able to shield tetex any more, but nobody has complained so far ... Mojca ___ 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] stand-alone ConTeXt
Kevin D. Robbins wrote: Thanks! I'll play around a bit with TeXWorks and Notepad++. i have texworks kind of working (stripped and patched set of configuration files) and at some point i will add them to the distribution - 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 ___