Re: FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes
Idris Samawi Hamid wrote: Taco, any more hacks up your sleeve? ;-) And thank you very much for the last ones! It seems you have a working solution now, but I'll look into this next week to see if I we can come up with a more permanent solution. Greetings, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] INstalling a new version of context
I finally succeed installing this new version ... at least s-pre-61.tex compiles ;-) -- Oli ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] combining references to several targets
Hi, say that I have four tables with lables tab:A ... tab:D. Now, I would like to say something like \in{Tables}[tab:A,tab:B,tab:C,tab:D] and the output should be Tables 2, 7-9. How can this be done? Greetings, -- Eckhart ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Context, LaTeX, or an XML for academic writing?
Hi, I'm returning to graduate study after a few years out in the workplace. I'm a bit rusty on what good stuff there is out there for academic writing, and after a bit of research I've come up with: ConTeXt, LaTeX or an XML dtd (tbook or DocBook?) plus appropriate tools. I'm ruling out Word (having wrestled with it at work), and am reluctant to use anything similar like OpenOffice. I have used LaTeX for some things in the past. There will a little maths in my writing, but it's not central. Here are my main criteria for choice, in order of priority: 1) future-proofing. ie. I want my text to be always available to me forever, or until I die, whichever comes first. I take this to mean that I want the canonical form of my documents to be plain text of some sort. It also means that the system needs to be widely-used enough that it will be translateable into essential future formats as they arise. 2) semantic rather than layout-oriented markup as much as possible. I'm impatient with, and marginally interested in, layout. I'm very interested in what my text means. As much as possible, I want to set up my layouts early in the piece, and never think about them again. 3) relatively easy integration with some form of bibliographic database(ish) system (bibtex would do). 4) ability to produce pdf's, html, and rtf versions (for interoperation with Word-users) at least. 5) no need for me to write any code. I used to be a programmer, and when I left, promised myself, my wife, and my cat that I would never write a line of code again. I don't mind a bit of TeXish fiddling if *absolutely* necessary. ConTeXt seems to fit the bill for 1,3 and 5. I'm not sure about 4 (html? rtf?) or 2 (I haven't had a proper look at the nature of the available macros yet) . Would anyone with 1st hand knowledge of writing in academia care to comment either on the above or your own reasons for your choice of tools? I am doing my own research on all this stuff, but I know that until I get into the fray, there will be things I haven't thought of. Cheers, CB. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes
Idris Samawi Hamid wrote: CORRECTION: should be === \let\normalinmargin\inmargin \def\inmargin#1{{\parindent0pt \normalinmargin{#1}}} \def\INMARGIN#1{{\advance\leftskip by -2\parindent \inmargin{#1} \advance\rightskip by -2\parindent}} === can you make me a minimal example showing the problem? 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] INstalling a new version of context
John R. Culleton wrote: On Saturday 07 May 2005 06:01 pm, [EMAIL PROTECTED] wrote: Hello ! I tried to install a new version of context, since somebody suggest to do it (BTW I do not know how know what version of context I have ... running texexec --version gives me the version of texexec, I presume, not the version of context ... but anyway ... that not my sole problem, as for now). So I used to have a version of context install by default :-) on my mandrake 10.1 distribution of linux ... The upgrading of Context or even of pdftex is sufficiently failure prone that I have given up trying. Instead I used the latest packages from Slackware current and installed those. When TeX live is updated again next winter I will upgrade to that level. The instructions never seem to deal with the exact configuration one is dealing with. Frankly I would rather spend my time typesetting and laying out books. So I accept the newest complete package that seems to work and reinstall. In theory I could upgrade, in fact I am better off waiting for the next complete distro from either TeXlive or Slack. most linux distros ship old tex's and it's no secret that one cannot combine tetex with tex live without problems; it's one or the other. an option with regardd to context is to download the linuxtex zip from our site and install an extra tex tree for context only and install updates in that tree (under texmf-local) 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] INstalling a new version of context
[EMAIL PROTECTED] wrote: To upgrade I have downloaded http://www.pragma-ade.com/context/current/cont-tmf.zip and read also part of http://www.pragma-ade.com/general/manuals/minstall.pdf wget www.pragma-ade.com/context/install/linuxtex.zip unzip linuxtex.zip cd tex . setuptex texexec --make --all after that, for each shell: . ~/tex/setuptex ~/tex (given tat you're in your home path) and you're done; an update: cd texmf-local wget www.pragma-ade.com/context/latest/cont-tmf.zip unzip cont-tmf.zip texexec --make --all etc 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] combining references to several targets
Eckhart Guthöhrlein wrote: Hi, say that I have four tables with lables tab:A ... tab:D. Now, I would like to say something like \in{Tables}[tab:A,tab:B,tab:C,tab:D] and the output should be Tables 2, 7-9. \in{Tables}[tab:A], \in[tab:B]--\in[tab:D] - 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Problem with \mainlanguage[fr] and javascript
Denis Pinsard wrote: Hello, The following code doesn't work with the fr option. It seems that there is interferences with javascript features. Any idea to solve this problem is welcome. Thank you in advance. \mainlanguage[fr] \setupinteraction[state=start] \definefield [Help] [check] [HelpSetup] [helpinfo] [helpinfo] \setupfields[reset] \setupfield[HelpSetup][option={readonly,hidden}] \definesymbol [helpinfo] [SomeHelpText] \starttext \fitfield[Help] \goto {Help} [JS(Toggle_Hide{Help})]. \stoptext this works ok in my version; what version do you run? 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] reference
Jörg Hagmann wrote: Thank you for the answers to my problem. When under \placefigure I added [ ] in front of the brackets containing the reference name, it worked. I thought that if you didn't want to specify anything (such as here), one could leave it out entirely. That shows you the kind of problems beginners are facing. afaik \placefigure is the only command with this problem: two optional args, one eing the reference; since there is no way to find out that 'here' or 'left' is a reference or a placement directive, in the case of a reference, one needs to provide a location as well sorry for the confusion 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] inserting toc
Frank Grieshaber wrote: Hello, I want to insert a table of contents but all I get is the following error message in the created pdf-file: [part,chapter,section,subsection,subsubsection not found/processed] According to the mp-cb-en.pdf page 51/52 documentation I included the following lines to the setup area: \definelist[chapter] \setuplist [chapter] [before=\blank, after=\blank, style=bold] \definelist[section] \setuplist [section] [alternative=d] \definecombinedlist [contents] [chapter,section] [level=subsection] and \placecontent after the \starttext and in front of the first \chapter. What am I doing wrong here? by default tocs are local, so add: criterium=all (ot text or chapter or ...) 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] recent ConTeXt reference manual
Hello, I'm looking for an up-to-date version on the ConTeXt reference manual (cont-emp.pdf). The one I fond at Pragma's site is dated November 12, 2001. Is it the latest ? Regards ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes
Hans Hagen wrote: can you make me a minimal example showing the problem? Idris' original example shows the 'problem': \setupindenting[medium] \starttext \input knuth \inmargin{This is a test.} \stoptext The output will be fine, but there will be one 'Overfull hbox' message printed on the terminal for each \inmargin command. If there are a lot of margin notes, this can clutter the output considerably, and that's not so much a problem, but an annoyance. I've run into this as well, in context as well as in latex and in my own macros. The problem is usually something like: \vbox{\hsize 0pt \dontleavehmode} Greetings, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes
= Original Message From Hans Hagen [EMAIL PROTECTED] = can you make me a minimal example showing the problem? Sure, here are 2: both produce overfull hboxes. All the best Idris == \setupoutput[pdftex]% \setupindenting[medium] \starttext \input knuth \inmargin{This is a test.} \stoptext log= systems : begin file test at line 5 (c:\CONTEXT\tex\texmf-local/tex/context/sample/knuth.tex) Overfull \hbox (17.62474pt too wide) in paragraph at lines 7--7 [][] \hbox(10.41603+4.05064)x0.0 .\hbox(0.0+0.0)x17.62474 .\hbox(10.41603+4.05064)x0.0 .\rule(10.41603+4.05064)x0.0 .\glue 0.0 plus 1.0fil minus 1.0fil .\penalty 1 .\glue(\parfillskip) 0.0 plus 1.0fil .\glue(\rightskip) 0.0 === === \setupoutput[pdftex]% \definestartstop [quote] [before={\startnarrower[1*left,1*right]\blank[big]}, after={\stopnarrower\blank[big]}] \starttext \startquote \input knuth \inmargin{This is a test.} \stopquote \stoptext == Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] INstalling a new version of context
The upgrading of Context or even of pdftex is sufficiently failure prone that I have given up trying. I tend to agree. I follow the meager instructions I have found, as well as some direct help from hh himself and am still not able to get it working right. I think the problem is with hacked engine support. I try disabling the use of engine but I still get the same problem. At this point I am tracking down a weird error in texexec.pl in which kpsewhich returns a null result and TEXFORMATS gets set to '0'. This wreaks havoc and breaks everything. I suspect texlive texmf.cnf settings trigger a bug in texexec. Perhaps everything would work just fine with the limited linux tex distribution from pragma. But I, like many others, prefer to use texlive because it is fairly comprehensive and I can use my normal latex and friends. I think it would be a very useful exercise for hh to install a complete texlive on a stock fedora box. Then write down _every_ step necessary to get beta cont-tmf.zip installed and working. I would think that targeting texlive as the standard platform for distributing context on linux/unix would make the most sense. It should _not_ be necessary to make anything but a trivial change to texmf.cnf. sc ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] alignment issues
Dear cartel, Two problems (annoyances?) with alignment,: PROBLEM 1: \startalignment[left] creates a spurious underfull hbox: === % output=pdf interface=en \starttext \startalignment[left] This is a test of alignment. \stopalignment \stoptext === log: === Underfull \hbox (badness 1) in paragraph at lines 7--8 []\*12ptrmtf* This is a test of align-ment. \hbox(8.26648+2.1)x426.78743, glue set 12.00853 .\glue(\leftskip) 0.0 plus 24.0 .\hbox(0.0+0.0)x0.0 .\*12ptrmtf* T .\*12ptrmtf* h .\*12ptrmtf* i .etc. === The other three alignments (see below) do not have this problem; PROBLEM 2: I think this may have came up a couple of years ago as well, don't remember if there was ever a resolution... The options to \start-\stopalignment are inconsistent and, in my view, contrary to common sense-). Try === % output=pdf interface=en \starttext \rightaligned{This is a test of right alignment.} \startalignment[right] This is a test of right alignment. \stopalignment \blank[big] \leftaligned{This is a test of left alignment.} \startalignment[left] This is a test of left alignment. \stopalignment \stoptext === \startalignment[right] does the opposite of \rightaligned; ditto for \startalignment[right] and \leftaligned. \rightaligned and \leftaligned are correct in my view. Aside: As ConTeXt develops bidi support, we need alternatives to [left] and [right] anyway. But it is still apparently inconsistent as it stands (with emphasis on `apparently' since I am missing/have forgotten the point of why things behave like this). Best Idris Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context