[NTG-context] BibTeX and \placelistoffloats questions
Hi Taco, > > 1. BibTeX xrefs: > >Is it possible to get interactive references (maybe even with > >different colour than the global interaction color) from the \cite > >command to the referring entry in the publicationlist working at the > >moment? > > What \cite style are you using? I can probably make something work > quickly for all but the authoryear(s) style(s). I'am using the following setup and referring to the .bib file by \cite[key]: \setupbibtex[database=references,sort=author] \setuppublications[alternative=aps] \setuppublications[ criterium=all, sorttype=bbl, numbering=short, numbercommand=\bibkeyfmt, autohang=yes, refcommand=short, ] \setuppublicationlist[ totalnumber=50, after={\vskip 3ex}, author={\normalauthor}, ] > > 2. BibTeX different colored keys: > >The keys of \placepublications entries till the second entry on the > >second page are colored red, the following belonging to the global > >interactive color. What is the reason for that? > > Do you know Torge, by chance? He asked the exact same question > only yesterday. Same answer: That red that you see is the > 'contrastcolor' for interactivity. Uhm, am i blind? Sorry, but i can't find the thread you mentioned (searched in the ml archives by the www.ntg.nl webfrontend). The only mail of Torge i've found is his reply to this thread. Btw. I can confirm his statement, we do not know each other (yet). ;) > I'm not sure (yet) whether the red page or the blue page is wrong, > but here is how to solve the discrepancy: > > \setupinteraction[contrastcolor=blue] Thanks, that worked just fine here! :) The red ones are wrong, i suppose, than i set the interactive color to blue (by setting the color argument). Thats why the rest is blue. Whats the difference of the "color" and the "contrastcolor" argument of \setupinteraction? Sounds semantically equal to me. > > 3. Vertical Spacing in \placelistoffloats: > >Is there a way to get vertical spacing in e.g. \listoffigures > >between figures of different chapters working? > > At the end (or beginning) of a chapter, you can add: > >\writebetweenlist[figure]{\blank} > > I am not sure that is the most elegant way to do it, but it works Also thanks for this hint, it worked as imagined! Elegance is at the current stage of writing not an issue, just finishing it. Thanks for your help so far, i'am a step closer to my dreamsetup. :) HAND Fabian ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] metafun: problems, problems & problems again
Mojca Miklavec wrote: > > went away when I removed \setupoutput[pdf] from cont-sys.tex (but I'm > stil confused since there are two cont-sys files, one .rme and one > .ori. Which one should be used? They are identical, but why would one > want to have the same file at two places?) > because that way you still have an original when you mess up your local cont-sys.tex file; when no cont-sys.tex file is present (not in the distribution because it's not to be overwritten) context will load the rme file; the rme file also shows the latest greatest options that make sense to go there btw, setupoutput[pdf] is not supposed to be in the cont-sys.tex file; newtexec defaults to pdf output anyway 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] BibTeX and \placelistoffloats questions
Peter Münster wrote: > Hello Taco, > and what is the sense for these links? When I click on the red or green > numbers, I get back to the first page of the publication list... Good question. Will attempt to find an answer ... Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] links down
On 2/21/06, Patrick Gundlach <[EMAIL PROTECTED]> wrote: > > >> I'm having many of these while searching for sample in contextgarden: > >> > >> request http://www.pragma-ade.com/general/manuals/mag-0001.pdf cannot > >> be honored > > > > Oh, it's http://www.pragma-ade.com/general/magazines/mag-0001.pdf > > (magazines, not manuals). I guess it was probably me who replaced many > > hard coded links by [[manual:mag-0001.pdf]] (as in this example) > > without ever testing them. I wasn't aware of this problem (I never > > thought about documents outside the "manuals" folder). > > > > Patrick, are you going to fix the source so that these links will > > point to the proper document s or should I fix those links (hard code > > them) again? > > what about [[magazine:0001]] (now active)? Thanks a lot! To Andrea: please fix the links where you saw them by changing [[manual:magazine-000x.pdf]] into [[magazine:000x]]. Thanks, Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] metafun: problems, problems & problems again
On 2/20/06, Hans Hagen wrote: > Mojca Miklavec wrote: > > But I still get no figures at all under MikTeX and "undefined" labels > > with the standalone. > > > that normally means that no tex subruns take place (or wrong ones) > > (maybe the system command is not executed, in the log you can see what > write 18 does) > > you can try (on a mp file): > > texexec --mptex somefile.mp > > and see what is reported I traced the problem of getting annoying "\loadfontfilesoncetrue undefined" messages down to the line 2936 in texexec.pl, sub RunMPX: if ( ( $Format eq '' ) || ( $Format =~ /^cont.*/io ) ) { RunConTeXtFile( $MpTmp, "tex" ); } else { RunSomeTeXFile( $MpTmp, "tex" ); } The first subroutine (RunConTeXtFile) is executed (as it should be), but it calls TeX instead of "ConTeXt" (format) and I have no idea how to change this behaviour. That's why all ConTeXt commands are undefined. The same is true for tex.rb, line 1442: if context then ok = RunConTeXtFile(mptex) else ok = RunSomeTeXFile(mptex) end It goes into the first part of the if sentence, but it nevertheless runs (plain) tex. Except that in this time it was far from evident for me where this RunConTeXtFile came from (I didn't see the definition anywhere except if it calls Perl at that place). On 2/20/06, Taco Hoekwater wrote: > Mojca Miklavec wrote: > > Is there any way to explore why the crash would happen? I get "An > > unhandled win32 exception occured in pdfetex.exe [2384]", 3164, 812, > > 1752, 2776, ... > > A (likely) candidate is an (software-ignored) attempt to write to > a file that is still in use by another application. It is quite > possible that this is the result of an I/O timing error that is in > itself caused by a misconfigured win32 install (harddisks in ms-dos > compatility mode, for example, or soundcard that share interrupts > with the harddisk controller. Might be. I also heard from some latex people that they had problems with pdflatex on some disks. It happened to me on two different computers on two different distros (MikTeX, standalone). Some crashing went away when I removed \setupoutput[pdf] from cont-sys.tex (but I'm stil confused since there are two cont-sys files, one .rme and one .ori. Which one should be used? They are identical, but why would one want to have the same file at two places?) Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Context Bibtex Bug?!?
On 2/21/06, Hans Hagen wrote: > weird, there were some 10 subscriptions and lots of pending mails and i > didn't get a message from mailman (maybe for a week) but did get them > fro other lists; maybe some spam filtering? > > if someone smells problems ... let me know I've just found 7 threads from the ConTeXt mailing list in the spam folder (I guess it was more than the number of mails that ever flew to the spam folder by accident here.) Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] BibTeX and \placelistoffloats questions
On Tue, 21 Feb 2006, Taco Hoekwater wrote: > > 2. BibTeX different colored keys: > >The keys of \placepublications entries till the second entry on the > >second page are colored red, the following belonging to the global > >interactive color. What is the reason for that? > > I'm not sure (yet) whether the red page or the blue page is wrong, > but here is how to solve the discrepancy: Hello Taco, and what is the sense for these links? When I click on the red or green numbers, I get back to the first page of the publication list... Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] media wiki ConTeXt
On 2/6/06, PChot wrote: > Hi all, > > I'm new in your ConTeXt club. > > I installed livetex on my server and now i want to merge mediawiki > with ConTeXt. And i also want to make, that tags work too. I > didn't find any help. Maybe i didn't search good enought. Can you tell > me, where can I get some help? And if is all that, what I want, > possible? > > Have a nice day, > Jan(PChott) Jan, perhaps you weren't clear enough. I hope you don't mind if I explain your question once more. Jan is setting up some server for student-to-student materials and integrated (most probably slightly fixed version of) WikiPDF into it (http://aluno.no-ip.info/juca/index.php/WikiPDF). This makes a LaTeX document out of wiki syntax and processes it to generate PDFs. He was impressed by ConTeXt and wanted to: 1.) integrate something similar to command on contextgarden while keeping functionality (can be done in ConTeXt too, most probably no need to keep LaTeX) 2.) perhaps change the mentioned WikiPDF to generate ConTeXt documents -> PDF (perhaps that could be done via XML as well?) 1.) I don't know if his demads/intentions changed inbetween, but I guess he was merely searching for some more help about how to set up something like "wiki.contextgarden". Patrick, I believe that more people would be interested in that anyway. You already described once what people have to take care of, so that the system is not exposed to hackers, perhaps you can put on one page on the wiki what you did in order to enable to work. LaTeX works by default(?) in wikimedia, while ConTeXt ... needs some promotion ;) 2.) I already heard from more people about such demand (you write in wiki & get PDF documents out of it, possibly composed from more pages). That would be an interesting project. Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] skipping parts in compiling
On 2/21/06, andrea valle wrote: > Dear all, > I'm writing presentations with large image files. Do you have images in PDF or in some other format? Including PDF is much faster than including bitmap images. > Sometimes I make minor changes (e.g. typos). > > Is there a way not to recompile all but only some pages after I made my > changes? If you mean "can I recompile only page 3 and 4 out of my 100-page book and get the whole document" that answer is no I think. But there are other ways. > In presentations I only have separate pages (no index, numebr of pages, > etc) In such cases I usually split files and include them in a "master file", so that I can quickly and easily comment things out. \starttext \input chapter-one \input chapter-two \stoptext A more fancy way is to use projects/envionments/products/components. You can then compile separate chapters or all chapters at once without the need to change a single line in the source. They're described at the beginning of cont-eni.pdf. I wanted to ask something about projects/products in a new thread (I didn't notice how great they are until some days ago), but since I'm already talking about them here: Data about chapters, sections, references, ... are written into an auxilary file and have to be processed first before references, indexes, TOCs can work properly anyway: would it be possible to have an option not to process the auxilary files of single products but those of the master document (ie. of project) when compiling single products, so that cross-referencing, section numbering, ... would remain the same as if the whole project was processed together? Thanks, Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] skipping parts in compiling
Dear all, I'm writing presentations with large image files. Sometimes I make minor changes (e.g. typos). Is there a way not to recompile all but only some pages after I made my changes? In presentations I only have separate pages (no index, numebr of pages, etc) Thanks -a- Andrea Valle DAMS - Facoltà di Scienze della Formazione Università degli Studi di Torino http://www.semiotiche.it/andrea [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bib question
Patrick Gundlach wrote: > the 6th entry. So, how do I get [1] both in the place where I cite > [knuth:texbook] and in the list of publications? [...] > \setuppublications > [sorttype=cite, > refcommand=number, Make this line: refcommand=num, Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] bib question
Hello out there, I use Taco's bib module and have a question concering labels/numbering. In the text I use \cite[knuth:texbook] and want to have a label like [1]. In the list of publications I have all bib entries also labeled [1], [2], ... but the ordering in the textbody is incorrect. The first citation in the text is labeled [6] while the corresponding entry in the list of publications it is labeled [1]. The number 6 probably comes from the bib database, where [knuth:texbook] is the 6th entry. So, how do I get [1] both in the place where I cite [knuth:texbook] and in the list of publications? Thanks, Patrick \usemodule[bib] \def\EckNummer#1{[#1]} \chardef\urlhyphenmethod=1 \setuppublications [sorttype=cite, refcommand=number, criterium=used, numbering=yes, numbercommand=\EckNummer, ] \setupbibtex [database=../bib/umbruchlit, ] \setuppublicationlist [before=\blank, ] -- ConTeXt wiki and more: http://contextgarden.net ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] links down
>> I'm having many of these while searching for sample in contextgarden: >> >> request http://www.pragma-ade.com/general/manuals/mag-0001.pdf cannot >> be honored > > Oh, it's http://www.pragma-ade.com/general/magazines/mag-0001.pdf > (magazines, not manuals). I guess it was probably me who replaced many > hard coded links by [[manual:mag-0001.pdf]] (as in this example) > without ever testing them. I wasn't aware of this problem (I never > thought about documents outside the "manuals" folder). > > Patrick, are you going to fix the source so that these links will > point to the proper document s or should I fix those links (hard code > them) again? what about [[magazine:0001]] (now active)? > Is there any simple tool to check for broken link in the wiki? Not that I know of. Patrick -- ConTeXt wiki and more: http://contextgarden.net ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] BibTeX and \placelistoffloats questions
On Sat, 18 Feb 2006, Fabian Doerk wrote: > 3. Vertical Spacing in \placelistoffloats: >Is there a way to get vertical spacing in e.g. \listoffigures >between figures of different chapters working? Hello, I've done it for the contents: \setupcombinedlist[content][alternative=c] \setuplist[chapter][before=\blank,alternative=b] Perhaps something similar works for the list of floats. Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Vertical text in the margin on every page
In metafun-p.pdf there are some other examples (see pages 159,160 ) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Vertical text in the margin on every page
I have the following in an environment file. In the document I then \def\workingtitle and \def\workdir, and this text is written in the left margin. I am sure you will get better suggestions from others who actually know what they are doing ... Johan \definecolor[logogray][s=.6] \definelogo [mrc] [footer] [leftmargin] [state=start, command=\hbox to 8.5mm{% \hfill% \vbox to \makeupheight{% \hbox{% \framed [width=8.5mm, background=color, backgroundcolor=black, align={middle,lohi}] {\switchtobodyfont[sans,24pt]\rotate{\white\bf MRC}}} \vfill% \hbox{% \vbox{% \switchtobodyfont[sil-gentium,10pt] \logogray{\rotate{\currentdate \workdir}}} \vbox{% \switchtobodyfont[sil-gentium,10pt] \logogray{\rotate{'\workingtitle' text text text text \hbox{\vbox to 3mm{}} \hbox{% \framed [width=8.5mm, background=color, backgroundcolor=black, align={middle,lohi}] {\switchtobodyfont[sans,24pt]\rotate{\white\bf MRC \hfill}] 2006/2/21, Jilani Khaldi <[EMAIL PROTECTED]>: > Hi, > In a technical report I need to put a vertical text on every page of the > document in the right margin. This 2 lines text should be written in a > little font. I have struggled for a while with ConTeXt but could'nt get > a good result. Any hint? > Thanks! > jk > > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > -- Johan Sandblom N8, MRC, Karolinska sjh t +46851776108 17176 Stockholm m +46735521477 Sweden "What is wanted is not the will to believe, but the will to find out, which is the exact opposite" - Bertrand Russell ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Vertical text in the margin on every page
Hi, In a technical report I need to put a vertical text on every page of the document in the right margin. This 2 lines text should be written in a little font. I have struggled for a while with ConTeXt but could'nt get a good result. Any hint? Thanks! jk ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] BibTeX and \placelistoffloats questions
Hi! > Do you know Torge, by chance? He asked the exact same question > only yesterday. Same answer: That red that you see is the > 'contrastcolor' for interactivity. We don't know each other. That is just a coincidence... Greetings Torge ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] BibTeX and \placelistoffloats questions
Hi Fabian, > 1. BibTeX xrefs: >Is it possible to get interactive references (maybe even with >different colour than the global interaction color) from the \cite >command to the referring entry in the publicationlist working at the >moment? What \cite style are you using? I can probably make something work quickly for all but the authoryear(s) style(s). > 2. BibTeX different colored keys: >The keys of \placepublications entries till the second entry on the >second page are colored red, the following belonging to the global >interactive color. What is the reason for that? Do you know Torge, by chance? He asked the exact same question only yesterday. Same answer: That red that you see is the 'contrastcolor' for interactivity. I'm not sure (yet) whether the red page or the blue page is wrong, but here is how to solve the discrepancy: \setupinteraction[contrastcolor=blue] > 3. Vertical Spacing in \placelistoffloats: >Is there a way to get vertical spacing in e.g. \listoffigures >between figures of different chapters working? At the end (or beginning) of a chapter, you can add: \writebetweenlist[figure]{\blank} I am not sure that is the most elegant way to do it, but it works Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bib module bug?
Idris Samawi Hamid wrote: > Dear Taco and the rest of the gang, > > There seems to be a problem with the \cite when encountering \penalty1000: > > ConTeXt ver: 2006.01.28 10:09 fmt: 2006.1.29 Your example runs fine here, but I see you updated your context distribution, and the distribution still has the jan 2005 version of the bib module and may have overwritten your installed beta. Could that be it? Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context