{\documentvariable{author}}
\centerline{\documentvariable{date}}
\blank[line]
\stopsetups
\startdocument[
title={Chapter 4 Quiz},
author={Author},
date={September 16, 2024}
]
\startitemgroup[itemize][n]
\startitem
I'm not a fan of the default spacing
\sto
] [rm] [Aptos Serif]
% \definefontfamily [aptos] [ss] [Aptos]
%
% \setupbodyfont[aptos,ss]
\startdocument
\bold{ConTeXt 1x:} \samplefile{dijkstra}
\blank
\setupinterlinespace[2]% relative value
\bold{ConTeXt 2x:} \samplefile{dijkstra}
\blank
\setupinterlinespace[line=\dimexpr\bodyfontsize+8pt
Hello,
It's probably not the best solution, but it seems to work on my side if I
replace `big` by `2em`; see code below.
```
\startdocument
\setupinterlinespace[2em]
\input dijkstra
\starttabulate[|k0r|k0xp|][EQ={---}]
\NC Word \EQ definition; \NC\AR
\NC Important word \EQ \input dij
Greetings,
Is there a way to set interline spacing in tabulate environments? The
table's paragraphs do not seem to obey \setupinterlinespace like the
rest of the text does. Code to toy with:
\startdocument
\setupinterlinespace[big]
\input lorem
\starttabulate[|k0r|k0xp|][EQ={---}]
\NC
\setupindenting
[yes, 2.5em, first]
\setuphead
[section]
[
align=flushleft,
beforehead={\startnarrow[left=\parindent][left]},
afterhead=\stopnarrow,
aligntitle=yes,
indentnext=yes,
]
\showframe
\startdocument
\startsection[title=Very long section title that makes you
troublesome if the title is long enough.
Example code to tinker with:
\setupindenting[yes, 2.5em, first]
\setuphead[section][
style=\bf,
align=flushleft,
distance=1em,
indentnext=yes,
]
\showframe
\startdocument
\startsection[title=Foo]
\input dijkstra
\stopsection
\startsection
after the \startdocument, I guess.
But just the same, grateful for your patience and clarity.
Julian
On 10/9/24 13:25, Wolfgang Schuster wrote:
jbf schrieb am 10.09.2024 um 02:36:
Here is a really odd one that I have a simple workaround for, but for
the life of me I cannot work out why this
jbf schrieb am 10.09.2024 um 02:36:
Here is a really odd one that I have a simple workaround for, but for
the life of me I cannot work out why this is happening. Is 'p' (or
'P') some sort of restricted letter in certain circumstances?
Here is the issue:
\startdocume
Here is a really odd one that I have a simple workaround for, but for
the life of me I cannot work out why this is happening. Is 'p' (or 'P')
some sort of restricted letter in certain circumstances?
Here is the issue:
\startdocument
[metadata:author={Author name},
me
packed. It looks like you had the wrong
> > number of \NC. I hope the examples below help, the last one is merely
> > for Hans for looking into why the relation-digit space is added there.
> >
> > /Mikael
> >
> > \definemathsimplealign[inneralign]
> >
>
space is added there.
>
> /Mikael
>
> \definemathsimplealign[inneralign]
>
> \showglyphs
> \showboxes
>
> \showmakeup[mathglue]
>
> \startdocument
>
> OK with \typ {n=2} instead of \typ {n=3}:
>
> \startformula
> \startalign
> \NC a =
mentvariable{date}}
\blank[line]
\stopsetups
\startdocument[title=Title,author=Author,date=Date]
\startpart[title=one]
\stoppart
\startalignment[middle]
{\sc 1. one} % there is added space as shwon when trying to emulate what I want
through regular text
\stopalignment
\startchapte
]
\stopsetups
\startdocument[title=Title,author=Author,date=Date]
\startpart[title=one]
\stoppart
\startalignment[middle]
{\sc 1. one} % there is added space as shwon when trying to emulate what I want
through regular text
\stopalignment
\startchapter[title=two]
\stopchapter
\startpart[title
looking into why the relation-digit space is added there.
/Mikael
\definemathsimplealign[inneralign]
\showglyphs
\showboxes
\showmakeup[mathglue]
\startdocument
OK with \typ {n=2} instead of \typ {n=3}:
\startformula
\startalign
\NC a = b \NC \NR
\NC \NC \startinneralign[n=2,align
Hi,
I currently have the case of a strange extra space in math mode when using
cases in inner align.
Here is a MWE to demonstrate the problem:
```
\definemathsimplealign[inneralign]
\startdocument
\startformula
\startalign
\NC a = b \NR
\NC \NC
section numbers, use this
\startsetups document:start
\centerline{\documentvariable{title}}
\centerline{\documentvariable{author}}
\centerline{\documentvariable{date}}
\blank[line]
\stopsetups
\startdocument[title=Title,author=Author,date=Date]
\stopdocument
```
I hope
en]
\setupindenting[yes,0.5in]
\startsetups document:start
\centerline{\documentvariable{title}}
\centerline{\documentvariable{author}}
\centerline{\documentvariable{date}}
\blank[line]
\stopsetups
\startdocument[title=Title
Hello Hraban,
I puzzled a while. To me the —arguments= option does not work. I saw then on
the Wiki, that one can also add documentarguments as —schema=2UP
—numberofpages=16.
I further changed to \startdocument … \stopdocument.
Please look at the attached file
Willi
impositiontest-2.tex
ion(xheight, dd) ;
aa = Section(ascender, oo) ;
% Devolver posicion final con espacio para siguiente renglon
aa + nib*2
enddef ;
% Llenar la página con renglones
for i=1 upto availableLines :
start := Line(dsc, asc, med, start) ;
endfor ;
\stopreusableMPgraphic
\startdocume
=\gobbleoneargument]
\setupnotation[question][counter=]
\startdocument
\startcolumns[n=2, balanced]
\dorecurse{19}{
\question{1. This is a question for discussion. I wished it was on the current page instead of the end}
\input{knuth}
}
\stopcolumns
\stopdocument
mwe.pdf
Description:
]
\setcounter
[userpage]
[0]
\setuppagenumbering
[location=]
\startdocument
\setupfooter[state=stop]
\startfrontmatter
frontpage
\stopfrontmatter
\setupfooter[state=start]
\startbodymatter
\dorecurse{10}{\samplefile{lorem}}
\stopbodymatter
\stopdocument
\setupfootertexts
[title
]
\setuppagenumbering
[location=]
\startdocument
\setupfooter[state=stop]
\startfrontmatter
frontpage
\stopfrontmatter
\setupfooter[state=start]
\startbodymatter
\dorecurse{10}{\samplefile{lorem}}
\stopbodymatter
\stopdocument
glish
...
\stopbuffer
\startbuffer spanish
...
\stopbuffer
\startsetups [document:stop]
...
\stopsetups
\startdocument
[spanisabstract={\getbuffer[spanish]},
]
...
\stopdocument
untested, just key
t/stoptext pair or
equivalent commands (e.g. startdocument/stopdocument or
startproduct/stopproduct).
Replace cont-yes.mkiv with the newer equivalent. And you're right though.
\starttext is not even needed most of the times.
And now it gets even worse, see
https://meeting.contextgarden
ombre}\par
% \stopsetups
Just loop over the set and call up the variables in the setup:
% \startdocument
% \dorecurse{\datasetsize{autores}}{
% \setups[userdata:idautor]
% }
% \stopdocument
However, i can provide a processor:
% \startsetups[userdata:idautor]
% \dontle
lfigure[orcid.pdf][logo]}
{\userdataparameter{orcid}}
\quad
\imghref
{\externalfigure[gscholar.pdf][logo]}
{\userdataparameter{gscholar}}
\quad
\userdataparameter{author}\par
\stopsetups
\defineuserdata[idautor][alternative=idautor]
\startdocument
% I have to man
Alan Braslau via ntg-context schrieb am 06.07.2023 um 09:34:
Hello,
Trying to use:
\startdocument
\startpagefigure[Coverpages.pdf][page=1]\stoppagefigure
\startpagefigure[Coverpages.pdf][page=2]\stoppagefigure
% before
\startmakeup [titlepage]
front
\stopmakeup
\startmakeup [titlepage
Am 06.07.23 um 11:58 schrieb Alan Braslau:
Maybe it’s also a problem of \startdocument – I always get a first
empty page and don’t understand why.
One gets an empty first page if there is *any* text content anywhere in
the setups or environment files before the \startdocument.
My problem
cover][page][page=no,doublesided=no]
\definelayout[cover][page]
\startmakeup [cover]
\filterpages[Coverpages][1]
\stoppagemakeup
\startmakeup [cover]
\filterpages[Coverpages][2]
\stoppagemakeup
Thank you for your suggestion!
Maybe it’s also a problem of \startdocum
Hi,
if I use \startdocument, the setups "document:start" and "document:stop"
get inserted at the beginning and end. But if I define my own document,
it doesn’t work. What’s wrong?
"""
\definedocument[presentation]
\startsetups[presentation:start]
{\bfd\d
?
Maybe it’s also a problem of \startdocument – I always get a first empty
page and don’t understand why.
Hraban
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-co
Hello,
Trying to use:
\startdocument
\startpagefigure[Coverpages.pdf][page=1]\stoppagefigure
\startpagefigure[Coverpages.pdf][page=2]\stoppagefigure
% before
\startmakeup [titlepage]
front
\stopmakeup
\startmakeup [titlepage]
back
\stopmakeup
\startfrontmatter
...
\stopfrontmatter
.
My first attempt (did not work)
\startsetups[headertext]
\startdocument
[metadata:title={Regulations}]
\stopsetups
\setupheadertexts
[ ] [{\getmarking[chapter]\hskip1em \pagenumber}]
[{\pagenumber \hskip1em \setup{headertext}}] [ ]
My second attempt (quite crass, but it works!!) was to
On 1/30/2023 1:14 AM, jbf via ntg-context wrote:
Am trying to understand how best to change the title metadata in
headertext halfway through a document that has two parts: Constitutions
and Regulations.
My first attempt (did not work)
\startsetups[headertext]
\startdocument
[metadata:title
Am trying to understand how best to change the title metadata in
headertext halfway through a document that has two parts: Constitutions
and Regulations.
My first attempt (did not work)
\startsetups[headertext]
\startdocument
[metadata:title={Regulations}]
\stopsetups
\setupheadertexts
ar text.
\stopbuffer
\startxmlsetups xml:xhtml
\xmlsetsetup{\xmldocument}{*}{-}
\xmlsetsetup{\xmldocument}{html|p|em}{xml:*}\stopxmlsetups
\startxmlsetups xml:html
\startdocument
\xmlflush{#1}
\stopdocument\stopxmlsetups
% Paragraphs are followed by a paragraph break, bu
etsetup{\xmldocument}{*}{-}
\xmlsetsetup{\xmldocument}{html|p|em}{xml:*}\stopxmlsetups
\startxmlsetups xml:html
\startdocument
\xmlflush{#1}
\stopdocument\stopxmlsetups
% Paragraphs are followed by a paragraph break, but only if not
nested.\startxmlsetups xml:p
\xmlfunction{#1}{p}
]
\startdocument
\starttext
\input lorem
\stoptext
\stopdocument
When I create a pdf from LibreOffice with these fonts I have a good display.
pdffonts shows different font inclusion:
pdffonts libreoffice.pdf
name type encoding
emb sub uni object ID
I found a way to wrap everything before \startdocument, so I think this
looks like a template more or less:
In case anyone is interested, here's the MWE:
\definenote[address]
\setupnote[address][rule=off,location=text]
\setupnotation[footnote][numberconversion=numerals]
\defin
ffer
\startxmlsetups xml:setup
\xmlsetsetup{\xmldocument}{*}{-}
\xmlsetsetup{\xmldocument}{document|p}{xml:*}
\stopxmlsetups
\xmlregistersetup{xml:setup}
\startxmlsetups xml:document
\xmlfilter{#1}{/title/command(xml:title)}
\xmlfilter{#1}{/author/command(xml:author)}
\startdocument
\xmlfl
d [chapter] [page=no]
\startdocument [title={Dummy title}]
\dorecurse{5}
{\startchapter[title={Chapter \convertnumber{word}{#1}}]
\samplefile{lorem}
\stopchapter}
\stopdocument
Wolfgang
___
If your ques
={\xmlatt{#1}{content}}]
> > \setupdocument[metadata:author={\xmlatt{#1}{content}}]
> > \setupinteraction[author={\documentvariable{author}}] \stopxmlsetups %
> > How can this be generalized? %\startxmlsetups xml:journal
> > %\setupdocument[journal={\xmlatt{#1}{content}}] %\
How can this be generalized? %\startxmlsetups xml:journal
%\setupdocument[journal={\xmlatt{#1}{content}}] %\stopxmlsetups
\startxmlsetups xml:body \startdocument Author:
\documentvariable{author} \par Journal: \documentvariable{journal}
\stopdocument \stopxmlsetups \xmlprocessbuffer{main}{xdoc}{}|
ournal={\xmlatt{#1}{content}}]%\stopxmlsetups
\startxmlsetups xml:body
\startdocument
Author: \documentvariable{author}
\par
Journal: \documentvariable{journal}
\stopdocument\stopxmlsetups
\xmlprocessbuffer{main}{xdoc}{}
Thank you!
__
Hi Wolfgang,
Pablo's solution works, but I tried yours without success. Here are the
main lines of my project
begin product
\startproduct[terminale-manual]
\project[terminale-environment]
\startdocument
\startfrontmatter
...
\stopfrontmatter
\startbodymatter
\comp
but it's also possible to load it before
them. There are reasons for both positions and when you choose
one you should keep it for all files.
4. \startdocument
In my product file I added a document-environment, while it
isn't necessary in this case it provides a nice hook to insert
a
efinextable[mytable:header]
\setupxtable[mytable:header]
[
foregroundstyle=\bf,
foregroundcolor=darkred,
]
% ==
\startdocument
\dorecurse{2} {
\input tufte
\vskip7mm
}
\startxtable[mytable]
\startxtablehead
\startxrow[mytable:header]
\startxcell Some H
might go too (never really used, but no
overhead either).
(2) Another change is in the \startdocument mechanism. This (already old
and rusted) wrapper runs on top of variables but we think no one knows
(or uses) that. So, it now is a real wrapper with inheritance and such.
It is dedicated to Tom
ffect the header (title of the book) on the verso pages, which is
drawn from the simple statement:
\startdocument
[metadata:title={Book title}]
Shouldn't \setupheader affect both headers? Or is it possible I have
left something out of my \setupheader declaration?
A minimal example wil
but it doesn't seem
Better to use style={\switchtobodyfont[10pt,ss]} or
\switchtobodyfont[10pt]\ss...
> to affect the header (title of the book) on the verso pages, which is
> drawn from the simple statement:
>
> \startdocument
> [metadata:title={Book title}]
>
> Sh
f the book) on the verso pages, which is
drawn from the simple statement:
\startdocument
[metadata:title={Book title}]
Shouldn't \setupheader affect both headers? Or is it possible I have
left something out of my \setupheader declaration?
Julian
On 4/9/20 5:30 am, Otared Kavian wrote:
e{subtitle}},
metadata:author={\documentvariable{author}},
metadata:keywords={\documentvariable{keywords}}]
\startdocument [title={My title}]
\input knuth
\stopdocument
end example
Wolfgang
Thank you, Wolfgang.
The above example does work. It fails to set the metadata if one moves the \setupdo
; metadata:author={\documentvariable{author}},
>>> metadata:keywords={\documentvariable{keywords}}]
>>>
>>> \startdocument [title={My title}]
>>> \input knuth
>>> \stopdocument
>>> end example
>>>
>>> Wolfgang
>>
&g
ument
[metadata:title={\documentvariable{title}},
metadata:subtitle={\documentvariable{subtitle}},
metadata:author={\documentvariable{author}},
metadata:keywords={\documentvariable{keywords}}]
\startdocument [title={My title}]
\input knuth
\stopdocument
end example
Wolfgang
Thank you, Wol
title}},
metadata:subtitle={\documentvariable{subtitle}},
metadata:author={\documentvariable{author}},
metadata:keywords={\documentvariable{keywords}}]
\startdocument [title={My title}]
\input knuth
\stopdocument
end example
Wolfgang
Thank you, Wolfgang.
The above example does work. It fai
}},
metadata:keywords={\documentvariable{keywords}}]
\stopenvironment
and correct use would be
\environment MYENVIRONMENT
\startdocument [title={My title}]
\stopdocument
because, of course, the environment contains more than \setupdocument
such as font loading that should be done before the
}}]
\stopenvironment
and correct use would be
\environment MYENVIRONMENT
\startdocument [title={My title}]
\stopdocument
because, of course, the environment contains more than \setupdocument
such as font loading that should be done before the \startdocument.
The metadata does not get set
gt; %-- Working example, but it is not what I need --
> > \setupindenting[yes,small]
> > \defineconversion[mymix][1,\m{*},2]
> >
>
> \setupnotation[footnote][align={hz,hanging},indenting={yes,small,next},numberconversion=mymix]
> >
> > \s
upnotation[footnote][align={hz,hanging},indenting={yes,small,next},numberconversion=mymix]
\startdocument
This is the first sentence with a footnote.\footnote{This is the
first footnote and its mark is "1".}
This is the second sentence with a footnote.\footnote{This is the
small,next},numberconversion=mymix]
\startdocument
This is the first sentence with a footnote.\footnote{This is the first
footnote and its mark is "1".}
This is the second sentence with a footnote.\footnote{This is the second
footnote and its mark is "*". }
This is the third sentence wit
Hi,
I cannot make \beginBLOCKS and \endBLOCKS work in a \dorecurse loop. Is
it possible?
Here is a minimum non working exemple (from
https://wiki.contextgarden.net/Command/defineblock):
%%
\startdocument
\defineblock[question]
\hideblocks[question] % We don't want to print blocks whe
t[pagella]
> \setupbodyfont[pagella,12pt]
I would say that the first line isn’t required.
> \setupcolors[state=start]
If I’m not wrong, this is also the default.
> \setupfootertexts[section][]
This might be what you need:
\setupfootertexts[section][\getvariable{document}{metad
pcombinedlist[content][level=1]
\setupexternalfigures[directory={images}]
\startdocument[
metadata:title={MkIV Context Notes},
metadata:subtitle={},
metadata:subject={MkIV Context},
affiliation=Context]
\starttext
\startfrontmatter
\title{MkIV \CONTEXT\ Notes.}
\startcolumns[n=2]
\input zapf
\st
Jeroen schrieb am 29.09.2019 um 20:36:
This is the main file.
Neither minimal nor complete and \stopdocument is also missing.
\environment mkivcnotesenv
\startdocument
[metadata:subject={MkIV Context},
affiliation=Context]
\starttext
\startfrontmatter
\input{frontpage.tex}
\stopfrontmatter
This is the main file.
\environment mkivcnotesenv
\startdocument
[metadata:subject={MkIV Context},
affiliation=Context]
\starttext
\startfrontmatter
\input{frontpage.tex}
\stopfrontmatter
\startbodymatter
\section{Introduction}
\dorecurse{10}{input knuth}
\stopbodymatter
\startappendices
make the 'sorttype' option work. If I first define a
named rendering with '\definebtxrendering', the 'sorttype' is correctly
read... Don't know why it doesn't work with the default rendering.
> % test-biblio.tex
> \usebtxdataset[biblio.bib]
\definebtxren
txdataset[biblio.bib]
\setupbtxrendering[sorttype=index]
\startdocument
\startchapter[title=First chapter]
\input ward \cite[ward,knuth]\blank
\placelistofpublicati
set=1em,
frame=off,
leftframe=on,
rulethickness=.1em,
framecolor=red]
\startdocument
\startchapter[title=A chapter]
\input knuth \cite[knuth]\blank
\input ward \cite[ward]\blank
\placelistofpublications[criterium=chapter]
\stopchapter
\stopdocument
%
t know if it's very clear so here's a minimal 'non' working example (in
the second chapter, ward reference should be numbered 1 and knuth should be 2,
following the order of appearence in the bibliography list):
% mnwe.tex
\usebtxdataset[biblio.bib]
\setupbtxrendering
7;t remember.
> > ... it's not a godo idea to use that hook to add content
> > I'm not adding content, it was just for the MWE. I'll post another
> > thread about what I intend to achieve.
>
> When you use \startdocument you can use
>
> \startsetup
Marco Patzer schrieb am 27.11.18 um 18:34:
On Tue, 27 Nov 2018 18:21:45 +0100
Hans Hagen wrote:
MWE:
\startcomponent *
\appendtoks Foobar \to\everystarttext
\startdocument\null\stopdocument
\stopcomponent
If the first and last line is commented out, it prints “Foobar”,
when
On Tue, 27 Nov 2018 18:21:45 +0100
Hans Hagen wrote:
> > MWE:
> >
> > \startcomponent *
> >\appendtoks Foobar \to\everystarttext
> >\startdocument\null\stopdocument
> > \stopcomponent
> >
> > If the first and last line is commented
k
in components?
MWE:
\startcomponent *
\appendtoks Foobar \to\everystarttext
\startdocument\null\stopdocument
\stopcomponent
If the first and last line is commented out, it prints “Foobar”,
when compiled as a component it doesn't.
it kicks in when context things a text starts (so
pendtoks Foobar \to\everystarttext
\startdocument\null\stopdocument
\stopcomponent
If the first and last line is commented out, it prints “Foobar”,
when compiled as a component it doesn't.
Marco
___
If your questi
text etc. at the begin and end of the document (which can be
used to insert a titlepage or endpage). You can even use \startdocument (or
\setupdocument) to set the document name in the pdf viewer (yes it can also be
done with \setupinteraction but \startdocument is nicer).
A minimal file would be
can be
> used to insert a titlepage or endpage). You can even use \startdocument (or
> \setupdocument) to set the document name in the pdf viewer (yes it can also
> be done with \setupinteraction but \startdocument is nicer).
>
> A minimal file would be
>
> \star
content in a document environment which
has hooks to insert text etc. at the begin and end of the document
(which can be used to insert a titlepage or endpage). You can even use
\startdocument (or \setupdocument) to set the document name in the pdf
viewer (yes it can also be done with
\startxmlsetups [xml:testsetups]
\xmlsetsetup{\xmldocument}{document}{xml:*}
\stopxmlsetups
\xmlregistersetup{xml:testsetups}
\startxmlsetups [xml:document]
\mainlanguage[\xmlatt{#1}{language}]
\startdocument
\xmlflush{#1}
\stopdocument
\stopxmlsetups
% The “document:start” setup is
he distribution there are a lot of manuals of which the setup
# demonstrates ways to organize ... one probably not known to all is
#
# \startdocument[settings] ... \stopdocument
ok, where can I find it?
The thing I am a bit confused and which was the main reason of my question,
is why the compiler
ganize ... one probably not known to all is
\startdocument[settings] ... \stopdocument
Hans
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
te
topuseMPgraphic
\setupbackgrounds
[text]
[background={PageShape}]
\starttext
\setupdocument[title={Title},location={Place}]
\startdocument
\definecolor[BackgroundColor][r=0,g=.7,b=0]
\startTopic[title={Topic Green}]
Some text A
\startSubject[title={Some green 1}]
w pa withpen pencircle scaled 10pt withcolor
contrastcolor ;
fi ;
StopPage ;
\stopuseMPgraphic
\setupbackgrounds
[text]
[background={PageShape}]
\starttext
\setupdocument[title={Title},location={Place}]
\startdocument
\definecolor[BackgroundColor][r=0,g=.7,b=0]
\startTopic[title={
section,subsection}]
\setuplist [chapter]
[style=\bigbodyfont\bold, alternative=b,]
\setuplist [section]
[width=2.0em, margin=2.0em, alternative=c,]
\setuplist [subsection]
[width=3.0em, margin=4.0em, style=slanted, alternative=c,]
\startdocument
\startfrontmatter
\plac
l the column doesn't generate orphan/widow
>>
>> Is this possible with ConTeXt/LuaTeX?
>
> maybe be more explicit with very large penalties helps
>
> \startdocument
>
> \showmakeup[penalty]
>
> [...]
>
> \stopdocument
Thanks, Hans, that's a very ins
:
repeat
adjust parameters (column width, looseness, ...)
typeset column
until the column doesn't generate orphan/widow
Is this possible with ConTeXt/LuaTeX?
maybe be more explicit with very large penalties helps
\startdocument
\showmakeup[penalty]
\startbuffer
\dorecurse{
enmin=60
\lefthyphenmin=60
\def\Sblackbold#1{{\bf #1}}
\def\Sdef#1{{#1}}
\def\Sdefrf#1{{\bf #1}}
\def\ShwJNR#1{{\blue\bf #1}}
\def\Spospsmallcaps#1{{\sc #1}}
\def\Spunctuation#1{{#1}}
\def\Sxrefxrhw#1{{\bf #1}}
\def\Sgroupintro#1{{\it #1}}
\def\threeentries{
\vbox{\hsize=\textwidth
\ShwJNR{
60
\def\Sblackbold#1{{\bf #1}}
\def\Sdef#1{{#1}}
\def\Sdefrf#1{{\bf #1}}
\def\ShwJNR#1{{\blue\bf #1}}
\def\Spospsmallcaps#1{{\sc #1}}
\def\Spunctuation#1{{#1}}
\def\Sxrefxrhw#1{{\bf #1}}
\def\Sgroupintro#1{{\it #1}}
\def\threeentries{\ShwJNR{headphones}\page[no]\par\-\hskip .5em%
\Spospsmallcaps{no
1{{\it #1}}
\def\threeentries{\ShwJNR{headphones}\page[no]\par\-\hskip
.5em\Spospsmallcaps{noun}\Spunctuation{ }\Sdef{a pair of small
speakers that you wear over your
ears}\par\ShwJNR{heard}\page[no]\par\-\hskip
.5em\Spospsmallcaps{verb}\Spunctuation{ }\Sgroupintro{the past tense
and past participl
On 1/24/2017 8:53 PM, Henri Menke wrote:
Dear devs,
It is really convenient to set PDF metadata in \startdocument, however I
noticed that there is a bug. The PDF subject is not set using metadata:subject
but with metadata:subtitle. This is not a big issue by itself but merely a
little
Dear devs,
It is really convenient to set PDF metadata in \startdocument, however I
noticed that there is a bug. The PDF subject is not set using metadata:subject
but with metadata:subtitle. This is not a big issue by itself but merely a
little confusing. What’s worse is that using
gt;metadata:doi={doi:\documentvariable{doi}},
>metadata:keywords={\documentvariable{keywords}}]
>
> \startdocument
> [title={Your title},
>subtitle={your subtitle},
>author={your name},
>address={your address},
>keywords={your keywo
={\documentvariable{keywords}}]
\startdocument
[title={Your title},
subtitle={your subtitle},
author={your name},
address={your address},
keywords={your keywords},
abstract={The abstract goes here.\par
The Abstract and the keywords have to fit in this page.},
year={2016},
doi
umentvariable{title}]
> > \mainlanguage [sv]
> >
> > \startdocument [title={\translate[en=Foo, sv=Bar]}]
> >\input knuth
> > \stopdocument
> >
> > This literally shows:
> >
> >Title: \translate [en=Foo, sv=Bar]
> >
> > The following work
On 3/4/2016 7:58 AM, Marco Patzer wrote:
Hi!
How to expand \translate so that it doesn't show up in the PDF
metadata? Example:
\setupdocument [metadata:title=\documentvariable{title}]
\mainlanguage [sv]
\startdocument [title={\translate[en=Foo, sv=Bar]}]
\input knuth
\stopdocument
Hi!
How to expand \translate so that it doesn't show up in the PDF
metadata? Example:
\setupdocument [metadata:title=\documentvariable{title}]
\mainlanguage [sv]
\startdocument [title={\translate[en=Foo, sv=Bar]}]
\input knuth
\stopdocument
This literally shows:
Title: \translate [e
Alan BRASLAU <mailto:alan.bras...@cea.fr>
17. Januar 2016 um 23:39
On Sun, 17 Jan 2016 20:09:56 +0100
Thanks, again, these are useful pointers.
In conclusion, good practice could be (but would this work?):
\startdocument
[title=My title,
metadata:title=\documentvariable{title},
aut
le in the pdf without a manual
> setting with \setupinteraction you can use the value of
> “metadata:title” in your document.
Thanks, again, these are useful pointers.
In conclusion, good practice could be (but would this work?):
\startdocument
[title=My title,
metadata:title=\documentva
Alan BRASLAU <mailto:alan.bras...@cea.fr>
17. Januar 2016 um 19:55
On Sun, 17 Jan 2016 19:27:31 +0100
How does this play with
\startdocument
[title=Document title,
author=Me]
It doesn’t matter if you set the values with \setupdocument or
\startdocument.
Here, I learn about metadata
le{}.
>
> \setupdocument
>[ metadata:title=Document title,
> metadata:author=Author name]
>
> \setupinteraction[state=start]
>
> \starttext
> \unknown
> \stoptext
>
> Wolfgang
How does this play with
\startdocument
[title=Document title,
aut
lowing example:
> >
> >\usemodule[simplefonts]
> >
> >\setmainfont[amiri][features=arabic,range=arabic]
> >\setupdirections[bidi=global]
> >\setupalign[righttoleft]
> >
> >\def\text{(ب)}
> >
> >\startdocument
> >
1 - 100 of 123 matches
Mail list logo