Dear list,
there seems to be a bug regarding the alignment of text inside nodes.
If the TikZ picture is inside a centered or ragged left environment,
align=left is not interpreted correctly. MWE attached.
Kind regards,
Joshua
\usemodule[tikz]
\starttext
\setupalign [right]
Ragged right
regards,
Joshua Krämer
___
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
On 2014-09-04, 15:42, john Culleton wrote:
Now I have a related question. When I run:
mtxrun --script fonts * foo
The file foo has three columns. We only use the
word in the right hand column with the suffix
stripped off. So what is the purpose of the the
other two columns? for example:
On 2014-09-01, 21:20, Sandra Snan wrote:
This is probably a pretty basic question, but how do I find out the
name of the font that \definefontfamily expects in the third argument?
Hi Sandra,
the only reliable method I have found is to inspect the font with
FontForge.
Here is an example: the
] (-2.96,4.4) node {Arbre 2};
or
\node [text=H1prime, font=\bf] at (-2.96,4.4) {Arbre 2};
Kind regards,
Joshua Krämer
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist
On 2014-08-15, 19:56, Robert Blackstone wrote:
A few days ago I posted this question. There were no reactions, but
it is not an urgent matter for me anymore since I found an effective
work-around. (Although I still wonder whether or not this possibility
exists in mkiv,)
I have not seen the
My best wishes for a speedy recovery to Hans.
Joshua
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
On 2014-08-07, 12:58, Wolfgang Schuster wrote:
The position of the \hyphenatedurlseparator symbol depends currently
on the breakpoint in the url, when the break is allowed after a
character at the end of line but when the break is allowed before a
character the symbol appears at the begin of
On 2014-08-06, 23:54, Thangalin wrote:
I would like to cite bibliography references using a superscript font.
The attached example is a hack using an \hbox nested inside a math
superscript. It doesn't work with the text superscript command (\high)
for some reason.
Kind regards,
Joshua
Dear list,
I could successfully configure ConTeXt to introduce linebreaks /after/
some characters in URLs with \sethyphenatedurlafter {...}
I would also like to disable linebreaks /before/ some of the predefined
characters. For example, no linebreak should occur before :
Is this possible?
On 2014-08-05, 22:54, Wolfgang Schuster wrote:
Can you provide a working minimal example?
Sorry, please find an example at the end.
The first URL has the right linebreaks, but the arrow should be at the
end of the line. Interestingly, it shows another problem: the # is
repeated.
The second
On 2014-08-02, 22:36, Procházka Lukáš wrote:
OK, thanks for explanation.
This means that one has to switch to \os only when a number is to be
printed.
So when I want all numbers in the document to be old-style (and also
ligatures etc. be kept), I have to:
1) switch to {\os } when
On 2014-07-31, 14:49, Wolfgang Schuster wrote:
From what I can see in the code there is no option to disable the
stretch values.
Thanks for checking.
Kind regards,
Joshua
___
If your question is of interest to
On 2014-07-31, 6:42, Wolfgang Schuster wrote:
\def\hyphenatedurlseparator{→}
Thanks, I've added it to the wiki. Now only the question remains how
to disable URL stretching.
Kind regards,
Joshua
___
If your
Dear list,
I typeset URLs with \hyphenatedurl, and have two questions.
(1) Is there a feature available to insert a custom symbol when a
line-break occurs, e.g. \hookleftarrow?
(2) How can I disable the stretching between characters? I've tried
the following without success:
\setupurl
On 2014-07-28, 17:23, Rik Kabel wrote:
You may be able to get away with style=ss instead of a new font
definition if the sans is linked to the main serif font.
This doesn't work for me, because I want the math to be typeset in the
new typeface, too.
The contents of a float are styled
On 2014-07-27, 14:13, Aditya Mahajan wrote:
On Sun, 27 Jul 2014, Joshua Krämer wrote:
Thank you. But this solution has the problem, too, that the
alignment is ignored for tikz pictures (see example below).
This is a known issue. Wrap your tikz pictures inside a \hbox:
\hbox
On 2014-07-27, 13:13, Thomas Kreuzer wrote:
Hello everyone,
I am trying to create a title page with
\startstandardmakeup[align=middle]
This works alright for text, but when I am trying to insert a
\framed, a table or an \externalfigure, those items (floats?)
don't get centered.
Dear list,
I want to setup all my floats' contents to be middle-aligned, not
indented and typeset in a distinct font. How can I do this? The
attached example does not work.
Thank you and kind regards,
Joshua Krämer
\setupindenting [yes, \the\baselineskip]
\definefontfamily [figurefamily
On 2014-07-25, 16:18, Hans Hagen wrote:
\showframe
\starttext
\startplacefigure
\framed[width=.8\textwidth,framecolor=red]{one}
\stopplacefigure
\definefloat[widefigure][figure][figure]
\setupfloat [widefigure][location=flushleft]
On 2014-07-27, 16:57, Wolfgang Schuster wrote:
Am 27.07.2014 um 16:54 schrieb Joshua Krämer
Thanks, but this doesn't seem to be a solution to my problem,
because the figures extend into the right margin always, and I want
them to extend into the outer margin (i. e. left margin on left
regards,
Joshua Krämer
\setuppagenumbering[alternative=doublesided]
\setuplayout[backspace=4cm,width=12cm]
\definemeasure[Widetext][\textwidth+\rightmargindistance+\rightmarginwidth]
\setupfloats[command=\FloatCommand]
\define\FloatCommand
{\dowithnextbox
{\signalrightpage
\ifdim
and kind regards,
Joshua Krämer
Example with manual positioning:
\setuplayout [backspace=3cm, width=13.5cm, topspace=2cm, height=24.7cm,
margin=1.5cm, margindistance=0cm, header=0cm, footer=0cm,
footerdistance=0cm]
\newdimen\Bigtextwidth \Bigtextwidth=15cm
\setuppagenumbering [alternative
On 2014-07-12, 14:58, Pol Stra wrote:
I wonder, what can I do to reduce the size of those files while
keeping a printable quality document?
Besides reducing the resolution, you can reduce the number of colours
used in a PNG picture, which is called colour quantization. For
example, we can
Dear list,
is it possible to get the correct optical sizes of Latin Modern (or
another math font) in formulae?
I'm using the Selectfont mechanism.
In the following example, the superscripts simply use the regular
font.
\definefontfamily [lm] [math] [Latin Modern Math]
\setupbodyfont [lm]
Dear list,
I would like to have in a bibliography only surnames in small
capitals, like this:
MÜLLER, B. and SCHNEIDER A.
(Müller and Schneider appear in small caps, but everything else
like and is still in the default typeface.)
At the moment, I'm using the old bibliography system. I am a
On 2014-06-30, 17:47, Gour wrote:
I'm using Debian (Sid), but there is, afaict, no such pdf.
In the ConTeXt minimals distribution, the file resides in the
folder /tex/texmf-context/doc/context/manuals/allkind/.
If you use a Debian package of ConTeXt, look in the system-wide texmf
On 2014-06-30, 16:24, Thomas A. Schmitz wrote:
You would define your own command. Something like
\def\myinvertedauthor#1#2#3#4#5%
{{\sc #3}%
\bibdoif{#1}{\bibalternative{surnamesep}#4\unskip}%
\bibdoifelse{#2}{\bibalternative{vonsep}#2\unskip}{\unskip}%
On 2014-06-30, 19:36, Robert Blackstone wrote:
There a in fact two tricks. The first is to put everything in the
booklet category and enter everything except author names, year of
publication and city (or publisher) in the title. The second is to
make a .bbl file and edit that, including
On 2014-06-08, 23:34, Hans Hagen wrote:
does
balance=yes
help?
Yes, it helps. Thank you!
Kind regards,
Joshua
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist :
Dear list,
I have updated to the latest beta today, and I can no longer put text
after \stopmixedcolumns on the same page.
\setuplayout[grid=yes]
\starttext
\startmixedcolumns
Left
\column
Right
Right
\stopmixedcolumns
Something after the columns
\stoptext
There should be no pagebreak
On 2014-04-16, 9:45, Henning Hraban Ramm wrote:
I don’t think Baltica is very legible, even if it fits the style.
It is based on Candida, which I find quite legible especially in small
texts for German. It is for example used by the German Magazine
Focus, you can see an example here (from
not be the best match for Soviet
modernism. Maybe Baltica could fit better:
http://www.myfonts.com/fonts/paratype/baltica/
Generally, I suggest to search through the ParaType offerings. They
have many nice typefaces, which are not expensive.
Kind regards,
Joshua Krämer
Endstring should appear on paragraph ends only (it's acceptable to
appear after headings, too).
How can I achieve the desired result?
Is there maybe something like \EveryPar for the end of paragraphs?
Thanks and kind regards,
Joshua Krämer
Dear list, if somebody cares, the following solution works for me:
\hrule
\penalty1
\vfill
\penalty1
\dontleavehmode\framed{...}
\penalty1
\vfill
\penalty1
\hrule height 0pt
\par\penalty-5000
Joshua
Dear list,
I want to have better hyphenated and clickable URLs in my bibliography.
I have defined the following macro:
\define [1] \URL {\goto{\hyphenatedurl{#1}}[url(#1)]}
And I want to use it in the bibliography like that:
\setuppublicationlayout [electronic]
{
\inserturl{ URL:\
{100}{word }}
\stoptext
How can I make sure a pagebreak occurs only between the Tablines?
The Tabline on the 1st page should appear centered, too. \page[no]
before \hrule height 0pt has no effect.
Thank you and kind regards
Joshua Krämer
project with several hundred table pages,
and splitting by hand would make changes (additional rows) really hard.
Thanks for your help and kind regards,
Joshua Krämer
___
If your question is of interest to others
using frames, hrules and
vfills in between. So far, it works well. (A small problem is wrong
hrule spacing at the beginning of the page, and
start/stoplinecorrection leads to wrong vfill-spacing. If I can't sort
it out, I'll write another message.)
Kind regards
Joshua Krämer
Hello list,
I'm using the Natural Table macros to typeset some tables in the
following way:
\starttext
\setupTABLE [frame=off, option=stretch, textwidth=\textwidth]
\setupTABLE [row] [odd] [background=color, backgroundcolor=gray]
\bTABLE
\bTR \bTD One \eTD \bTD Two \eTD \bTD Three \eTD \eTR
On 2014-03-02, 0:59, Hans Hagen wrote:
you can use dynamic features so apply additional ones any moment, but
some features line slanting and extending are font instance bound as
there the dimensions change and the abckend has to do some work
Thanks, I understand.
Joshua Krämer
On 2014-03-01, 12:48, Wolfgang Schuster wrote:
Is there any real purpose for this feature? The letters in the second
and third line don’t look beautiful because the horizontal and
vertical strokes don’t match.
As I said, I'm working on a typeface design. When one tries to
optically match an
On 2014-03-05, 15:08, Hans Hagen wrote:
On 3/5/2014 3:19 PM, Joshua Krämer wrote:
Another use-case for the extend feature could be to
stretch/compress a line (e.g. a title) to the desired length. If
the line is only a little bit too long or too short, compressing or
stretching all
On 2014-02-26, 22:57, Wolfgang Schuster wrote:
Add \definebodyfontenvironment[50pt] before \starttext.
Thanks, that does the trick.
Kind regards, Joshua
___
If your question is of interest to others as well,
On 2014-02-26, 23:13, Wolfgang Schuster wrote:
2. When you apply your “testfeature” to a certain font alternative
(e.g. italic) it will work.
[...]
Thanks. It's a bit inconvenient, because for each feature you want to
apply, you have to define a separate typeface. Is it a bug, or is it
Dear List,
I think Selectfont is great -- thank you, Wolfgang, for your work.
However, I miss the features to define and use additional typeface
styles and alternatives.
Not everything fits in the predefined scheme of rm, ss, tt, hw, cg and
mm, so it would be nice to have the possibility to
{\switchtobodyfont [secondfamily, 60pt] abc} abc
abc {\switchtobodyfont [secondfamily, 50pt] abc} abc
\stoptext
Kind regards,
Joshua Krämer
___
If your question is of interest to others as well, please add an entry to the
Wiki
] [onum=no, extend=2, slant=0.25]
\definefontfamily [mainfamily] [serif] [Latin Modern Roman]
[features={mainfeature}]
\setupbodyfont [mainfamily, 50pt]
\starttext
1236
\addfeature [testfeature]
1236
\stoptext
Kind regards,
Joshua Krämer
the stuff I don't need. There is also a Wiki page
with informations about editors and their ConTeXt support, which I think
should be enough for the strange users that don't have an editor yet
(or for users looking for an editor with better ConTeXt support).
Kind regards,
Joshua Krämer
for all the hard work.
Kind regards,
Joshua Krämer
___
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
. But when I change the separator from ; to
\\t, it doesn't work. I suppose this is because the tabulators are
passed to Lua as spaces. Or is \\t the wrong code? Would it be
possible to use tabulators as separators, if I load the file with lua
and not with the database module?
Kind regards,
Joshua
Am Mon, 20 Jan 2014 23:41:55 +0100
schrieb Hans Hagen pra...@wxs.nl:
in fact you get:
\startTest Eins, zwei, drei
\stopTest
because of the comment and we ignore all till the end of the first
line
I still don't understand it. This works:
\startTest Eins, zwei, drei \stopTest
This
48 0.900.651.450.540.21
72 1.230.351.590.590.27
\stopData
\stoptext
... but still, context stops with an error. I have also tried to use
\# like in the My Way example without success.
Is this supposed to work?
Kind regards,
Joshua Krämer
regards,
Joshua Krämer
___
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
regards,
Joshua Krämer
___
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
)};
\stopaxis
\stoptikzpicture
\stoptext
Kind regards,
Joshua Krämer
___
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
,
after=\eTABLE,
left=\bTD,
right=\eTD,
first=\bTR,
last=\eTR
]
\starttext
\startTest % problematic comment
Eins, zwei, drei
\stopTest
\stoptext
Kind regards,
Joshua Krämer
___
If your
Am Fri, 17 Jan 2014 00:38:04 +0100
schrieb Wolfgang Schuster schuster.wolfg...@gmail.com:
\startplacetable [location={force,90,none}]
Thanks, it works. Interestingly, it works also if I write
location={90, page} instead of location={page, 90}.
Kind regards,
Joshua
Thanks, Marco, I have adopted your solution, which works fine.
Kind regards,
Joshua
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
\eTD
\eTR
\eTABLE
\stopplacetable
\stoptext
Btw, without Hello World!, ConTeXt doesn't create a PDF file.
Kind regards,
Joshua Krämer
___
If your question is of interest to others as well, please
and \stopfrontmatter, the
problem disappears. It also works if I input \setuplayout[Mainlayout]
in the preamble, which is cleaner anyway because it is independent of
the titlepage macros.
Kind regards,
Joshua Krämer
Thank you, Marco. The problem with your solution is that in
doublesided mode, after \startmakeup ... \stopmakeup, an empty page is
inserted, but I need to have text on the back of the page. Do you
maybe know how to solve this? MWE:
\definemakeup
[Titlelayout]
[top=]
\definelayout
. The opposite page is not completely filled with
text, which makes context crop the height of the page with the float,
too, resulting in a shift of the float into the upper margin. That's
why I want to disable balancing.
Kind regards,
Joshua Krämer
,
autohang=yes]
\setuppublicationlist[totalnumber=1000]
\starttext
\completepublications
\stoptext
Kind regards,
Joshua Krämer
___
If your question is of interest to others as well, please add an entry
Thanks for your hard work! I have a few additional questions regarding
the new system and font fallbacks.
(1) How can I replace the hyphen automatically inserted at linebreaks?
If I use the following, only manually inserted hyphens are replaced:
\definefallbackfamily[mainface][serif][TeX
Am Thu, 09 Jan 2014 11:01:16 + schrieb Joshua Krämer:
(2) What effect does force=yes have? It doesn't seem to make a
difference for me.
I've read in another mail that force=yes is now set by default, so this
is clear to me now.
Joshua
Am Thu, 9 Jan 2014 20:41:15 +0100
schrieb Wolfgang Schuster schuster.wolfg...@gmail.com:
(3) I have a typeface that uses unusual style names: roman1,
roman2, italic1, italic2; 1 is regular, 2 is bold weight.
The following works:
]
\starttext
$ abch $
\stoptext
Kind regards,
Joshua Krämer
___
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
Dear Wolfgang,
thanks for your clarifications. I will avoid the spec method. The
remaining question is, if regularfont= should be avoided, too, in
favour of tf=, or will this be made to work in the future?
Am Sat, 04 Jan 2014 19:50:24 +0100 schrieb Wolfgang Schuster:
You have to switch from the simplefonts module to the new fontfamily
command (a new built-in system which replaces simplefonts) to set the
fonts for your document. [...]
Thank you, it functions as intended. I suppose this
font is used for the whole formula. How can I
mix the fonts?
Kind regards and best wishes for 2014,
Joshua Krämer
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist
Wolfgang
Thanks for your answer. I already use context standalone, but even after
an update (first-setup.sh), the fonts are not mixed. What are the
additional steps to do?
Kind regards,
Joshua Krämer
___
If your
alphanumeric
characters from my text font. So in my minimal examples, 123 should
look the same in the text and the formula.
Kind regards,
Joshua Krämer
___
If your question is of interest to others as well, please add
,
Joshua Krämer
MWE:
\starttext
\startmixedcolumns
%\startcolumns
\widowpenalty1
\dorecurse{290}{word }
\dorecurse{250}{second }
\stopmixedcolumns
%\stopcolumns
\stoptext
___
If your question is of interest
Dear Wolfgang,
thanks for your answer. Please compare:
\starttext
\startcolumns[distance=5pt]
\input knuth
\stopcolumns
\startmixedcolumns[distance=5pt]
\input knuth
\stopmixedcolumns
\stoptext
___
If your
penalty
keys for \setupmixedcolumns and \startmixedcolumns would be even better.
Kind regards,
Joshua Krämer
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg
the
cropping? Additionally, if somebody can think of a better solution than
my \textreference approach, please let me know.
Thank you,
Joshua Krämer
Minimal Working Example:
\def\Agendaentry#1#2{\sym{#1}\textreference[Agendaentry#1]{#2}#2}
\setupreferencing[left={},right={}]
\newcount\Agendaentrynr
(switching to the
second font first, then to another style). In the following example, the
whole section title should be typeset in bold, but the part using the
second font is typeset in the regular style. How can I make it inherit
the bold style?
Thank you,
Joshua Krämer
\usemodule[simplefonts
in the context
beta? I've made an update but still the new commands don't work.
Kind regards,
Joshua Krämer
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context
Hello list,
in the following minimal working example (using Mark IV), the \column
command is ignored. It works if the grid is disabled or balance=no is
set. I need the grid, and regarding the balance: without balance, the
columns use the whole type area height, but I want additional text to
On Mon, 03 Jun 2013 21:00:49 +0200, Wolfgang Schuster has written:
Use mixed columns:
\setuplayout[grid=yes]
\starttext \startmixedcolumns left \column right 1\\right 2
\stopmixedcolumns \stoptext
Thank you very much, this works! Now I wonder what the difference
between regular and mixed
One other problem has appeared: \startmixedcolumns[align=right] doesn't
work (align=... works with \startcolumns). How can I change the
alignment?
Kind regards,
Joshua
___
If your question is of interest to
82 matches
Mail list logo