Re: [NTG-context] bibmodule requests
Hi Stefano, I have to be brief, I do not have enough time on my hands right now to deal extensively with bibmodule issues. It is on my todo list for the near future though. Stefano wrote: I have been using the bibmodule for a couple of weeks now, and it works great! ... but, I have run into some situations that are not considered. Thank you! (1) It would be nice to visually distinguish the cited author using a different font or style in the text. I was able to add \c!authorstyle to \setupcite and make changes to the appropriate areas in the t-bib.tex module. I suppose I could also add a \c!yearstyle as well to allow for old style figures. In my case, I set \c!authorstyle={\em} Could you email me (personally!) your changes please? I want to such extensions into the main module whenever possible. (2) Another situation arises when dealing with multiple references from the same author in the same year. The years have a lower case letter added, such as 1995a, 1995b, 1995c, etc. Is there any consideration to having .aux file created by texexec based on the entries cited in the document? I ended up creating a batch file to do this so it's not really an issue for me. Is there a better way to do this? Bibtex is a very LaTeX-specific bit of software, and the less I have to deal with it, the better I feel. I will never write code to create an .aux file that lists the actual references, because I am already a bit annoyed by the mere fact that this .aux LaTeX thing is hardwired in bibtex. I don't want to spend any time on improving it. Conceptually, the .bib format does not really exist where the module is involved. I consider the .bbl file to be the actual source database (this is why there is a \usepublications command). If someone doesn't want the 1995a item in the bbl, just delete it for the bbl file and never run bibtex again. (a future version of the bib module will support MlBibTeX's XML format, when that becomes available). (3) Another issue I found is when using the \cite[year][label1,label2,label3,etc.] and I have years such as 1995a, 1995b, 1995c, etc. only one of those years is listed, while if I use \cite[author] or \cite[authoryear] or \cite[authoryears], all the required years are listed. Unfortunately, the grouped years are not in order i.e. 1995b before 1995a, but it looks like this depends on the ordering of the labels. I have to look deeper into this before I can give real answers. It certainly sounds like there is a bug or omission in the module. (4) Another issue is with regards to the author names in the publication list. The first author is typically inverted (last name before first name), This was also requested by David Wooten. `Clean' support for this will be added in the future, but if you need it right now, you need a definition along these lines: %D The \type{\scratchcounter} is incremented by \specialbibinsert %D before each author/editor is typeset, so the only thing that needs %D doing is testing its value to decide which of the two `standard' %D author formatting macros to call. %D %D You may have to fix the \type{\normalauthor} definition as well, %D because the 'glue items' like \type{firstnamesep} may get in the %D way. \def\toggledauthor#1#2#3#4#5% {\relax \ifnum \scratchcounter 1 \normalauthor{#1}{#2}{#3}{#4}{#5}% \else \invertedauthor{#1}{#2}{#3}{#4}{#5}% \fi } \setuppublicationlist [artauthor=\toggledauthor, editor=\toggledauthor, author=\toggledauthor] (5) Is it possible to have additional annotations with a citation? .. \def\Cite[#1][#2][#3]{(#1 \cite[#2], #3)} \Cite[e.g.][smith1995][p. 27] That is the proposed solution (at least for the time being). Greetings, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] How to check the version ConTEXt that is installed on my system?
Hello, Please tell me how to check the version of ConTEXt that is installed on my system. I am running Slackware 10.1. Thanks, Anand ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bibmodule requests
Taco Hoekwater wrote: Conceptually, the .bib format does not really exist where the module is involved. I consider the .bbl file to be the actual source database (this is why there is a \usepublications command). If someone doesn't want the 1995a item in the bbl, just delete it for the bbl file and never run bibtex again. (a future version of the bib module will support MlBibTeX's XML format, when that becomes available). I'm no particular fan of the bibtex format myself, but I stick with it, because its the only thing that works everywhere I need it to and it rarely give me headaches. Taco's post prompted me to actually take a look at .bbl files for the first time. Taco, are you advocating that for ConTeXt we use skip to using the .bbl file as the point at which we edit our ref files if we are looing for any kind of non-standard output until such time as something better becomes available ? (I've nothing against that in principle. Its just as accessible and manageable in an editor as .bib, but I don't think this is going to be popular until such time as we have tools for bbl file management e.g. a la BibDesk on OS X.) In any case, I don't get the logic behind part of the .bbl syntax. We have e.g.: \startpublication[k=Justerini2005a,t=article, a={Justerini et~al.},y=2005a, n=16,s=BDBH00a] \artauthor[]{G.}[G.]{}{Justerini} \artauthor[]{A.}[A.]{}{Brooks} ...etc... \pubyear{2005\maybeyear{a}} ...etc... \stoppublication can this perhaps be simplified in defaults or settable via a switch to: \startpublication[k=Justerini2005a,t=article, a={Justerini et~al.},y=2005, n=16,s=BDBH00a] \artauthor[]{G.}[G.]{}{Justerini} \artauthor[]{A.}[A.]{}{Brooks} ...etc... \pubyear{2005} ...etc... \stoppublication ? Put another way, what is the rationale behind having e.g.: y=2005a instead of y=2005 and: \pubyear{2005\maybeyear{a}} instead of \pubyear{2005} ? Another minor question: why are the text contents of the abstract field hard-wrapped ? No doubt there are good reasons for all of these. mark. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How to check the version ConTEXt that is installed on my system?
R S Ananda Murthy wrote: Hello, Please tell me how to check the version of ConTEXt that is installed on my system. I am running Slackware 10.1. texexec --version If it complains about an unknown option, you ConTeXt is too old :-) Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How to check the version ConTEXt that is installed on my system?
Hello, R S Ananda Murthy wrote: Please tell me how to check the version of ConTEXt that is installed on my system. I am running Slackware 10.1. Run kpsewhich context.tex and look in that file for \def\contextversion. Or, run ConTeXt and look at one of the first lines it spits out. It should look somewhat like ConTeXt ver: 2005.01.06 fmt: 2005.1.8 int: english mes: english The first number is the \contextversion, the second is when you dumped the format. The second day shall never be older than the first. Tobias ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bibmodule requests
Mark Smith wrote: Put another way, what is the rationale behind having e.g.: y=2005a instead of y=2005 and: \pubyear{2005\maybeyear{a}} instead of \pubyear{2005} ? The suffixes are needed because otherwise author,year styles cannot differentiate between different publications by one author in the same year. The actual implementation is a bit clumsy because it was mimicked incompletely from bibtex. Another minor question: why are the text contents of the abstract field hard-wrapped ? Because they were so in the original bib file. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bibmodule requests
I wrote: Another minor question: why are the text contents of the abstract field hard-wrapped ? Because they were so in the original bib file. Sorry, perhaps I lied. They are probably automatically inserted by bibtex. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] presentation in ConTeXt
I added following two lines in conf-pre-main.tex, \usetypescriptfile[type-xall] %script file \usetypescript[myface] %typeface In type-xall.tex, \starttypescript[serif][smmjr][uc] % Regular variant: \definefontsynonym[smMyungjoRegular][smMyungjoR\space W30][encoding=uc] \definefontsynonym[smMyungjoBold][smMyungjoR\space W70][encoding=uc] \definefontsynonym[smMyungjoLight][smMyungjoR\space W10][encoding=uc] \definefontsynonym[smMyungjoBlack][smMyungjoR\space W90][encoding=uc] \stoptypescript % Start another typescript that associates generic names with % mid-level names: \starttypescript[serif][smmjr][name] \definefontsynonym[Serif][smMyungjoRegular] \definefontsynonym[SerifBold][smMyungjoBold] \definefontsynonym[SerifItalic][smMyungjoLight] \definefontsynonym[SerifBoldItalic][smMyungjoBlack] % The fallbacks \definefontsynonym[SerifSlanted][Serif] \definefontsynonym[SerifBoldSlanted][SerifBold] \definefontsynonym[SerifCaps][Serif] \stoptypescript ... Then, I got a following error, This is MetaPost, Version 0.641 (Web2C 7.5.3) (/usr/local/teTeX/share/texmf.local/web2c/natural.tcx) (pre-main-mpgraph.mp ! Extra tokens will be flushed. to be read again smMyungjoR l.42 defaultfont:=smMyungjoR W30; ? It may be the problem in XeTeX. However, is it related with ConTeXt? Thank you. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] My ConTeXt cannot use Type1 fonts...
= Original Message From mailing list for ConTeXt users ntg-context@ntg.nl = Recently I installed the latest stable version of ConTeXt under MiKTeX (b20050215). To use Chinese characters in ConTeXt, I installed some Chinese Type1 fonts and related map/enc files. However, I found texexec --pdf foo.tex cannot read Type1 Chinese fonts. In this case, ConTeXt uses pk fonts (generated from ttf fonts), and finally I got pdf files with very low quality. I use fpTeX, so I may be missing something... Question: Do you have both ttf and pfb versions of the same font? If so, try removing the ttf version (and refresh fndb). I think that it is much better to have separate map files for your add-on fonts, instead of adding them to psfonts.map (of course you will have to edit your dvips and dvipdfm configuration files as well if you do this). Make a dedicated map file for your font and place it in your local \fonts\map\pdftex\context. See, e.g., texnansi-urw-times.map for syntax. Refresh the fndb, and try again. If things still don't work, compile a very simple file that uses that font and send a copy of your log file to the list. Then somebody will be in a better position to determine what's wrong. A final possibility (but I'm not sure if this will work for Chinese or other non-Latin fonts): remove all reference to your font from your ConTeXt system (tfm's, map's, ttf's, pfb's, etc). See if texfont can install your font. Place the pfb's in a temporary directory and run texfont --ma --in --ve=maker of your font --co=your typeface name This should install the font for you, with proper map files, tfm's, etc. My only worry is that texfont may need some additional encoding information for Chinese. Don't give up! 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
[NTG-context] scaling symbols
Hello I followed Adams nice way, to include unicode symbols. Now I want to ask, how these can be scaled, so that they can be used more like small figures. Any hints? TIA, __Janko Hauser ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Antykwa torunska en oldstyle figures
Hi, In the latest versions of the Antykwa Torunska fonts there are also oldstyle figures. Though I have no problem to get \os{3} typeset I am not able to have the date tpeset with oldstyle figures. How can I achieve that? \currentdate[dd,{.~},mm,{.~},year] KR Willi ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: good-looking tables in context
Hello Hans, [LaTeX tables] what exactly are you missing? There is a good file that pretty much describes what I am missing (perhaps haven't found in a manual - I never looked that close): http://www.ctan.org/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf There are commands like \toprule, \midrule, \bottomrule that insert horizontal rules with different thickness (default values, optional ones can be added with [..] right after the command). Eckhart has sent an example in his first post. To get a horizontal rule from column a to column b you can (in LaTeX) use: \cmidrule[wd](trim){ab} where wd is the rulethickness, trim is where to cut off a bit, and a, b the columns. This is a very nice command that I often use. \addlinespace addes a little space between rows. Table preambles can be complicated... but the next one is pretty simple: [EMAIL PROTECTED]@{}} means: to the left of the table, there should be no whitespace (i.e. the leftmost glyph of the table should be tight to the preceding glyph) now, there is a right aligned column, two left aligned, 22 centered columns and one type v and to the right there should be no whitespace either. The column type v is defined like this \newcolumntype{v}[1]{{\raggedright\hspace{0pt}}p{#1}} Ragged right but so that the first word can be hyphenated. Or another columntype could be: \newcolumntype{R}[1]{% {\begin{turn}{90}\begin{minipage}[t][0pt]{#1}\smalltabsize\raggedright\hspace{0pt}}l% {\end{minipage}\end{turn}}% } that would lead to rotated raggedright text in a smaller font. I know that ConTeXt tables have a lot of features that LaTeX tables don't have. Patrick -- ConTeXt wiki: http://contextgarden.net ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re : My ConTeXt cannot use Type1 fonts...
I had exactly the same problem today after updating from an older tetex/context to the latest version of tetex. Problem seems to be some modifications in pdftex. After moving my type1 fonts (that previously worked fine) with their tfm, afm and type1 files to the new $HOME/.texmf-var/fonts folder, putting the map files in $HOME/.texmf-var/fonts/map folder and including those mapfiles with updmap, texexec generated the pdf file with pk bitmap fonts. Although I believed that tex could find all necessary font files and mapfiles, it was only after explicitly adding \loadmapfile[myownfonts.map] in the tex file, that everything suddenly worked fine (this was not necessary in my old tetex/context setup). Don't know if this will work with your chinese fonts, but you could give it a try geert ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] scaling symbols
Janko Hauser said this at Thu, 31 Mar 2005 21:58:23 +0200: Hello I followed Adams nice way, to include unicode symbols. Now I want to ask, how these can be scaled, so that they can be used more like small figures. Any hints? Hmm, it depends a bit on how you get these (I assume) Unicode symbols and fonts. Note that symb-uni is part of the main distro now, and you probably should set my earlier version of the file aside. You could redefine \USymbChar after \usesymbols[uni]: \def\USymbChar#1#2{% \scale[sx=0.8,sy=0.8]{\uchar#1#2}} \let\USymbCharTwo\USymbChar \let\USymbCharZapf\USymbChar (untested, inelegant) -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Antykwa torunska en oldstyle figures
Willi Egger said this at Thu, 31 Mar 2005 22:30:37 +0200: Though I have no problem to get \os{3} typeset I am not able to have the date tpeset with oldstyle figures. How can I achieve that? \currentdate[dd,{.~},mm,{.~},year] With the new Antykwa Torunska fonts, I also introduced some pre-cooked font variants (documenting them *right*now* for MAPS). I don't know of any font hooks into the date conversions, but how about: {\Var[osf]\currentdate[dd,{.~},mm,{.~},year]} (I really dislike the ancient practice of using MathItalic for osf. Since AntT has the fonts, you can also do something like: ) {\bi\Var[osf]\currentdate[dd,{.~},mm,{.~},year]} -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] \newbibfield[help!] : Very quick question.
Greetings all, In working with the bib module, I've been trying to understand the addition of a field. There is a \newbibfield command, but it is not entirely clear where to declare it. E.g., I want to have a field called yearnote. If I place this in the list of commands in the t-bib.tex file, and call for it with \insertyearnote in the \setuppublicationlayout, it works perfectly. But declaring \newbibfield[yearnote] yields me an undefined control sequence. Is there a special place to declare the latter? I've tried in my current file, before and after \starttext, in the .bbl file, before and after \setuppublicationlist no luck! Regards, David ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Beginner's font flop fixed: fantastic!
Dear ConTeXters, This message is to record my thanks to Thomas A.Schmitz for the solution to my font flop, and to Otared Kavian and Hans Hagen for helpful comments. I've planted the solution in the context garden at http://contextgarden.net/Talk:My_Way. If I hear voices of encouragement I could write up the solution as a My Way. Would this sort of problem be common enough to make such a document useful for beginners, or should I just get back to more important things such as finding out what a_foekepot_ looks like? Yours, PRM ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \newbibfield[help!] : Very quick question.
David Wooten wrote: Greetings all, In working with the bib module, I've been trying to understand the addition of a field. There is a \newbibfield command, but it is not entirely clear where to declare it. The normal place would be in the bibl-XXX style, because it depends on that. But anywhere after \usemodule[bib], but before \starttext should be fine. It didn't work because there is a huge (!) typo in the current t-bib.tex. Right after loading the module, please add these three lines to your source (or patch the module itself) \def\newbibfield[#1]% {\simplebibdef{#1}% \edef\bibcommandlist{\bibcommandlist,#1}} Greetings, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] scaling symbols
Adam Lindsay wrote: Janko Hauser said this at Thu, 31 Mar 2005 21:58:23 +0200: Hello I followed Adams nice way, to include unicode symbols. Now I want to ask, how these can be scaled, so that they can be used more like small figures. Any hints? Hmm, it depends a bit on how you get these (I assume) Unicode symbols and fonts. Note that symb-uni is part of the main distro now, and you probably should set my earlier version of the file aside. You could redefine \USymbChar after \usesymbols[uni]: \def\USymbChar#1#2{% \scale[sx=0.8,sy=0.8]{\uchar#1#2}} \let\USymbCharTwo\USymbChar \let\USymbCharZapf\USymbChar (untested, inelegant) \startsymbolset[myscaledsymbols] \definesymbol[MyUniSymbolA][{\scale[sx=.75em,sy=.5cm]]{\uchar{..}{..}}] \stopsymbolset \symbol[myscaledsymbols][MyUniSymbolA] 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