Hello,
is there a way how to achieve the following look of items inside \staritemize
... \stopitemize:
|-- textwidth --|
* Item - abc def ghi
jlk mn op qrst
uw xyz
Some other text that
belongs to the item.
* Longer item -
abc def ghi
jlk mn op
Hello,
I have problem running the latest Ctx beta.
Suppose having:
-- C:\Lukas\Jobs\D3-Sk\SO_237-20.RDS\Drawings\t2.mkiv
\startluacode
local home = (os.getenv(HOME.ORG) or os.getenv(HOME) or ?):gsub(\\,
/)
context.setvalue(HOME, home)
\stopluacode
\input \HOME/Common/_Defs_.ctx
Hello,
\input \HOME/Common/_Defs_.ctx
at least put { } around the input name
--
\startluacode
local home = (os.getenv(HOME.ORG) or os.getenv(HOME) or ?):gsub(\\,
/)
context.setvalue(HOME, home)
\stopluacode
\input{\HOME/Common/_Defs_.ctx}
\starttext
Test
\stoptext
--
similar
Hello,
thanks both for the solution.
Interactive 3D graphics works well with the latest Ctx Beta;
even the preview member is not necessary.
My last attempt with Laurana which gives the desired result can be downloaded
here (30 days from now):
http://leteckaposta.cz/809373502
On Sun, 18 May
... Wikified:
http://wiki.contextgarden.net/Tabulate#Horizontal_centering_table_on_the_page
Lukas
On Tue, 13 May 2014 07:03:58 +0200, Mikael P. Sundqvist mic...@gmail.com
wrote:
I'd do such things with
\starttext
\input knuth\par
\placetable[force,none]{none}{%
\starttabulate[|r|l|]
\HL
Hello,
I've never used joinedup option so I cannot confirm its behavior has changed.
Anyway, I'm getting the same result with the last Ctx beta and Ctx ver:
2012.11.26; see attachs.
It seems joindeup implies packed, too; I don't know if it is an
intention/feature.
Best regards,
Lukas
--
... OK, it seems repeated headers with 'tabulate' are not used frequently by
Ctx users.
Probably 'b/e-TABLE' would do the job;
so are repeated headers with 'tabulate' buggy and/or deprecated?
Best regards,
Lukas
On Thu, 24 Apr 2014 08:41:51 +0200, Procházka Lukáš Ing. - Pontex s. r. o.
l
Hello,
'tabulate' header is not repeated across pages, the header appears only at the
begin of the 'tabulate'.
The code is based on http://wiki.contextgarden.net/Tabulate#Headers
\starttext
\setuptabulate[split=yes,header=repeat]
\starttabulatehead
\HL
\NC A \NC B \NC\NR
Hello,
I'm not able to recall the way how to attach a file into a .pdf being generated.
I need the attached files to be openable or savable from the .pdf - see the
image.
How to achieve this with ConTeXt?
Best regards,
Lukas
--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.
... Great, thank you! Lukas
Comments from scrn-wid.mkvi:
% old but stil valid method:
%
% \useattachment[test.tex]
% \useattachment[whatever][test.tex]
% \useattachment[whatever][newname][test.tex]
% \useattachment[whatever][title][newname][test.tex]
%
% new method:
%
%
... One more question: the following example seems not to contain any
attachment:
t4.mkiv
\attachment[t4.mkiv]
\starttext
AAA
\stoptext
What's wrong?
Lukas
Comments from scrn-wid.mkvi:
% old but stil valid method:
%
% \useattachment[test.tex]
%
On Wed, 23 Apr 2014 11:37:02 +0200, Wolfgang Schuster
schuster.wolfg...@gmail.com wrote:
\setupinteraction[state=start]
It work now, thanks.
And - hopefully the last question:
Is it possible to affect the icon shown (now: pin) (to be eg. paperclip)?
And is it possible to hide the icon
Hello,
I'm trying to center horizontally a tabulate, but the tabulate is still
placed on the left side of the page.
How to center it?
Here is my code:
\starttext
\startalignment[center]
\dontleavehmode
\externalfigure[cow]
\stopalignment
\startalignment[center]
Hello,
it works, thanks!
Lukas
On Wed, 02 Apr 2014 11:26:39 +0200, H. Özoguz h.oezo...@mmnetz.de wrote:
I'm trying to center horizontally a tabulate, but the tabulate is still
placed on the left side of the page.
How to center it?
You could use the tabularframe and align in the middle:
Hello,
Lua way:
\setuplabeltext[chapter=]
\define[1]\MyCommand{\ctxcommand{doifelse(1==\currentsectioncountervalue)}{ONE}{#1}}
\setuphead[chapter][deepnumbercommand=\MyCommand]
\starttext
\chapter{Cool}
\chapter{Cat}
\chapter{Mouse}
\stoptext
I'm sure there is also a cleaner
... It works perfectly, thanks!
Lukas
On Tue, 05 Nov 2013 23:31:25 +0100, Wolfgang Schuster
wolfgang.schus...@gmail.com wrote:
Am 05.11.2013 um 13:22 schrieb Procházka Lukáš Ing. - Pontex s. r. o.
l...@pontex.cz:
Hello,
I noticed now that:
\starttext
\startsection[ownnumber=0
Hello,
a bit ugly but working somehow
\setuphead[part][number=no]
%\showboxes
\starttext
\completecontent
\part{\inframed[frame=off]{Part 2:}
\inframed
[frame=off,width=fit,align=flushleft,location=high]
{This is the title of the first part, it is very
Hello,
I noticed now that:
\starttext
\startsection[ownnumber=0,title=A]
bla
\stopsection
\startsection[title=B]
bla
\stopsection
\stoptext
gives:
0 A
bla
2 B - 1 should be here instead of 2; automatically
bla
instead of:
0 A
bla
1 B
bla
So my
Hello,
I'm trying to hook commands.stoptext()...
Here's a minimal example: why only the first image appears?
\startluacode
local cmd_p
local tab = {}
f = function(a)
if not cmd_p then
cmd_p = commands.stoptext
commands.stoptext = function(...)
context(Hook)
On Tue, 08 Oct 2013 13:40:26 +0200, Marco Patzer li...@homerow.info wrote:
On 2013–10–08 Procházka Lukáš Ing. - Pontex s. r. o. wrote:
I'm trying to hook commands.stoptext()...
There is already a hook for that. No need to tinker with Lua.
\setupexternalfigures
[location=default
Hello all,
how to call \let from within Lua?
I'd need to \let\T=4 using Lua.
The following code doesn't work (not so surprisingly):
\startluacode
a = 4
\stopluacode
\expandafter\let\expandafter\T=\cldcontext{a}
\starttext
Test \T.
\stoptext
What's the correct way?
TIA.
On Fri, 04 Oct 2013 10:54:37 +0200, Hans Hagen pra...@wxs.nl wrote:
On 10/4/2013 10:47 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
Hello all,
how to call \let from within Lua?
I'd need to \let\T=4 using Lua.
The following code doesn't work (not so surprisingly):
\startluacode
Hello Peter,
two more ways which work OK (my preferred ways):
\section{Alt 1}
\bTABLE
\setupTABLE[width=3cm, height=3cm, align={middle, lohi}] % Place setup just
after \bTABLE...
\bTR \bTD bla \eTD \eTR
\eTABLE
\section{Alt 2}
\bTABLE[width=3cm, height=3cm, align={middle,
Hello,
is it possible to force a section command to have its own number, e.g. 0?
E.g.:
\section{A}
\subsection{B}
\subsection[ownnumber=0]{C}
\subsection[ownnumber=XX]{D}
to produce:
1 A
1.1 B
1.0 C
1.XX D
Maybe \start/stop-subsection would be better for this case... But how?
On Fri, 04 Oct 2013 16:11:10 +0200, Peter Münster pmli...@free.fr wrote:
On Fri, Oct 04 2013, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
\subsection[ownnumber=0]{C}
Maybe \start/stop-subsection would be better for this case... But how?
Did you try this:
\starttext
\startsection
Hello,
suppose we need to typeset text into two (generally: several) columns.
Depending on the length of the text in the first (generally: i-th) column we
need to choose an alternative:
1)
Short-text Some-text-in-the-second-column
Another-text Some-other-text
or:
2)
Hello,
just one user's point of view:
There are many table-creating commands.
Some of them are deprecated and only supported for backward compatibility.
It seemed to me till now that natural tables (provided by \...TABLE...
commands) were best choice as they are versatile, they have friendly
Hello,
thanks Peter and Wolfgang for their answers.
Both following codes work:
P.
\setuplayout[page]
\define\bef{\page\vbox to\textheight\bgroup\vfill\vfill}
\define\aft{\vfill\vfill\vfill\egroup}
\setuphead[section]
[before=\bef,after=\aft,
%commandbefore=\cbef,commandafter=\caft,
... Great, thanks again!
Cheers,
Lukas
On Thu, 04 Jul 2013 08:49:49 +0200, Wolfgang Schuster
schuster.wolfg...@gmail.com wrote:
Am 04.07.2013 um 08:29 schrieb Procházka Lukáš Ing. - Pontex s. r. o.
l...@pontex.cz:
@Wolfgang: What does option [text] in your original
\definemakeup
Hello,
I'm trying to setup section to be placed vertically in the golden ratio of the page, i.e. cca 2
units above the section and 3 units bellow.
How to achieve this?
My code so far is:
\setuplayout[page]
\define\bef{\page\hbox to\textheight\bgroup\vfill\vfill\fi}
Hello,
as I saw many pdf viewers being supported by --autopdf=..., there is one more
(my favourite; Windows) - basic version is free but powerful, fast, keeps last view for
each document; allows auto-reopen lately opened docs; enables copy-to-clipboard
(text/image); annotations; allows simply
On Mon, 01 Jul 2013 10:54:11 +0200, Hans Hagen pra...@wxs.nl wrote:
you can add this to l-pdfview.lua (opencalls windows section):
['pdfxcview'] = [[start test pdfxcview.exe /A
nolock=yes=OpenParameters %filename%]],
if you have a texmfcnf.lua file in your local tree you can add a
Hello,
there are several similar commands to produce text (or another object) to be
centered on the line.
What are differences (or intended usage) among \centerline, \midaligned,
\startalignment[middle]?
(NB: \centerline has no its-own page on wiki, but it is used at several places
in wiki
) -- This breaks Ctx!
\stopluacode
\stoptext
Best regards,
Lukas
On Wed, 26 Jun 2013 14:46:32 +0200, Wolfgang Schuster
schuster.wolfg...@gmail.com wrote:
Am 26.06.2013 um 14:07 schrieb Procházka Lukáš Ing. - Pontex s. r. o.
l...@pontex.cz:
Hello,
there are several similar commands
Hello,
On Wed, 26 Jun 2013 15:10:43 +0200, Wolfgang Schuster
schuster.wolfg...@gmail.com wrote:
Use the solution in the following mail which deals with the same problem:
http://www.ntg.nl/pipermail/ntg-context/2013/073795.html
Wolfgang
the following code seems to work:
...
Hello,
On Fri, 14 Jun 2013 07:19:44 +0200, Malte Stien ma...@stien.de wrote:
Hello Everyone,
I have been using ConTeXt for over a year now and worked out how to do most
things I need to do. Every now and then, though, I need to do something that I
cannot find any information about and in
Hello,
thanks Peter for the explanation.
On Fri, 07 Jun 2013 14:41:45 +0200, Peter Rolf indi...@gmx.net wrote:
The layer is divided into a 2x2 matrix of squares, where 'x' is the
center. This gets you a total of 3x3=9 different corners.
o---o---o
| | |
o---x---o
| | |
o---o---o
Now
On Thu, 06 Jun 2013 16:16:42 +0200, Aditya Mahajan adit...@umich.edu wrote:
Perhaps, \page[nobackground] which will suppress all background elements.
+1
I also think that `noheader`and `nofooter` are better keywords than
`header` and `footer` to indicate that header and footer are
Hello,
I'm trying to understand meaning of location and corner keywords of layer
definition (http://wiki.contextgarden.net/Layers#My_first_Layer).
The goal is to place a logo (here: a \framed) to the top right corner of the
page, with vertical and horizontal shift 5 mm into the centre of the
Hello,
On Fri, 07 Jun 2013 09:27:14 +0200, Hans Hagen pra...@wxs.nl wrote:
On 6/7/2013 9:07 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
The working code is:
\definelayer
[Logo]
[location={left,bottom},
x=\paperwidth,
y=0mm,
hoffset=-5mm,
voffset=5mm
Hello,
just an idea:
\page[header] and \page[blank] suppresses temporarily header defined by
\setupheadertexts.
But, when header is underlined by
\setupbackgrounds[header][text][bottomframe=on], this frame (rule) is not
cancelled - it still appears on the (blank) page.
Wouldn't be good
... Great, thank you!
I added some info to wiki (http://wiki.contextgarden.net/Tabulate).
Best regards,
Lukas
You can use the \TB which accepts the same keywords as \blank.
\starttext
\starttabulate
\NC one \NC two \NC\NR
\NC two \NC three \NC\NR
\TB[line]
\NC four \NC five \NC\NR
Hello,
are there more ways how to affect vertical distance between rows within
\start/stop-tabulate?
1) There is one, described on wiki (http://wiki.contextgarden.net/Tabulate):
\unprotect
\appendtoks
\blank[halfline]
\to \t_tabl_tabulate_every_after_row
\protect
...
Its problem
Hello,
how to change the way (alternative) how a particular level - e.g. sections -
are rendered in TOC?
I tried:
\setupcombinedlist
[content]
[alternative=c]
\setuplist
[section]
[alternative=b]
%\setupcombinedlist
% [content]
% [section]
% [alternative=b]
\starttext
Hello,
On Thu, 25 Apr 2013 20:19:41 +0200, Thomas A. Schmitz
thomas.schm...@uni-bonn.de wrote:
On 04/25/2013 07:31 PM, Sietse Brouwer wrote:
Hi Taco,
I think it's a good idea to update the security questions --- it's
easy to do, it'll probably work, and we can always move on to stronger
Hello,
I need to identify number of pages by Lua of an image which is to be inserted.
The image can be of all various types supported by Ctx - e.g. .png, .pdf.
I've been using the following code so far (based on a mailing thread in the
past):
function nOfPages(fn)
local fig =
Hello,
BTW: You can use \pagefigure[image] instead of
\startpagefigure[image]\stoppagefigure.
Wolfgang
it seems \placefigure adds some extra space around, too.
Should this be corrected, too?
See my example...
Best regards,
Lukas
--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex
it seems \placefigure adds some extra space around, too.
Should this be corrected, too?
See my example…
I can’t reproduce this, do you use the current beta on your system?
Wolfgang
Unfortunately no, I'm using:
ConTeXt ver: 2012.11.26 13:31 MKIV fmt: 2012.11.27 int: english/english
-
Hello,
thanks HW - both solutions are useful.
Lukas
On Fri, 22 Mar 2013 18:18:00 +0100, Hans Hagen pra...@wxs.nl wrote:
\def\starthidden#1\stophidden{}
\usemodule[annotation]
\defineannotation[Hidden][alternative=none]
\starttext
A \Hidden{B} C
A \startHidden B\stopHidden C
\stoptext
Hello,
\startpagefigure[...] ... \stoppagefigure enlarges page by 1 mm in both
directions.
This is an undesired effect as when the printer has auto-select-page mode on
(which is useful when printing a document with mixed A4 and A3 pages) and an A4
page (210 x 297 mm) is enlarged to 211 x
Hello,
On Fri, 22 Mar 2013 09:26:20 +0100, Peter Münster pmli...@free.fr wrote:
Hi Keith,
What about one lua table per command?
See also:
- http://meeting.contextgarden.net/2010/talks/2010-09-14-peter-referencelua/
this looks nice.
Some connection to wiki would be useful, too - once a
Hello,
is it possible to define a start-stop command to hide text within?
Something like:
\definestartstop[Hidden][before=\starthiding,after=\stophiding]
TIA.
Lukas
--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová
Hello,
interesting trick; however, it doesn't work when used inside a macro:
\definebuffer[Hidden]
\def\WWW{
\startHidden
DDD
\stopHidden
}
\starttext
AAA
\startHidden
BBB
\stopHidden
\WWW
\stoptext
Any idea?
TIA.
Best regards,
Lukas
On Fri, 22 Mar 2013
Hello,
kind request - \simplealignedbox is not known to me - could anyone familar add
some info to wiki?
Best regards,
Lukas
\setupitemgroup [itemize] [left=\simplealignedbox{1em}{flushright}]
--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o. [mailto:pon...@pontex.cz]
... OK, thanks to Marco and Wolfgang.
Best regads,
Lukas
On Thu, 07 Mar 2013 15:09:01 +0100, Marco Patzer home...@lavabit.com wrote:
On 2013–03–07 Procházka Lukáš Ing. - Pontex s. r. o. wrote:
kind request - \simplealignedbox is not known to me - could anyone
familar add some info to wiki
Hello,
is there a way how to change all heads style, e.g. to sans?
This doesn't work for me:
\setupheads[style=\ss]
\starttext
\section{Abc}
Def
\stoptext
TIA.
Best regards,
Lukas
(ConTeXt ver: 2012.11.26 13:31 MKIV fmt: 2012.11.27 int: english/english)
--
Ing. Lukáš
Hello,
Ctx is not able to find a figure:
\starttext
\setupexternalfigures[location=local,directory={4Essel}]
\externalfigure[Dum-Poh.jpg] % Fails to find - Ctx uses a dummy figure
\externalfigure[4Essel/Dum-Poh.jpg] % OK
\stoptext
I'm running Ctx from
With “location=local” you limit context to search only in the local directory.
The location key accepts three arguments:
- local (search in the current directory)
- global (search path specified with the directory key)
- default (search in the tex directory)
The default setup for the search
On Thu, 31 Jan 2013 19:36:08 +0100, Wolfgang Schuster
wolfgang.schus...@gmail.com wrote:
\copypages[…][][orientation=90]
Wolfgang
Hello,
kind request: could some info about three parameter alternative (or other
changes/extensions) of \copypages be added to wiki?
TIA.
Lukas
--
Ing.
Hello,
why the MP code doesn't draw % and # when it uses TeX's \U - inside MP
block?:
\def\T{TTT}
\def\U{UUU \letterpercent\letterhash}
\starttext
\letterpercent
\letterhash
\par
\startMPcode
draw btex AAA etex;
draw textext(\T);
% draw btex \T etex; % Err
draw
Hello,
I'd like to ask two questions which appeared on topic Layer vs. overlay.
Q1: What does \tightlayer[...] exactly do? (No item on wiki.)
Q2: Why some layer properties are specified on \definelayer (beforetext:
width=\overlaywidth,height=\overlayheight) and some during overlay setups
, Aditya Mahajan adit...@umich.edu wrote:
On Tue, 15 Jan 2013, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
(Finally: I'd like to achieve a Lua function which will copy all pages of a
.pdf file, keeping size of each page, and adding a customizable string with
page-in-the-pdf number (with default value
Hello,
On Wed, 16 Jan 2013 12:47:21 +0100, Philipp Gesang
philipp.ges...@alumni.uni-heidelberg.de wrote:
Lookup the correct string from a table?
thanks for the idea -
- in other words, we have to keep running results somewhere; the algorithm
fills a table with texts for each page, and
On Sat, 12 Jan 2013 19:11:47 +0100, Wolfgang Schuster
wolfgang.schus...@gmail.com wrote:
Move \definelayer and \setupbackgrounds *before* \startTEXpage because the
environment creates a local group and you background setup is lost.
... Thanks for the hint - here's my next trial.
It should
... Thanks again.
On Tue, 15 Jan 2013 11:09:48 +0100, Wolfgang Schuster
wolfgang.schus...@gmail.com wrote:
\setupbodyfont[30pt]
\starttext
A
\definelayer [beforetext][width=\overlaywidth,height=\overlayheight]
\defineoverlay[beforetext][{\setups[beforetext]\tightlayer[beforetext]}]
Hello Wolfgang,
thank you for your very detailed answer.
I'll - try to understand how it works, try your examples what they'll produce...
Best regards,
Lukas
On Sat, 12 Jan 2013 08:44:21 +0100, Wolfgang Schuster
wolfgang.schus...@gmail.com wrote:
Am 11.01.2013 um 16:32 schrieb Procházka
:
Am 11.01.2013 um 16:32 schrieb Procházka Lukáš Ing. - Pontex s. r. o.
l...@pontex.cz:
Hello,
I need to add a text to the FOREGROUND of the page.
- Layers can refer to a page (or its size) and elements in a layer are drawn
BELLOW the (normal) page content.
- Overlays are drawn ABOVE
Hello,
I need to add a text to the FOREGROUND of the page.
- Layers can refer to a page (or its size) and elements in a layer are drawn
BELLOW the (normal) page content.
- Overlays are drawn ABOVE the (normal) page content and their size is given by
an element (often \framed) which uses the
Hello,
the inframed B in margin created by Lua doesn't appear, although
corresponding Ctx code works:
\starttext
\inmargin{\inframed{A}}
\input knuth
\blank
\directlua{context.inmargin(context.delayed.inframed(B)); context(Test.)}
\stoptext
What am I doing wrong?
TIA.
On Fri, 04 Jan 2013 16:48:45 +0100, Wolfgang Schuster
wolfgang.schus...@gmail.com wrote:
\starttext
\inmargin{\inframed{A}}
\input knuth
\blank
\ctxlua{context.inmargin(context.nested.inframed(B))}
\input knuth
\stoptext
Wolfgang
Great, thanks!
Any info about usage of .nested or
Hello,
I'm using this if loading failure is not fatal:
DoFile = function(fn)
return pcall(function() return dofile(fn) end)
end
DoFile(MyFile.lua) -- instead of 'dofile(MyFile.lua)'
You can play with handling error code
(http://www.lua.org/manual/5.1/manual.html#pdf-pcall):
Hello,
this is just an announcement and maybe a proposal.
I needed to copy all pages from a .pdf file into the document.
The pages to be copied were a mix of A4 and A3 pages, with portrait and
landscape orientation.
Also, I needed to suppress current header footer and to use the whole page
On Fri, 30 Nov 2012 17:25:42 +0100, Vyatcheslav Yatskovsky
yatskov...@gmail.com wrote:
Hi again,
is it possible to add an option to NOT add path to Ctx binaries to PATH?
This may collide with TeXLive users, and also when one switches among
more Ctx versions.
There is such an option,
Hello,
On Fri, 30 Nov 2012 16:05:08 +0100, Vyatcheslav Yatskovsky
yatskov...@gmail.com wrote:
New version of ConTeXt Installer for Windows is available (v1.4).
good news;
It is a GUI wizard of small size ( 2MB), which downloads latest context
distribution, sets PATH for binaries,
is it
... Thanks, it works!
Best regards,
Lukas
On Thu, 29 Nov 2012 09:05:38 +0100, luigi scarso luigi.sca...@gmail.com wrote:
On Thu, Nov 29, 2012 at 8:11 AM, Procházka Lukáš Ing. - Pontex s. r.
o. l...@pontex.cz wrote:
Hello,
the \start/stop-tabulate doesn't work inside \midaligned
Hello,
the following shortening \ctxlua{commands.doif to \cldcommand{doif doesn't
work as I'd expect, although it should be equal:
\starttext
A
\ctxlua{commands.doif(true)}{T} % Gives T - that's OK
\cldcommand{doif(true)}{t} % Gives nothing; why?
B
\stoptext
Probably very
On Thu, 29 Nov 2012 10:27:36 +0100, Hans Hagen pra...@wxs.nl wrote:
On 11/29/2012 9:32 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
indeed as it's \ctxcommand
the \cldcommand does a context.doif an that one takes three arguments
so you've something to wikify: :
\starttext
Hello,
the \start/stop-tabulate doesn't work inside \midaligned:
\def\T{%
\starttabulate[|r|l|]
\NC c \NC centered \NC \AR
\NC l \NC left aligned \NC \AR
\NC r \NC right aligned \NC \AR
\stoptabulate
}
\starttext
\T % This is OK
\midaligned{\T} % This fails
\stoptext
/2012 8:43 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
Hello,
there was a discussion about 'toppath' or 'pathrelativetome'.
Is 'toppath:' prefix working?
Or what other way is to refer to the path of the current file (i.e. the
file I'm referring from)?
The following code doesn't work - t
On Tue, 27 Nov 2012 08:43:25 +0100, Procházka Lukáš Ing. - Pontex s. r. o.
l...@pontex.cz wrote:
Is 'toppath:' prefix working?
... My observation so far:
'toppath' works with \component, so if one needs to include a file, it's better
to include it via:
\component file.tex
where 'topttath
Hello,
there was a discussion about 'toppath' or 'pathrelativetome'.
Is 'toppath:' prefix working?
Or what other way is to refer to the path of the current file (i.e. the file
I'm referring from)?
The following code doesn't work - t-Hello.mkiv is not found although it's located in the same
On Fri, 23 Nov 2012 20:23:44 +0100, Aditya Mahajan adit...@cim.mcgill.ca
wrote:
... I probably found it (how easy!):
\definestartstop
[Rek]
[before={\blank\setupnarrower[left=\parindent,right=\parindent]\startnarrower},
after={\stopnarrower\blank},
style=\em,
]
(Untested, as I
Hello,
I need to temporary narrow the width in which text is typeset, to get something
like:
Sdflsdf sjldfg sjfdg sjdfg sjdfg - Normal (first) paragraph (no-indent).
sf sjlfg sjdgfjsgfjsdf sgdf jsdgf
sdfg gjh.
Lsdf sjldfg sjfdg sjdfg sjdfg - Normal (other) paragraph (normal
... I probably found it (how easy!):
\definestartstop
[Rek]
[before={\blank\setupnarrower[left=\parindent,right=\parindent]\startnarrower},
after={\stopnarrower\blank},
style=\em,
]
Best regards,
Lukas
On Fri, 23 Nov 2012 16:00:54 +0100, Procházka Lukáš Ing. - Pontex s
On Tue, 20 Nov 2012 15:21:08 +0100, H. Özoguz h.oezo...@mmnetz.de wrote:
Hi there,
how to define commands, which are simply short-cuts for some terms?
For short-cuts, \let might be better:
\let\shortcmd=\theverylongcommand
Lukas
--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s.
On Mon, 05 Nov 2012 18:46:18 +0100, Hans Hagen pra...@wxs.nl wrote:
On 11/5/2012 12:15 AM, Sietse Brouwer wrote:
(2) why would mtxrun set the variables and risk overwriting something?
The comments suggest it is for the benefit of the cnf files, but still
--- why overwrite?
ossetenv(HOME,
On Thu, 15 Nov 2012 09:07:55 +0100, MANUEL GONZALEZ SUAREZ
gonzalezsman...@uniovi.es wrote:
Hello.
I wish someone would help me translate this code LaTeX to ConTeXt. It is a
command to do word by word translations, so that a word appears under another.
Here's the code:
Hello,
I've read that when Ctx is to process a XML file, the whole XML tree is loaded
first and processed as wanted.
I'd need to process a XML file which represents an Excel workbook saved as .xml.
When working in pure Lua, I'm using Expat library
Hello,
I've read that when Ctx is to process a XML file, the whole XML tree is loaded
first and processed as wanted.
I'd need to process a XML file which represents an Excel workbook saved as .xml.
When working in pure Lua, I'm using Expat library
On Wed, 14 Nov 2012 16:50:50 +0100, luigi scarso luigi.sca...@gmail.com wrote:
However, this solution cannot be used with Ctx as it causes Ctx to crash.
Windows , Linux or MacOS ?
WinXP 32b
--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o. [mailto:pon...@pontex.cz]
Hello,
I can answer just the first point -
On Mon, 05 Nov 2012 00:15:17 +0100, Sietse Brouwer sbbrou...@gmail.com wrote:
Lukáš wrote:
it seems that Ctx [re]defines the system variable HOME on its run
Did some digging, and indeed it does. This is what happens, if I read
the code correctly
On Sat, 03 Nov 2012 12:43:26 +0100, Sietse Brouwer sbbrou...@gmail.com wrote:
it seems that Ctx [re]defines the system variable HOME on its run;
This is not an answer, but a guess: Could it be that your interactive
shell uses one setting, and the non-interactive shell uses another?
I'm
On Sat, 03 Nov 2012 08:47:33 +0100, Peter Münster pmli...@free.fr wrote:
On Fri, Nov 02 2012, Procházka Lukáš wrote:
print(\nT)
print(\n .. T)
Any explanation?
\nT is an unknown command.
Thanks for your advice, I learned some more also at
http://wiki.contextgarden.net
Hello,
it looks nice.
Two notes:
1)
There is a LaTeX package (vref? fref? - I can't remeber) which distinguishes
between references targeting forward and backward from the place of the
crossref.
So your module should be slightly improved adding uparrow / downarrow for
the link which links
Hello,
it seems that Ctx [re]defines the system variable HOME on its run; compare:
- command line:
C:\Lukas\Jobs\HubI-ISK.DSP\SO_210\Statics.Txset home
Home=C:\Lukas
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\LPR
- and result of:
t-Home.mkiv
\starttext
Hello,
I encountered a weird error.
The following code prints correctly to the console:
\starttext
\startluacode
print(\n@T)
\stopluacode
Abc
\stoptext
Gives correct:
...
fontsvirtual math unable to resolve name mapsfromchar
fontsfallback modern
On Wed, 31 Oct 2012 17:17:06 +0100, Aditya Mahajan adit...@umich.edu wrote:
On Wed, 31 Oct 2012, Wolfgang Schuster wrote:
You can look if you find something in the manuals or the wiki.
If not, then add the information to the wiki.
Aditya
I added some snippets to existing wiki-pages:
Hello,
the following example is copied from
http://wiki.contextgarden.net/Command/setupfootnotes:
\defineconversion[starred][\starredconv]
\def\starredconv#1{\ifcase#1\or*\or**\or***\fi}
\setupfootnotes[conversion=starred,color=blue,frame=on]
\starttext
Charles IV\footnote{Best Czech
On Wed, 31 Oct 2012 16:19:53 +0100, Wolfgang Schuster
wolfgang.schus...@gmail.com wrote:
\setupnotation[footnote][numberconversion=set 1]
Wolfgang
Thanks, it works.
Question: set 1 is a built-in number conversion?
- If so, what are other built-in [number] conversion sets?
- - Are they
Hello,
in the following example the space before the leading quotation mark (between 'f'
and 'g') is not colored:
\definebar[MyBar][color=green,rulethickness=2.8,order=background,offset=1.5,continue=yes]
\starttext
\MyBar{Abc def \quotation{ghi}.}
\stoptext
How to make the bar
301 - 400 of 767 matches
Mail list logo