Dear list,
I would like to specify in advance that certain pages are to have
different layouts. I put together an example based on what read on the
wiki (https://wiki.contextgarden.net/Layout#Multiple_layouts):
\setuppapersize[A6]
\definelayout[bigheader][header=0.5\textheight]
\definelayout
On 2019-01-07 9:06 p.m., Henri Menke wrote:
On 8/01/19 1:37 PM, Stanislav Sokolenko wrote:
Dear list,
As the subject line states, I am looking for a means of retrieving a
table of all saved buffer names from lua. A MNWE would looks like:
It's not so easy because ConTeXt stores the buffe
Dear list,
As the subject line states, I am looking for a means of retrieving a
table of all saved buffer names from lua. A MNWE would looks like:
\starttext
\startbuffer[ex1]
Buffer 1
\stopbuffer
\startbuffer[ex2]
Buffer 2
\stopbuffer
% Should return {ex1, ex2} or similar
\ctxlua{context(...)
On 2018-10-06 02:06 PM, Aditya Mahajan wrote:
I also want to take this opportunity to express my views on intefacing
with external programs. The file based interaction provided by the
filter module is okay for small projects but it is not ideal. Slightly
better is to use pipes (popen to a RE
That's perfect, thank you!
On 2018-07-23 06:32 PM, Hans Hagen wrote:
\startsetups btx:list:author:normalshort
\fastsetup{btx:list:author:concat}
\begingroup
\ctxluacode{document.CheckMeB("\currentbtxdataset","\currentbtxtag",\number\currentbtxauthorindex)}
\ifx\currentbtxinitials
Thanks Hans, that's really helpful!
This is not for the fainthearted so here we go
\startluacode
function document.MyBoldPub(set,tag)
-- local a = publications.getfield(set,tag,"author")
-- inspect(a)
-- local c = publications.getcasted(set,tag,"author")
-- inspect(c)
Dear list,
I'm struggling to output bibliography entries into lua for string
modification (like making a particular author name bold). In effect, I
just need something like the following:
\starttexdefinition btx:customauthor
\startluacode
local text = context.btxflush('author')
--
Dear list,
I've recently written a small module p-mymod.tex which uses lua code in
p-mymod.lua. In order to load this lua code, I use
\registerctxluafile{p-mymod}{1.001} (copying the example of
m-database.mkiv). However, it seems like the search path for lua files
isn't the same as for contex
Hi Hans,
On 2018-07-04 04:32 AM, Hans Hagen wrote:
Can you test the beta from the contextgarden?
The beta works with no problems, thanks!
I have also played around with my older installation some more and it
seems like the original problem was related to the font cache.
I have previously t
Dear list,
I have what seems to be an OS- or ConTeXt version-specific issue with
mtxrun installing fonts.
I've been trying to add new truetype fonts (specifically Archivo ttf
files) on Arch Linux using the following command:
export OSFONTDIR=~/.fonts//; mtxrun --script font --reload
And I'
Hi Stanislav, footnotes are only one kind of notes. Not all notes are
footnotes. If you ask for footnotes, you will only get footnotes
Thanks Pablo, I had a feeling that was the case, but all the examples I
ran across seemed to have the two conflated. Your example is perfect!
BTW, I wonder
Hi,
I'm not sure if this is a bug or feature, but I noticed that custom
footnotes defined through \definenote do not appear when using
\placelocalfootnotes as per the following example:
%
\setuppapersize [A5]
\definenote [noteone] [footnote]
\setup
12 matches
Mail list logo