Re: [NTG-context] \setupbibtex[sort=author]
Taco Hoekwater wrote: >> Michael Green wrote: >> >> That is exactly right: I did have two \setupbibtex commands. Thanks! >> > > it is good to know that my glass orb is still working :-) It WAS a little spooky. mjg ___ 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] letter module
Hi Wolfgang & Mojca, "Wolfgang Schuster" <[EMAIL PROTECTED]> writes: and "Mojca Miklavec" <[EMAIL PROTECTED]> writes: >>> On Wed, Aug 13, 2008 at 3:34 PM, Roger Mason <[EMAIL PROTECTED]> wrote: Hello, I just downloaded the letter module and installed it by unzipping the t-letter.zip file into /usr/local/context_minimal/. > > Unzip the archive either in '/usr/local/context_minimal/tex/texmf-local/' > or in in the local TeX tree in your home folder. Thank you both very much. It is working now. I should learn to read log files more attentively. Best wishes, Roger ___ 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] Intraword spacing proof of concept
Hi all, Quite a while ago I mentioned letter spacing, or the normal absence thereof, in TeX and friends. True, you could skin this cat by mathematically scaling the text (font size) by steps to fit the box --- the code is out there. But that was not the only way, thought I. Some programs also call this general idea tracking, that is, inserting positive or negative kerns independent of the \spacingfactor. Just for grins I nabbed two snippets from, respectively, manmac.tex and texbook.tex. I then added a bit of my own hackery that was inspired by DEK's length macro. I realized that a non-counting version of the length macro was a memory-friendly way to insert a symbol between any two others in a given sequence. What I wanted to insert was a negative kern. The negative kern must be small, less than \negthinspace, or else you start getting weird effects like a practically chiastic ordering of letters, and certainly a chaotic one. The smallest that one dare go seems to be -.07em, the point where the serifs can start running together. Using -.03em really does not show any letters running together, yet it still saves space. I got those figures as suggested by Knuth's own selections for tightness in the interword spacing. And yes, you could theoretically space out the letters, like the soul package that does proper Sperrdruck. One major drawback with my kludge is the need to use control spaces, else all spaces evaporate. If soul were ported to ConTeXt, and it seems like the code might allow that, then a version that "spaces in" and "spaces out" could well be possible. So here's the proof of concept, for those so interested. Charles \starttext % macros for non-centered displays \outer\def\begindisplay{\obeylines\startdisplay} {\obeylines\gdef\startdisplay#1 {\catcode`\^^M=5$$#1\halign\bgroup\indent##\hfil&&\qquad##\hfil\cr}} \outer\def\enddisplay{\crcr\egroup$$} [EMAIL PROTECTED] [EMAIL PROTECTED]@end} [EMAIL PROTECTED]@end \let\next=\relax \else \let\next= [EMAIL PROTECTED] \kern-0.07em\next}} \PackText{pack}\par \PackText{packity\ pack\ pack}\thinspace. \begindisplay \hbadness1 \hbox spread-.67em{The badness of this line is 100.}& \quad(very tight)\cr \hbox spread-.67em{\PackText{The\ badness\ of\ this\ line\ is\ 100}\thinspace.}& \quad(\PackText{So\ bd}\thinspace!)\cr \hbox spread-.33em{The badness of this line is 12.}& \quad(somewhat tight)\cr \hbox{The badness of this line is 0.}& \quad(perfect)\cr \hbox spread.5em{The badness of this line is 12.}& \quad(somewhat loose)\cr %\hbox spread 1em{The badness of this line is 100.}& % \quad(loose)\cr % then "looser" \hbox spread 1.259921em{The badness of this line is 200.}& \quad(loose)\cr %\hbox spread 1.713em{The badness of this line is 500.}& % \quad(bad)\cr % then "worse" \hbox spread 2.155em{The badness of this line is 1000.}& \quad(bad)\cr \hbox spread 3.684em{The badness of this line is 5000.}& % actually 4995! \quad(awful)\cr \enddisplay \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] stay on grid in double column
Jelle Huisman wrote: > Jelle Huisman wrote: >> Hi, >> >> I have text with a small intro section in a double column environment. >> The main text is set on a grid and the intro text is slightly off-grid >> with a \vskip -2pt before and a \vskip 2pt after the intro. As this >> sample shows this works fine, until the intro text is broken over two >> columns. In that case the last part of the intro starts on grid (in the >> second column) and the main text is moved off-grid and does not longer >> register with the main text in the first column :( [see example code]. >> Is there is way to detect and prevent this (automatically)? Can ConTeXt >> remember that it is setting some text \vskip-ped, while it is breaking >> the current paragraph over columns? (Basically I want to keep all the >> B's on the grid and all the A's \vskipped.) > > Should I conclude that this is not possible? ok, you suffered enough ... so, this is for your eyes only because otherwise i get complaints about a non documented feature: \synchronizegrid (we needed it once in a project; it worked ok there but was never tested being that which is why it's still on cont-new) \definecolumnset[doublecolumn][n=2] \setupcolumnset[doublecolumn][2][distance=5mm] \setupbodyfont[12pt] \setupinterlinespace[line=11pt] \setuplayout[grid=yes] \showgrid \starttext \startcolumnset[doublecolumn] \ss \subject{Header} \dorecurse {2} { \vskip -2pt This text is vskipped. A \dorecurse{40}{ aa aa} \vskip 2pt % intro text \synchronizegrid This text should stay on the grid. B \dorecurse{270}{ bb bb}} % main text should stay on grid \stopcolumnset \stoptext the thing with grids is that one can make things work for most cases but normally doc are always more tricky in mkiv i will add some more advanced grid support (i did some experiments last year .. no time now to finish that) - 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] stay on grid in double column
Hans Hagen wrote: > ok, you suffered enough ... so, this is for your eyes only because > otherwise i get complaints about a non documented feature: > \synchronizegrid (we needed it once in a project; it worked ok there but > was never tested being that which is why it's still on cont-new) > (...) > the thing with grids is that one can make things work for most cases but > normally doc are always more tricky OK, thank you Hans, this does (almost) what I need and that is enough (in this case.) 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] Partly OT: some luatex questions
Ulrike Fischer wrote: > Am Thu, 14 Aug 2008 15:49:54 +0200 schrieb Arthur Reutenauer: > >>> Perfect. With this version both spacing problems are solved. >> Glad to hear that. But the problem with MnSymbol is still there, >> isn't it? > > Yes. > >> I can reproduce it using MnSymbol5.otf with my code and >> -- what's more worrying -- with ConTeXt itself. > > I don't find this very worrying: Bugs which can be reproduced on common > systems can be solved more easily. ;-) taco and i spent quite some time today in testing lots of fonts, and we think that in the latest beta locating by name works ok; however, there are so many weird fonts out there that we probably need to spend a week figuring out what to do with them .. be tolerant or just reject them; currently our tests with many (also very huge) fonts run into problems due to memory usage when finalizing the pdf file (we're talking gig's of memory here) so that's another issue we will try to address (sometime after the context conference) in any case in mkiv we will have some mechanism where certain fonts are rejected from the name database (one can still load them by file: but at least they dont get reported then by --list); think of those cm super fonts 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] texmfstart texexec
Idris Samawi Hamid ادريس سماوي حامد wrote: > Hi Hans, Mojca, and all, > > I uninstalled ruby and reinstalled: no joy. > > Then I uninstalled ruby and reinstalled without installing RubyGems. > > Believe it or not that worked! I can compile the format and run mkii now. > > This still leaves open the question as to how RubyGems and cscite.bat > (which is the source of npp.bat for notepad++) are interfering with each > other in the new minimals/maximal (what is "ubygems" without the "r" > anyway?). Might be worth investigating at some point... it's because those gems packages overload some library location mechanisms (they kind of dictate a structure and ignore the fact that one might want to ship script with libs in a different way); texexec cus coul dnot operate in such an environment without installers which would add another level of complexity the same is true for lua and luarocks which also can sit in the way; however, this does not hurt luatex because we have an isolated environment here 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] texmfstart texexec
Hi Hans, Mojca, and all, I uninstalled ruby and reinstalled: no joy. Then I uninstalled ruby and reinstalled without installing RubyGems. Believe it or not that worked! I can compile the format and run mkii now. This still leaves open the question as to how RubyGems and cscite.bat (which is the source of npp.bat for notepad++) are interfering with each other in the new minimals/maximal (what is "ubygems" without the "r" anyway?). Might be worth investigating at some point... Thnx and 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] Partly OT: some luatex questions
Ulrike Fischer wrote: > But what would be really fine were extracts of the context code: E.g. a > bundle of self contained lua-code and tex-code that leds to an extended > \font command (or a \font command with extended syntax similar to xetex) > with opentype/ttf-support. If such a primitive were present it would be > probably quite easy to write the LaTeX support e.g. by adapting > fontspec. Or a bundle which can be used to convert other input encodings > to utf8. Or a bundle of the code which sets catcodes and lccode etc. wel, if there is some kind of plain mode, then using that other macro packages is possible too, but it has no high priority; first most of the font stuff needs to be in place, then i start working on a more layered context setup (so that one can use components for other purposes) 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] \setupbibtex[sort=author]
Michael Green wrote: > Taco Hoekwater wrote: >> Michael Green wrote: >> > I would like to have a list of references sorted alphabetically by >> > author surnames. >> > >> > My environment file has \setupbibtex[sort=author] and >> > \setuppublications[sorttype=bbl] >> >> You probably have two \setupbibtex commands then, and that is >> currently not allowed. >> >> The \setupbibtex command with the database= line wins, and if that >> one doesn't have a sort=, the default cont-no.bst will be used. >> >> Best wishes, >> Taco > > That is exactly right: I did have two \setupbibtex commands. Thanks! it is good to know that my glass orb is still working :-) ___ 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] \setupbibtex[sort=author]
Taco Hoekwater wrote: Michael Green wrote: > I would like to have a list of references sorted alphabetically by > author surnames. > > My environment file has \setupbibtex[sort=author] and > \setuppublications[sorttype=bbl] You probably have two \setupbibtex commands then, and that is currently not allowed. The \setupbibtex command with the database= line wins, and if that one doesn't have a sort=, the default cont-no.bst will be used. Best wishes, Taco That is exactly right: I did have two \setupbibtex commands. Thanks! mjg___ 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] \setupbibtex[sort=author]
Michael Green wrote: > I would like to have a list of references sorted alphabetically by > author surnames. > > My environment file has \setupbibtex[sort=author] and > \setuppublications[sorttype=bbl] You probably have two \setupbibtex commands then, and that is currently not allowed. The \setupbibtex command with the database= line wins, and if that one doesn't have a sort=, the default cont-no.bst will be used. 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 ___
[NTG-context] \setupbibtex[sort=author]
I would like to have a list of references sorted alphabetically by author surnames. My environment file has \setupbibtex[sort=author] and \setuppublications[sorttype=bbl] As I understand it, the \setupbibtex instruction is supposed to influence the .aux file. Specifically, the .aux file is supposed to include this line: \bibstyle{cont-au}. Then, bibtex will read the aux file and produce a .bbl file that is sorted alphabetically. Then ConTeXt's bib module will read the .bbl file and follow the sorting it finds in that file. However, after each ConTeXt run this line in the .aux file is set as \bibstyle{cont-no}. This happens in both Mk IV and Mk II, ConTeXt ver: 2008.08.05 18:47 I can change the relevant line in the aux file by hand, from \bibstyle {cont-no} to \bibstyle{cont-au}. This gives me the desired result when the file was processed by ConTeXt. The reference list is sorted alphabetically. In fact, subsequent ConTeXt runs using Mk IV (but not Mk II) produce an alphabetically sorted reference list, despite the changed line in the .aux file, provided bibtex is not run in the meantime. (Mk II runs it automatically but Mk IV doesn't ... I think) But this is not a fully stable situation. Suppose the bib file changes. Then I would run bibtex again. And then the alphabetical sorting is undone. Or, it was when I tested it. I don't know if this is a bug, a misunderstanding on my part, or a feature to be added later. If my memory is correct, this is not the way that Mk II used to behave. But in any event, It would be great to know of a more automatic way of handling this if one is available. Thank you! Michael ___ 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] stay on grid in double column
Jelle Huisman wrote: >> the current paragraph over columns? (Basically I want to keep all the >> B's on the grid and all the A's \vskipped.) > > Should I conclude that this is not possible? My first (and second) answer would indeed be "not possible". 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] texmfstart texexec
Hi Mojca, On Thu, 14 Aug 2008 02:06:59 -0600, Mojca Miklavec <[EMAIL PROTECTED]> wrote: >> But for >> >> texmfstart.exe texexec >> >> I keep getting >> >> ruby: no such file to load -- ubygems (LoadError) >> >> texmfstart --locate texexec.rb >> >> gives me >> >> /texmf-context/scripts/context/ruby/texexec.rb >> >> Any ideas on what's wrong? > > I would say it's a broken ruby installation, or some other file is > broken, but I cannot find anything in ConTeXt, maybe in standalone > ConTeXt environment ... I tried moving all setuptex.bat variables to the global XP environment variables. Then I could make a pdftex format without cscite.bat. But I could not run any pdftex files because texexec keeps looking for the format in -local/web2c/pdftex instead of -mswin\web2c\pdftex. I've removed those global variables and again trying to get setuptex/cscite.bat/pdftex working. > Can you try to find a string "ubygems" in some .rb file? It should be > "rubygems" at most, but I have no idea where this is comming from. That is weird indeed. Thnx and 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] texmfstart texexec
On Thu, 14 Aug 2008 02:15:39 -0600, Hans Hagen <[EMAIL PROTECTED]> wrote: > Idris Samawi Hamid ادريس سماوي حامد wrote: >> On Wed, 13 Aug 2008 15:26:02 -0600, Hans Hagen <[EMAIL PROTECTED]> wrote: >> >>> Idris Samawi Hamid ادريس سماوي حامد wrote: >>> Could there be something screwy in cscite.bat? Or setuptex.bat? >>> >>> what does >>> >>> echo %PATH% >>> >>> report? >> \test>echo %PATH% >> C:\ConTeXt\goodies\bin;C:\ConTeXt\xmllib\bin;C:\ConTeXt\gs\bin;C:\ConTeXt\ruby\bin;C:\ConTeXt\tex\texmf-mswin\bin; >> >> [followed by the rest of my global environment variables, including >> the presets following] >> >> C:\ConTeXt;C:\ConTeXt\tex;C:\ConTeXt\tex\texmf-mswin\bin;C:\ConTeXt\tex\texmf-project\bin\miktex-bin; >> >> >> C:\ConTeXt\tex\texmf-project\bin\fptex-bin;C:\ConTeXt\tex\texmf-context\scripts\context\ruby; > ^ > old Those are some old aleph utilites for making ocp's, ofm's etc. cobbled from ancient versions of miktex and fptex -- sometimes the miktex binary would work but not the fptex binary and vice versa -) >> C:\ConTeXt\tex\texmf-local\scripts\context\stubs\mswin;C:\ruby\bin;C:\Perl\bin\; > > i wonder if c:\ruby\bin is the problem; > > can you run ruby texmfstart,rb ? ruby: No such file or directory -- texmfstart.rb (LoadError) > (this while script becoming a exe is quite painful and fragile, which is > why i always run things by stub) there is no texmfstart.bat in \scripts\context\stubs\mswin Is there another way? > also, if you use luatex ... you can adapt the scite properties files > (user ones) to use 'context' instead of 'texexec' luatex/context.cmd is working, it's just that I want to be able to compile the pdftex format for testing, legacy files, etc. Otherwise I am gradually moving everything over to luatex. For the record, going back to my backup context works. texmfstart.exe and the scripts seem the same. The only difference I can see is going from texmf-local to -context. I wonder what's triggering this. 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] Lastest Build on TeXlive 2008 and MikTeX 2.7
On Thu, Aug 14, 2008 at 3:44 PM, Thomas A. Schmitz <[EMAIL PROTECTED]> wrote: > > On Aug 14, 2008, at 12:44 PM, [EMAIL PROTECTED] wrote: > >> Typesetting the bare minimal file works, but lua or xetex doesn't; > > You need to make the formats for these as well: > > texexec --make --all --xtx > > (and run texhash again after creating the formats; when you think > about it, it'll make sense) > > luatex is a bit of a special beast right now; you'll need to massage > your system a bit in order to use it. I have written instructions a > while ago, but some users have reported they didn't have success with > them, so I might go straight to hell for giving you this link: > http://archive.contextgarden.net/message/20071002.175335.21873a03.en.html Taco wrote a page on the wiki for this. http://wiki.contextgarden.net/Running_Mark_IV 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] Partly OT: some luatex questions
Am Thu, 14 Aug 2008 15:49:54 +0200 schrieb Arthur Reutenauer: >> Perfect. With this version both spacing problems are solved. > > Glad to hear that. But the problem with MnSymbol is still there, > isn't it? Yes. > I can reproduce it using MnSymbol5.otf with my code and > -- what's more worrying -- with ConTeXt itself. I don't find this very worrying: Bugs which can be reproduced on common systems can be solved more easily. ;-) -- Ulrike Fischer ___ 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] Lastest Build on TeXlive 2008 and MikTeX 2.7
On Aug 14, 2008, at 12:44 PM, [EMAIL PROTECTED] wrote: > Typesetting the bare minimal file works, but lua or xetex doesn't; You need to make the formats for these as well: texexec --make --all --xtx (and run texhash again after creating the formats; when you think about it, it'll make sense) luatex is a bit of a special beast right now; you'll need to massage your system a bit in order to use it. I have written instructions a while ago, but some users have reported they didn't have success with them, so I might go straight to hell for giving you this link: http://archive.contextgarden.net/message/20071002.175335.21873a03.en.html Good luck 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] Partly OT: some luatex questions
> Perfect. With this version both spacing problems are solved. Glad to hear that. But the problem with MnSymbol is still there, isn't it? I can reproduce it using MnSymbol5.otf with my code and -- what's more worrying -- with ConTeXt itself. I'm not sure what's at fault, LuaTeX or the font. Arthur ___ 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] letter module
On Thu, Aug 14, 2008 at 12:02 PM, Roger Mason <[EMAIL PROTECTED]> wrote: > Hi Wolfgang, > > "Wolfgang Schuster" <[EMAIL PROTECTED]> writes: > >> On Wed, Aug 13, 2008 at 3:34 PM, Roger Mason <[EMAIL PROTECTED]> wrote: >>> Hello, >>> >>> I just downloaded the letter module and installed it by unzipping the >>> t-letter.zip file into /usr/local/context_minimal/. >>> >>> When I try a test letter: >>> >>> \usemodule[letter] >>> >>> \starttext >>> \startletter >>> It is raining again. >>> \stopletter >>> \stoptext >>> >>> context fails with: >>> >>> systems : system commands are enabled >>> system : module letter not found >>> (/usr/local/context_minimal/tex/texmf-local/tex/context/base/sort-lan.tex >>> loading : Context Sorting Macros (languages) >>> (/usr/local/context_minimal/tex/texmf-local/tex/context/base/sort-lan.mkii)) >>> (/usr/local/context_minimal/tex/texmf-local/tex/context/base/pdfr-def.tex) >>> systems : begin file ltrtest at line 3 >>> ! Undefined control sequence. >>> l.4 \startletter >>> >>> ? >>> >>> The log file tells me >>> >>> "ConTeXt ver: 2007.08.08 14:35 MKII fmt: 2008.5.6 int: >>> english/english" >>> >>> This is on a Gentoo Linux system. >> >> Update the file database with 'mktexlsr' or 'texhash'. >> > > texhash: Updating /usr/local/context_minimal/tex/texmf/ls-R... > texhash: Updating /usr/local/context_minimal/tex/texmf-extra/ls-R... > texhash: Updating /usr/local/context_minimal/tex/texmf-fonts/ls-R... > texhash: Updating /usr/local/context_minimal/tex/texmf-linux/ls-R... > texhash: Updating /usr/local/context_minimal/tex/texmf-local/ls-R... > texhash: Done. > > Unfortunately that did not fix it. I get the exact same error. Unzip the archive either in '/usr/local/context_minimal/tex/texmf-local/' or in in the local TeX tree in your home folder. 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] Partly OT: some luatex questions
Am Thu, 14 Aug 2008 11:44:20 +0200 schrieb Wolfgang Schuster: >> Ah. Fine. Then I will have to wait until a new binary for win is >> available. > > You could use the binary from Akiras site. > > You need the dev-version, look at the bottom. > > http://www.fsci.fuk.kindai.ac.jp/kakuto/win32-ptex/web2c75-e.html Perfect. With this version both spacing problems are solved. -- Ulrike Fischer ___ 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] letter module
Hi Wolfgang, "Wolfgang Schuster" <[EMAIL PROTECTED]> writes: > On Wed, Aug 13, 2008 at 3:34 PM, Roger Mason <[EMAIL PROTECTED]> wrote: >> Hello, >> >> I just downloaded the letter module and installed it by unzipping the >> t-letter.zip file into /usr/local/context_minimal/. >> >> When I try a test letter: >> >> \usemodule[letter] >> >> \starttext >> \startletter >> It is raining again. >> \stopletter >> \stoptext >> >> context fails with: >> >> systems : system commands are enabled >> system : module letter not found >> (/usr/local/context_minimal/tex/texmf-local/tex/context/base/sort-lan.tex >> loading : Context Sorting Macros (languages) >> (/usr/local/context_minimal/tex/texmf-local/tex/context/base/sort-lan.mkii)) >> (/usr/local/context_minimal/tex/texmf-local/tex/context/base/pdfr-def.tex) >> systems : begin file ltrtest at line 3 >> ! Undefined control sequence. >> l.4 \startletter >> >> ? >> >> The log file tells me >> >> "ConTeXt ver: 2007.08.08 14:35 MKII fmt: 2008.5.6 int: >> english/english" >> >> This is on a Gentoo Linux system. > > Update the file database with 'mktexlsr' or 'texhash'. > texhash: Updating /usr/local/context_minimal/tex/texmf/ls-R... texhash: Updating /usr/local/context_minimal/tex/texmf-extra/ls-R... texhash: Updating /usr/local/context_minimal/tex/texmf-fonts/ls-R... texhash: Updating /usr/local/context_minimal/tex/texmf-linux/ls-R... texhash: Updating /usr/local/context_minimal/tex/texmf-local/ls-R... texhash: Done. Unfortunately that did not fix it. I get the exact same error. Thanks for your help. Roger ___ 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] Partly OT: some luatex questions
Am Thu, 14 Aug 2008 10:11:45 +0200 schrieb Hans Hagen: >>> In all cases (also if I try dvi-output) the lines glue together. The >>> attachment text-lua is the pdf of the latex try. > > you can make a plain format operating in the same 'space' as context with > >luatools --make plain I tried plain only for testing purposes. My goal is to be able to use LaTeX. Also I don't have a "context space": As non-Miktex-files I use currently only the executables luatex, mktexlsr (and kpswhich) and a texmf.cnf-file. > eventually i will make a plain variant (probably a bit more more plain > than plain) with basic open type support (for other formats you might > need to add --compile to the make call) If you mean a complete plainTeX-format: I at least don't need it much ;-) But what would be really fine were extracts of the context code: E.g. a bundle of self contained lua-code and tex-code that leds to an extended \font command (or a \font command with extended syntax similar to xetex) with opentype/ttf-support. If such a primitive were present it would be probably quite easy to write the LaTeX support e.g. by adapting fontspec. Or a bundle which can be used to convert other input encodings to utf8. Or a bundle of the code which sets catcodes and lccode etc. -- Ulrike Fischer ___ 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] Lastest Build on TeXlive 2008 and MikTeX 2.7
On Aug 14 2008, [EMAIL PROTECTED] wrote: > Thomas A. Schmitz uni-bonn.de> writes: > > > > > Did you remake the formats after unzipping cont-tmf.zip? The format > > texexec finds is from 2007/01, so it can't be the one that comes with > > TeXLive 2008, it must be some older stuff that shadows newer formats. > > What does > > kpsewhere --engine=pdftex cont-en.fmt > > return? > > > > Thomas > > I made a typo, it's texlive 2007. > > $ texexec --make --all > > // ouput at end of email, http://pastebin.com/m3eaa2250 or attachment > > $ su -c' texhash' > Password: > texhash: Updating /etc/texmf/ls-R... > texhash: Updating /usr/local/share/texmf/ls-R... > texhash: Updating /usr/share/texmf/ls-R... > texhash: Updating /var/lib/texmf/ls-R... > texhash: Done. > > // and it seems like texexec calls mktexlsr: > > $ kpsewhere --engine=pdftex cont-en.fmt > /home/mohamed/.texlive2007/texmf-config/web2c/pdftex/cont-en.fmt > /home/mohamed/.texlive2007/texmf-var/web2c/pdftex/cont-en.fmt > /var/lib/texmf/web2c/pdftex/cont-en.fmt Typesetting the bare minimal file works, but lua or xetex doesn't; $ texexec --lua test.tex TeXExec | processing document 'test.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file test.top TeXExec | using randomseed 1053 TeXExec | tex engine: luatex TeXExec | tex format: cont-en TeXExec | runtime: 0.124868 $ texexec start TeXExec | processing document 'start' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file start.top TeXExec | using randomseed 12 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) %&-line parsing enabled. (/home/mohamed/texmf/web2c/natural.tcx) entering extended mode (./start.tex ConTeXt ver: 2008.08.05 18:47 MKII fmt: 2008.8.13 int: english/english language : language en is active system : cont-new loaded (/home/mohamed/texmf/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/home/mohamed/texmf/tex/context/base/cont-new.mkii) (/home/mohamed/texmf/tex/context/base/cont-mtx.tex)) system : cont-old loaded (/home/mohamed/texmf/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/home/mohamed/texmf/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys.rme loaded (/home/mohamed/texmf/tex/context/user/cont-sys.rme (/home/mohamed/texmf/tex/context/base/type-tmf.tex) (/home/mohamed/texmf/tex/context/base/type-siz.tex) (/home/mohamed/texmf/tex/context/base/type-one.tex) (/home/mohamed/texmf/tex/context/base/type-akb.tex)) bodyfont : 12pt rm is loaded language : patterns nl->texnansi:texnansi->1->2:2 nl->ec:ec->2->2:2 fr-> texnansi:texnansi->3->2:2 fr->ec:ec->4->2:2 de->texnansi:texnansi->5->2:2 de->e c:ec->6->2:2 it->texnansi:texnansi->7->2:2 it->ec:ec->8->2:2 pt->texnansi:texna nsi->9->2:2 pt->ec:ec->10->2:2 hr->ec:ec->11->2:2 pl->pl0:pl0->12->2:2 pl->ec:e c->13->2:2 pl->qx:qx->14->2:2 cs->il2:il2->15->2:2 cs->ec:ec->16->2:2 sk->il2:i l2->17->2:2 sk->ec:ec->18->2:2 sl->ec:ec->19->2:2 ru->t2a:t2a->21->2:2 gb->ec:e c->22->2:2 us->ec:ec->23->2:2 agr->agr:agr->24->2:2 da->ec:ec->25->2:2 sv->ec:e c->26->2:2 af->ec:ec->27->2:2 nb->ec:ec->28->2:2 nn->ec:ec->29->2:2 deo->ec:ec- > 30->2:2 es->ec:ec->35->2:2 ca->ec:ec->36->2:2 la->ec:ec->37->2:2 > ro->ec:ec->38 ->2:2 tr->ec:ec->39->2:2 fi->ec:ec->41->2:2 hu->ec:ec->42->2:2 loaded specials : tex,postscript,rokicki loaded system : start.top loaded (./start.top specials : loading definition file tpd (/home/mohamed/texmf/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/home/mohamed/texmf/tex/context/base/spec-fdf.tex (/home/mohamed/texmf/tex/context/base/spec-fdf.mkii)) specials : fdf loaded (/home/mohamed/texmf/tex/context/base/spec-tpd.mkii)) specials : fdf,tpd loaded ) systems : system commands are disabled (./start.tuo) (./start.tuo) (./start.tuo) (./start.tuo) (./start.tuo) (./start.tuo) (./start.tuo) (./start.tuo) (./start.tuo) (./start.tuo) (./start.tuo) (./start.tuo) (/home/mohamed/texmf/tex/context/base/pdfr-def.tex) systems : begin file start at line 1 fonts : resetting map file list {/home/mohamed/texmf/fonts/map/pdftex/context/original-empty.map} fonts : using map file: original-base {/home/mohamed/texmf/fonts/map/pdftex/context/original-base.map} fonts : using map file: original-ams-base {/home/mohamed/texmf/fonts/map/pdftex/context/original-ams-base.map} fonts : using map file: original-public-lm {/home/mohamed/texmf/fonts/map/pdftex/context/original-public-lm.map} fonts : using map file: lm-ec {/usr/share/texmf/fonts/map/dvips/lm/lm-ec.map} fonts : using map file: lm-math {/usr/share/texmf/fonts/map/dvips/lm/lm-math.map} fonts : using map file: lm-rm {/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map} fonts : using map file: 8r-base {/home/moha
Re: [NTG-context] stay on grid in double column
Jelle Huisman wrote: > Hi, > > I have text with a small intro section in a double column environment. > The main text is set on a grid and the intro text is slightly off-grid > with a \vskip -2pt before and a \vskip 2pt after the intro. As this > sample shows this works fine, until the intro text is broken over two > columns. In that case the last part of the intro starts on grid (in the > second column) and the main text is moved off-grid and does not longer > register with the main text in the first column :( [see example code]. > Is there is way to detect and prevent this (automatically)? Can ConTeXt > remember that it is setting some text \vskip-ped, while it is breaking > the current paragraph over columns? (Basically I want to keep all the > B's on the grid and all the A's \vskipped.) Should I conclude that this is not possible? 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] [OS X TeX] Default rule thickness
Oliver Buerschaper wrote: >>> What's the correct way of piping this to MetaFun? Putting >>> >>> DefaultRuleThickness := \defaultrulethickness; >>> >>> into each "\startuseMPgraphic{}" block works, but how can I define >>> this globally? Moving it into "\startMPinclusions" creates a scope >>> problem … see also the other thread about BodyFontSize etc. >> \def\defaultrulethickness{\the\fontdimen8\textfont\plusthree} >> >> \startMPinitializations >> DefaultRuleThickness := \defaultrulethickness; >> \stopMPinitializations > > This works like a charm! > > Now I'm a bit confused though as to which definitions need this > "MPinitializations" block and which ones can/should go to > "MPinclusions". For example, a subsequent inclusions happen once, initializations for each graphic - 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] Partly OT: some luatex questions
On Thu, Aug 14, 2008 at 11:07 AM, Ulrike Fischer <[EMAIL PROTECTED]> wrote: > Am Thu, 14 Aug 2008 09:58:14 +0200 schrieb Wolfgang Schuster: > > a) I tested it with a latin modern font and arial and with both fonts > all lines of a text are printed one above the other. > That's not what happens to me, you should really send a precise example. >>> >>> See test-lua2.tex + pdf >> >> This was a bug, you need a newer luaTeX. >> >> http://www.mail-archive.com/[EMAIL PROTECTED]/msg00033.html > > Ah. Fine. Then I will have to wait until a new binary for win is > available. You could use the binary from Akiras site. You need the dev-version, look at the bottom. http://www.fsci.fuk.kindai.ac.jp/kakuto/win32-ptex/web2c75-e.html 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] Partly OT: some luatex questions
Am Thu, 14 Aug 2008 09:58:14 +0200 schrieb Wolfgang Schuster: a) I tested it with a latin modern font and arial and with both fonts all lines of a text are printed one above the other. >>> >>> That's not what happens to me, you should really send a precise example. >> >> See test-lua2.tex + pdf > > This was a bug, you need a newer luaTeX. > > http://www.mail-archive.com/[EMAIL PROTECTED]/msg00033.html Ah. Fine. Then I will have to wait until a new binary for win is available. -- Ulrike Fischer ___ 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] Font problems with latest minimals on Linux
On Aug 14, 2008, at 10:48 AM, Hans Hagen wrote: > the order is just one factor. what actually happens is that there is a > compensation for buggy font names (as happens often in afm files) so > in > practice one entry might become three entries; taco noticed that one > of > the fallbacks create this way will then obscure a following one > > in your case it might be order on disk (although the current > mechanisms > do some sorting) but on our machines more likely is that a bugged afm > font obscures later otf's (with similar names) > > anyhow, we'll cook up a patch > > Hans Very funny - I was following this thread with interest, yet had never encountered this problem. This morning, I played around with the minimals on my linux eeepc (had always used TeXLive, but saving some space seemed like a good idea) and got exactly the same problem: instead of bold, I get bold italic. If I typeset the same file with my TeXLive installation, I get proper bold. So Vasile is on to something here... 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] [OS X TeX] Default rule thickness
>> What's the correct way of piping this to MetaFun? Putting >> >> DefaultRuleThickness := \defaultrulethickness; >> >> into each "\startuseMPgraphic{}" block works, but how can I define >> this globally? Moving it into "\startMPinclusions" creates a scope >> problem … see also the other thread about BodyFontSize etc. > > \def\defaultrulethickness{\the\fontdimen8\textfont\plusthree} > > \startMPinitializations > DefaultRuleThickness := \defaultrulethickness; > \stopMPinitializations This works like a charm! Now I'm a bit confused though as to which definitions need this "MPinitializations" block and which ones can/should go to "MPinclusions". For example, a subsequent --- \startMPinclusions medium := DefaultRuleThickness; thick:= 1.5medium; \stopMPinclusions --- doesn't work. However, color definitions for instance seem to be OK there. Could you give me a hint? Thanks, Oliver ___ 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] Font problems with latest minimals on Linux
Vasile Gaburici wrote: > If you still haven't figured out how to reproduce it, apply the > patched I've attached. It will force the hash entries to be added in > sorted order. With the patch applied, if you have some fonts called > > Calibri Bold Italic.otf > Calibri Bold.otf > Calibri Italic.otf > Calibri.otf > > the order of hash insertions will always exactly as above, regardless > of disk order, e.g.: > > filename | 49 -> /usr/share/fonts/vista/C-series/Calibri Bold Italic.otf > filename | 50 -> /usr/share/fonts/vista/C-series/Calibri Bold.otf > filename | 51 -> /usr/share/fonts/vista/C-series/Calibri Italic.otf > filename | 52 -> /usr/share/fonts/vista/C-series/Calibri.otf > > So, you'll get bold italic instead of bold in the PDF. the order is just one factor. what actually happens is that there is a compensation for buggy font names (as happens often in afm files) so in practice one entry might become three entries; taco noticed that one of the fallbacks create this way will then obscure a following one in your case it might be order on disk (although the current mechanisms do some sorting) but on our machines more likely is that a bugged afm font obscures later otf's (with similar names) anyhow, we'll cook up a patch 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] Font problems with latest minimals on Linux
Vasile Gaburici wrote: > > Feel free to fiddle with the sort function if you name fonts > differently, but you need to make sure that bold italic gets loaded > before bold for the bug to occur. Ok, bug found and squashed. Patch is below >> Okay, I've updated to the latest beta. Recursive OSFONTDIR works now >> for "script --fonts --reload" and for "context", but "script --fonts >> --list" is broken: no output. Hans changed the commandline so that "nothing" is no longer the same as "*". This works: $ mtxrun script --fonts --list \* Best wishes, Taco --- font-syn.lua.old2008-08-13 14:47:44.0 +0200 +++ font-syn.lua2008-08-14 10:25:13.631806083 +0200 @@ -133,7 +133,8 @@ fontname = fontname or result.fontname add(result.fontname, fontname, filename, suffix, is_sub) end -if result.familyname and result.weight then +if result.familyname and result.weight and + result.italicangle == 0 then local madename = result.familyname .. " " .. result.weight fontname = fontname or madename add(madename, fontname, filename, suffix, is_sub) ___ 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] Partly OT: some luatex questions
2008/8/14 Ulrike Fischer <[EMAIL PROTECTED]>: > Am Wed, 13 Aug 2008 23:07:43 +0200 schrieb Arthur Reutenauer: > >> Hello Ulrike, >> >>> 1. In the following document there is no space between the a and the y: >>> >>> \documentclass{article} >>> \begin{document} >>> \noindent a\\y >>> >>> \bigskip >>> >>> a\par y >>> \end{document} >>> >>> It looks as if the lines have only the depth from their content. >> >> I don't seem to see that (see attachment). How did you generate the >> format? I used "luatex -ini pdflualatex.ini" where pdflualatex.ini >> contains >> >> \pdfoutput1 >> \input latex.ltx > > I tried it with a format generated by simply inputting latex.ltx (and > then \pdfoutput=1 in the document), with one which loads also > pdftexconfig.tex, and with a plain one: > % Thomas Esser, 1998. public domain. > % hyphenation tables are now set up in language.dat > \input pdftexconfig.tex > \input plain > \dump > \endinput > > In all cases (also if I try dvi-output) the lines glue together. The > attachment text-lua is the pdf of the latex try. > > >>> 2. I found here some code to use truetype and opentype fonts: >>> http://luatex.bluwiki.com/go/Use_a_TrueType_font >> >> Oh, that ;-) You really have to realize that these lines of code are >> nothing more than an experiment I wrote one and a half year ago, and you >> should be prepared to extend it if you want complete TrueType support >> (not to mention OpenType features, which are absent altogether). > > Yes I realized that ;-). Currently I'm trying simple code to understand > the principles so that I can later steal the right things from the > context files. > >> That said, the problems should not be as bad as the ones you report >> below: >> >>> a) I tested it with a latin modern font and arial and with both fonts >>> all lines of a text are printed one above the other. >>> of the lines have a height and a depth. >> >> That's not what happens to me, you should really send a precise example. > > See test-lua2.tex + pdf This was a bug, you need a newer luaTeX. http://www.mail-archive.com/[EMAIL PROTECTED]/msg00033.html >>> b) I also tried MnSymbol5.otf and there I get an error "invalid >>> character". (I tried to get an "A"). With xetex the font works fine. >> >> I can't confirm that. I get the A all right (see attachment). Again, >> please send the precise example that fails. > > The MnSymbol-Bold5 you used works fine for me too. MnSymbol5 is the font > doesn't work (the code is -- commented -- in test-lua2): > > !luaTeX error (file > c:/PROGRAMME/MIKTEX2.7/fonts/opentype/public/mnsymbol/MnSym > bol5.otf): Invalid character. > ==> Fatal error occurred, no output PDF file produced! 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] texmfstart texexec
Idris Samawi Hamid ادريس سماوي حامد wrote: > On Wed, 13 Aug 2008 15:26:02 -0600, Hans Hagen <[EMAIL PROTECTED]> wrote: > >> Idris Samawi Hamid ادريس سماوي حامد wrote: >> >>> Could there be something screwy in cscite.bat? Or setuptex.bat? >> >> what does >> >> echo %PATH% >> >> report? > > \test>echo %PATH% > C:\ConTeXt\goodies\bin;C:\ConTeXt\xmllib\bin;C:\ConTeXt\gs\bin;C:\ConTeXt\ruby\bin;C:\ConTeXt\tex\texmf-mswin\bin; > > > > [followed by the rest of my global environment variables, including the > presets following] > > C:\ConTeXt;C:\ConTeXt\tex;C:\ConTeXt\tex\texmf-mswin\bin;C:\ConTeXt\tex\texmf-project\bin\miktex-bin; > > > C:\ConTeXt\tex\texmf-project\bin\fptex-bin;C:\ConTeXt\tex\texmf-context\scripts\context\ruby; > ^ old > C:\ConTeXt\tex\texmf-local\scripts\context\stubs\mswin;C:\ruby\bin;C:\Perl\bin\; > i wonder if c:\ruby\bin is the problem; can you run ruby texmfstart,rb ? (this while script becoming a exe is quite painful and fragile, which is why i always run things by stub) also, if you use luatex ... you can adapt the scite properties files (user ones) to use 'context' instead of 'texexec' 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] Partly OT: some luatex questions
Wolfgang Schuster wrote: >> In all cases (also if I try dvi-output) the lines glue together. The >> attachment text-lua is the pdf of the latex try. you can make a plain format operating in the same 'space' as context with luatools --make plain you then can process files with luatools --fmt=plain test eventually i will make a plain variant (probably a bit more more plain than plain) with basic open type support (for other formats you might need to add --compile to the make call) 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] more presentations
Hi, i uploaded a few more presentations from tug 2008: http://www.luatex.org/talks/tug2008-taco-luatex.pdf http://www.luatex.org/talks/tug2008-taco-mplib.pdf - 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] Partly OT: some luatex questions
Am Wed, 13 Aug 2008 23:07:43 +0200 schrieb Arthur Reutenauer: > Hello Ulrike, > >> 1. In the following document there is no space between the a and the y: >> >> \documentclass{article} >> \begin{document} >> \noindent a\\y >> >> \bigskip >> >> a\par y >> \end{document} >> >> It looks as if the lines have only the depth from their content. > > I don't seem to see that (see attachment). How did you generate the > format? I used “luatex -ini pdflualatex.ini” where pdflualatex.ini > contains > > \pdfoutput1 > \input latex.ltx I tried it with a format generated by simply inputting latex.ltx (and then \pdfoutput=1 in the document), with one which loads also pdftexconfig.tex, and with a plain one: % Thomas Esser, 1998. public domain. % hyphenation tables are now set up in language.dat \input pdftexconfig.tex \input plain \dump \endinput In all cases (also if I try dvi-output) the lines glue together. The attachment text-lua is the pdf of the latex try. >> 2. I found here some code to use truetype and opentype fonts: >> http://luatex.bluwiki.com/go/Use_a_TrueType_font > > Oh, that ;-) You really have to realize that these lines of code are > nothing more than an experiment I wrote one and a half year ago, and you > should be prepared to extend it if you want complete TrueType support > (not to mention OpenType features, which are absent altogether). Yes I realized that ;-). Currently I'm trying simple code to understand the principles so that I can later steal the right things from the context files. > That said, the problems should not be as bad as the ones you report > below: > >> a) I tested it with a latin modern font and arial and with both fonts >> all lines of a text are printed one above the other. >> of the lines have a height and a depth. > > That's not what happens to me, you should really send a precise example. See test-lua2.tex + pdf > >> b) I also tried MnSymbol5.otf and there I get an error "invalid >> character". (I tried to get an "A"). With xetex the font works fine. > > I can't confirm that. I get the A all right (see attachment). Again, > please send the precise example that fails. The MnSymbol-Bold5 you used works fine for me too. MnSymbol5 is the font doesn't work (the code is -- commented -- in test-lua2): Fatal error occurred, no output PDF file produced! -- Ulrike Fischer test-lua.pdf Description: Attached file: test-lua.pdf test-lua2.pdf Description: Attached file: test-lua2.pdf test-lua2.tex Description: Attached file: test-lua2.tex test-lua2.log Description: Attached file: test-lua2.log ___ 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] Table heading repeating on a new page
On Wed, Aug 13, 2008 at 9:29 PM, <[EMAIL PROTECTED]> wrote: > Hi, > > Is it possible to do this? As in the "Chance this" and "To this" headings > are repeated on the top of each page > > Beware the images are big; > > -http://imagebin.org/24166 > -If the above doesn't work; http://imagebin.ca/view/LWZdNWP5.html http://wiki.contextgarden.net/Tables_Overview 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 ___