Re: [NTG-context] Interaction and accented letters
Hi, Mojca Miklavec wrote: > On Sat, Sep 20, 2008 at 11:19 AM, Flavien Lambert wrote: >> In fact, I have just checked that this options are not necessary. I forgot >> to say that I was using XeTeX. It seems that, even with these options, >> accented letters are not printed properly in the properties of the document. >> There is no problems with standard ConTeXt (MKII). > > See the thread > [Dev-luatex] Unicode in \pdfinfo > > I fear that not many people are able to help, but you can still try to > bribe Hans (who doesn't use XeTeX himself) > ... or Taco. Who also doesn't use XeTeX himself, normally. Anyway, the simple question is what has go into xetex at the lowest level. If that is clear, it should not be hard to add support for Unidoc encoding to the dvipdfmx backend. 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] Interaction and accented letters
On Sat, Sep 20, 2008 at 11:19 AM, Flavien Lambert wrote: > In fact, I have just checked that this options are not necessary. I forgot > to say that I was using XeTeX. It seems that, even with these options, > accented letters are not printed properly in the properties of the document. > There is no problems with standard ConTeXt (MKII). See the thread [Dev-luatex] Unicode in \pdfinfo -- > I suspected that, since hyperrref with latex does this, but I found that > xetex supports Unicode pdfinfo directly and thought luatex should do > this too. Yes, hyperref with LaTeX does this, but I recommend looking at _how_ it does this. It is another case of "code nobody but Heiko would come up with and very few people would be able to maintain". -- I fear that not many people are able to help, but you can still try to bribe Hans (who doesn't use XeTeX himself) or Taco. Mojca (who cannot sleep) > 2008/9/19 Braslau & Rachline wrote: >> >> On Friday 19 September 2008 19:00:42 Flavien Lambert wrote: >> > Dear all, is there a way to put accented letters in the interaction >> > command >> > ? I tried >> > \setupinteraction[state=start, >> > author={Flavien Lambert}, >> > title={Optique géométrique}, >> > date={Septembre 2008}] >> > >> > and >> > >> > \setupinteraction[state=start, >> > author={Flavien Lambert}, >> > title={Optique g\'eom\'etrique}, >> > date={Septembre 2008}] >> > >> > but both trials led to strange things in Acrobat Reader and Evince. >> >> \enableregime[utf] >> \mainlanguage[fr] >> % before \placebookmarks : >> \input spec-tst % to prevent turning accented characters >>% into their unaccented counterparts >> \placebookmarks[chapter,section,subsection][chapter,section] >> \setupinteraction[state=start, % make hyperlinks active, etc. >> option=bookmark, >> title={Titre accentué}, >> subtitle={etc...}, >> author={moi-même}, >> keyword={français}] >> >> Works with acroread and okular... >> >> The "\input spec-tst" trick is somewhere in the documentation or wiki... >> > > > > -- > Flavien. > > "Quantum objects are completely crazy but, at least, they are all crazy in > the same way." R.P. Feynman. ___ 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] how to color footnote?
On Mon, 22 Sep 2008, Steffen Wolfrum wrote: > THAT'S GREAT: :) > Am 22.09.2008 um 21:32 schrieb Aditya Mahajan: > >> On Mon, 22 Sep 2008, Steffen Wolfrum wrote: >>> >>> Ahh, now I see where my problem lays: >>> >>> >>> \setupcolors[state=start] >>> >>> \starttext >>> >>> \setupinteraction[state=start] >>> >>> \setupfootnotes[textcolor=magenta] >>> >>> \setupfootnotedefinition[before={\color[green]}] >>> test\footnote{test} >>> >>> \stoptext >>> >>> Despite the fact that interaction carries its own color, elements can >>> be re-colored by their own color definition (see above). >>> Only the number of the note in front of the footnote text always gets >>> overridden by interaction color! >> >> Because it is overridden by interaction color. > > It gets overridden by interaction color because it is overriden by > interaction color? :) Ok, I guess I should read what I write. What I meant was that interaction is added last, so everything gets overridden by interaction colors. > >>> This distinction I didn't expect. >>> >>> >>> Why should exclusively that poor little number not be allowed to have >>> its own color? >> >> There should be a better way to do this (set interaction color and >> interaction style of each element separately), but for your case you >> can >> use >> >> \setupcolors[state=start] >> >> \starttext >> >> \setupinteraction[state=start] >> >> \setupfootnotes[textcolor=magenta] >> >> \setupfootnotedefinition[before={\color[green]}] >> test\footnote{test} >> >> \stoptext > > > It's like a game for kids ... "who finds the 10 differences between > Aditya's lines and Steffen's lines?" > > =o) > > Next try? Volunteers! > > Who get's the little darkgreen footnote number paint in red ... > nobody??? Hopefully, will past e the correct thing this time \setupcolors[state=start] \setupinteraction[state=start] \setupfootnotes[textcolor=magenta] \setupfootnotedefinition[before={\setupinteraction[color=blue]}] \starttext \section[one] {Fist} test\footnote{test} See section \in[one]. \stoptext 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 ___
[NTG-context] "Typesetters for Hire" wiki page
>> I feel we can create similar wiki section, Typesetters for Hire, and >> promote it in some way. Don't we? > I don't think any potential customer would find us there. > In web app development you often look for people with framework-XY > skills; in typesetting you only look for a typesetter... Or are your > experiences different? Maybe someone look for for a typesetter with ConTeXt skills :) Seriously, I think the best way to promote ConTeXt is to use it in as many commercial projects as possible. Vyatcheslav ___ 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] ConTeXt Package for Notepad++ v. 5.0.3
On Mon, Sep 22, 2008 at 9:03 PM, Idris Samawi Hamid <[EMAIL PROTECTED]>wrote: > Hi Alan, > > On Mon, 22 Sep 2008 04:26:26 -0600, Alan Stone > <[EMAIL PROTECTED]> wrote: > > > Re: http://wiki.contextgarden.net/Notepad%2B%2B > > > > It mentions "you can also use it under wine". > > > > > Ubuntu 8.04 Hardy Heron (Desktop) > > http://notepad-plus.sourceforge.net/uk/nppLinux.php > I got the Npp/Wine/LNX installation ok already Idris. Thanks anyway. It's Npp's WXP settings transfer to Wine/LNX I'm currently trying to figure out. That's for tomorrow. Will keep you informed if I manage to make this stuff work. -- Best, Alan Ubuntu 8.04 Hardy Heron (Desktop) * ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int: english/english (ConTeXt minimals installation) * texexec --lua foo ___ 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] how to color footnote?
THAT'S GREAT: Am 22.09.2008 um 21:32 schrieb Aditya Mahajan: > On Mon, 22 Sep 2008, Steffen Wolfrum wrote: >> >> Ahh, now I see where my problem lays: >> >> >> \setupcolors[state=start] >> >> \starttext >> >> \setupinteraction[state=start] >> >> \setupfootnotes[textcolor=magenta] >> >> \setupfootnotedefinition[before={\color[green]}] >> test\footnote{test} >> >> \stoptext >> >> Despite the fact that interaction carries its own color, elements can >> be re-colored by their own color definition (see above). >> Only the number of the note in front of the footnote text always gets >> overridden by interaction color! > > Because it is overridden by interaction color. It gets overridden by interaction color because it is overriden by interaction color? >> This distinction I didn't expect. >> >> >> Why should exclusively that poor little number not be allowed to have >> its own color? > > There should be a better way to do this (set interaction color and > interaction style of each element separately), but for your case you > can > use > > \setupcolors[state=start] > > \starttext > > \setupinteraction[state=start] > > \setupfootnotes[textcolor=magenta] > > \setupfootnotedefinition[before={\color[green]}] > test\footnote{test} > > \stoptext It's like a game for kids ... "who finds the 10 differences between Aditya's lines and Steffen's lines?" =o) Next try? Volunteers! Who get's the little darkgreen footnote number paint in red ... nobody??? Steffen ___ 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] Units module - bug?
Hi, I see that the units module puts a nonstretchable/nonshrinkable space between the number and the unit. Is that ok? Perhaps the space should be thin (this is what Knuth recommends in The TeXbook, and I guess it looks nicer)? Greets -- Marcin Borkowski (http://mbork.faculty.fmcs.amu.edu.pl) Niektórzy nie mówią tego, co myślą; Patrzą na świat przez czarne okulary. Ale ja wierzę, że nam się uda! (Chili My) ___ 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] how to color footnote?
On Mon, 22 Sep 2008, Steffen Wolfrum wrote: > > Ahh, now I see where my problem lays: > > > \setupcolors[state=start] > > \starttext > > \setupinteraction[state=start] > > \setupfootnotes[textcolor=magenta] > > \setupfootnotedefinition[before={\color[green]}] > test\footnote{test} > > \stoptext > > Despite the fact that interaction carries its own color, elements can > be re-colored by their own color definition (see above). > Only the number of the note in front of the footnote text always gets > overridden by interaction color! Because it is overridden by interaction color. > This distinction I didn't expect. > > > Why should exclusively that poor little number not be allowed to have > its own color? There should be a better way to do this (set interaction color and interaction style of each element separately), but for your case you can use \setupcolors[state=start] \starttext \setupinteraction[state=start] \setupfootnotes[textcolor=magenta] \setupfootnotedefinition[before={\color[green]}] test\footnote{test} \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] ConTeXt Package for Notepad++ v. 5.0.3
Hi Alan, On Mon, 22 Sep 2008 04:26:26 -0600, Alan Stone <[EMAIL PROTECTED]> wrote: > Re: http://wiki.contextgarden.net/Notepad%2B%2B > > It mentions "you can also use it under wine". > Ubuntu 8.04 Hardy Heron (Desktop) http://notepad-plus.sourceforge.net/uk/nppLinux.php I'm not on Linux so I don't know how to remap the directories if necessary... Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] how to color footnote?
Am 22.09.2008 um 18:38 schrieb Taco Hoekwater: > Steffen Wolfrum wrote: >> ... while dealing with colored elements: >> >> >> having the footnote number (down in front of the footnote text) in >> dark green is not that bad, just, why can't it be colored in an other >> way? >> >> I tried in vain both in \setupfootnotes and \setupfootnotedefinition: >> numbercolor, color... >> Only \setupfootnotes[textcolor=magenta] affects the footnote number >> in >> the main text. >> >> But nothing changes in the footnote area. > > \setupfootnotedefinition[before={\color[green]}] Ahh, now I see where my problem lays: \setupcolors[state=start] \starttext \setupinteraction[state=start] \setupfootnotes[textcolor=magenta] \setupfootnotedefinition[before={\color[green]}] test\footnote{test} \stoptext Despite the fact that interaction carries its own color, elements can be re-colored by their own color definition (see above). Only the number of the note in front of the footnote text always gets overridden by interaction color! This distinction I didn't expect. Why should exclusively that poor little number not be allowed to have its own color? Steffen ___ 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 with text floating around tikz picture
Marcin Borkowski wrote: > Hi again;), > > this won't work: > > \placefigure[right]{none}{\starttikzpicture > \draw (0,0) -| (2,2) -| (0,0) -- (2,2) > (2,0) -- (0,2) > (1,1) circle(1); > \stoptikzpicture} > (some text...) > > The tikzpicture apparently extends to the whole text width, resulting in > an overfull box (and nasty paragraph formatting). Putting it into an > \hbox helps, so I know what to do; the question is, _why_ this works > that way? \starttikzpicture should do the box trick ... \let\normalstarttikzpicture\starttikzpicture \let\normalstoptikzpicture \stoptikzpicture \def\starttikzpicture{\hbox\bgroup\nomalstarttikzpicture} \def\stoptikzpicture {\nomalstoptikzpicture\egroup} but i'm not maintaining thst module myself Hans - 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 with text floating around tikz picture
Hi again;), this won't work: \placefigure[right]{none}{\starttikzpicture \draw (0,0) -| (2,2) -| (0,0) -- (2,2) (2,0) -- (0,2) (1,1) circle(1); \stoptikzpicture} (some text...) The tikzpicture apparently extends to the whole text width, resulting in an overfull box (and nasty paragraph formatting). Putting it into an \hbox helps, so I know what to do; the question is, _why_ this works that way? Greets -- Marcin Borkowski (http://mbork.faculty.fmcs.amu.edu.pl) ___ 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] Pagenumbering on the first page of a section/chapter/...
Dnia Mon, Sep 22, 2008 at 07:27:28PM +0200, Marcin Borkowski napisał(a): > Hi, > > I'd like to define a section-like thing (with \definehead) in a way that > prevents ConTeXt from putting the pagenumber on the _first_ page of this > "section". How do I do this? ok, I've got it: \setuphead[something] [footer=empty] > > Greets > > -- > Marcin Borkowski (http://mbork.faculty.fmcs.amu.edu.pl) > ___ > 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 > ___ -- Marcin Borkowski (http://mbork.faculty.fmcs.amu.edu.pl) If Microsoft ever makes anything which doesn't suck, it will be a vacuum cleaner. ___ 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] Updating LuaTeX after MacTeX-TeXLive 2008 (again)
On Mon, Sep 22, 2008 at 3:05 PM, Otared Kavian wrote: > Hi Mojca, > > Many thanks for your attention and insight. > I tried what you said and I put all the instructions you gave in a file I am > sending you: it is meant (once all the steps work fine) to become a file > updating-context.sh > which could be excuted in a Terminal window upon saying >sh updating-context.sh ctxtools --updatecontext is supposed to do that, but it has some problems. One thing that needs to be fixed in your script: - recognising platform should be automatic & paths should be fixed - you should check first if one really has TL 2008 installed; on other platforms your assumptions won't work But on the other hand, it might make more sense to resolve problems with Norbert's script, and then offer proper updates. Honestly, I would not like these updating procedures to spread around too much, since you'll then have people asking you completely weird questions. TeX Live is not supposed to be updated the way I told you. > Now mkii can be updated following your instructions after fixing some chmod > issues. Those chmod problems should be fixed on the server. > If the remaining problems described in the attached file are solved in such > a way that a non specialist like me can uderstand, then I'll put the script > and the explanations of the commands on the wiki. > I presume it will be helpful for others too… You don't need export TEXMFCNF > #I added this because the file in question was missing > # the execute bit > sudo chmod 755 /usr/texbin/texexec That should be fixed in ConTeXt zips themselves, but I bet that the program that Hans uses and 99% of other compression programs do not allow setting executable bits anywhere. So it might be a good hint to post-modify files on the garden. Concerning MKIV: I have found one extremely weird thing in my TL bin: luatools -> ../../texmf-dist/scripts/context/stubs/unix/luatools This looks a bit problematic to me. Please wait for Taco's or Karl's answer. I have never noticed that weird thing 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 ___
[NTG-context] Pagenumbering on the first page of a section/chapter/...
Hi, I'd like to define a section-like thing (with \definehead) in a way that prevents ConTeXt from putting the pagenumber on the _first_ page of this "section". How do I do this? Greets -- Marcin Borkowski (http://mbork.faculty.fmcs.amu.edu.pl) ___ 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] how to color footnote?
Steffen Wolfrum wrote: > ... while dealing with colored elements: > > > having the footnote number (down in front of the footnote text) in > dark green is not that bad, just, why can't it be colored in an other > way? > > I tried in vain both in \setupfootnotes and \setupfootnotedefinition: > numbercolor, color... > Only \setupfootnotes[textcolor=magenta] affects the footnote number in > the main text. > > But nothing changes in the footnote area. \setupfootnotedefinition[before={\color[green]}] 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] [Linux] font name database
On Mon, Sep 22, 2008 at 5:04 PM, Hans Hagen <[EMAIL PROTECTED]> wrote: > Alan Stone wrote: > > mtxrun --script fonts --reload Thanks Hans. I misunderstood what's mentioned in http://wiki.contextgarden.net/Running_Mark_IV#Font_name_database -- Best, Alan > Ubuntu 8.04 Hardy Heron (Desktop) * ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int: english/english (ConTeXt minimals installation) * texexec --lua foo ___ 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] [Linux] font name database
Alan Stone wrote: mtxrun --script fonts --reload > mtxrun --script fonts --list - 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] Clickable Subsections in TOC
Hi, it's me again. :) Why can I only click the green dots left of the words but not the words themself? (Tested with luatex an pdftex.) >>> \setupcolors [state=start] \setupinteraction [state=start] \setuplist [subsection] [interaction=all, alternative=d, style={\tfx}, margin=5mm] \starttext \placelist[subsection][symbol=one] \subsection{one} \subsection{two} \stoptext >>> Best regards, Eyke ___ 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] how to color footnote?
... while dealing with colored elements: having the footnote number (down in front of the footnote text) in dark green is not that bad, just, why can't it be colored in an other way? I tried in vain both in \setupfootnotes and \setupfootnotedefinition: numbercolor, color... Only \setupfootnotes[textcolor=magenta] affects the footnote number in the main text. But nothing changes in the footnote area. Does this make sense? Steffen ___ 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] [Linux] font name database
I copied some Windows ttf fonts to /opt/context/tex/texmf/fonts/truetype then did context --generate context --make mtxrun --script fonts --list and the ttf fonts don't appear in the fonts db list. What's missing ? By the way, what's the difference between... - context --generate generate file database etc. - luatools --generate generate file database -- Best, Alan * Ubuntu 8.04 Hardy Heron (Desktop) * ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int: english/english (ConTeXt minimals installation) * texexec --lua foo ___ 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] how to color italics?
Am 22.09.2008 um 13:48 schrieb Thomas A. Schmitz: > > On Sep 22, 2008, at 1:24 PM, Steffen Wolfrum wrote: > >> It should be something like \Colorit{this} example: >> >> \def\Colorit{\it\color[magenta]} >> >> >> But this above never closes the italics, while ... >> >> \def\Colorit{\strut\groupedcommand\it\color[magenta]\/} >> >> ... gives an error. >> >> >> Someone can help? >> >> >> St. > > You want your command to take an argument, so you have to mention that > argument in the definition (untested): > > \define[1]\Colorit% > {\color[magenta]{\it #1}} but, hey ... what about this: \define[1]\Colorit% {\color[magenta]{\groupedcommand\em\/ #1}} Thanks for pointing it to that Thomas! Steffen ___ 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] Updating LuaTeX after MacTeX-TeXLive 2008 (again)
Hi Mojca, Many thanks for your attention and insight. I tried what you said and I put all the instructions you gave in a file I am sending you: it is meant (once all the steps work fine) to become a file updating-context.sh which could be excuted in a Terminal window upon saying sh updating-context.sh Now mkii can be updated following your instructions after fixing some chmod issues. If the remaining problems described in the attached file are solved in such a way that a non specialist like me can uderstand, then I'll put the script and the explanations of the commands on the wiki. I presume it will be helpful for others too… Thank you for your time! Best regards: OK updating-context Description: Binary data On 21 sept. 08, at 22:44, Mojca Miklavec wrote: On Sat, Sep 20, 2008 at 12:08 PM, Otared Kavian wrote: On 19 sept. 08, at 20:31, Mojca Miklavec wrote: On Fri, Sep 19, 2008 at 6:56 PM, Otared Kavian wrote: Has something changed recently in the ways TEXMFCNF has to be set? Thanks to Oliver's pressing on Hans & Taco :), you don't need to set anything any more. And yes, that has been changed after TL freeze. On Mac, the situation with LuaTeX configuration has changed *considerably* and in some very important ways after ConTeXt & LuaTeX have been frozen for TeX Live. Hi Mojca, Thanks for the information. How can one find out how to adapt the new parameters (TEXMFCNF, and alike)? I would not adapt anything apart from TEXMFCACHE. I updated ConTeXt, luatex binary and ConTeXt scripts manually, and it works fine now, though I never use --updatecontext. What do you mean by "manually"? Do you mean unzipping the file context/current/cont-tmf.zip or context/beta/cont-tmf.zip into /usr/local/texlive or into either of /usr/local/texlive/2008 or /usr/local/texlive/texmf-local ? Thanks again for your attention: OK See the other post. I update ConTeXt directly into /usr/local/texlive/2008/texmf-dist, though updating into texmf-local or into ~/.texlive2008 would be just as valid. I update with rsync, but using the zips is just as fine. Apart from ConTeXt you also need to update LuaTeX binary (/usr/texbin = /usr/local/texlive/2008/bin/universal-darwin). Again - see the other post. 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 ___ ___ 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] how to color italics?
Taco Hoekwater wrote: > > Aditya Mahajan wrote: >> Ah, so that is why it is lowlevel. I wonder why the following does not >> work. >> >> \setupbodyfontenvironment [default] >>[em={\italic\color[red]}] > > The em key is a bit extra extra special: it has to be either > 'italic' or 'slanted', everything else is ignored. This is because > of the need to allow bold emphasis. (\bf\em == \bs or \bi). > > I would personally be happier if it would just use whatever was > in the argument when it is *not* italic or slanted, instead of > ignoring the argument, but that's how it is. \def\doemphasistypeface#1#2% {\doifelsevalue{\??ft\fontclass\normalizedbodyfontsize\c!em}\v!slanted {#1}% {\doifelsevalue{\??ft\fontclass\normalizedbodyfontsize\c!em}\v!italic {#2}% {\doifelsevaluenothing{\??ft\fontclass\normalizedbodyfontsize\c!em} {\doifelsevalue{\??ft\normalizedbodyfontsize\c!em}\v!slanted {#1}% {\doifelsevalue{\??ft\normalizedbodyfontsize\c!em}\v!italic {#2}% {\getvalue{\??ft\normalizedbodyfontsize\c!em {\getvalue{\??ft\fontclass\normalizedbodyfontsize\c!em} however, this does not provide italic correction, so better is: \newtoks\everyemphasized \unexpanded\def\em {\relax \ifdim\slantperpoint>\zeropoint \settrue\emneeded \else \setfalse\emneeded \fi \setemphasisboldface % new \ifx\fontalternative\c!it % \ifnum\fam=\itfam \def\emphasistypeface{\it}\tf \else\ifx\fontalternative\c!sl % \ifnum\fam=\slfam \def\emphasistypeface{\sl}\tf \else\ifx\fontalternative\c!bf % \ifnum\fam=\bffam \emphasisboldface \else\ifx\fontalternative\c!bs % \ifnum\fam=\bsfam \def\emphasisboldface{\bs}\bf \else\ifx\fontalternative\c!bi % \ifnum\fam=\bifam \def\emphasisboldface{\bi}\bf \else \emphasistypeface \fi\fi\fi\fi\fi \the\everyemphasized \ifconditional\emneeded\relax \else \expandafter\aftergroup \fi \emphasiscorrection} which provides a hook, as in: \appendtoks \red \to \everyemphasized both mechanisms will be provided (maybe something emcolor later, when i can get myself motivated for such an possibly never documented feature) - 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] ppchtex rotation
Hello, I am having trouble drawing rotated molecules using ppchtex. In the example below, I would like to draw the molecule shown in (a) rotated as shown in (b). I would appreciate any suggestions. Thanks. Alan \usemodule[chemic] \setupchemical[width=fit] \starttext \startcombination[2*1] {\startchemical \chemical[SIX,B,C,MOV2,B,C,R234,RZ234,MOV5,MOV6,B,C,R561,RZ561] [R,R,R,R,R,R] \stopchemical} {(a)} {\startchemical \chemical[SIX,ROT2,B,C,R234,RZ234,ADJ1,ADJ1,ADJ2,B,C,ADJ1,ADJ1,ADJ4,B,C,R156,RZ156] [R,R,R,R,R,R] \stopchemical} {(b)} \stopcombination \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 ___
[NTG-context] how to color footnote?
... while dealing with colored elements: having the footnote number (down in front of the footnote text) in dark green is not that bad, just, why can't it be colored in an other way? I tried in vain both in \setupfootnotes and \setupfootnotedefinition: numbercolor, color... Only \setupfootnotes[textcolor=magenta] affects the footnote number in the main text. But nothing changes in the footnote area. Does this make sense? Steffen ___ 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] Using not predefined font sizes
Hi, the manual says that if I use \switchtobodyfont[48pt] (with the size 48pt not previously defined, then the interline space and other parameters are taken from the nearest smaller body font environment is that is already defined (co-typography.pdf, p. 13). Then, why \starttext \switchtobodyfont[48pt] Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! \stoptext works the same as \starttext \definebodyfontenvironment[48pt] \switchtobodyfont[48pt] Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! \stoptext i.e., correctly? I expected too small interline space in the former case, but it seems correct. (That's fine for me, obviously, but I'd like to understand that!) Cheers -- Marcin Borkowski (http://mbork.faculty.fmcs.amu.edu.pl) ___ 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] how to color italics?
Aditya Mahajan wrote: > > Ah, so that is why it is lowlevel. I wonder why the following does not > work. > > \setupbodyfontenvironment [default] >[em={\italic\color[red]}] The em key is a bit extra extra special: it has to be either 'italic' or 'slanted', everything else is ignored. This is because of the need to allow bold emphasis. (\bf\em == \bs or \bi). I would personally be happier if it would just use whatever was in the argument when it is *not* italic or slanted, instead of ignoring the argument, but that's how it is. 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] how to color italics?
On Mon, 22 Sep 2008, Taco Hoekwater wrote: > Aditya Mahajan wrote: >> On Mon, 22 Sep 2008, Taco Hoekwater wrote: >> >>> Steffen Wolfrum wrote: But this above never closes the italics, while ... \def\Colorit{\strut\groupedcommand\it\color[magenta]\/} ... gives an error. Someone can help? >>> Worryingly lowlevel: >>> >>> \def\emphasistypeface{\it\color[magenta]} >> >> This has to be used {\emphasistypeface }. If you want something that > > No. Instead it redefines the internals of the normal \em command. Ah, so that is why it is lowlevel. I wonder why the following does not work. \setupbodyfontenvironment [default] [em={\italic\color[red]}] 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] Mk IV and TeXlive 2008
On Mon, Sep 22, 2008 at 10:51 AM, Marcin Borkowski wrote: > Hey, > > sorry to ask about something which was discussed here and on the wiki - > but I guess I need a clarification. > > The wiki says how to prepare Mk IV from TL 2008 to work. My questions > are: > > * from an end-user point of view, is it *really* necessary to have MkIV > upgraded always to the latest version? Generally no. But if you are using MacTeX, you *really* need to upgrade at least once. > (I don't plan to use XML, I'm > just a beginning user of ConTeXt; what I would like to use are > tex-gyre fonts...) > > * if yes, how do I upgrade TL2008's MkIV? > > It would be much more convenient for me to use TL's ConTeXt - that's why > I ask here... I added the instructions to http://wiki.contextgarden.net/Running_Mark_IV#Updating_ConTeXt, though I think that upgrading instructions belong elsewhere. Feel free to move them to a more appropriate place. 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] how to color italics?
On Sep 22, 2008, at 1:58 PM, Steffen Wolfrum wrote: > ... same problem as in Taco's proposal: the \it never stops > > > st. Then add grouping \define[1]\Colorit% {\color[magenta]{\bgroup\it #1\egroup}} ___ 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] how to color italics?
Aditya Mahajan wrote: > On Mon, 22 Sep 2008, Taco Hoekwater wrote: > >> Steffen Wolfrum wrote: >>> But this above never closes the italics, while ... >>> >>> \def\Colorit{\strut\groupedcommand\it\color[magenta]\/} >>> >>> ... gives an error. >>> >>> >>> Someone can help? >> Worryingly lowlevel: >> >> \def\emphasistypeface{\it\color[magenta]} > > This has to be used {\emphasistypeface }. If you want something that No. Instead it redefines the internals of the normal \em command. 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] how to color italics?
Am 22.09.2008 um 13:48 schrieb Thomas A. Schmitz: > > On Sep 22, 2008, at 1:24 PM, Steffen Wolfrum wrote: > >> It should be something like \Colorit{this} example: >> >> \def\Colorit{\it\color[magenta]} >> >> >> But this above never closes the italics, while ... >> >> \def\Colorit{\strut\groupedcommand\it\color[magenta]\/} >> >> ... gives an error. >> >> >> Someone can help? >> >> >> St. > > You want your command to take an argument, so you have to mention that > argument in the definition (untested): > > \define[1]\Colorit% > {\color[magenta]{\it #1}} ... same problem as in Taco's proposal: the \it never stops st. ___ 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] how to color italics?
Am 22.09.2008 um 13:48 schrieb Taco Hoekwater: > Steffen Wolfrum wrote: >> >> But this above never closes the italics, while ... >> >> \def\Colorit{\strut\groupedcommand\it\color[magenta]\/} >> >> ... gives an error. >> >> >> Someone can help? > > Worryingly lowlevel: > > \def\emphasistypeface{\it\color[magenta]} ... this looks very close to what I wrote in the same email at top: \def\Colorit{\it\color[magenta]} ... and this had the problem of never stopping (closing) the italics again! (BTW: sorry for introducing \it, I need \em of course) Steffen ___ 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] how to color italics?
On Mon, 22 Sep 2008, Taco Hoekwater wrote: > Steffen Wolfrum wrote: >> >> But this above never closes the italics, while ... >> >> \def\Colorit{\strut\groupedcommand\it\color[magenta]\/} >> >> ... gives an error. >> >> >> Someone can help? > > Worryingly lowlevel: > > \def\emphasistypeface{\it\color[magenta]} This has to be used {\emphasistypeface }. If you want something that works as \emph{} as well as {\emph ...} and can also be passed as an option to all the style= keys, try \definealternativestyle [emph] [{\it\color[magenta]}] [] 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] how to color italics?
On Sep 22, 2008, at 1:24 PM, Steffen Wolfrum wrote: > It should be something like \Colorit{this} example: > > \def\Colorit{\it\color[magenta]} > > > But this above never closes the italics, while ... > > \def\Colorit{\strut\groupedcommand\it\color[magenta]\/} > > ... gives an error. > > > Someone can help? > > > St. You want your command to take an argument, so you have to mention that argument in the definition (untested): \define[1]\Colorit% {\color[magenta]{\it #1}} 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 ___
Re: [NTG-context] Mk IV and TeXlive 2008
On Mon, 22 Sep 2008, Hans Hagen wrote: > Marcin Borkowski wrote: >> Hey, >> >> sorry to ask about something which was discussed here and on the wiki - >> but I guess I need a clarification. >> >> The wiki says how to prepare Mk IV from TL 2008 to work. My questions >> are: >> >> * from an end-user point of view, is it *really* necessary to have MkIV >> upgraded always to the latest version? (I don't plan to use XML, I'm >> just a beginning user of ConTeXt; what I would like to use are >> tex-gyre fonts...) > > luatex and mkiv are actively developed while mkii is kind of frozen However, if you really do not need bleeding edge features right now, you can start with mkii. It works fine and can handle tex-gyre fonts very easily. Once you get more confortable with context, you can see if you decide if you want to upgrage mkiv to get the new features of mkiv. 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] how to color italics?
Steffen Wolfrum wrote: > > But this above never closes the italics, while ... > > \def\Colorit{\strut\groupedcommand\it\color[magenta]\/} > > ... gives an error. > > > Someone can help? Worryingly lowlevel: \def\emphasistypeface{\it\color[magenta]} 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] how to color italics?
It should be something like \Colorit{this} example: \def\Colorit{\it\color[magenta]} But this above never closes the italics, while ... \def\Colorit{\strut\groupedcommand\it\color[magenta]\/} ... gives an error. Someone can help? St. Am 22.09.2008 um 11:09 schrieb Steffen Wolfrum: > Hi, > > for making editing easier I'd like my italics (\em) to be in PDF > typeset colored. > > Something like \setupem[color=blue] > > > How can this be done? > > Steffen > ___ > 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] Mk IV and TeXlive 2008
Marcin Borkowski wrote: > Hey, > > sorry to ask about something which was discussed here and on the wiki - > but I guess I need a clarification. > > The wiki says how to prepare Mk IV from TL 2008 to work. My questions > are: > > * from an end-user point of view, is it *really* necessary to have MkIV > upgraded always to the latest version? (I don't plan to use XML, I'm > just a beginning user of ConTeXt; what I would like to use are > tex-gyre fonts...) luatex and mkiv are actively developed while mkii is kind of frozen > * if yes, how do I upgrade TL2008's MkIV? > > It would be much more convenient for me to use TL's ConTeXt - that's why > I ask here... there will be (maybe already is) an update package for tex live Hans - 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] Updating LuaTeX after MacTeX-TeXLive 2008
On Mon, Sep 22, 2008 at 12:03 PM, Robert Blackstone <[EMAIL PROTECTED]> wrote: > Hi Mojca, > > Thank you for your help. My problem is not over though, and a new problem > has turned up. > > The first steps you described, In NTG-context Digest Vol 51, issue 81, > message 8, worked, that is, with sudo. > > However, the last four commands, "texexec --make --all", "texexec --make > --xtx --all", "luatools --generate" and "context --make", returned the usual > error messages (with and without sudo and and issued from any directory > along the path "/usr/local/texlive/2008/bin/universal-darwin"): > > RBs-Powerbook:/ robert$ sudo texexec --make --all > > sudo: texexec: command not found > > RBs-Powerbook:/ robert$ sudo texexec --make --xtx --all > > sudo: texexec: command not found > > RBs-Powerbook:/ robert$ sudo luatools --generate > > LuaTools | error unable to identify cnf file > > LuaTools | error unable to identify cnf file > > LuaTools | no cnf files found (TEXMFCNF may not be set/known) > > LuaTools | > > LuaTools | runtime: 0.009 seconds > > RBs-Powerbook:/ robert$ sudo context --make > > sudo: context: command not found > > In addition another problem has turned up: I cannot use Context anymore, > with TeXlive-2008 and TeXshop. When typesetting a file I get the following > message: > > "/Users/robert/Library/TeXShop/Engines/context.engine: line 3: > /usr/texbin/texmfstart: Permission denied" > > Line 3 of context.engine reads: texmfstart texexec --pdf > --passon="-synctex=1" "$1" > > I already changed permissions of file texmfstart.rb to: Owner robert, Read & > Write. It didn't help. > > When I choose TeXlive-2007 ConTeXt works OK. > > So, what could I do about these two problems (which may be unconnected)? > > Thanks in advance. > > Robert Blackstone Whps. Apparently "sudo" (root) user doesn't know about TeXLive paths, and you might not have sufficient rights to modify the files yourself. Are you the only user of your computer? Who's currently the owner of /usr/local/texlive? I would do the following (though it's *not* a general recipe): sudo chown -R yourname:yourgroup /usr/local/texlive (may take a while) and then repeat the steps without sudo. Possibly you want to change the owner back to root afterwards. rsync with sudo indeed behaves a bit weird, and without sudo you are probably not able to overwrite those files. Mojca PS: Honestly, I'm also not sure if "texexec --make" will use the right directory to store formats (if you update TL later, it might shield the system formats in some cases). Maybe I was using sudo fmtutil-sys --byfmt cont-en or sudo fmtutil-sys --all when generating MKII the formats (instead of texexec --make). But I don't remember. ___ 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] ConTeXt Package for Notepad++ v. 5.0.3
Hi, Re: http://wiki.contextgarden.net/Notepad%2B%2B It mentions "you can also use it under wine". Regarding the ConTeXt support package for Npp, any idea where to copy the Application Data\Notepad++ directory to ? You can copy the Program Files\Notapad++ directory to wine's Program Files and copy the contents of the ConTeXt directory to the ConTeXt tree. However, under wine there's no Application data directory. Also, I'd like to copy my Windows Npp++ - Settings -> Preferences - Settings -> Styler Configurator settings - View -> User Define Dialog settings to Wine's Npp++ installation. Any idea which files are involved for these ? -- Best, Alan > Ubuntu 8.04 Hardy Heron (Desktop) * ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int: english/english (ConTeXt minimals installation) * texexec --lua foo ___ 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] Updating LuaTeX after MacTeX-TeXLive 2008
Hi Mojca, Thank you for your help. My problem is not over though, and a new problem has turned up. The first steps you described, In NTG-context Digest Vol 51, issue 81, message 8, worked, that is, with sudo. However, the last four commands, "texexec --make --all", "texexec --make --xtx --all", "luatools --generate" and "context --make", returned the usual error messages (with and without sudo and and issued from any directory along the path "/usr/local/texlive/2008/bin/universal-darwin"): RBs-Powerbook:/ robert$ sudo texexec --make --all sudo: texexec: command not found RBs-Powerbook:/ robert$ sudo texexec --make --xtx --all sudo: texexec: command not found RBs-Powerbook:/ robert$ sudo luatools --generate LuaTools | error unable to identify cnf file LuaTools | error unable to identify cnf file LuaTools | no cnf files found (TEXMFCNF may not be set/known) LuaTools | LuaTools | runtime: 0.009 seconds RBs-Powerbook:/ robert$ sudo context --make sudo: context: command not found In addition another problem has turned up: I cannot use Context anymore, with TeXlive-2008 and TeXshop. When typesetting a file I get the following message: "/Users/robert/Library/TeXShop/Engines/context.engine: line 3: /usr/texbin/texmfstart: Permission denied" Line 3 of context.engine reads: texmfstart texexec --pdf --passon="-synctex=1" "$1" I already changed permissions of file texmfstart.rb to: Owner robert, Read & Write. It didn't help. When I choose TeXlive-2007 ConTeXt works OK. So, what could I do about these two problems (which may be unconnected)? Thanks in advance. Robert Blackstone ___ 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] how to color italics?
Hi, for making editing easier I'd like my italics (\em) to be in PDF typeset colored. Something like \setupem[color=blue] How can this be done? Steffen ___ 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] Mk IV and TeXlive 2008
Hey, sorry to ask about something which was discussed here and on the wiki - but I guess I need a clarification. The wiki says how to prepare Mk IV from TL 2008 to work. My questions are: * from an end-user point of view, is it *really* necessary to have MkIV upgraded always to the latest version? (I don't plan to use XML, I'm just a beginning user of ConTeXt; what I would like to use are tex-gyre fonts...) * if yes, how do I upgrade TL2008's MkIV? It would be much more convenient for me to use TL's ConTeXt - that's why I ask here... Greets -- Marcin Borkowski (http://mbork.faculty.fmcs.amu.edu.pl) ___ 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] Working with grids and Luatex
Thanks! Works great! Now I found it in the manual, too ... :) Cheers, Eyke 2008/9/22 Aditya Mahajan <[EMAIL PROTECTED]>: > On Mon, 22 Sep 2008, holzminister wrote: > >> Hi! >> >> Is there a command to place text on the grid again, if it is shifted >> by a graphic or something like this? > > (Untested) > > \startlinecorrection > ... > \stoplinecorrection > > Aditya > > >> \setuplayout[grid=yes] >> \showgrid >> >> \starttext >> >> \input knuth >> >> \framedtext >> [height=fit,autowidth=force,offset=0pt] >> { >> \externalfigure[cow][scale=830] >> } >> >> \input knuth >> >> \stoptext > >> >> Best regards, >> Eyke >> ___ >> 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 > ___ > ___ 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] humble request: Minimals for linux ppc
On Sun, Sep 21, 2008 at 11:43:22PM +0200, Mojca Miklavec wrote: > On Sun, Sep 21, 2008 at 10:18 PM, Piotr Kopszak wrote: > > Any chance for that in the near future? > > Any chance that you provide the binaries (and that you do that on a > more or less regular basis; or let's say once per month)? > > svn co http://svn.contextgarden.net/minimals-src/build-binaries Gladly! I prefer building Minimals myself than trying to figure out what went wrong with my TeX setup :) P. -- Piotr Kopszak, Ph.D. Polish Art Gallery, National Museum in Warsaw kle ---> http://okle.pl http://www.magnatune.com/artists/altri_stromenti ___ 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 ___