On Sun, Oct 17, 2010 at 10:24, Hans Hagen pra...@wxs.nl wrote:
On 17-10-2010 4:06, Tad Ashlock wrote:
I'm trying to update a ConTeXt module of mine. It does some data
gathering
during the ConTeXt run, and then processes it after the run is complete.
This used to work last year:
local
Hi All,
I'm trying to update a ConTeXt module of mine. It does some data gathering
during the ConTeXt run, and then processes it after the run is complete.
This used to work last year:
local id, err = callback.register('stop_run', new_stop_run_function)
But now err is set to callback
Hans Hagen wrote:
On 9-1-2010 0:52, Tad Ashlock wrote:
...
you can try the beta with
\enabletrackers[buffers.visualize]
\starttext
\definetyping[C] % [option=C]
\setuptyping[C][escape=yes]
\startC
#include stdio.h
int main(){
return 0;
/BTEX{\em unreachedCode;}/ETEX
Hi All,
Here's a corner case for you: place a figure with the 'force' option,
followed by an enumeration with a background. Like this (also
attached as tadtest1.tex):
Hi All,
I can create a document with text that ends at the bottom of a page.
Like so (also attached as tadtest2a.tex):
\showframe
\starttext
\section{section 1}
\input bryson\par\blank
\input davis\par\blank
\input linden\par\blank
Hi All,
How do I go about getting split tables to be numbered as, for example,
1.3a and 1.3b, instead of 1.3 and 1.4? I'm using bychapter
numbering.
Example (also attached as tadtest3.tex):
\setupcaption[table][way=bychapter]
Hi All,
If I setup the table caption numbering to be 'bychapter' and then turn
off the numbering of subsubsections, any table within a subsubsection
won't have the chapter number as part of the table number.
Example (also attached as tadtest4.tex):
Hi All,
If a split table includes a footnote then the footnote is constrained
to the same width as the first column of the table, not the page
width.
Example (also attached as tadtest5.tex):
\automigrateinserts % or else footnotes
Hi All,
I'm trying to create a command that will apply a consistent style to a
word or phrase. For example, when documenting source code, I'd like to
be able to mark variables with \Var{var_name}. Then if I want the
variable names to be in mono, I can \def\Var#1{\type{#1}}. No problem
Wolfgang Schuster wrote:
Am 08.01.2010 um 17:27 schrieb Tad Ashlock:Hi All,
\startluacode
function move_end_punctuation (text, punc, cmd_start, cmd_mid, cmd_end)
context(cmd_start .. text .. cmd_mid)
if string.find('.,!?', punc, 1, true) then
context(punc ..
Khaled Hosny wrote:
On Fri, Jan 08, 2010 at 09:27:37AM -0700, Tad Ashlock wrote:
==
\startluacode
function move_end_punctuation (text, punc, cmd_start, cmd_mid, cmd_end)
context(cmd_start .. text .. cmd_mid)
if string.find('.,!?', punc, 1, true
Hans Hagen wrote:
On 13-12-2009 12:26, Tad Ashlock wrote:
As noted at
http://wiki.contextgarden.net/Verbatim_text#Embedded_formatting_commands,
the
embedded formatting commands in verbatim text don't work in MkIV.
Are there any plans to fix this capability soon? I'm planning on working
Yanrui Li wrote:
2009/12/31 Tad Ashlock taas...@cyberdude.com
mailto:taas...@cyberdude.com
The attached sample doesn't meet the original poster's criteria.
It produces headings like 1.1 alpha and 1.1.1 a instead of
the requested 1 alpha and 1.1 a. Is there any way
Wolfgang Schuster wrote:
Am 31.12.2009 um 12:47 schrieb Tad Ashlock:
Yanrui Li wrote:
2009/12/31 Tad Ashlock taas...@cyberdude.com mailto:taas...@cyberdude.com
The attached sample doesn't meet the original poster's criteria.
It produces headings like 1.1 alpha and 1.1.1
Joshua Lee wrote:
Hi Yanrui,
How about the attached sample?
Best regards,
Joshua
On Wed, 30 Dec 2009, Yanrui Li wrote:
hi all,
For example:
\starttext
\placelist[part,chapter,section,subsection][criterium=all]
\part{first}
\chapter{alpha}
\section{a}
\section{b}
.
Thanks,
Tad Ashlock
___
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
,
MTX_PDFVIEW_METHOD=unset
MTXrun | total runtime: 1.438
ConTeXt Full finished at Sun Dec 13 04:33:14
Thanks,
Tad Ashlock
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context
The following code causes the 2009.08.14 version of ConTeXt to crash (see
below). But it works in the 2009.07.23 version of ConTeXt.
\setupinteraction[state=start]
\starttext
\reference[ref:UsersMan]{User's manual}
\input tufte\par
User's manual~\at[ref:UsersMan]
\stoptext
Taco Hoekwater wrote:
Tad Ashlock wrote:
Looks like we're always getting the xstrdup() branch of the conditional.
Probably because you are not reading from a file at that level,
but from a token list. Do you want filename to be a file even
if the current input is not directly from a file
Hans Hagen wrote:
Tad Ashlock wrote:
Is there a convenient way within a Lua block to determine the current
file name and line number of the source file being processed by
ConTeXt?
[snip]
i have no time now to figure out while filenames are not known but
here's a (wikifyable) hack
Is there a convenient way within a Lua block to determine the current
file name and line number of the source file being processed by ConTeXt?
For example: (test.tex)
-
\def\ShowLineNumber{%
\ctxlua{print('current line number:', tex.current_line_number())
From http://texshow.contextgarden.net/ (\reference):
\starttext
See page \ref[p][myref 1] and \ref[p][myref 2].
\page
\reference[myref 1]{} This is the first reference.
\page
\reference[myref 2]{} This is the second one.
\stoptext
Works in MKII (at least on ConTeXt online), but produces the
Thomas A. Schmitz wrote:
On Feb 26, 2009, at 11:55 AM, Alan Stone wrote:
Doesn't \usemodule issue a search in parent directories when the
module is not found in the working directory ?
Why should it?
From the ConTeXt Manual (page 18):
A file that is not available on the working directory
Cecil Westerhof wrote:
[snip]
Found the problem.
\doifelsenothing{#1}
{\doletterclosing{Hoogachtend,}{Cecil Westerhof}}%
should be:
\doifelsenothing{#1}
{\doletterclosing{Hoogachtend,}{Cecil Westerhof}}%
Now it seems to do what I want.
I don't see the difference.
and LuaTeX are necessary because of the
problem the latest Windows versions are having. See the Serious Bug?
thread.)
Thank you,
Tad Ashlock
___
If your question is of interest to others as well, please add an entry
On Mon, Dec 22, 2008 at 8:35 AM, Mojca Miklavec wrote:
On Mon, Dec 22, 2008 at 8:26 AM, Mojca Miklavec wrote:
On Mon, Dec 22, 2008 at 2:53 AM, Fengnan Gao wrote:
What version of LuaTeX is in Windows distribution? Maybe I forgot to
update it. I'll check tomorrow (you can try to fetch the
26 matches
Mail list logo