[NTG-context] simpleslides - no macros found errors
I am a new user of simpleslides. Linux 2.6.21 kernel, Slackware 12.0, teTeX installed latest version of t-simpleslides via t-simpleslides.zip in /usr/share/texmf tree Executed: mktexlsr confirmed: appearance of t-simpleslides.tex in /usr/share/texmf/ls-R confirmed: path via kpsewhich t-simpleslides.tex copied: speaker_introduction-2min.tex to my HOME directory, and tried to compile it. Got the following errors: system : no macros found in module style=Boxed system : macros of module font=Bookman already loaded ... ... ... ! Undefined control sequence. l.29 \SlideTitle {Speaker's Name} ? Incidentally, context system itself is running OK. Am I missing something? Or, doing something silly? Help requested. Thanks. ___ 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] When to migrate from MKII to MKIV?
Hi all, I've been using ConTeXt for a few years and I'm curious about whether it is worth migrating to MKIV (I've just re-read the mk.pdf document). Here are the features I often use: - Postscript fonts... I have typescripts setup for the fonts I bought (full versions of Utopia, Minion, Warnock, and a few compatible sans fonts). I believe I can get these as open-type as well if needed. - Bibliography via \usemodule[bib] - Chemistry via \usemodule[chemic] - Inclusion of PDF figures using an XML Figure database, i.e. \usemodule[fig-base] - Equations (with the multiline and alignment macros) using Fourier/Utopia including the bold math modifications in the MyWay document. - Tables (tabulate, natural, linetable) The questions I have: 1) Do all of the above work in MKIV? 2) How much of a pain is it to switch to MKIV? Do I need to rework my fonts/typescripts? Will all my current environments (setups, macros and one-line definitions) work? 3) Beyond speed and better font support, does it offer anything else to me? For the most part, I'm content with MKII and wonder if it is really worth the effort to move to MKIV. Perhaps the sample is skewed, but after reading the mailing list I get the impression that the current experimental/beta MKIV has a number of bugs and is not particularly feature complete when compared to MKII. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] When to migrate from MKII to MKIV?
On Tue, Feb 3, 2009 at 5:14 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: If you neglect the bugs and problems, transition should be painless - only typescripts need to be updated, but once you do that, your documents could even work with both mkii and mkiv. I recall that it took me a good week of work in the evenings to get my regular and math typescripts to work correctly with MKII. I'm happy with the PDF output of the papers/notes, lecture notes I write for work but I will need to switch to OTF in the not-too distant future. My university has a site license for various Adobe pro fonts but they are only being distributed in OTF now. The ones I currently use were derived from manipulating a set of multiple-masters a few years ago. Btw: math is a big mess at the moment; you can expect any kind of bugs related to maths with next beta version, but you can become a beta tester :) I do physics/chemistry with a lot of equations so incomplete math support is really a deal breaker for me. I recall there being issues with some aspects of bibliography support and a lack of fonts when I last tried the Minimal package. Again, deal breakers for me so I reverted to the ConTeXt included in the 2008 version of texlive with a few bug-fixes from a more recent beta. I think it would be very helpful to most ConTeXt 'users' if there were a wiki page that spelled out the current status of MKIV exactly and listed which features of MKII work, which are buggy, and which are work in progress. Something a little more high-level than the release notes and this mailing list ;) Thank you to everyone who contribute here. I often find myself amazed at the speed at which ConTeXt develops and very much look forward to the end of font voodoo as promised by MKIV. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] A few questions about aligned maths
Is there any progress on this? I notice it is not yet in the core. I'm in need of an AMSL split-like environment but the above doesn't work entirely as expected. Below is an example. Any ideas? Thanks, Dave \placeformula \startformula \startalign \NC \sigma_{L_s}^2 \NC= E\left\{ \eps_L^2 \right\} \NR \NC \NC= \startmathlines \NC E\left\{ \left( \frac{1}{L_{\ref}^2(\nu)} \Re{\eps_{\pth}+\eps_{\off}}\,\cos\left(\phi(\nu)\right) + \Im{\eps_{\pth}+\eps_{\off}}\,\sin\left(\phi(\nu)\right) \right)^2 \right\} - \NR \NC E\left\{ \frac{2}{L_{\ref}^2(\nu)} \, \frac{L_{\pth}(\nu)}{L_{\ref}(\nu)} \left( \Re{\eps_{\pth} + \eps_{\off}}\,\cos\left(\phi(\nu)\right) + \Im{\eps_{\pth} + \eps_{\off}}\,\sin\left(\phi(\nu)\right) \right) \NR \NC \left( \Re{\eps_{\ref} + \eps_{\off}}\,\cos\left(\phi(\nu)\right) + \Im{\eps_{\ref} + \eps_{\off}}\,\sin\left(\phi(\nu)\right) + \right) \right\} + \NR \NC E\left\{ \frac{1}{L_{\ref}^2(\nu)} \, \frac{L_{\pth}^2(\nu)}{L_{\ref}^2(\nu)} \left( \Re{\eps_{\ref} + \eps_{\off}}\,\cos\left(\phi(\nu)\right) + \Im{\eps_{\ref} + \eps_{\off}}\,\sin\left(\phi(\nu)\right) \right)^2 \right\} \NR \stopmathlines \NR \NC \NC= \frac{1}{L_{\ref}^2} \, \left( \sigma_{\pth}^2 + \left(\frac{L_{\pth}}{L_{\ref}} - 1\right)^2 \sigma_{\off}^2 + \left(\frac{L_{\pth}}{L_{\ref}}\right)^2 \sigma_{\ref}^2 \right) \NR[eq:SpcTransVarC2] \stopalign \stopformula On Mon, Mar 24, 2008 at 7:17 AM, Aditya Mahajan adit...@umich.edu wrote: On Mon, 24 Mar 2008, Hans Hagen wrote: Morgan Brassel wrote: Sorry that I can't help you with the implementation, Aditya... I just want to confirm that your new macro perfectly fits my needs. I hope it will make it into the core, it really is useful! once aditya is confident that it makes sense and works as expected it will probably end up in the core, but as usual i'll wait till he sends me an updated core file It will be a while before I am able to get all the bells and whistles (take care of where the formula number is to be placed, and how how the formula is to be aligned). Aditya ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bib module and prefix=+
For what it is worth, it fails using the latest 'minimals' installation. I was under the impression that this patch would eventually make its way into the main brach and the patch would no longer be required. It works with the texlive-2008 basic install but I'm now without quite a few fixes which breaks other things. Working references, however, are much more important than the formatting/table bugs... I now remember why I never upgrade ConTeXt by choice. I'll try to post a reminder if I haven't heard anything from you by mid-Jan. Thanks, Dave On Fri, Dec 19, 2008 at 3:52 AM, Taco Hoekwater t...@elvenkind.com wrote: Dave wrote: I've just upgraded to the latest and greatest version and found that my previous fixes for a bibliography quirk no longer work. Taco, do you have any ideas on why this is failing again? Probably that fix was patching an internal macro the handling of which has changed in the context core. Just a guess, though. I have no time today to delve into this, sorry. As I wrote to Aditya last week, you will probably have to wait until January. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Overlay caption placement
I have a few pdf figures that I'm including in a large report that are essentially full page (portrait) diagrams. However, they each have blank space in the lower right corner and I was thinking that it would be nice to put the caption in this spot. Is there a way to overlay a caption on top of a floating figure? Ideally, I'd like to be able to provide an x,y offset location for these captions in cm. Is there something I'm missing in setupcaption? Cheers, Dave Anyone have ideas on doing this? ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Overlay caption placement
Hi all, I have a few pdf figures that I'm including in a large report that are essentially full page (portrait) diagrams. However, they each have blank space in the lower right corner and I was thinking that it would be nice to put the caption in this spot. Is there a way to overlay a caption on top of a floating figure? Ideally, I'd like to be able to provide an x,y offset location for these captions in cm. Is there something I'm missing in setupcaption? Cheers, Dave ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Adding whitespace equivalent to a -ve sign
Hi all, I am trying to line up some equations on a page and I'd like to insert some whitespace that has the same width as a -ve sign in an equation. An example would be trying to ensure the cosine and sine and on the first and second rows (second column) in the matrix below: \startpmatrix % Row 1 \NC - \cos \theta_{\text{el}} \, \sin \theta_{\text{az}} \NC \cos \theta_{\text{az}} \NC \sin \theta_{\text{el}} \, \sin \theta_{\text{el}} \NR % Row 2 \NC - \cos \theta_{\text{el}} \, \cos \theta_{\text{az}} \NC - \sin \theta_{\text{az}} \NC \sin \theta_{\text{el}} \, \cos \theta_{\text{el}} \NR % Row 3 \NC - \sin \theta_{\text{el}} \NC 0 \NC \cos \theta_{\text{el}} \NR \stoppmatrix Any ideas? Thanks, Graham ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Combining eps figures into a single document
Hi all, I am not sure if there is an easy way to do this with a generic ConTeXt document but I thought I'd ask anyways. I have a folder full of identically sized data plots saved as eps/pdf files and I was wondering if there was a quick way to shrink and tile them into a multi-page document so that I get 15 plots per page (5 rows x 3 colums)? I have scripts that generate these plots and I literally have hundreds of them that I need to combine and print. Any ideas? Many thanks, Dave ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Tables localfootnote alignment
Thank you both for your replies! I've updated the footnote page on the wiki with Wolfgang's suggestion. Dave On 6/15/07, Wolfgang Schuster [EMAIL PROTECTED] wrote: 2007/6/15, Peter Rolf [EMAIL PROTECTED]: Hi Dave, I don't know enough about it, to give you a clean solution. Just ignore the rest, if someone gives a better (more general) solution. Peter Dave schrieb: Hi all, I am trying to add footnotes to a table but need for them to be aligned on the left (flush) edge of the table. I've tried everything I can think of but I'm stuck (with deadlines looming). Below is a quick example Many thanks, Dave Hi David, Peter gave you the first hint with the width-key in \framed and the \hbox. I can give a better solution for your problem but you have to write the commands in the right way to get it working, what I mean is you should put braces around \placelegend. \defineframed[noteframed] \setupframed [noteframed] [width=\hsize, align=right, %height=fit, top=\hbox\bgroup, bottom=\egroup] \starttext \startlocalfootnotes[n=0] \placetable {Caption} {\placelegend {\bTABLE[width=6cm] \bTR\bTD A\footnote{a} \eTD\bTD B\footnote{b} \eTD\eTR \eTABLE} {\noteframed{\placelocalfootnotes}}} \stoplocalfootnotes \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Tables localfootnote alignment
Hi all, I am trying to add footnotes to a table but need for them to be aligned on the left (flush) edge of the table. I've tried everything I can think of but I'm stuck (with deadlines looming). Below is a quick example Many thanks, Dave %%% % TeXExec | context source date: 2007.04.17 12:51 %%% setupcaption[table][location=top] \starttext % Portrait \startlocalfootnotes[n=0] \placetable [page] [table1] {Caption goes here} \placelegend { % Rules \setupTABLE[frame=off] \setupTABLE[column][first][leftframe=off] \setupTABLE[column][last][rightframe=off] \setupTABLE[row][first][topframe=on,bottomframe=on] \setupTABLE[row][last][bottomframe=on] % Alignment \setupTABLE[column][1][align=right] \setupTABLE[column][2][align=right] \setupTABLE[column][3][align=right] % Width \setupTABLE[option=stretch] % Table \bTABLE % Heading \bTR\bTH Column 1\footnote{footnote for column 1} \eTH\bTH Column 2\footnote{fn 4 col 2} \eTH\bTH Description \eTH\eTR % Body \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \eTABLE } {\framed{% {\placelocalfootnotes} } \stoplocalfootnotes % Landscape \startlocalfootnotes[n=0] \placetable [90] [table2] {Caption goes here} \placelegend { % Rules \setupTABLE[frame=off] \setupTABLE[column][first][leftframe=off] \setupTABLE[column][last][rightframe=off] \setupTABLE[row][first][topframe=on,bottomframe=on] \setupTABLE[row][last][bottomframe=on] % Alignment \setupTABLE[column][1][align=right,width=6cm] \setupTABLE[column][2][align=right,width=5cm] \setupTABLE[column][3][align=right,width=11cm] % Width \setupTABLE[option=stretch,textwidth=22cm] % Table \bTABLE % Heading \bTR\bTH Column 1\footnote{footnote for column 1} \eTH\bTH Column 2\footnote{fn 4 col 2} \eTH\bTH Description \eTH\eTR % Body \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \eTABLE } {\framed{% {\placelocalfootnotes} } \stoplocalfootnotes \stoptext ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bib module and prefix=+
Hi Robin, This sounds quite similar to the problem I posted yesterday where: \setuphead[chapter][ownnumber=yes] makes \placepublications[criterium=chapter] fail silently. Taco has taken a look at it and written me off the list but there isn't a solution yet. Cheers, Dave On 2/6/07, Robin Kirkham [EMAIL PROTECTED] wrote: Hi, How can the bib module and \setuphead[chapter][prefix=+] be made to coexist? The following example works, but if you uncomment the \setuphead, the citations are broken and the reference list vanishes: \setupoutput[pdftex] % uncomment this line and it breaks %\setuphead[chapter][prefix=+] \usemodule[bib] \usemodule[bibltx] \setupbibtex[database={xampl.bib}] \setuppublications[refcommand=num] % makes no real difference %\setuppublicationlist[title=\chapter] \version[temporary] \starttext \chapter[chapt]{A Chapter} Some citations: \cite[article-full] \cite[inbook-full] \cite[manual- full]. This is chapter~\in[chapt]. \completepublications[criterium=all] \stoptext Any help much appreciated! PS: The following old mailing list article appears to describe the same problem, but the symptoms are different (citations disappear, but reference list does not) http://archive.contextgarden.net/message/ 20010516.173217.113e3787.en.html Robin ___ 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
Re: [NTG-context] Page number on 'chapter' pages
\startsetups [chapter:before] \page[left] \noheaderandfooterlines \vbox to 35mm{} \vbox{\blank \startalignment[left,nothyphenated] \noindent \setups[chapter:quote] \stopalignment} \resetsetups[quote:text] \page[right] \noheaderandfooterlines \stopsetups The problem is with the two '\noheaderandfooterlines' lines. Replaced with '\setupheader[state=empty]' and everything works fine. Dave ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] problem using Bibtex
Hi--- Ive been trying to get an @InProceedings bibtex entry to format. The original entry looked like this: @InProceedings {aapga, author = {Williams, Jeffery and Schaefer, Marv and Landoll, Douglas }, title = {Pretty good assurance}, booktitle = {New Security Paradigms Workshop}, year = {1995}, publisher = {ACM Special Interest Group on Security, Audit, and Control} } When bibtexed, the authors appear in the .bbl file, but they do not appear in the references list. The references list entry begins at (1995). If I change the bibtex entry to an Article, as follows, all the information appears in the reference list. @Article{aapga, author = {Williams, Jeffery and Schaefer, Marv and Landoll, Douglas }, title = {Pretty good assurance}, journal = {New Security Paradigms Workshop}, year = {1995}, note = {ACM Special Interest Group on Security, Audit, and Control} } Is there a problem with the InProceedings entry type, or have I done something wrong? ---Dave Bailey