Re: [NTG-context] List of figures with shorter captions
Hi! You can use the \nolist{} command within the caption for parts, that shouldn't go in the list of figures: f.ex: \placefigure [here][fig:Res_FlussSkalierungsfaktor] {This is a caption. \nolist{This part of the caption will not be listed in the list of figures.}} {\externalfigure[ResDat32_PhiProton2][width=100mm]} Instead the part within \nolist will be replaced by "..." (3 dots). If you want to change this default behaviour use the "limittext"-option as shown in the following example. \placelistoffigures[before=\blank,criterium=all,limittext={}] Best Regards Michael > Hello all, > I'm busy with writing a paper for university and the teachers "ordered" me > to include a List of Figures. So now I'm using \completelistoffigures to get > the list of figures. > However, my captions with the figures are quite long so I was wondering if > it's possible to let ConTeXt write a different text to the List of Figures. > I thought something similar was possible with the Table of Contents and the > \chapter command, but I cannot remember how...maybe I imagined. > So is it possible to write a different text to the LoF? I use > \placefigure[here]{This is my very long caption} {\externalfigure[myfigure]} > to place my figures in the text. > I've experimented with using \writetolist[figure]{1}{short caption} to write > a text to the LoF, but there are some problems with that method. (the figure > can be placed on a different page than the \writetolist, and I'll need a way > to stop ConTeXt writing the caption text to the list as well). > Any ideas? > My best, > Tim > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context -- Mit freundlichen Grüßen Michael Fuchs mailto:[EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] encircled characters
Hi! Is there a way to use encircled characters in context? Similar to the Copyright-Symbol, but with selfdefined characters or numbers. I was trying to use metapost for the job, but I wasn't able to get the "circleit" function to work. Best Regards Michael ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Bold math in section titles ??
Hi! Is it possible to activate bold math printing in a chapter/section/subsection title? In the example the numbers withing math mode (and the greek symbols) are set in regular style, while the rest of the title is printed in bold. Best regards Michael -- Example: \setuphead[chapter][textstyle=bold] \setuphead[section][textstyle=bold] \setuphead[subsection][textstyle=bold] \starttext \chapter{Test} \section{$1 2 3 \alpha \beta \gamma \delta - 1 2 3 A B C D } \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] BibTeX module (convert 'and others' to 'et~al.')
Hi Taco! You suggestion would give a publication list, where the first author is printed and everything else is substitued by "et~al.", right? I would like to be able to do the following. I have several bib-entries, which only one author and "and others" as the second one. I also have entries, where i have more than one author. I want to create a publication list, where to all (to a certain limit) authors a printed individually and the the ones given by "and others" produce an "et~al." entry in the list. Is that possible? Regards Michael Taco Hoekwater schrieb: > Michael Fuchs wrote: > >> Hi! >> >> Is there a possibility to create 'et~al.' in a listed publication >> in the publication list? > > > After loading the bib module, do: > > \setuppublicationlist > [authoretallimit=1, > artauthoretallimit=1, > editoretallimit=1] > > Greetings, Taco > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] BibTeX module (convert 'and others' to 'et~al.')
Hi! Is there a possibility to create 'et~al.' in a listed publication in the publication list? In my bbl file there is an entry: \startpublication[k=Assafiri:2003mv,t=article, a={Assafiri et~al.},y=2003, n=49,s=Ass03] \artauthor[]{Y.}[Y.]{}{Assafiri} \artauthor[]{}[]{}{others} \pubyear{2003} \arttitle{{Double $\pi^0$ photoproduction on the proton at GRAAL}} \journal{Phys. Rev. Lett.} \volume{90} \pages{222001} \stoppublication In the publication list this will be: Ass03 Assafiri, Y. and others, (2003). Double ... photoproduction on the proton at GRAAL. Phys. Rev. Lett., 90:222001. I would like to replace "and others" by "et~al.". Best regards Michael ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Strange behaviour of width parameter in \setuplayout (Was: Floating table caption extends textwidth)
Hi! I have problems creating a "multi-line" caption for a floating table. If the caption is too long it will extend the defined text width. The following example shows this problem. I was able to find out, that this problem only appears if the variables "width" in the "setuplayout" command was used to define the textwidth. If you comment the line containing the "width" parameter (see comment in example) the caption will not extend the table. Regards Michael Example: -- \setuppapersize[A4][A4] \setuplayout[ backspace=25mm, cutspace=25mm, width=16cm, % <-- COMMENT THIS TO SEE THE EXAMPLE WORK footer=10mm, footerdistance=5mm, bottom=5mm] \starttext \placetable[here][tab:Referenz] { \input tufte } { \setupTABLE[x][1][width=4cm, align=middle] \setupTABLE[x][2,3,4,5][width=3cm, align=middle] \bTABLE \bTR \bTH Anzahl \eTH \bTH Daten \eTH \bTH MC \eTH \bTH Daten \eTH \bTH MC \eTH \eTR \eTABLE } \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
AW: [NTG-context] mswintex.zip
Hi Lutz! In your TeX file there are three characters in front of your \starttext command. Which editor did you use to create the TeX file? The editor, that comes with WinXP doesn't show these characters. But you open the file with a hex editor you can see them. Best regards Michael > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag von Lutz Haseloff > Gesendet: Donnerstag, 14. April 2005 13:00 > An: mailing list for ConTeXt users > Betreff: [NTG-context] mswintex.zip > > Hi Hans, Hi all, > > i try to use mswintex.zip (16.03.05). Sometimes there are > funny Characters > in the pdf i did not typed. > For instance the file: > > - > \starttext > \stoptext > > > results in the appending pdf. > > Can someone locate the bug? > > > Greetings Lutz > ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
AW: [NTG-context] Export from Excel/Openoffice Calc to ConTeXt naturaltables ??
Hi Luigi! Did you write the XSL from scratch? Or did you have an example to start with? If you found one I would like to have a look for it as well. Regards Michael > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag von luigi.scarso > Gesendet: Montag, 21. März 2005 08:57 > An: mailing list for ConTeXt users > Betreff: Re: [NTG-context] Export from Excel/Openoffice Calc > to ConTeXt naturaltables ?? > > Michael Fuchs wrote: > > >Hi! > > > >Does anybody have an idea how I can get a Openoffice Calc > >table in such a way exported, that I can directly use it > >in ConTeXt? Does anybody had a similar problem earlier? > > > >Thanks for your help in advance > > > >Michael > > > >___ > >ntg-context mailing list > >ntg-context@ntg.nl > >http://www.ntg.nl/mailman/listinfo/ntg-context > > > > > > > For Excel, i save file as XML and then process with an xslt > stylesheet to > produce context code (i wrote by my self this stylesheet; it's not > really complicated). > For OpenOffice...it's the same because OO saves file as xml (they are > compress with zip); but in OO you can apply a stylesheet in a > clean way > using xml filter. > > luigi > > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > > ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Export from Excel/Openoffice Calc to ConTeXt natural tables ??
Hi! Does anybody have an idea how I can get a Openoffice Calc table in such a way exported, that I can directly use it in ConTeXt? Does anybody had a similar problem earlier? Thanks for your help in advance Michael ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
AW: [NTG-context] TOC indenting
Hi David! See the following example for a TOC where sections and subsections are indented. Regards Michael Example: -- \setuplist [chapter] [before=\blank,style=bold] \setuplist [section] [margin=2em, width=3em] \setuplist [subsection] [margin=4em, width=3em,distance=1em] \setupcombinedlist [content] [alternative=c, aligntitle=no, width=2em] \starttext \placecontent [level=subsection,criterium=all] \chapter{One} \section{One- one} \subsection{One- two} \section{Two- one} \subsection{Two- two} \chapter{Two} \section{One- one} \subsection{One- two} \section{Two- one} \subsection{Two- two} \stoptext > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag von David Arnold > Gesendet: Donnerstag, 17. März 2005 23:54 > An: Context Mailing List List > Betreff: [NTG-context] TOC indenting > > All, > > In my table of contents, I have: > > \definecombinedlist > [content][section,subsection] > > \setupcombinedlist > [content] > [alternative=c,aligntitle=yes,width=2.5em] > > > How do I set up my TOC so that subsections are indented slightly more > than sections in which they are contained? > ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Floating table caption extends textwidth
Hi! I have problems creating a "multi-line" caption for a floating table. If the caption is too long it will extend the text width. The following example shows this problem on http://live.contextgarden.net/. I was able to find out, that this problem only appears if one of the variables "width" or "textwidth" in the "setuplayout" command were used to define the textwidth. Regards Michael EXAMPLE: \setuplayout[ backspace=25mm, topspace=10mm, header=10mm, headerdistance=5mm, width=16cm, % <-- COMMENT THIS TO SEE THE EX WORK height=fit,footer=10mm, footerdistance=5mm, bottom=5mm] \starttext \placetable[here][tab:Referenz] {Zusammenfassung der Ereigniszahlen in Signal und Untergrund mit... erfülltem $z$-Cut und einem über den Massenschnitt identifizierten $\pi^0$. \nolist{Ereignisse werden in dem durch den $2 \sigma$-Massenschnitt vorgegebenen Intervall gezählt, das auch bei den endgültigen Schnitten zu Selektion verwendet wird.} } { \setupTABLE[x][1][width=4cm, align=middle] \setupTABLE[x][2,3,4,5][width=3cm, align=middle] \bTABLE \bTR \bTH Anzahl \eTH \bTH Daten \eTH \bTH MC \eTH \bTH Daten \eTH \bTH MC \eTH \eTR \eTABLE } \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] bib module: placepublications inserts the first line of each publication
Hi! Some of my bib-items will have more than one line in the list of publications produced by \placepublications. The first line of the entry will always be indented by (probably) one character. The output looks like: Bal01 Balzert, H. (2001). Lehrbuch der Software-Technik - Software-Entwicklung. Spektrum Akademischer Verlag. Sch04 Schmidt, C. (2004). Entwicklung eines Datenakquisitionssystems für das Crystal-Barrel-Experiment zur Messung photoinduzierter Reaktionen an ELSA. Dissertation, Universität Bonn. The indent does not appear, when I define the module to use a different author style by: \setuppublicationlist [ ... artauthor=\normalshortauthor,author=\normalshortauthor, ... ] Regards Michael ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
AW: AW: [NTG-context] Re: Line break after unit or \cite command
Hi everybody! Sorry for the too long example. I wasn't sure what caused the problem and wanted to provide all relevant information at one time. I didn't mention the units module explicitly because I have the same problem using the \cite command from the bib-module and I assumed, that it would be a more general problem. The workaround with the \hbox{} does work. Is this some kind of bug and will be fixed in the future? Thank you all for your help! :-)) Michael > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag von Peter Münster > Gesendet: Freitag, 11. März 2005 19:24 > An: mailing list for ConTeXt users > Betreff: Re: AW: [NTG-context] Re: Line break after unit or > \cite command > > On Fri, 11 Mar 2005, Michael Fuchs wrote: > > > Here is an example that shows the problem. I created it using > > live.contextgarden.net. The problem appears with standard and > > german hyphenation. > > Nice example: now we see, that you are using the units-module. > > Just to show you, what could be a minimal example, that shows > the problem: > > \usemodule[units] > \starttext > In dieser Arbeit wurde die Reaktion untersucht. Im Energiebereich bis > XXX~\EVolt\ wurden die Ergebnisse der Kollaboration bestätigt. > \stoptext > > With these few lines, everything is clear. It seems to be an > error in the > units-module. > Possible workaround: XXX~\EVolt\hbox{} wurden... > > Cheers, Peter > > -- > http://pmrb.free.fr/contact/ > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > > ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
AW: [NTG-context] Re: Line break after unit or \cite command
Hi Patrick! Here is an example that shows the problem. I created it using live.contextgarden.net. The problem appears with standard and german hyphenation. Michael --- \starttext \version[temporary] \setuppapersize[A4][A4] \setupcolors[state=start] \setuplayout[ backspace=25mm, topspace=10mm, header=10mm, headerdistance=5mm, width=middle, height=fit, footer=10mm, footerdistance=5mm, bottom=5mm] \language [de] % Switching to german hyphenation \usemodule[units] \unit[keV]{\Kilo \EVolt}{kilo electronvolt} \unit[MeV]{\Mega \EVolt}{mega electronvolt} \unit[GeV]{\Giga \EVolt}{giga electronvolt} In dieser Arbeit wurde die Reaktion .. untersucht. Im Energiebereich bis X~\MeV\ wurden die Ergebnisse der Kollaboration bestätigt. Weiterhin wurde erstmals der totale und der differentielle Wirkungsquerschnitt der Reaktion für Photonenergien bis 3~\GeV\ bestimmt. Die Bestimmung der Akzeptanz wurde mit einem neuen Verfahren durchgeführt, das die Dynamik der Reaktion korrekt berücksichtigt. \stoptext --- > Hello Michael, > > please post a complete example that we can try out [on > live.contextgarden.net]; currently we have to guess what is going on. > > Patrick > > -- > ConTeXt wiki: http://contextgarden.net > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > > ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
AW: AW: [NTG-context] Re: Line break after unit or \cite command
Hi Peter! I tried to make the XXX a little bit longer. But unluckily I still don't have success with that. TeX only wants to insert the line break after the first possible position after "wur" in the word "wurden". If I make the XXX long enough I even can push ~eV~wur- out of the page limits. Michael > > > I want ConTeXt to produce the line break after the \EVolt > > command. The unit and following word together are extending > > the textwidth. Put TeX doesn't do the linebreak after the > > unit. Even using this "\ " macro doesn't have an effect on > > this behaviour! > > > > > > > Im Energiebereich bis ~\EVolt\ wurden die Ergebnisse der > > > > Kollaboration bestätigt. > > > > > > > > ConTeXt breaks "wurden" in "wur"-"den". > > Hi Michael, > your "" must be just a little bit longer: > > \def\EVolt{\,eV} > \starttext > \de > Im Energiebereich bis > 33\EVolt\ wurden die > Ergebnisse der Kollaboration... > \stoptext > > Cheers, Peter > ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
AW: [NTG-context] Re: Line break after unit or \cite command
Hi Patrick! I want ConTeXt to produce the line break after the \EVolt command. The unit and following word together are extending the textwidth. Put TeX doesn't do the linebreak after the unit. Even using this "\ " macro doesn't have an effect on this behaviour! Michael > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag von Patrick Gundlach > Gesendet: Donnerstag, 10. März 2005 18:10 > An: ntg-context@ntg.nl > Betreff: [NTG-context] Re: Line break after unit or \cite command > > Hello Michael, > > > [...] > > > Im Energiebereich bis ~\EVolt\ wurden die Ergebnisse der > > Kollaboration bestätigt. > > > > ConTeXt breaks "wurden" in "wur"-"den". > > But then TeX thinks that there is feasible breakpoint between EVolt > and wurden. I'd write this 3\,\EVolt\ wurden. > > Patrick > -- > ConTeXt wiki: http://contextgarden.net > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > > ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
AW: [NTG-context] Line break after unit or \cite command
Hi Adam! Thank you for your quick answer. But somehow the combination of backslash and space "\ " doesn't work for me at the moment. I already tried that before with no effect and tried again after your mail. I also tried \cMeter to check if it is dependent on the unit itself. Maybe it is helpfull to show you the full sentence I use: Im Energiebereich bis ~\EVolt\ wurden die Ergebnisse der Kollaboration bestätigt. ConTeXt breaks "wurden" in "wur"-"den". Michael > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag von Adam Lindsay > Gesendet: Donnerstag, 10. März 2005 16:17 > An: mailing list for ConTeXt users > Betreff: Re: [NTG-context] Line break after unit or \cite command > > Michael Fuchs said this at Thu, 10 Mar 2005 16:11:10 +0100: > > >How can I create a space after the unit and have correct > >line breaking at the same time? > > Hallo, Michael. > > This is a standard TeX thing. Follow the macro with "\ ". > (backslash-space). So: > > ... energies up to 3 \EVolt\ were measured > > The TeXBook (look in your local library) gives a pretty lucid > description > of how this works... > -- > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > 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 mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Line break after unit or \cite command
Hi! I have some problems using units or cite commands in combination with line breaks. Using: ... energies up to 3 \EVolt were measured will produce no whitespace between "eV" and "were" ... energies up to 3 eVwere measured . In order to get the space correct between the unit and the following word I inserted a "~" to ensure the space. But this will not force the line break between the unit and the following word when it is necessary. In that case hypphenation will be used after the first syllable. I encountered the same effect using the \cite command to reference bib-items but not to reference tables or pictures with the \in command. How can I create a space after the unit and have correct line breaking at the same time? Thanks Michael ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context