Re: [NTG-context] texshow
Am 03.12.2009 um 23:02 schrieb Wolfgang Werners-Lucchini: >>> I can't find a file 'texshow.pl' anymore at my context tree. >>> Is the file excluded in actual minimals? >> >> mtxrun --script server --auto > > I tried to use this command under windows 2000 scite (console). > The process does not do anything obvious. I have killed it after some > time. There should be a line like MTXrun | context services: http://localhost:31415/mtx-server-ctx-startup.lua in the terminal, you can copy the link and use it in your browser to run texshow. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to count with chapter
On 3 Dec 2009 at 18:17, ntg-context-requ...@ntg.nl wrote: Von:ntg-context-requ...@ntg.nl Betreff:ntg-context Digest, Vol 66, Issue 16 An: ntg-context@ntg.nl Antwort an: ntg-context@ntg.nl Datum: Thu, 03 Dec 2009 18:17:05 +0100 > > is this a bug too? > > --- > > %\chapter{Bla} > > \definenumber[PC]\getnumber[PC] > > \setnumber[PC]{1}\getnumber[PC] > > \incrementnumber[PC]\getnumber[PC] > > \incrementnumber[PC]\getnumber[PC] > > --- > > Without \chapter I get: 0 1 2 3 > > With \chapter: 0 1 1 2 > > by default counters are reset per chapter and incrementnumber does > the check > Hmm. But isn't it wrong to reset a counter who doesn't even exist with chapter start? Why not do the same check with setnumber? Gruß, 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] texshow
On 3 Dec 2009 at 18:50, ntg-context-requ...@ntg.nl wrote: Von:ntg-context-requ...@ntg.nl Betreff:ntg-context Digest, Vol 66, Issue 17 An: ntg-context@ntg.nl Antwort an: ntg-context@ntg.nl Datum: Thu, 03 Dec 2009 18:50:04 +0100 > > I can't find a file 'texshow.pl' anymore at my context tree. > > Is the file excluded in actual minimals? > > mtxrun --script server --auto I tried to use this command under windows 2000 scite (console). The process does not do anything obvious. I have killed it after some time. Can I download 'texshow.pl' somewhere? Gruß, 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bibliography authoryears problem
I should have mentioned that there's a similar problem with refcommand=authoryear (my previous post concerned refcommand=authoryears). Using Mk IV, the first citation is preceded with a new line. Mk II behaves appropriately. And all citations other than the first one are formatted correctly by Mk IV. This is quite similar to the problem I reported with refcommand=authoryears. In both cases, only the first citation is wrong and the error in both cases involves a line break. Perhaps they have a related cause. Happy hunting! mjg Samples are attached. This is LuaTeX, Version beta-0.46.0-2009112820 \write18 enabled. (bib-test-2.tex ConTeXt ver: 2009.12.01 17:09 MKIV fmt: 2009.12.1 int: english/ english bib-test-2.pdf Description: Adobe PDF document bib-test-2.tex Description: Binary data test-bib.bib Description: Binary data ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bibliography authoryears problem
Michael Green wrote: When using refcommand=authoryears and Mk IV the first reference is formatted incorrectly. There is the left parenthesis, then a line break, then the rest of the reference followed by the right parenthesis. With MkII it comes out correctly. And in MkIV, every reference except the first is correct. This is similar to a problem reported in another thread, but I don't see how the resolution proposed there applies here. http://archive.contextgarden.net/message/20091116.073439.c2549ecb.en.html I'll check this tomorrow (my luatex is a bit unstable at the moment, have to fix that first). 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Help watned for numbered descriptions
Hi all, I put the solution given by Hans on the wiki under the keyword « proclaim » but didn't know how to make a cross link between this entry and other relevant entries such as \defineenumeration. Here is the link: http://wiki.contextgarden.net/proclaim Best regards: OK On 30 nov. 2009, at 22:29, Hans Hagen wrote: > Otared Kavian wrote: >> Hi Hans, Aditya, >> Many thanks for your attention: the solution suggested by Aditya is very >> satisfactory for the time being, as far as one uses mkii. >> I added an entry on the wiki about proclaim: >> http://wiki.contextgarden.net/proclaim >> However, as Hans says, there is a slight problem with mkiv and the way >> things get numbered. > > i uploaded a beta > > \defineenumeration[one] > \defineenumeration[two] [one] % clone one > \defineenumeration[three] [counter=one,style=slanted] % only use counter of > one > \defineenumeration[four] [three] % clone three > \defineenumeration[five] [three] [counter=five] % clone three and use own > counter > \defineenumeration[six] [three] [counter=four] % clone tree and use counter > four (undefined) > > \setupenumerations[one] [prefix=yes,prefixsegments=section] > \setupenumerations[two] [prefix=yes,prefixsegments=section] > \setupenumerations[three][prefix=yes,prefixsegments=section] > \setupenumerations[four] [prefix=yes,prefixsegments=chapter:section] > \setupenumerations[five] [prefix=yes,prefixsegments=chapter:section] > \setupenumerations[six] [prefix=yes,prefixsegments=chapter:section] > > \starttext > > \chapter{test} > > \startone test test 1 \stopone > \starttwo test test 2 \stoptwo > \startthree test test 3 \stopthree > \startfour test test 4 \stopfour > \startfive test test 1 \stopfive > \startsix test test 1 \stopsix > > \chapter{test} > > \section{test} > > \startone test test 6 \stopone > \starttwo test test 7 \stoptwo > \startthree test test 8 \stopthree > \startfour test test 9 \stopfour > \startfive test test 2 \stopfive > \startsix test test 2 \stopsix > > \stoptext > > > - > 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with texmf-local on Vista
Christopher G D Tipper wrote: So following your instructions I get: C:\Users\Christopher>kpsewhich -progname=texexec basic-template c:/Users/Christopher/Library/texmf/tex/sources/user/basic-template.tex C:\Users\Christopher>texmfstart --locate basic-template.tex C:/Users/Christopher/Library/texmf/tex/sources/user/basic-template.tex C:\Users\Christopher> However when I run texexec, I get an error: texexec --pdf --interface=en --nonstop "rss-tech-tip.tex" (c:/context/texmf-context/tex/context/base/spec-fdf.mkii)) ! I can't find file `basic-template'. l.1 \input basic-template (Press Enter to retry, or Control-Z to exit) Please type another input file name ! Emergency stop. l.1 \input basic-template I don't have a clue what's happening, I'm afraid. i have no clue either, some kpse mess up or so 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with texmf-local on Vista
So following your instructions I get: C:\Users\Christopher>kpsewhich -progname=texexec basic-template c:/Users/Christopher/Library/texmf/tex/sources/user/basic-template.tex C:\Users\Christopher>texmfstart --locate basic-template.tex C:/Users/Christopher/Library/texmf/tex/sources/user/basic-template.tex C:\Users\Christopher> However when I run texexec, I get an error: texexec --pdf --interface=en --nonstop "rss-tech-tip.tex" ... (c:/context/texmf-context/tex/context/base/spec-fdf.mkii)) ! I can't find file `basic-template'. l.1 \input basic-template (Press Enter to retry, or Control-Z to exit) Please type another input file name ! Emergency stop. l.1 \input basic-template I don't have a clue what's happening, I'm afraid. Christopher Hans Hagen wrote: Christopher G D Tipper wrote: OK the problem becomes clearer. The map files are now fixed, and texexec now complains it cannot find punr8a.pfb. Copying all pfb and afm files to c:\context\texmf-context\font\type1\adobe\univers and refreshing the filename database with mktexlsr allows the document to compile. I have two problems: (1) (The original problem) putting the pfb and afm files in texmf-local and updating filename database does not work. So texmf-local is being ignored. (2) (My real problem, preventing me from using my own setups) \input basic-template where basic-template.tex is in the local tree is an error and the file will not compile. However, I get this: C:\Users\Christopher>kpsewhich basic-template c:/Users/Christopher/Library/texmf/tex/sources/user/basic-template.tex C:\Users\Christopher> So for some reason texexec is not using kpsewhich to find setups. Why not? you can simulate what context looks for with: texmfstart --locate basic-template.tex - 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with texmf-local on Vista
Christopher G D Tipper wrote: OK the problem becomes clearer. The map files are now fixed, and texexec now complains it cannot find punr8a.pfb. Copying all pfb and afm files to c:\context\texmf-context\font\type1\adobe\univers and refreshing the filename database with mktexlsr allows the document to compile. I have two problems: (1) (The original problem) putting the pfb and afm files in texmf-local and updating filename database does not work. So texmf-local is being ignored. (2) (My real problem, preventing me from using my own setups) \input basic-template where basic-template.tex is in the local tree is an error and the file will not compile. However, I get this: C:\Users\Christopher>kpsewhich basic-template c:/Users/Christopher/Library/texmf/tex/sources/user/basic-template.tex C:\Users\Christopher> So for some reason texexec is not using kpsewhich to find setups. Why not? you can simulate what context looks for with: texmfstart --locate basic-template.tex - 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with texmf-local on Vista
Christopher G D Tipper wrote: However, I get this: C:\Users\Christopher>kpsewhich basic-template c:/Users/Christopher/Library/texmf/tex/sources/user/basic-template.tex C:\Users\Christopher> So for some reason texexec is not using kpsewhich to find setups. Why not? this is not related to texexec but to the way texmf.cnf is set up what happens if you say kpsewhich -progname=context ... - 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with texmf-local on Vista
OK the problem becomes clearer. The map files are now fixed, and texexec now complains it cannot find punr8a.pfb. Copying all pfb and afm files to c:\context\texmf-context\font\type1\adobe\univers and refreshing the filename database with mktexlsr allows the document to compile. I have two problems: (1) (The original problem) putting the pfb and afm files in texmf-local and updating filename database does not work. So texmf-local is being ignored. (2) (My real problem, preventing me from using my own setups) \input basic-template where basic-template.tex is in the local tree is an error and the file will not compile. However, I get this: C:\Users\Christopher>kpsewhich basic-template c:/Users/Christopher/Library/texmf/tex/sources/user/basic-template.tex C:\Users\Christopher> So for some reason texexec is not using kpsewhich to find setups. Why not? Christopher Mojca Miklavec wrote: On Wed, Dec 2, 2009 at 15:23, Christopher G D Tipper wrote: Hi Mojca, We are talking about a problem with texexec.bat, and I have a feeling that texexec.exe may behave differently, once I can execute it. Unlikely. I just wanted to say that texexec.exe itself is also working (if I copy Taco's mtxrun.exe to texexec.exe). Yes, I forgot to mention that I copied all files to the Desktop (including the tfm and the typescript) and got the same error with texexec.bat. If you copied all the files to desktop (including map and enc files and removing the directory structure) and tried to compile a tex file on desktop ...it could be that there's something wrong with either files or ConTeXt, not necessary with wrong tree structure. I highly suspect a problem with same map file (missing, failed to load or corrupted). The tfm file itself is not enough. You also need to load a map file that has the line with that font included (unless it's a mf fonts). Also I last had Context working on this PC in May, and the file compiled fine. However, I removed MikTeX 2.7 shortly after that (which was broken) and have been unable to use Context since. Not a problem, as I have a working setup on my Mac, but there is very little reason to upgrade the Mac, as everything I need currently works. 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bibliography authoryears problem
Bernhard Rosensteiner wrote: Hello, see http://archive.contextgarden.net/message/20091115.194137.4395932d.en.html seen but i wait till Thomas or Taco (the bibliography experts) comments on it 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] placesidebyside inside combination
Hello, Nesting \placesidebyside inside \startcombination\stopcombination appears to throw-off the spacing. Alan %%% % Minimal example: % (left pair is misplaced) %%% \setupcombinations [distance=0cm] \starttext \framed [width=8cm] {% \startcombination [2] {\placesidebyside {\framed [width=2cm,height=3cm, background=color,backgroundcolor=red] {}} {\framed [width=2cm,height=3cm, background=color,backgroundcolor=green] {}} } {(a)} {\placesidebyside {\framed [width=2cm,height=3cm, background=color,backgroundcolor=blue] {}} {\framed [width=2cm,height=3cm, background=color,backgroundcolor=yellow] {}} } {(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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bibliography authoryears problem
Hello, see http://archive.contextgarden.net/message/20091115.194137.4395932d.en.html best regards Am 03.12.2009 um 01:26 schrieb Michael Green: > When using refcommand=authoryears and Mk IV the first reference is formatted > incorrectly. > > There is the left parenthesis, then a line break, then the rest of the > reference followed by the right parenthesis. > > With MkII it comes out correctly. And in MkIV, every reference except the > first is correct. > > This is similar to a problem reported in another thread, but I don't see how > the resolution proposed there applies here. > > http://archive.contextgarden.net/message/20091116.073439.c2549ecb.en.html > > It isn't a crucial thing for me. I can use MkII when I need to use this > citation style. I'm just submitting this as a possible bug report. > > > This is LuaTeX, Version beta-0.46.0-2009112820 > \write18 enabled. > (bib-test.tex > > ConTeXt ver: 2009.12.01 17:09 MKIV fmt: 2009.12.1 int: english/english > > I'm attaching three files: the source, the bibliography, and the pdf output > that I get. > > > > ___ > 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] texshow
Wolfgang Werners-Lucchini wrote: Hallo, I can't find a file 'texshow.pl' anymore at my context tree. Is the file excluded in actual minimals? mtxrun --script server --auto - 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] MK II ( \mainlanguage[fr] && \useencoding[ffr] )+ mpost
Renaud AUBIN wrote: OK, since I don't know the behavior of \setupcharacterspacing, the following question may seem stupid to you: How the following string will be processed « Did you notice that real NO-BREAK SPACE chars are already there? » why not just try it currently only intermediate kerns, glue and spacing characters are considered More over, since I have just forgotten my « Lexique des règles typographiques en usage à l'imprimerie nationale »at work, I have to wait the morrow to confirm the fact that some use of U+202F NARROW NO-BREAK SPACE are necessary. Same question as the previous one applies when NNBSP are already there… it depends to what extend you want context to clean up and optimize spacing; it can be that 202F is there for other purposes (and maybe not even consistently used as it is kind of invisible); so it should probababluy configurable (we have already some modes) And the last question of the day ;) : … expends to . . . with french. Could that be easily corrected? probably, but first i want proper specs on which most french users agree (so i do an extra cc to arthur who is sort of in charge of the french tex users) (This flow of question comes from my recent experiments of the advanced capabilities of bépo fr keyboard plus .XCompose usage). 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] About \version[temporary]
Otared Kavian wrote: Hi all, I have a question which can be elementary, but nevertheless it has some importance… When using cross references, one can somehow « visualize » the list of the cross references on each page with the command \version[temporary] However, in mkii at least, the list of the references is placed at the top of the page in the right margin and this is not very convenient when proof reading, especially in mathematical articles. It would be more handy to have each reference in the left (or right) margin of the line where it is defined or where it is invoked with the command « \in ». However I didn't manage to understand how this behaviour can be changed (various attempts with \setuplist[references] had no effect). (By the way, in mkiv, the list is not shown). currently they're just collected in inserts Can anyone give an insight? there will be a tracing mechanism in mkiv 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] TeX as an eBook engine?
On Thu, Dec 3, 2009 at 2:52 PM, William Adams wrote: > On Dec 3, 2009, at 8:22 AM, luigi scarso wrote: > >> Not really. > > My apologies, lost the thread of the discussion. I agree w/ this. > >> With mkiv you can typeset xml files as pdf, >> so you can also (using modes) convert it to xhtml (we have lua now). >> Writing a css is not a problem, and you can also manage fonts -- after all >> you know them because you need for pdf . Other infos are trivial. >> >> Following this route you can also make an (x)html for a WOFF enable >> browser >> like firefox 2.6 beta -- it's almost the same of epub, after all >> Cfr >> people.mozilla.com/~jkew/woff/woff-spec-latest.html >> >> Of course none can say that epub is like pdf from a typographical point of >> view >> but for low energy devices can be better epub than pdf. > > > I'll grant that .epub can be more flexible and more appropriate, but one has > to keep in mind that one is giving up quite a bit of typographical quality, > and that one is at the mercy of the h&j of the viewing program and I've yet > to see one which puts more than a minimal / brain-dead / greedy --- set as > much as will fit on the current line and then break to the next algorithm > in. It's true of course. anyway have you seen http://people.mozilla.com/~jkew/woff/woff-spec-latest.html http://people.mozilla.com/~jkew/woff/ ? I was at guit meeting this year, and Kaveh too, and I have seen his device with TeX. It's really cool: it's not a simple dvi reader, it's a TeX implementation+dvi reader so one can exchange tex snippets with similar devices Next release will use xetex. I have some experience to port pdf in similar devices too (it was 3years ago, too much time ago, really) and in the end I'm convinced that (x)html is still the first choice. -- luigi ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] TeX as an eBook engine?
On Dec 3, 2009, at 8:22 AM, luigi scarso wrote: Not really. My apologies, lost the thread of the discussion. I agree w/ this. With mkiv you can typeset xml files as pdf, so you can also (using modes) convert it to xhtml (we have lua now). Writing a css is not a problem, and you can also manage fonts -- after all you know them because you need for pdf . Other infos are trivial. Following this route you can also make an (x)html for a WOFF enable browser like firefox 2.6 beta -- it's almost the same of epub, after all Cfr people.mozilla.com/~jkew/woff/woff-spec-latest.html Of course none can say that epub is like pdf from a typographical point of view but for low energy devices can be better epub than pdf. I'll grant that .epub can be more flexible and more appropriate, but one has to keep in mind that one is giving up quite a bit of typographical quality, and that one is at the mercy of the h&j of the viewing program and I've yet to see one which puts more than a minimal / brain-dead / greedy --- set as much as will fit on the current line and then break to the next algorithm in. William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to count with chapter
Wolfgang Werners-Lucchini wrote: Hallo, is this a bug too? --- %\chapter{Bla} \definenumber[PC]\getnumber[PC] \setnumber[PC]{1}\getnumber[PC] \incrementnumber[PC]\getnumber[PC] \incrementnumber[PC]\getnumber[PC] --- Without \chapter I get: 0 1 2 3 With \chapter: 0 1 1 2 by default counters are reset per chapter and incrementnumber does the check - 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] TeX as an eBook engine?
On Thu, Dec 3, 2009 at 2:10 PM, William Adams wrote: > On Dec 3, 2009, at 4:12 AM, luigi scarso wrote: > >> Maybe epub as backend is a more interesting idea: >> given (some kind of gentle ) tex file one can produce an epub file as >> result. > > > You're putting the cart before the horse. Not really. With mkiv you can typeset xml files as pdf, so you can also (using modes) convert it to xhtml (we have lua now). Writing a css is not a problem, and you can also manage fonts -- after all you know them because you need for pdf . Other infos are trivial. Following this route you can also make an (x)html for a WOFF enable browser like firefox 2.6 beta -- it's almost the same of epub, after all Cfr people.mozilla.com/~jkew/woff/woff-spec-latest.html Of course none can say that epub is like pdf from a typographical point of view but for low energy devices can be better epub than pdf. -- luigi ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] TeX as an eBook engine?
On Dec 3, 2009, at 4:12 AM, luigi scarso wrote: Maybe epub as backend is a more interesting idea: given (some kind of gentle ) tex file one can produce an epub file as result. You're putting the cart before the horse. Sadly, epub is rather lacking in markup capabilities. Instead, one should use a full-fledged markup scheme such as TEI, then one can convert that using an XSLT and add a nicely designed CSS to create a .epub which will be as good as it gets, but unfortunately, won't be as nice to read as a nicely formatted .pdf due to limitations of the H&J capabilities of .epub viewing programs. An excellent example of the limitations of the .epub format in comparison to .pdf is _Introduction to Mathematical Philosophy_: http://people.umass.edu/klement/russell-imp.html William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
Otared, This works perfectly. In all the changes to ConTeXt, I had neglected to update my TeXShop settings. Many thanks for your help (and patience). Alan On Dec 2, 2009, at 12;24,37 , Otared Kavian wrote: > > On 2 déc. 2009, at 18:06, Bowen Alan C. wrote: > >> Mocja— >> >> I can process files from the command line. The problem seems to be with >> TeXShop (which I suspect needs some updating for Snow Leopard). Reinstalling >> TeXShop does not help. >> >> Alan >> > > Hi Alan, > > You have to add a ".engine" file to > ~/Library/TeXShop/Engines > > and open again TeXShop. For instance I have a file called "mkii.engine" > containing these lines (between %%%begin and %%%end of course!): > %%% begin > #!/bin/bash > > source /Volumes/OK/context-minimal/tex/setuptex > texexec "$1" > %%%end > > and then in TeXShop by default the engine is chosen to be mkii. It is > important to know that this file must have the "x" bit as its rights. > In your case this "mkii.engine" file should contain > > #!/bin/bash > > source /Applications/ConTeXtMinimals/tex/setuptex > texexec "$1" > > Don't forget to chmod +x. > Good luck! > Best regards: OK > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] How to count with chapter
Hallo, is this a bug too? --- %\chapter{Bla} \definenumber[PC]\getnumber[PC] \setnumber[PC]{1}\getnumber[PC] \incrementnumber[PC]\getnumber[PC] \incrementnumber[PC]\getnumber[PC] --- Without \chapter I get: 0 1 2 3 With \chapter: 0 1 1 2 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] verb-pl.mkii
Wolfgang Werners-Lucchini wrote: Hallo, this seems to be a little bug! Inside 'verb-jv.mkii' should 'verb-pl.mkii' be loaded, but it isn't because of not having a standard extension. indeed, this should be \ifdefined\setupprettyPLtype \else \loadmarkfile{verb-pl} \fi (there are a few more files) - 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] verb-pl.mkii
Hallo, this seems to be a little bug! Inside 'verb-jv.mkii' should 'verb-pl.mkii' be loaded, but it isn't because of not having a standard extension. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] TeX as an eBook engine?
On Thu, Dec 3, 2009 at 9:58 AM, Hans Hagen wrote: > Henning Hraban Ramm wrote: >> >> Am 2009-12-02 um 18:03 schrieb Otared Kavian: >> >>> For those on the list who didn't see this thread on XeTeX mailing list: >>> How about ConTeXt and mkiv? >> >> Hm, your subject is a bit misleading - I thought you wanted to *create >> eBooks* using TeX. That would be much more useful... >> Even if some eBook devices can display PDF, AFAIK we still cannot create >> the re-flowable variant (needs a XML stream, see other discussions about >> tagged PDF or PDF/X). >> >> In one of the latest c't (German computer magazine) there was a nice >> article on creating eBooks in Epub format (HTML based). Even if I don't >> intend to buy an eBook device, it made me think again about using another >> input language than TeX to create HTML, ConTeXt and whatever from one >> source. Knut Lickert recently gave a talk on "Creole for LaTeX" (Creole is >> an unified Wiki markup syntax), I'm still planning to use ReStructuredText >> (Python's documentation syntax) - note to self: finally adapt that LaTeX >> output filter to ConTeXt! > > Processing epub is rather trivial. On my machine I have a sample style and > processign boils down to: > > context --ctx=x-epub --autopdf dickens-a-tale-of-two-cities.epub > > However, the main reason for not posting the style is that I have not much > reason currently to work on it. Also, as epub is effectively just packaged > html, one ends up with styles for each specific book ... you just don't want > to know what mess is hidden in those epub files (for example i ran into > using h2 for the chapter numbers and h3 for the chapter title). > Maybe epub as backend is a more interesting idea: given (some kind of gentle ) tex file one can produce an epub file as result. -- luigi ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] TeX as an eBook engine?
Henning Hraban Ramm wrote: Am 2009-12-02 um 18:03 schrieb Otared Kavian: For those on the list who didn't see this thread on XeTeX mailing list: How about ConTeXt and mkiv? Hm, your subject is a bit misleading - I thought you wanted to *create eBooks* using TeX. That would be much more useful... Even if some eBook devices can display PDF, AFAIK we still cannot create the re-flowable variant (needs a XML stream, see other discussions about tagged PDF or PDF/X). In one of the latest c't (German computer magazine) there was a nice article on creating eBooks in Epub format (HTML based). Even if I don't intend to buy an eBook device, it made me think again about using another input language than TeX to create HTML, ConTeXt and whatever from one source. Knut Lickert recently gave a talk on "Creole for LaTeX" (Creole is an unified Wiki markup syntax), I'm still planning to use ReStructuredText (Python's documentation syntax) - note to self: finally adapt that LaTeX output filter to ConTeXt! Processing epub is rather trivial. On my machine I have a sample style and processign boils down to: context --ctx=x-epub --autopdf dickens-a-tale-of-two-cities.epub However, the main reason for not posting the style is that I have not much reason currently to work on it. Also, as epub is effectively just packaged html, one ends up with styles for each specific book ... you just don't want to know what mess is hidden in those epub files (for example i ran into using h2 for the chapter numbers and h3 for the chapter title). Hans ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] windows binaries
Mojca Miklavec wrote: I just wanted to say that texexec.exe itself is also working (if I copy Taco's mtxrun.exe to texexec.exe). I figured out what the problem is ... when i make the zip, i zip a temporary tree. I do that using the -ll switch because when i started distributing the zips it was a demand that line ending should be nice for unix (windows can handle cr and lr, and we probably had no mac os-9 users). However, in a second zip pass, i add the binary files and dll/exe were never part of that. As a result, two bytes got messed up and these made the exe file invalid. So the problem is not related to xp or vista or 64 bit (which was somewhat puzzling for me as windows binaries are normally quite portable). I uploaded a new beta and installing seemd to work ok on xp and vista (virtual machines). The fact that it worked on taco and my machine is that we send binaries to each other. Als, the zip on taco's site was okay. Hans ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] TeX as an eBook engine?
Am 2009-12-02 um 18:03 schrieb Otared Kavian: For those on the list who didn't see this thread on XeTeX mailing list: How about ConTeXt and mkiv? Hm, your subject is a bit misleading - I thought you wanted to *create eBooks* using TeX. That would be much more useful... Even if some eBook devices can display PDF, AFAIK we still cannot create the re-flowable variant (needs a XML stream, see other discussions about tagged PDF or PDF/X). In one of the latest c't (German computer magazine) there was a nice article on creating eBooks in Epub format (HTML based). Even if I don't intend to buy an eBook device, it made me think again about using another input language than TeX to create HTML, ConTeXt and whatever from one source. Knut Lickert recently gave a talk on "Creole for LaTeX" (Creole is an unified Wiki markup syntax), I'm still planning to use ReStructuredText (Python's documentation syntax) - note to self: finally adapt that LaTeX output filter to ConTeXt! Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___