Re: [NTG-context] Biblography list does not show numbers
Matthijs Kooijman wrote: I'm trying to use a bibliography, but it seems no numbers are show in the biblography that is generated. The following example: Ah, using \setuppublications[numbering=yes] solves this. Any reason this is not the default? I have assumed that ConTeXt has more authors that need APA like citations than bracketed numbers. ConTeXt has never had a very strong presence in the exact sciences. 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 ___
[NTG-context] page wiki.contextgarden.net/Running_Mark_IV
is referenced in TeX Live Guide 2009, tug.org/texlive/doc/texlive-en/texlive-en.html#x1-190003.1.3 The most important motivation for this page is that the TeX Live 2008 edition contains Mark IV Note that the garden talks about 2008 instead of 2009... Best Regards, Robert Cristel Montreal, Canada ___ 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] Table macro choices?
On 2009-12-05, at 7:55 AM, Wolfgang Schuster wrote: > > Am 04.12.2009 um 22:58 schrieb Design Department: > >> Earlier this year I attempted to set tabular material using ConTeXt while >> meeting *all* the following requirements: >>> Some columns need fixed width, content must wrap to multiple lines >>> Multi-page tables >>> Column headings must repeat on every page >>> Additional header information is required on every page >>> Additional footer information containing tabular text and graphics is >>> required on every page >>> Forced page breaks on arbitrary selected rows >>> Horizontal rules between specified groups of rows >> >> I was unable to meet all these requirements and reverted to LaTeX. It works, >> but I prefer ConTeXt and the LaTeX version takes a painfully long time to >> converge on optimal column widths. I'm now using TeXLive 2009, rather than >> 2008 - has anything changed in ConTeXt that will meet these requirements? > > Can you show a example from the LaTeX output. For Walfgang, and anyone else who has thoughts, here's a sample PDF. http://docs.google.com/fileview?id=0B3ld3P7qGRnwOTRmOWJhYTEtMGQ1Yy00ZGE4LTk0NmQtYzk3NmJlYWIzM2Zh&hl=en The main point is that the tabular material runs from just a single to several hundred rows and each page *must* contain both the header and footer explanations associated with the table. Normally the pages are broken at a fixed increment of rows depending on the type of data, usually 20 or 32 per page, but other values are possible. For good measure, field technicians often want a forced page break at an arbitrary row position. Two of the table columns contain data which may wrap to multiple lines, as illustrated. Is all this possible without writing a new tabular macro? I could get close, but couldn't get the table footer repeating on every page or the forced page breaks. That was using the TeXLive 2008 distribution. david ___ 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] Some_guidelines_for_writing_to_the_mailing_list
Hi Sure, many people send files but the limit is 40kb. http://wiki.contextgarden.net/ConTeXt_Mailing_Lists#Some_guidelines_for_writing_to_the_mailing_list I was unaware of that guidelines. It's funny that they exists ) I want to point out that 40 Kb is too small for any pdf documents, even simplest ones. Sometimes it's necessary to show the document produced, but I never managed to get it smaller then 100 Kb. Can the limit be increased, say, to 200Kb? Vyatcheslav ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] bib module, mkiv, and
Dear Taco and gang, MTXrun | current version: 2009.12.01 14:54 \usemodule[bib] \starttext In this connection, it is worthy to note that, according to Ibn Daud's {\em Kitābu ãl-Maṣāḥif} \cite[jeffery1937], Ḥamzaḧ states that he carefully copied his own copy directly from the copy sent to Kufa by ʿUṯmān himself. % \subject{References} \startpublication[k=jeffery1937, t=book, a=Jeffery, y=1937, s=] \author[]{Arthur}[]{}{Jeffery} \title{Materials for the History of the Text of the Qurʾãn} \pubyear{{1937}} \pubname{} \city{Leiden} \notes{AMS photocopy edition, 1975} \stoppublication \tfx\setupinterlinespace\placepublications \stoptext If i uncomment \subject{References} the bibliography disappears. Am I missing something or is this a bug? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Biblography list does not show numbers
> I'm trying to use a bibliography, but it seems no numbers are show in the > biblography that is generated. The following example: Ah, using \setuppublications[numbering=yes] solves this. Any reason this is not the default? I'll put this on the wiki (and stress the completeness of the manual over the wiki page). Gr. Matthijs signature.asc Description: Digital signature ___ 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] Biblography list does not show numbers
Hey all, I'm trying to use a bibliography, but it seems no numbers are show in the biblography that is generated. The following example: Test.tex: = \usemodule[bib] \setupbibtex[database=Test] \starttext \section{foo} Blaa \cite[foo] Bar \completepublications \stoptext Test.bib: == @article{foo, author = {Bar}, title = {Foo}, year = {2009}, } generates the following text: 1 foo Blaa [1] Bar 1 References Bar (2009). Foo. . So, the citation gets a number as it should, is referenced by the number, but the list of references does not list that number. This makes the bibliography pretty useless :-) This also happens with MkII (though the reference doesn't get a number, but uses the author name and year: (Bar, 2009). Am I missing something, or is this a bug? On a related note, if I remove the \section, no reference will be generated. This is probably not a problem in real documents, though. Gr. Matthijs signature.asc Description: Digital signature ___ 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] Table macro choices?
Am 05.12.2009 um 18:47 schrieb Design Department: >> Can you show a example from the LaTeX output. > > If I remove a few sensitive items I can generate a sample PDF. Is this what > you mean, Wolfgang? Yes > I've never seen attachments in mailing list - is that allowed? I could also > include a link to it hosted somewhere else. Sure, many people send files but the limit is 40kb. http://wiki.contextgarden.net/ConTeXt_Mailing_Lists#Some_guidelines_for_writing_to_the_mailing_list > That's probably the better solution but it will take a bit of time. > > The LaTeX itself is a series of templates with mixed Ruby code, and so it > doesn't seem practical to post the LaTeX code itself. You can show the LaTeX code but it won't help so much. 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] Table macro choices?
On 2009-12-05, at 7:55 AM, Wolfgang Schuster wrote: > > Am 04.12.2009 um 22:58 schrieb Design Department: > >> Earlier this year I attempted to set tabular material using ConTeXt while >> meeting *all* the following requirements: >>> Some columns need fixed width, content must wrap to multiple lines >>> Multi-page tables >>> Column headings must repeat on every page >>> Additional header information is required on every page >>> Additional footer information containing tabular text and graphics is >>> required on every page >>> Forced page breaks on arbitrary selected rows >>> Horizontal rules between specified groups of rows >> >> I was unable to meet all these requirements and reverted to LaTeX. It works, >> but I prefer ConTeXt and the LaTeX version takes a painfully long time to >> converge on optimal column widths. I'm now using TeXLive 2009, rather than >> 2008 - has anything changed in ConTeXt that will meet these requirements? > > Can you show a example from the LaTeX output. If I remove a few sensitive items I can generate a sample PDF. Is this what you mean, Wolfgang? I've never seen attachments in mailing list - is that allowed? I could also include a link to it hosted somewhere else. That's probably the better solution but it will take a bit of time. The LaTeX itself is a series of templates with mixed Ruby code, and so it doesn't seem practical to post the LaTeX code itself. cheers, David Richardson ___ 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 help - some problems I have noticed
I was trying to figure out the problem and I found that the database I was referring to was empty. I perhaps forgot to save it. When replaced with the appropriate .bib file I do get the references at the end of the document. But I observed the following. Would really appreciate if someone could point out whether I am making a mistake or whether there is a bug. (1) If the Key has a paranthesis, the \cite[Reference] gives empty brackets. (2) If I use \cite[author][Reference] then I get a line break after the opening paranthesis. (3) Also, note that I refer to only one paper of Daughety and Reinganum in the minimal example below. However, because there are two papers by them in my database, the References section lists the year as (2000a) instead of just (2000). The bbl file generated contains all the references in my database and not only the once I have cited. Should it not contain only the ones I have cited in the document. The following is a minimals example, demonstrating above problems. I have included the bibtex source of the citations used below. If you need more information, please let me know. * \usemodule[bib] \setupbibtex[database=econbibTest] \setupwhitespace[big] \starttext \section{Checking Bib} Using \type{\cite[author][BergstromBagnoli2005]} gives a line break after the opening paranthesis. Using \cite[author][BergstromBagnoli2005] gives a line break after the opening paranthesis. Using \type{\cite[author,year][BergstromBagnoli2005]} just returns the key in the document in place of the author names and the year. Using \cite[author,year][BergstromBagnoli2005] just returns the key in the document in place of the author names and the year Paranthesis in the key such as this one, \type{\cite[Daughety_Reinganum(2000)]}, gives empty brackets. Paranthesis in the key such as this one,\cite[Daughety_Reinganum(2000)], gives empty brackets Also, note that even though I refer to only one paper of Daughety and Reinganum, because there are two papers by them in my database, the References section lists the year as (2000a) instead of just (2000). The bbl file generated contains all the references in my database and not only the once I have cited. Should it not contain only the ones I have cited in the document. \completepublications[criterium=all] \stoptext * @ARTICLE{Daughety_Reinganum(2000), author = {Andrew Daughety and Jennifer Reinganum}, title = {Appealing Judgments}, journal = {Rand Journal of Economics}, year = {2000}, volume = {31}, pages = {502-525}, owner = {Bharat}, timestamp = {2009.01.18} } @ARTICLE{BergstromBagnoli2005, author = {Mark Bagnoli and Ted Bergstrom}, title = {Log-concave Probability and its Applications}, journal = {Economic Theory}, year = {2005}, volume = {26}, pages = {445-469}, owner = {bbhole}, timestamp = {2008.06.08} } ___ 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?
Hi Henning, On Thu, 03 Dec 2009 01:17:22 -0700, Henning Hraban Ramm wrote: 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. Pandoc has this aim, and supports ConTeXt to some degree. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Table macro choices?
Am 04.12.2009 um 22:58 schrieb Design Department: > Earlier this year I attempted to set tabular material using ConTeXt while > meeting *all* the following requirements: >> Some columns need fixed width, content must wrap to multiple lines >> Multi-page tables >> Column headings must repeat on every page >> Additional header information is required on every page >> Additional footer information containing tabular text and graphics is >> required on every page >> Forced page breaks on arbitrary selected rows >> Horizontal rules between specified groups of rows > > I was unable to meet all these requirements and reverted to LaTeX. It works, > but I prefer ConTeXt and the LaTeX version takes a painfully long time to > converge on optimal column widths. I'm now using TeXLive 2009, rather than > 2008 - has anything changed in ConTeXt that will meet these requirements? Can you show a example from the LaTeX output. 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
luigi scarso wrote: On Thu, Dec 3, 2009 at 11:16 PM, Wolfgang Schuster wrote: 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 I see the server up, but fonttest does an empty list even after extra --> rebuild database ah, yes, i need to adapt it to the font database structure .. so keep reminding me -- - 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] Bibliography help
Hi, Is it possible to use .bib files that I had made for latex (it is a bibtex database), with Context? Do I need to use the module bibltx for these? When I compile my source code the Log window says, module bibltx not found (log file is pasted below). I tried the first example in the Bibliography article on Context Garden with some small changes. That is, I tried the following. \usemodule[bib] \usemodule[bibltx] \setupbibtex[database=econbibTest] \starttext \section{Checking Bib} See \cite[Bergstrom_Bagnoli(2005)] for monotonicity properties of hazard rates of various standard distributions. \completepublications[criterium=all] \stoptext @ARTICLE{Bergstrom_Bagnoli(2005), author = {Mark Bagnoli and Ted Bergstrom}, title = {Log-concave Probability and its Applications}, journal = {Economic Theory}, year = {2005}, volume = {26}, pages = {445-469}, timestamp = {2008.06.08} } I have attached the output. I have reproduced the citation from the bibtex file above to show what the bib file contains. Can someone please point out where I am going wrong? Thanks very much. The following is the log: This is LuaTeX, Version beta-0.46.0-2009112820 \write18 enabled. (BibTest.tex ConTeXt ver: 2009.11.27 21:24 MKIV fmt: 2009.11.29 int: english/english system : cont-new loaded (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.mkiv)) system : cont-fil loaded (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-fil.tex loading : ConTeXt File Synonyms ) system : cont-sys.rme loaded (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/user/cont-sys.rme (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-lua.tex) (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-tmf.tex (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-tmf.mkiv)) (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-siz.tex (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-siz.mkiv)) (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-otf.tex (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-otf.mkiv))) system : BibTest.top loaded (BibTest.top) fonts : preloading latin modern fonts bodyfont: 12pt rm is loaded language: language en is active system : module bib loaded (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/m-obsolete.texThis is BibTeX, Version 0.99c (TeX Live 2009) The top-level auxiliary file: BibTest.aux The style file: cont-no.bst Database file #1: econbibTest.bib systems : skipping obsolete module ) system : module bibltx not found publications: wrote a new auxiliary file cont-en.aux systems : begin file BibTest at line 4 structure : section @ level 3 : 0.0.1 -> Checking Bib fonts : resetting map file list {/Applications/ConTeXtMinimals/tex/texmf-context/fonts/map/pdftex/context/original-empty.map} fonts : using map file: original-base {/Applications/ConTeXtMinimals/tex/texmf-context/fonts/map/pdftex/context/original-base.map} fonts : using map file: original-ams-base {/Applications/ConTeXtMinimals/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map} fonts : using map file: original-ams-euler {/Applications/ConTeXtMinimals/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map} fonts : using map file: original-public-lm {/Applications/ConTeXtMinimals/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map} fonts : using map file: lm-math {/Applications/ConTeXtMinimals/tex/texmf/fonts/map/dvips/lm/lm-math.map} fonts : using map file: lm-rm {/Applications/ConTeXtMinimals/tex/texmf/fonts/map/dvips/lm/lm-rm.map} !pages : flushing page, realpage 1, userpage 1 structure : chapter @ level 2 : 0.1 -> \headtext {pubs} publications: loading database from BibTest.bbl (BibTest.bbl) publications: warning: cite argument article-full is unknown on line 175 system : xmp data not flushed (needs luatex upgrade) !pages : flushing page, realpage 2, userpage 2 systems : end file BibTest at line 8 system : cont-err loaded (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-err.tex systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead ) system : module bibltx not found ) mkiv lua stats : used config path - /Applications/ConTeXtMinimals/tex/texmf-local/web2c/texmf.cnf;/Applications/ConTeXtMinimals/tex/texmf/web2c/texmf.cnf mkiv lua stats : used cache path - /Applications/ConTeXtMinimals/tex/texmf-cache mkiv lua stats : input load time - 0.048 seconds mki
Re: [NTG-context] \setupfloat[..][..., after=\stopframedtext] not working?
Am 02.12.2009 um 16:15 schrieb Hans Hagen: > Matthijs Kooijman wrote: >> Hi all, >> the following example is not working for me: >> >> \setupfloat[intermezzo][before=\startframedtext[width=10cm],after=\stopframedtext] >> \starttext >> \placeintermezzo{Caption}{Text} >> \stoptext >> It fails with the following message: >> ! Undefined control sequence. >> \stopframedtext ->\dostopframedtext >> l.1 ...ramedtext[width=10cm],after=\stopframedtext >> ] >> Am I doing anything wrong, or is there perhaps another way to achieve this? >> I've tried passing width=10cm to \setupfloat as well as \placefloat, but that >> doesn't seem to do anything. > > indeed, way to complex to do that as floats can move around but not impossible when you ignore the caption which comes after \stopframed is added \starttext \vbox{\input knuth } \startframedtext \vbox{\input knuth } \stopframedtext \def\checknextbox {\ifx\next\bgroup \expandafter\setbox\expandafter\nextbox\expandafter\vbox\expandafter\bgroup\expandafter\startframedtext\expandafter\bgroup\expandafter\aftergroup\expandafter\stopframedtext\expandafter\aftergroup\expandafter\egroup\expandafter\let\expandafter\next \else \expandafter\setbox\expandafter\nextbox\expandafter\vbox \fi} \futurelet\next\checknextbox\bgroup text\egroup \box\nextbox \futurelet\next\checknextbox{text} \box\nextbox \futurelet\next\checknextbox\starttable[|l|l|]\HL\NC text \NC text \NC\SR\HL\stoptable \box\nextbox \stoptext 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 ___