···date: 2012-09-27, Thursday···from: Aditya Mahajan···
On Fri, 28 Sep 2012, Philipp Gesang wrote:
Hi all,
the background mechanism of tabulations is quite simplistic: it
extends only to the first line of a cell irrespective of its
length. Example:
On 27-9-2012 22:49, Alan Braslau wrote:
Hello,
Can someone indicate how to typeset
$L_{α+β}$
as verbatim text?
(\arg{} doesn't help here...)
Furthermore, I suppose that typesetting Greek characters verbatim
depends also upon which \tt font is being used.
\setupbodyfont[dejavu]
\starttext
On 27-9-2012 21:27, Simo Ojala wrote:
This is a problem originally posted in TeX/StackExchange. However, since
I have not had any luck in finding a solution I post it here too. I am
confident that somebody here should know the answer.
2012-09-28 Sietse Brouwer sbbrou...@gmail.com:
Hi Sietse,
\in{figure}[alpha,beta,gamma]
This outputs “figure 1”. What I'd like to have is “figure 1-3”.
The attached quasi-module seems to do it! On my computer, at least. (I
call it 'quasi' because it is really nothing more than code in
On Fri, 28 Sep 2012 10:43:48 +0200
Hans Hagen pra...@wxs.nl wrote:
On 27-9-2012 22:49, Alan Braslau wrote:
Hello,
Can someone indicate how to typeset
$L_{α+β}$
as verbatim text?
(\arg{} doesn't help here...)
Furthermore, I suppose that typesetting Greek characters verbatim
Hi Marco,
Marco wrote:
Maybe worth mentioning: You need the additional module
`showtable.lua` from http://article.gmane.org/gmane.comp.tex.context/78336
Oops, that was a debugging statement. Removed.
Thanks a lot for that. I'd adjust the interface, so that it matches
the behaviour of \in:
Dear Sietse,
Thanks a lot!!!
Finally found it, after lots of trial-and-erroring through
likely-looking table names in file-job.lua: the stack of input files
is kept in resolvers.inputstack.
I don't program any lua. But I was taking a look at file-job.lua
myself. I have a lot to learn!! :-)
Question for the others: What's the difference of \dodoubleargument
and \dodoubleempty? I expected \dodoubleargument to throw an error
since the arguments are supposed to be mandatory.
In MkIV Hans didn’t add this check and in MkII he disabled is for command
with three or less argument but
On 28-9-2012 14:34, Andre Caldas wrote:
Although, I think there should be a luatex command for this. That
is, something not related to ConTeXt.
lfs.currentdir()
-
Hans Hagen | PRAGMA ADE
On 28-9-2012 14:41, Sietse Brouwer wrote:
Question for the others: What's the difference of \dodoubleargument
and \dodoubleempty? I expected \dodoubleargument to throw an error
since the arguments are supposed to be mandatory.
In MkIV Hans didn’t add this check and in MkII he disabled is for
Hi!
the following should work.
\cldcontext{
environment.runpath .. '/' ..
file.pathpart(resolvers.inputstack[#resolvers.inputstack])
}
Sorry, to ask such a dumb question...
- Do I need to include file-job.lua somehow?
André Caldas.
Hi André,
Sorry, to ask such a dumb question...
- Do I need to include file-job.lua somehow?
No need to include it, it's part of the ConTeXt core.
I only mentioned the filename in case people wanted to see what else
was in that file; the code snippet should Just Work. Is it working for
you?
- Do I need to include file-job.lua somehow?
No need to include it, it's part of the ConTeXt core.
[...]
Is it working for you?
No. I get:
! LuaTeX error main ctx instance:1: attempt to get length of field
'inputstack' (a nil value)
stack traceback:
main ctx instance:1: in main
Hi,
I have this:
@mastersthesis{meva-memoria,
author = Bordoy, Xavier,
title = Algunes contribucions a l'estudi del problema de la paraula per
a grups,
school = Departament de Ciències Matemàtiques i Informàtica.
Universitat de les Illes Balears,
year = 2009,
address = Palma de Mallorca,
Hi André,
My mistake: I tested the code I gave you in \startluacode, but then
for the e-mail I wrapped it in \cldcontext. This is not the same: in
\startluacode # has its literal value, but in \cldcontext it is
interpreted as part of a macro parameter like #1.
So to get the length of a table t
My mistake: I tested the code I gave you in \startluacode, but then
for the e-mail I wrapped it in \cldcontext.
I had tested it using startluacode, also. :-(
These two versions both work, and I actually tested them this time:
\startluacode
context(environment.runpath .. '/' ..
On 28-9-2012 23:56, Andre Caldas wrote:
My mistake: I tested the code I gave you in \startluacode, but then
for the e-mail I wrapped it in \cldcontext.
I had tested it using startluacode, also. :-(
These two versions both work, and I actually tested them this time:
\startluacode
\startMPpage
draw externalfigure mill scaled 4.75in ;
\stopMPpage
What if mill is a multi-page PDF and I want to include a particular page?
Troy
___
If your question is of interest to others as well, please add
Hans Hagen pra...@wxs.nl
On 09/28/2012 11:46 AM, Hans Hagen wrote:
On 27-9-2012 21:27, Simo Ojala wrote:
This is a problem originally posted in TeX/StackExchange. However, since
I have not had any luck in finding a solution I post it here too. I am
confident that somebody here should know the
On Fri, 28 Sep 2012, Troy Henderson wrote:
\startMPpage
draw externalfigure mill scaled 4.75in ;
\stopMPpage
What if mill is a multi-page PDF and I want to include a particular page?
Untested:
draw textext(\externalfigure[mill][page=1]) scaled ... ;
should work.
Aditya
draw textext(\externalfigure[mill][page=1]) scaled ... ;
Awesome. Thanks.
Troy
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
I have a list of numbers,
2, 6, 7, 8, 12, 14, 18, 20, 186, 188, 316, 318, 354, 372, 376
that I would like to use as exceptions in a \dostepwiserecurse loop. That
is, within the loop if \recurselevel is NOT EQUAL to either of these
numbers, then I want to do something -- otherwise, I simply
I may be dumb... but I can't figure out how to change the mirror.
minimals.contextgarden.net seems to be hard-coded in a number of places.
Help please?
Best,
Mica
On Thu, Sep 27, 2012 at 1:05 AM, Mojca Miklavec
mojca.miklavec.li...@gmail.com wrote:
On Wed, Sep 26, 2012 at 11:39 PM, Hans Hagen
On Sep 28, 2012, at 8:31 PM, Troy Henderson thend...@gmail.com
wrote:
I have a list of numbers,
2, 6, 7, 8, 12, 14, 18, 20, 186, 188, 316, 318, 354, 372, 376
that I would like to use as exceptions in a \dostepwiserecurse loop. That
is, within the loop if \recurselevel is NOT EQUAL to
\starttext
\dorecurse{400}
{\doifnotinset{\recurselevel}{2, 6, 7, 8, 12, 14, 18, 20, 186, 188, 316,
318, 354, 372, 376}
{\recurselevel, }}
\stoptext
Thanks. That worked perfectly!
Troy
___
If your question is
25 matches
Mail list logo