Hello,
I'm on Debian unstable and have the latest context sitting in my home
directory's 'texmf'. The new ruby scripts confuse me to no end - I just
don't understand how to make it works. Here is what works and what doesn't:
1) 'ruby ~/texmf/scripts/context/ruby/texexec.rb document.tex' works.
Hans Hagen wrote:
\defineXMLenvironment
[document]
{\starttext}
{\stoptext}
\starttext
\startXMLdata
document/document
\stopXMLdata
\stoptext
You catch my folly as usually. Thanks. While I get the solution above to
work, the alternative 'ruby
stubs not working no?
How do I now actually figure out what I'm running and whether it all got
rebuild correctly?
Thanks, Joh
Hans Hagen wrote:
Johannes Graumann wrote:
Trouble with tex/context/base/cont-err.tex:
system : cont-err loaded
(/home/balin/texmf/tex/context/base/cont
TeXExec | context source date: unknown
TeXExec | format path:
TeXExec | start of analysis
TeXExec | end of analysis
TeXExec |
TeXExec |
TeXExec |
TeXExec |
Any ideas what I might be doing wrong?
Joh
Hans Hagen wrote:
Johannes Graumann wrote:
Hans,
This ruby stuff has me confused to no end
Taco Hoekwater wrote:
This is the very top of cont-err.tex, the 'module header'.
If that does not look broken,
then probably the file that
loads it does so while some really strange catcode settings
are in effect. The most likely cause is that you have an
invalid zip file or an error has
Trouble with tex/context/base/cont-err.tex:
system : cont-err loaded
(/home/balin/texmf/tex/context/base/cont-err.tex
Runaway argument?
on Otten}] %C %C This module is part of the \CONTEXT\ macro||package \ETC.
! Paragraph ended before was complete.
to be read again
Hans Hagen wrote:
end lines in the definitions with % or use setups
(spurious spaces)
Tststs, can't see the forest for the trees ... spend hours with things
like '\ignorespaces' and '\removeunwantedspaces' in various positions ...
Thanks, Hans!
Hello,
please take a look at the output of the code appended. I'm plagued by
incorrect white space around the output: to much before and after the
expanded '\infull' and short versions. How to remedy that?
Thanks ... it sure took me a while to find the '\executeifdefined'
tidbit ...
Joh
%
The 'selector' feature sounds truly wonderfull! The code below doesn't
compile yet for me though ...
1) '\protect' needs to be called after '{\executeifdefined{\??sx#1\c!n
1}}', no?
2) Even after changing that I run into the following error when compiling
the example below:
! Missing {
Taco Hoekwater wrote:
Perhaps \nomarking works in captions as well (have not checked).
Sadly no.
Joh
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
Just disregard this post and have mercy on the deadline panicked ...
Joh
Johannes Graumann wrote:
The 'selector' feature sounds truly wonderfull! The code below doesn't
compile yet for me though ...
1) '\protect' needs to be called after '{\executeifdefined{\??sx#1\c!n
1}}', no?
2) Even
Hello,
I'm using the split-TABLE patch below (send - how can it be different - by
Hans) along with the also appended table definition (to read out XML code).
I have two problems here:
1) as posted earlier, the page just before a split TABLE overflows on the
bottom (see
Hans Hagen wrote:
This produces nothing. Fixing 'start' to 'stop' on the third to last line
oeps
doesn't change that.
strange
OKOK, a new day, more sleep thanks to sleeping son: works now and is
(naturally) much cleaner than what I came up with.
Thank you, Joh
Mojca Miklavec wrote:
[criterium=all]
Thanks for the tip. Works now.
Joh
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
]
{
\doifelse{\XMLop{opt}}{full}
{\expanded{\infull{\XMLop{key
{\XMLop{key}}
}
Johannes Graumann wrote:
\definesynonyms[abbreviation][abbreviations][\infull]
\defineXMLargument
[abbrev]
[short=,full=]
{\expanded{\abbreviation{\XMLop{short}}{\XMLop{full
\defineXMLargument
Hans Hagen wrote:
\defineXMLenvironment
[appendices]
{\directsetup{appendices:start}}
{\directsetup{appendices:stop}}
\startsetups appendices:start
\startappendices
\setuppagenumbering [
way=bytext,
partnumber=no,
conversion=numbers,
location={header,right}
]
\startstandardmakeup [
Peter Rolf wrote:
\def\lbbar%
{%
\raise.28em\hbox{--}%
\kern-.535eml%
\kern-.1emb%
}
but I'm underwhelmed by the thinness of the bar ...
\hbox{\smash[w
{\raise.545em\hbox{\blackrule[width=.45em,height=.6pt]}}%
\kern-.035eml%
\kern-.075emb}%
still needs some
Hello (Hans especially ;0),
I made split TABLEs work with the following patch from Hans below.
Got it to work beautifully, but there's a major problem: the page just
before the split table 'overflows' on the bottom (see
John R. Culleton wrote:
I would take a different approach, with each part header (there
can't be that many) enclosed in
\startstandardmakeup
and
\stopstandardmakeup
To get the part into the TOC there is a command to write an
entry manually, with \writetolist.
Thanks a lot for this
Hello,
In LaTeX (don't remember whether this is generic or specific to one of the
packages I used to use), the 'caption' command for floats came along this
way:
\caption[optional short version]{Caption}
If one uses the 'optional short version' bit, the Table of Figures/Tables
present the short
Hello,
I'm using the following encoding commands
\usetypescript[modern-base][texnansi]
\setupbodyfont[12pt,modern]
and was wondering whether someone knows an elegant way to get the pound
sign 'lb bar' (unicode #2114, html #8468;).
My current hack looks like this:
\def\lbbar%
{%
Hello,
I'm trying to get the following to work:
\definesynonyms[abbreviation][abbreviations][\infull]
\defineXMLargument
[abbrev]
[short=,full=]
{\expanded{\abbreviation{\XMLop{short}}{\XMLop{full
\defineXMLargument [abbreviations] {\completelistofabbreviations}
\starttext
Hello,
Whe I use \part, the pagenumbers switch to 'partno.-reset_pageno.' Can
somebody please point out to me how to just have my pre-'part' page
numbering run on?
Thanks, Joh
___
ntg-context mailing list
ntg-context@ntg.nl
The current release has version 2006.04.27, and it is on the wiki as
http://wiki.contextgarden.net/Context_2006.04.27
Installation (texexec --make --all) yields this:
context : ver: 2006.04.27 15:59
cont-en : ver: 2006.04.06 23:00 fmt: 2006.4.7 mes: english
cont-nl : ver: 2006.04.06
nico wrote:
\setuppagenumbering[way=bytext,partnumber=no]
Thanks! Got it working!
Joh
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
Hello
I have coded my 'Appendix' like so:
\setuphead
[part]
[
header=empty,
footer=empty,
alternative=middle,
placehead=yes,
resetnumber=no,
number=no,
style={
\ss\switchtobodyfont[60pt]\setupinterlinespace[line=2.8ex]
},
page=right
]
Hello,
I read out figures from my XML source by the following code:
\defineXMLenvironment
[figure]
[width=\textwidth]
[location=here]
{
\bgroup
\defineXMLsave[floattitle]
\defineXMLsave[caption]
\defineXMLsave[graphic]
}
{
\placefigure
Hans Hagen wrote:
\bTABLE[split=yes,splitmethod=b]
you say split=split
Me stupid! Thanks! Is there a way to switch caption repetition off and
header repetition on?
Joh
___
ntg-context mailing list
ntg-context@ntg.nl
Hans Hagen wrote:
\expanded{%
\placefigure
[\XMLpar{figure}{location}{}]
[\XMLpar{figure}{label}{unknown}]
{{\bf\XMLflush{floattitle}} \XMLflush{caption}}
}
Thank you so much once again. Works now. I fail, however to grasp where to
apply the '\expanded' with the
Hans Hagen wrote:
Johannes Graumann wrote:
\expanded{%
\placefigure
[\XMLpar{figure}{location}{}]
[\XMLpar{figure}{label}{unknown}]
{{\bf\XMLflush{floattitle}} \XMLflush{caption}}
}
Some of my captions are REALLY long. So the TOF looks somewhat funny
where I got all theses crazy ideas ;0):
http://www.tug.org/tex-archive/info/german/tabsatz/tabsatz.pdf by Axel
Reichert is the inspiring document (sorry - German only).
I'm not asking for this to be implemented, but I believe ConTeXt would
benefit from this.
Joh
Hans Hagen wrote:
Johannes
nico wrote:
On Thu, 20 Apr 2006 17:27:50 -0700, Johannes Graumann
[EMAIL PROTECTED] wrote:
nico wrote:
Why don't you test if the attribute is set before applying it to the TR?
You see the problem on the last row, but the fact is that you force the
bottomframe clear for every row (which
Hans Hagen wrote:
what does booktab do then
Have a look at
http://www.idyll.org:8081/JohSite/context/table1.jpg/view
I write there:
A table formated with the package 'booktabs' in LaTeX. Notice the heavier,
continuous '\toprule' and '\bottomrule' as well as the lighter and
interrupted
nico wrote:
\defineXMLnested
[tr]
[bottomframe=,rulethickness=0.5pt]
{\doifelse{\XMLop{bottomframe}}{}%
{\expanded{\bTR}}%
{\expanded{\bTR[bottomframe=\XMLop{bottomframe},rulethickness=\XMLop{rulethickness}]}}}
{\eTR}
So much to learn, so little time. Thank you for this hint! Was hunting
Hello,
When formating tables the first row (top of the header) is easily formated
by using for example:
\setupTABLE[row][1][rulethickness=0.90pt,topframe=on]
I was wondering whether there's an equivalent for specifically addressing
the LAST row in a table? Something along the lines of
Hello,
In my quest for tables similar to what the 'booktabs' package in LaTeX
produces, I have run into a problem: something
like '\bTABLE[distance=7.5pt]' will give me the sought for gaps in
horizontal lines, but I have trouble implementing an uninterrupted topframe
for the first and bottomframe
nico wrote:
Do you want to do this?
\setupTABLE[row][last][rulethickness=0.90pt,bottomframe=on]
Yes, that's what I want, but it doesn't work for me.
Joh
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
I can't figure this out ... happily working on my project and all of a
sudden I get this error upon texexecing:
bodyfont: 12pt rm is loaded
kpathsea: Running mktextfm ec-lmr12
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;
input ec-lmr12
This is METAFONT,
Something broke my lmodern installation on debian unstable ... reinstalling
it fixed this.
Joh
Johannes Graumann wrote:
I can't figure this out ... happily working on my project and all of a
sudden I get this error upon texexecing:
bodyfont: 12pt rm is loaded
kpathsea: Running
Figured out what's going on and would appreciate some advice on the issue:
My actual code interprets XML and reads:
\defineXMLnested
[splittable]
{
\defineXMLsave[caption]
\defineXMLsave[header]
\defineXMLsave[body]
\defineXMLsave[footer]
}
{
\splitfloat
nico wrote:
Why don't you test if the attribute is set before applying it to the TR?
You see the problem on the last row, but the fact is that you force the
bottomframe clear for every row (which is dirty IMHO).
It's not that easy, since the bottomframe - once set - is persistent ... so
every
nico wrote:
[width=\textwidth,height=\textheight,factor=max]
Thank you very much! Very convenient functionality!
Joh
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
Hello,
In my field lengthy table captions are common. The attached example shows
two problems I have with the multi-page tabeling I made work with the help
of the included patch from Hans:
1) the table splitting does not calculate the right height for the caption -
the table is too long for the
Hans Hagen wrote:
i never tested that since one needs to load the ppchtex module as well
\usemodule[chemic]
Really? Just '\usemodule[nexcml]' makes in-line chemistry work just fine for
me. Why would I need the ppchtex stuff?
Joh
___
ntg-context
Hello,
My XML mapping rule for a floating figure looks (thanks to Hans' help) as
follows:
\defineXMLenvironment
[figure]
[width=]
[location=here]
{
\bgroup
\defineXMLsave[caption]
\defineXMLsave[graphic]
}
{
\placefigure
[\XMLpar{figure}{location}{}]
Hans Hagen wrote:
expertadvice
...
/expertadvice
Thank you. I have modified that code and it does what I want (see below).
There is however one generalization issue: the
line '\externalfigure[\XMLflush{graphic}][width=\textwidth]' should really
be able to use scaling to '\textwidth' or
Hans Hagen wrote:
first of all, putting a \framed around it makes it unsplittable; best use
the framed options that come with the floats
Ok.
second, there's a problem in signaling the splitter, which demands a patch
Please excuse my ignorance: can I add these patches just to my *.ctx file or
wrote:
Johannes Graumann wrote:
I run into the problem, that shared citations (in this case 'garrels:96'
and 'gavin:06' are only printed following the first '\placepublications'
call and not the second. I'm collating multiple publications into a
thesis and since they all deal with similar themes
Hello,
First: I've put together a minimal example for this problem which can be
found at http://www.johannesgraumann.net/copy_of_profession/bibprob/
Second: The problem ...
When I declare chapterspecific bibliographies like so:
\usemodule[bib]
\setupbibtex[database={bibprob.bib}]
Taco Hoekwater wrote:
Johannes Graumann wrote:
\placepublications[criterium=chapter]
at least, that works for me.
Not here. What's happening now is: the references are being sorted by
chapter, but then all appended after the first chapter. So no reference
listings for chapters 2-x
Hi,
How would I use \setuphead[chapter] to have consecutive letters rather than
numbers assigned to chapters (in my appendix)?
Thanks for any hint,
Joh
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
Hello,
Sorry for reposting this, but I thought a more descriptive subject and a
minimal example would be beneficial.
After the latest update, which includes the new 'newcml'
module, 'texexec --version' reports:
TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
texexec : TeXExec 5.4.3 - ConTeXt /
Hello,
Why is in
\setupTABLE[frame=off,split=repeat,splitmethod=a,style={\switchtobodyfont[small]\setupinterlinespace[line=2.8ex]}]
the '\setupinterlinespace[line=2.8ex]' not honored (at least not with
respect to the switched bodyfont)?
Thanks, Joh
Hello,
Does anybody have an insight into why a table created with the following
mapping rule for XML code does not present it's caption and is not split?
Thanks Joh
\defineXMLnested
[table]
{\bgroup
\defineXMLsave[caption]
\defineXMLsave[header]
\defineXMLsave[body]
Taco Hoekwater wrote:
Johannes Graumann wrote:
Taco Hoekwater wrote:
\placepublications[criterium=local] should work.
Still struggling with this.
Sorry, I had misunderstood \placelist's options. Make that
\placepublications[criterium=chapter]
at least, that works for me
Hans Hagen wrote:
is this working ok in the latest release?
Yes Sir - was my stupidity to begin with ... had indenting set
to '[medium]'.
Joh
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
Hello,
Is it possible to place (for page sized figures) the caption on the
next/previous page?
Thanks, Joh
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
Taco Hoekwater wrote:
Johannes Graumann wrote:
HOWEVER, the citation issue persists - no change!
Can you send me an example (off-list)? My test files create no such
problems.
Cheers, Taco
I learned from your last rant on attachments and posted it here ;0)
http://www.idyll.org:8081
Hans,
With your help, I got this to work:
\defineXMLnested
[table]
{
\bgroup
\defineXMLsave[caption]
\defineXMLsave[header]
\defineXMLsave[body]
}
{
\placetable
[\XMLpar{table}{location}{here}]
[\XMLpar{table}{label}{unknown}]
{\XMLflush{caption}}
{
\ix\setupinterlinespace[reset,small]
Thank you for your time.
Joh
Taco Hoekwater wrote:
Johannes Graumann wrote:
Taco Hoekwater wrote:
Johannes Graumann wrote:
HOWEVER, the citation issue persists - no change!
Can you send me an example (off-list)? My test files create no such
problems.
Cheers, Taco
I learned from
Oh, could you please try to verify my 'lang'/'language' tag issue as well:
just edit BibProb.bib and switch 'lang = en' to 'language = en' and see
what happens. Does that work for you?
Joh
Taco Hoekwater wrote:
Johannes Graumann wrote:
Taco Hoekwater wrote:
Johannes Graumann wrote
Hans Hagen wrote:
what you need is a full switch: style=smallbodyfont (or as command
\smallbodyfont)
\setupcaptions[style=smallbodyfont,width=\textwidth]
did it. Thanks.
... wikify ...
Thesis first than this ;0)
How would I add singlespacedness to the command above?
Joh
Hans Hagen wrote:
How would I add singlespacedness to the command above?
i dunno what that is
Serves me right ... coming up with my own lingo ... my document is doubly
spaced (\setupinterlinespace[line=2\bodyfontsize]) and I was trying to get
the float captions singly spaced. Have stuffed
Johannes Graumann wrote:
Oh, could you please try to verify my 'lang'/'language' tag issue as well:
just edit BibProb.bib and switch 'lang = en' to 'language = en' and see
what happens. Does that work for you?
Forget about this: after the upgrade to the most recent ConTeXt this problem
Hans Hagen wrote:
\defineXMLnested
[tr]
[bottomframe=off,rulethickness=0.3pt]
{\expanded{\bTR[bottomframe=\XMLop{bottomframe},rulethickness=\XMLop{rulethickness}]}}
{\eTR}
\defineXMLnested
[td]
[rows=1,cols=1]
{\expanded{\bTD[nr=\XMLop{rows},nc=\XMLop{cols}]}}
{\eTD}
Taco Hoekwater wrote:
\placepublications[criterium=local] should work.
Still struggling with this.
\usemodule[bib]
\setupbibtex[database={../Bibliography/bibliography.bib,../Bibliography/verma04.bib}]
\setuppublications[sorttype=bbl]
\defineXMLenvironment
[chapter]
{
\defineXMLargument
Hans Hagen wrote:
newmmu is now newpml and works with newmml (the old and new methods
cannot be used mixed because they use completely different internals
[direct xml handling using stacks versus xml-tex expansion]
system : module newpml not found
system : module newmml not
nico wrote:
\starttext
...
\stoptext
And so the aggressive newbie gets to eat his words .. ;0) Thank you. There
is, however on feature missing in your example:
[EMAIL PROTECTED]@{}}
^^^ ^^^
Will yield the horizontal lines aligned with the start/end of the table
lines -
Hans Hagen wrote:
{
}
Thanks ... blush ...
Joh
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
Hans,
Thank you once more, but I'm just to green for this ...
\defineXMLnested
[table]
{
\bgroup
\defineXMLsave[caption]
\defineXMLsave[content]
}
{
\placetable
[\XMLpar{table}{location}{here}]
[\XMLpar{table}{label}{unknown}]
{\XMLflush{caption}}
at 12pt, since
\setupbodyfont[12pt,modern].
Joh
Hans Hagen wrote:
Johannes Graumann wrote:
Hans Hagen wrote:
newmmu is now newpml and works with newmml (the old and new methods
cannot be used mixed because they use completely different internals
[direct xml handling using stacks versus xml
Hi,
My university requires doubly spaced Theses (b ... but hey - it get's a
lot thicker ;0), so the preamble has:
\setupinterlinespace[line=2\bodyfontsize]
I'd like to typeset tables, figure/table captions and footnotes with normal
spacing and have experimented with things like
Why do these two things work:
1)\defineXMLnested
[td]
[rows=1,cols=1]
{\bTD[nr=\XMLop{rows},nc=\XMLop{cols}]}
{\eTD}
(in conjunction with 'trtd rows=2Gene product/tdtd cols=3HPM
tag/tdtd rows=2TAP tag/tdtd rows=2mod. TAP tag/tdtd
rows=2Frequ. in ref. set/td/tr')
2)
Thanks Hans, that did it. Do you ever sleep?
Joh
Hans Hagen wrote:
Johannes Graumann wrote:
Why do these two things work:
1)\defineXMLnested
[td]
[rows=1,cols=1]
{\bTD[nr=\XMLop{rows},nc=\XMLop{cols}]}
{\eTD}
(in conjunction with 'trtd rows=2Gene product/tdtd cols=3HPM
tag
Taco Hoekwater wrote:
It runs fine here, so probably you have to update your context
distribution. There were some changes so you need a fairly recent
context. But first, try re-running bibtex.
Taco,
I tried again. See
http://www.idyll.org:8081/JohSite/copy_of_profession/bibprob - same
Hello,
Aside from the revelation that I will have to leave my debian tetex and go
with the newest ConTeXt install for the (relatively) heavy lifting I'm
doing here, I will now post my accumulated end-of-day questions one by
one ;0) Here's the first one:
Why does this not work and what makes it
Hello,
Has anyone come up with a sense making way of coding units in XML and
mapping them onto ConTeXt's 'units' module ... makes a knot in my brain ...
Thnaks, Joh
___
ntg-context mailing list
ntg-context@ntg.nl
Hello again,
Taco had helped me working the following out:
\usemodule[bib]
\setupbibtex[database={../Bibliography/bibliography.bib}]
\setuppublications[sorttype=bbl]
\defineXMLenvironment
[chapter]
{
\defineXMLargument
[title]
{\chapter}
\defineXMLenvironment
Hello,
Loading the chemml module I get the following error:
system : macros of module chemml loaded
(/usr/share/texmf-tetex/tex/context/base/x-chemml.tex
xml : loading module cml
(/usr/share/texmf-tetex/tex/context/base/xtag-cml.tex
! Undefined control sequence.
argument
Hans Hagen wrote:
\defineXMLargument [sub] \low
Thanks, Hans!
Joh
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
Hans Hagen wrote:
also grep for variant and make that alternative
Fixed. If I come across desirable functionality I'll let you know.
Joh
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
physapplyunit/cn4/cncsymbolDegrees/Celsius//csymbol/apply/phys
works with physml, but not with newmmu.
Geee, looks like I'm starting to find things in the guts of this ;0)
Joh
P.S.: What's your favorite beer/drink?
Joh
___
ntg-context mailing list
Something else:
How to define a custom unit (basepairs, bp) with physml/units?
Joh
Johannes Graumann wrote:
physapplyunit/cn4/cncsymbolDegrees/Celsius//csymbol/apply/phys
works with physml, but not with newmmu.
Geee, looks like I'm starting to find things in the guts of this ;0)
Joh
Works now with the newest ConTeXt.
Joh
Johannes Graumann wrote:
Peter,
'texnansi' didn't compile, but 'texansi' did ... however under
\setupbodyfont[modern,12pt] \textmu still delivers an italicized
version ...
Peter Münster wrote:
On Thu, 6 Apr 2006, Johannes Graumann wrote
physapplyunit/cn30/cncsymbolMinute//csymbol/apply/phys
Does not work.
Joh
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
Johannes Graumann wrote:
physapplyunit/cn30/cncsymbolMinute//csymbol/apply/phys
Does not work.
Joh
Additionally: while \textmu is non-italic thanks to hints from the list
(\usetypescript[modern-base][texnansi] \ \setupbodyfont[12pt,modern]), when
doing something like
physapplyunit/cn30
Hello,
I attach an example file which produces strange citation behavior: while the
single citations ('\cite[authoryears][cordingley:90]'
or '\cite[authoryears][walker:94]') work perfectly allright, the dual
citation ('\cite[authoryears][cordingley:90,walker:94]') is being screwed
up:
Hello,
Derived from the 'figure' and 'table' examples in the XML example document,
I came up with the following set of mapping rules for formating XML tables
with ConTeXt.
\defineXMLenvironment
[table]
{
\bgroup
\defineXMLpush[caption]
\defineXMLpush[content]
}
{
Taco Hoekwater wrote:
Taco, how would I
define a new 'cite' alternative along the lines
of 'authoryear'/'authoryears' that would result in 'Author et. al.,
2004'?
Easiest is by using a special macro breaking it up in two bits, like so:
\def\mycite#1{\cite[author][#1],
Taco Hoekwater wrote:
Johannes Graumann wrote:
Could you - maybe - point me towards the more cumbersome 'official'
solution?
See attached example.
Cheers, taco
Taco,
With this preamble code
\unprotect
\def\bibauthoryearxref[#1]%
{\ixbibauthoryear{#1}%
{{\currentbibauthor
Hello,
Is there a ConTeXt analogue to the LaTeX package 'units', used for
typesetting scientific units? I'm especially interested in the 'unitfrac'
functionality of that package ...
Thanks, Joh
___
ntg-context mailing list
ntg-context@ntg.nl
Hello,
\defineXMLentity[00B5] {\textmu}
seems to deliver an italic mu when using the standard font. Is there a way
to get a 'straight' one?
Thanks, Joh
___
ntg-context mailing list
ntg-context@ntg.nl
Peter,
'texnansi' didn't compile, but 'texansi' did ... however under
\setupbodyfont[modern,12pt] \textmu still delivers an italicized
version ...
Peter Münster wrote:
On Thu, 6 Apr 2006, Johannes Graumann wrote:
\defineXMLentity[00B5] {\textmu}
seems to deliver an italic mu when
...
?
Hans Hagen wrote:
Johannes Graumann wrote:
Peter,
'texnansi' didn't compile, but 'texansi' did ... however under
\setupbodyfont[modern,12pt] \textmu still delivers an italicized
version ...
hm, texnansi is the name, so the fact that something texansi runs means
Hans Hagen wrote:
however, best is not to mix tex this way with xml
H ... will heed that advice then ... as a remedy: Taco, how would I
define a new 'cite' alternative along the lines
of 'authoryear'/'authoryears' that would result in 'Author et. al., 2004'?
Thanks for any hint, Joh
Hello,
I have a strange question. While working with XML and ConTeXt, I have run
into the TeXnic problem of the interpretation of line breaks. What I would
prefer to do for code clarity sake are things like the following:
list
item
Something
/item
item
else
/item
/list
This is
Hello again,
I have a matching rule for cite commands that look as follows:
cite id=hunt:86 opt=authoryear/
The rule is this (kudoos to Taco):
\defineXMLargument
[cite]
{\expanded{\cite[\XMLpar{cite}{opt}{}][\XMLpar{cite}{id}{}]}}
Sometimes I would like to have the '(Hunt et. al., 1986)'
Hello,
I'm using Tacos cite module with the default APA style. I'm a biochemist and
the majority of my cited sources derives from www.pubmed.org, which I
import into BibTeX via pybliographic. I have some slight problems with the
formating as provided by the database and was wondering whether it's
As always: thanks to the Wiz!
Joh
Hans Hagen wrote:
Johannes Graumann wrote:
Hello,
I have a strange question. While working with XML and ConTeXt, I have run
into the TeXnic problem of the interpretation of line breaks. What I
would prefer to do for code clarity sake are things like
Hans,
When this is done, I will have to make a trip to Zwolle and buy you a beer!
Thank you once again!
Joh
Hans Hagen wrote:
Johannes Graumann wrote:
Hello all,
I'm trying to interpret something like
section label=intro:mixtureprob
titleThe problem of the complex protein mixture/title
101 - 200 of 214 matches
Mail list logo