> LaTeX
yes it is
> but it shouldn't be a barrier to learning ConTeXt which IME it is.
The barrier is in your head. Don’t assume ConTeXt is like LaTeX, but be amazed
if it does. ;)
> To take but one example: when wearing my linguist hat I deal with obscure
> scripts and languages,
gt; a écrit :
Hi,
I have been using xpart and ypart to extract these values from
pairs of points in a path but I wasn't getting the correct result.
I was expecting:
pair (2cm, 11cm) to give xpart 2 and ypart 11
However I was getting:
pair (2cm, 11cm) -> xpart 56.6929 and ypart 311.
e xpart 2 and ypart 11
However I was getting:
pair (2cm, 11cm) -> xpart 56.6929 and ypart 311.8096
After much head scratching and reading the MetaPost and MetaFun
manuals, I realised that the units of xpart or ypart are in
Postcript points or Big Points (bp), and 1 bp is 1/72 of an inch,
and
the correct result. I was expecting:
>>>
>>> pair (2cm, 11cm) to give xpart 2 and ypart 11
>>>
>>> However I was getting:
>>>
>>> pair (2cm, 11cm) -> xpart 56.6929 and ypart 311.8096
>>>
>>> After much head scratching
of points in a path but I wasn't getting the correct result. I was
expecting:
pair (2cm, 11cm) to give xpart 2 and ypart 11
However I was getting:
pair (2cm, 11cm) -> xpart 56.6929 and ypart 311.8096
After much head scratching and reading the MetaPost and MetaFun
manuals, I realised that the un
result. I was
expecting:
pair (2cm, 11cm) to give xpart 2 and ypart 11
However I was getting:
pair (2cm, 11cm) -> xpart 56.6929 and ypart 311.8096
After much head scratching and reading the MetaPost and MetaFun
manuals, I realised that the units of xpart or ypart are in Postcript
points or Bi
art 56.6929 and ypart 311.8096
After much head scratching and reading the MetaPost and MetaFun manuals,
I realised that the units of xpart or ypart are in Postcript points or
Big Points (bp), and 1 bp is 1/72 of an inch, and thus to get the values
of xpart or ypart in cm I would have to
ypart 11
>
> However I was getting:
>
> pair (2cm, 11cm) -> xpart 56.6929 and ypart 311.8096
>
> After much head scratching and reading the MetaPost and MetaFun manuals, I
> realised that the units of xpart or ypart are in Postcript points or Big
> Points (bp), and 1 bp is 1
Hi,
I have been using xpart and ypart to extract these values from pairs of
points in a path but I wasn't getting the correct result. I was expecting:
pair (2cm, 11cm) to give xpart 2 and ypart 11
However I was getting:
pair (2cm, 11cm) -> xpart 56.6929 and ypart 311.8096
After much h
On Thu, 19 Nov 2020 16:53:52 +0100
Pablo Rodriguez wrote:
> On 11/19/20 11:55 AM, Marco Patzer wrote:
> > Hi!
> > [...]
> > What's the reason the section head stays on the previous page when
> > the “after” is used and how to fix this?
>
> Hi Marco,
>
>
On 11/19/20 11:55 AM, Marco Patzer wrote:
> Hi!
> [...]
> What's the reason the section head stays on the previous page when
> the “after” is used and how to fix this?
Hi Marco,
by default (according to strc-def.mkiv), \section has "after=\blank".
In some cases, I ha
Hi!
In the following example the 2nd section head stays on page one when
the “after” key is used. If the blackrule is commented out the
section head moves to page two as intended.
What's the reason the section head stays on the previous page when
the “after” is used and how to fix
Hi Garulfo!
Now! — You managed do do a nice job! :-)
Willi
> On 15 Nov 2020, at 19:53, Garulfo wrote:
>
> Hi,
>
> finally I made some progress and uploaded files to the wiki in "Reports and
> articles" Samples section (https://wiki.contextgarden.net/Sample_documents)
>
> Initial PDF
On 11/15/20 7:53 PM, Garulfo wrote:
> [...]
> Initial PDF document:
> https://www.hautconseilclimat.fr/wp-content/uploads/2020/10/hcc_rapport_maitriser-lempreinte-carbone-de-la-france-1.pdf
> [...]
> ConTeXt output :
>
Hi,
finally I made some progress and uploaded files to the wiki in "Reports
and articles" Samples section
(https://wiki.contextgarden.net/Sample_documents)
Initial PDF document:
>
; prefix=no,
> align={flushleft,nothyphenated},
> way=bytext]
> \setupcaption[table][location=top]
>
> \setupthinrules[width=15em] % width of horizontal rules
>
> \setupxtable[frame=off,option=stretch,bodyfont=small,foregroundstyle=
,foregroundstyle=sans]
\setupxtable[head][topframe=on,bottomframe=on,foregroundstyle=sansbold]
\setupxtable[body][bottomframe=on]
\setupxtable[foot][bottomframe=on]
\define[1]\fuentent{\start\switchtobodyfont[sans,small]#1\par\stop}
\define[1]\fuente{\start\switchtobodyfont[sans,small]\emph{Fuente:}~#1
Hi,
I would like to learn "how to ConTeXt" complex titles styles like the
one seen in the following document:
- https://wiki.contextgarden.net/images/f/f1/Screenshot_20201103_220818.png
- source document:
Hi,
I would like to learn "how to ConTeXt" complex titles styles like
the one seen in the following document:
https://wiki.contextgarden.net/images/f/f1/Screenshot_20201103_220818.png
original document:
an example in Context an excursion
<http://www.pragma-ade.com/general/manuals/ma-cb-en.pdf> using xtable
sugared with the new syntax:
```
\xtable.setup[
split='yes',
header='repeat',
offset='4pt',
]
\xtable[
head={
align='middle', foregroundstyle='bold',
Taco, I found a solution. Instead of trying to adjust what I have in the
preamble, I simply went to where I begin the Foreword and included
[marking={Foreword}]:
\startforeword[marking={Foreword}][author={Author's name}].
And of course, to prevent the first page of Foreword from having the
No, Taco, that is not resolving the problem. I added your suggestion
(header=start) to what I already had for \setuphead for 'foreword':
\setuphead
[foreword]
[frontpartlabel=foreword,
conversion=empty,
header=start]
but it makes no difference.
I am already aware that chapter, on
My apologies for the mixed message.
A.
On Wed, Sep 30, 2020 at 8:56 AM Alan Bowen wrote:
> Thank you, Taco, for the fix *and* the helpful explanation.
>
> The file now works (and I can now put this project to bed!)
>
> Alan
>
> On Wed, Sep 30, 2020 at 7:44 AM Taco Hoekwater wrote:
>
>>
>>
>>
Thank you, Taco, for the fix *and* the helpful explanation.
The file now works (and I can now put this project to bed!)
Alan
On Wed, Sep 30, 2020 at 7:44 AM Taco Hoekwater wrote:
>
>
> > On 30 Sep 2020, at 11:46, jbf wrote:
> >
> > For some reason that I cannot work out, the recto page
> On 30 Sep 2020, at 11:46, jbf wrote:
>
> For some reason that I cannot work out, the recto page header is not
> appearing in frontmatter sections like Foreword. It is important to note that
> for this item I am using:
>
> \definehead
> [foreword] [chapter]…
‘chapter' suppresses the
the problem, neither worked:
1. In \setuphead I thought perhaps I might need to add placehead=yes,
but that did nothing.
2. I also tried [{\hfill\getmarking[chapter, foreword]\hfill}][] in
case I needed to add in 'foreword', having defined it as a head. That
did nothing either. Any clues as to what
in the \startxtablefoot
...\stopxtablefoot, i.e., I need one command for the last element, and
one for the rest (Or is there a better way?). What would be the
everything but the last?
What am I missing?
Thanks again,
Denis
==
\setupxtable[frame=off,split=yes]
\setupxtable[head][topframe
needing to be
arranged a bit differently, which is why I haven't got my head around
what I need to do. They are:
(1) Foreword author name
(2) Chapter no. Title
author name
(3) Chapter no. Title 1
Title 2 or subtitle
I know it is possible to get a rule to act as a filler either side of,
say, a chapter head text by using \definefiller with alternative=rule
and, as explained in an earlier post
<https://tex.stackexchange.com/questions/497352/context-heading-text-surrounded-by-lines/497389#497389>,
or right
alignment with this simple approach.
I have read the 'Details' approach you have indicated, though am still
to get my head around it. Understanding overlays is one thing.
Understanding layers yet another.
Julian
On 17/8/20 4:54 pm, Aditya Mahajan wrote:
On Mon, 17 Aug 2020, jbf
e{fontspec}
\setmainfont{Mongolian White}[Renderer=Harfbuzz,Script=Mongolian]
\begin{luacode*}
-- How do I do this in ConTeXt?
userdata = userdata or {}
userdata.mongolian = function(head)
--Ugly hackish line rotation
rot = node.new(node.id("whatsit"),node.subtype("pdf_literal"))
ro
Od: Peter Münster
Komu: ConTeXt users
Datum: 15. 7. 2020 14:57:26
Předmět: [NTG-context] white-space after section-head in columns
Hi,
What is the right way please to get normal white-space after a section in
columns, i.e. not too much?
Example, that shows the problem:
--8<--
Peter Münster schrieb am 15.07.2020 um 14:55:
Hi,
What is the right way please to get normal white-space after a section in
columns, i.e. not too much?
Example, that shows the problem:
--8<---cut here---start->8---
\starttext
\startsection[title=Space is ok
Hi,
What is the right way please to get normal white-space after a section in
columns, i.e. not too much?
Example, that shows the problem:
--8<---cut here---start->8---
\starttext
\startsection[title=Space is ok here]
\input tufte
\stopsection
ML/CSS.
But I’m quite sure if you figured it out on your own, you know how to do it
next time. Or if you forget, you can look for your own solution (I recur to my
old environments all the time).
May I ask what kind of job requires you to learn ConTeXt? That’s rare.
> Off the top of my head,
/layout that would have taken 5-10 minutes in Word or HTML/CSS.
> >
> > People have been very helpful and patient with me!! Thanks to all of you
> > for
> that!
>
> Let me challenge you: how would your solution translate to a wiki page
> for a beginner with the sam epro
as well as maintaining the style
of the standard chapter head.
You can add a check for odd/even chapter numbers and use only a single
command.
\startsetups[chapter:after]
\ifodd\namedheadnumber{chapter}
\blank[4cm]
\else
\blank[1cm]
\fi
\stopsetups
\setuphead
[chapter
of
the standard chapter head.
Julian
On 3/6/20 12:58 am, Wolfgang Schuster wrote:
jbf schrieb am 02.06.2020 um 11:41:
Hi list,
I am attempting to achieve, for every second chapter, to have only
one line of space between the chapter title and the text that follows.
I looked at the following
___
You may want the new /mychapter/ head to appear in the TOC and pdf
bookmarks as well, so take a look at /\setupcombinedlist/ and
/\placebookmarks/.
--
Rik
___
If your
\chapter{Right page}
\chapter{Right page}
\mychapter{New page}
\chapter{Right page}
\stoptext
Wolfgang
___
You may want the new /mychapter/ head to appear in the TOC and pdf
bookmarks as well, so take a look
\setupheadertexts[\directsetup{header}]
\startbuffer[tablerow]
\startxrow
\startxcell first \stopxcell
\startxcell second \stopxcell
\stopxrow
\stopbuffer
\startbuffer[table]
\startxtable
\startxtablehead[head]
\getbuffer[tablerow]
\stopxt
split}]
\setupxtable[ option=stretch,split=repeat,header=repeat,align=middle]
\setupxtable[head][background=color,backgroundcolor=gray,foregroundcolor=red]
\starttext
Some lines of text. This text must come just before the table, but only
on the first page of the table
\def\onerow{
\startxrow
\s
align=middle,
frame=off]
{\tfx \crlf Annex T.2.3. \crlf \tfx Date of issue: \crlf \currentdate
\crlf page \pagenumber of \lastpage}
}
}]
%\setupfloat[table][default={force,split}]
\setupxtable[offset=0cm,
frame=off,
bottomframe=on,
framecolor=gray,
option=stretch,
split=yes,
header=repeat,
ll[left] \cC \stopxcell
>> \startxcell[left] \cD \stopxcell
>> \startxcell \cE \stopxcell
>> \startxcell[left] \cF \stopxcell
>> \startxcell \cG \stopxcell
>> \startxcell \cH \stopxcell
>> \doifdefined{cI}{\startxcell \cI \stopxcell}
>> \doifdefined{cJ}
gt; data. I cannot guess why a second loop might be required.
> Hi Geert,
>
> this approach is simpler:
>
> \starttext
> \startxtable
> \startxtablehead[head]
> \doloopif{\lineno}{<}{2}{\getbuffer[loop]}
> \stopxtablehead
> \start
simpler:
\starttext
\startxtable
\startxtablehead[head]
\doloopif{\lineno}{<}{2}{\getbuffer[loop]}
\stopxtablehead
\startxtablebody
\doloopif{\lineno}{>}{1}{\getbuffer[loop]}
\stopxtablebody
\stopxtable
\stoptext
Only loop header with CSV lines numbered below 2
,
option=stretch,
align=middle]
\setupxtable[head][background=color,
backgroundcolor=gray,
topframe=on,
bottomframe=on,
framecolor=black,
foregroundcolor=blue]
\setupxtable[left][align=right]
\startxtable[header=repeat]
Add "split=repeat" to \startxtable.
\startxtablehead[h
cH \stopxcell
\doifdefined{cI}{\startxcell \cI \stopxcell}
\doifdefined{cJ}{\startxcell \cJ \stopxcell}
\doifdefined{cK}{\startxcell [left] \cK \stopxcell}
\stopxrow
\stopbuffer
\setupxtable[offset=0cm,
frame=off,
bottomframe=on,
framecolor=gray,
option=stretch,
align=middle]
\setu
Thank you, Wolfgang, this works; apparently, the chapter has to be set with
\startchapter … \stopchapter and footnotes after \chapter won’t be flushed
unless \startchapter \footnote{something} \stopchapter.
This makes sense to me.
I guess, internally \head (e.g. \section, \chapter etc
bg:hs2020-mond]
> [x=0mm, y=0mm]
> {\externalfigure[background.jpg][height=\paperwidth]}
>
> Ususally I call the background after a head command like \starttitle or when I
> create slides like this
>
> \startslide[title={foobar}]
> \setupbackgrounds[page][background=
call the background after a head command like \starttitle or when I
create slides like this
\startslide[title={foobar}]
\setupbackgrounds[page][background=bg:hs2020-mond]
...
\stopslide
The problem is that I cannot call the background on another slide.
It seems as if the layer is gone after
things indeed ... kind of iconic esperanto so maybe som grammar
> will come too
Good idea.
There are a lot of emojis that I can’t imagine using or that I don’t
understand, esp. facial expressions, even if I know western comic and manga
representations of feelings. And I often miss emojis for
pter[reference={cha:blah},
list={blah}, % toc
marking={blah}, % page heading
bookmark={blah}, % pdf bookmark
title={blah}] % chapter head
[Lettrine=yes,setFirst=5W]
...
\stopchapter
\startcha
alternatives, this is the closest I have come up with.
But mirroring doesn't work. If I use \setuparranging[2*4] mirroring
works, but I only need tent style (1*2 head-to-head) so that I can trim
to size.
Any template that could be suggested would be most helpful as the
wedding is on Mon (yikes!).
Simple
with.
But mirroring doesn't work. If I use \setuparranging[2*4] mirroring
works, but I only need tent style (1*2 head-to-head) so that I can trim
to size.
Any template that could be suggested would be most helpful as the
wedding is on Mon (yikes!).
Simple solution:
\starttexdefinition TableCard #1
with.
But mirroring doesn't work. If I use \setuparranging[2*4] mirroring
works, but I only need tent style (1*2 head-to-head) so that I can trim
to size.
Any template that could be suggested would be most helpful as the
wedding is on Mon (yikes!).
There is a arrangement style but it's meant for doublesided
losest I have come up with.
> But mirroring doesn't work. If I use \setuparranging[2*4] mirroring
> works, but I only need tent style (1*2 head-to-head) so that I can trim
> to size.
>
> Any template that could be suggested would be most helpful as the
> wedding is on Mon (yikes!).
\setuparranging[2*4] mirroring
works, but I only need tent style (1*2 head-to-head) so that I can trim
to size.
Any template that could be suggested would be most helpful as the
wedding is on Mon (yikes!).
advTHANKSance.
>>>MWE<<<
\definepapersize[tblcard][width=4in,height=3in]
\setu
version 2.03.3, ConTeXt ver: 2019.12.12, format: 2019.12.14
%
\starttext
\startitemize
\head inline formula:
$1001 \times 23 \equiv 1 \quad \pmod {3837}$
\head display mode
\startformula
1001 \times 23 \equiv 1 \quad \pmod {3837}
\stopformula
\head
,
actions = function()
local head = tex.lists.page_head
-- list dimensions returns 3 value but we take the first
context(head and
getdimensions(getlist(find_tail(tonut(tex.lists.page_head or 0)
end
}
I think that's because page_head is reset in the page break.
I
(-1, "foo","\string\\,")}
\show\foo
\foo
\bye
---
(gdb) run
Starting program: /usr/local/bin/luatex test.tex
This is LuaTeX, Version 1.11.2 (TeX Live 2020/dev)
restricted system commands enabled.
(./test.tex
Program received signal SIGSEGV, Segmentation fault.
get_sa_item (hea
On 11/26/2019 8:00 PM, Juraj Fiala wrote:
Hi,
I’m trying to learn ConTeXt, but I’m discovering a few hurdles along the
way. Essentially what I currently want to do is to emulate paragraph
styles found in other software, e.g. Scribus. After several hours of
research all I have in my head
Hi,
I’m trying to learn ConTeXt, but I’m discovering a few hurdles along the way.
Essentially what I currently want to do is to emulate paragraph styles found in
other software, e.g. Scribus. After several hours of research all I have in my
head is a complete mess of conflicting approaches, so
Henning Hraban Ramm schrieb am 13.09.2019 um 20:41:
Am 2019-09-13 um 19:44 schrieb Wolfgang Schuster
:
Henning Hraban Ramm schrieb am 13.09.2019 um 18:51:
Hi, in an example document I’m trying to get pictures of random size and
placement.
Unfortunately the expansion is over my head:
Put
> Am 2019-09-13 um 19:44 schrieb Wolfgang Schuster
> :
>
> Henning Hraban Ramm schrieb am 13.09.2019 um 18:51:
>> Hi, in an example document I’m trying to get pictures of random size and
>> placement.
>> Unfortunately the expansion is over my head:
> Put
Henning Hraban Ramm schrieb am 13.09.2019 um 18:51:
Hi, in an example document I’m trying to get pictures of random size and
placement.
Unfortunately the expansion is over my head:
%
\useMPlibrary[dum]
\usemodule[visual]
\startluacode
local locations = {
'top',
'bottom
Hi, in an example document I’m trying to get pictures of random size and
placement.
Unfortunately the expansion is over my head:
%
\useMPlibrary[dum]
\usemodule[visual]
\startluacode
local locations = {
'top',
'bottom',
'left',
'right',
}
function RandomLocation
0m]{} I agree.
I’d try it myself, but I know it’s over my head. I guess I loverlooked
something important.
But probably it’s quite easy to do in Lua?
Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
The following document does not split across tables, which is a little
surprising:
\starttext
\startplacetable[title={Average Annual Temperatures}]
\startxtable
\startxtablehead[head]
\startxrow
\startxcell[align=middle,width={0.10\textwidth}] Year \stopxcell
\startxcell[align=middle,width={0.14
t;
> I would replace docname with docan in both places (xmlsetsetup and its
> proper \starxmlsetups).
Great, it works now.
> BTW, what should be child notes to #1? An special lpath or what?
I want to add
\xmltext{#1}{../../pverantwortlich}
to psindoc
And
\xmltext{#1}{../../pverantwortlich}
to psoutdoc
On Sat, 20 Apr 2019 23:49:26 +0200
Hans Hagen wrote:
> > let latex=textext ;
>
> That crashed here.
In fact, when I used makecirc.mp, I just commented out the following few lines
at the head of the file:
%input latex;
%
% Commands definitions to do the labeled easier %
%
The result should look like:
AAA ababababababab
ababababababab
BBB ababababab
ababababab
CCC ababab
ababab
<--> indent (margin?) of the first nested description in relation to
its parent
should equal width of parent's head (+ distance?), i.e. widt
ested descriptions (using "tab") to form a "cascade". The
result should look like:
AAA ababababababab
ababababababab
BBB ababababab
ababababab
CCC ababab
ababab
<--> indent (margin?) of the first nested description in relation
ed description in relation to its parent
should equal width of parent's head (+ distance?), i.e. width of "AAA ",
<--> indent (margin?) of the second nested description in relation to its
parent
should equal width of parent's head (+ distance?), i.e. width of "
setting in
\startitemize to the head block.
Do I need braces for \starthead but not for \startitem?
\showframe
\starttext
\startitemize[n,3*broad,repeat][headstyle={\bf}]
\starthead A header \stophead
\startitemize[n,3*broad]
\startitem
\input ward
\starttabulate[|cp(.25
Dear list,
If I choose the headalternative to be of horizontal type, e.g. “text”, the head
placement will ignore the indentnext option. This can be traced back to the
\strc_rendering_stop_placement macro where there is a check
\ifconditional\headisdisplay
\useindentnextparameter
y changing a lot of stuff and comparing it with Wiki and
output, but it is quite lame approach.)
\usemodule [setups]
\starttext
% \setuphead [..,..=..,..]
\showrootvalues [head]
% \setuphead [chapter] [..,..=..,..]
\showinstancevalues [head] [chapter]
\stoptext
; See https://tex.stackexchange.com/a/32308/323 which is based on an example in
> the metafun manual.
Thank you all!
I guess I can reduce the flow cases to <10 and use \parshape directly; thinking
in lines looks a bit easier than the MetaPost way.
Calculating the MP path from the TIFF alpha
ots should be (start->head):
initialrl = pardirstate(head)
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69
}] %
NO EFFECT
\setupitemgroup[itemize][each][ ][afterhead=\underbar{AHEAD}] %
NO EFFECT
The beforehead and afterhead keys are only used when you use \head or
\starthead.
\setupitemgroup[itemize][each][ ][itemalign=right]%
NO EFFECT
This works only when
found particularly impressive:
1. I've tried several times to make use of lpegs. Hans' code is full of
it, and I know that it's fast and extremely versatile, but I found it
difficult to wrap my head around its functioning and write useful code
with lpegs. The ConTeXt wrapper makes
several times to make use of lpegs. Hans' code is full of
it, and I know that it's fast and extremely versatile, but I found it
difficult to wrap my head around its functioning and write useful code
with lpegs. The ConTeXt wrapper makes this extremely easy; this is lpeg
for the rest of us. It's
Hi Wolfgang,
thank you for your reply.
The split=repeat -- my fault, sorry. But -- surprisingly -- this mistake
helped me along understanding the problem. I discovered -- if head
and next head are defined -- that the "line number 1" servers for the
opening head at the beginning
]
\bTABLE
\bTABLEhead\bTR\bTH head \eTH\eTR\eTABLEhead
\bTABLEbody
\dorecurse{100}{\bTR\bTD \currentTABLErow xxx \eTD\eTR}
\eTABLEbody
\eTABLE
\stoptext
In this case, the head-line is alse counted which makes no sense
and I do not know how to supress it.
Even though
Hi all,
at https://wiki.contextgarden.net/Command/currentTABLEcolumn I learnt
about \currentTABLErow etc. for counting lines in natural tables.
I have got the following two minimal non-working examples (on TeXlive 2018):
\starttext\setupTABLE[split=yes]
\bTABLE
\bTABLEhead\bTR\bTH head
to symbols
(natural table)
---
All this is enclosed into a makeup to reduce margins.
I am now automating this and wonder what should be the best way to do
it.
* creating a head style at subsection level was my first thought,
but on the semantical point of view, it is not the best
{section:instance:ownnumber:chapter}
\showrootvalues[head]
\showinstancevalues[head][chapter]
\stoptext
___
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
t different values, because we are
using 10pt.
unitsPerEm different from 1000 exist: for example, if we look at the Fell
types
(see http://iginomarini.com/fell/the-revival-fonts)
the IMFeENrm29C.otf has
$ grep unitsPerEm IMFeENrm29C.ttx
$ calc -p "1/2048"
0.00048828125
and the
/")
> if first == nil then
> -- We have http to search for.
> local content, status, authinfo = socket.http.request{
> method = "HEAD",
> url = theuri,
> }
> return type(status) == "number" and status or "failure"
> else
> -- We must ascertain th
local first,last = string.find(theuri, "file://")
if first == nil then
-- We have http to search for.
local content, status, authinfo = socket.http.request{
method = "HEAD",
r, but that's not in line
with your desire to easily get the latest version. We had the latest
version of ConTeXt in TLContrib repository for a while which could
probably be reinstated if desired, but that means using MacTeX (even
if from HB).
If you want to provide a package for HB, you eith
Hello again,
I’m trying xtables for the first time.
Is it possible to setup defined rows/columns like with natural tables, e.g. for
a header, like in my example?
The commented lines below are wrong. Is there another way?
\definextable[headtable] % table with repeated head
\setupxtable
of font to use in the body of the theorem
> {0pt}% measure of space to indent
> {\bfseries}% name of head font
> * {. ---}% punctuation between head and body*
> { }% space after theorem head; " " = normal interword space
> {\thmname{#1}\thmnumber{ #2}\thmnote{ (#
of space to leave above the theorem. E.g.: 3pt
{\topsep}% measure of space to leave below the theorem. E.g.: 3pt
{\itshape}% name of font to use in the body of the theorem
{0pt}% measure of space to indent
{\bfseries}% name of head font
* {. ---}% punctuation between head and body*
{ }% space
{\topsep}% measure of space to leave below the theorem. E.g.: 3pt
{\itshape}% name of font to use in the body of the theorem
{0pt}% measure of space to indent
{\bfseries}% name of head font
* {. ---}% punctuation between head and body*
{ }% space after theorem head; " " = normal
gt; Debian jessie (armv7l) on xperia z1 with Android 7 (Gnuroot Debian)
>and
>> Debian stretch (armv8l) on galaxy a6 with Android 8 (UserLAnd)
>>
>>
>>
>$> context test.tex &>out-context
>
>should give something like
>
>$> head -1 out-contex
l) on galaxy a6 with Android 8 (UserLAnd)
>
>
>
$> context test.tex &>out-context
should give something like
$> head -1 out-context
mtx-context | run 1: luatex
--fmt="/opt/context/experimental/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/lu
etupregister[index][method={zm,zc}]
>
> I hope it helps,
Thank you very much!
I overlooked that there is indeed some documentation:
http://wiki.contextgarden.net/Command/keyword:method
(Source:
http://repo.or.cz/w/context.git/blob/HEAD:/tex/context/base/sort-ini.lua)
Greetlings, Hraban
---
ht
?
Sincerely,
John Grasty
\setupfloat[table][before={\blank[2*big]}]
\setupxtable[frame=off]
\setupxtable[head][topframe=on,bottomframe=on]
\setupxtable[body][]
\setupxtable[foot][bottomframe=on]
\starttext
\input douglas
\startplacetable[title={Cost Overview}]
\startxtable
\startxtablehead[head
Hello,
deducing:
\starttext
\startitemize[i][stopper=),headstyle=bold]
\starthead[h]{Head}
Some text.
\stophead
\item[i] Item.
\stopitemize
See \in[h] and \in[i].
\stoptext
Thank you.
Lukas
On Wed, 23 May 2018 13:18:27 +0200, Wolfgang Schuster
201 - 300 of 1652 matches
Mail list logo