Re: [NTG-context] Change font for footnote-symbols

2016-06-19 Thread Alias 1
Thanks Thomas and Pablo, your solutions are working fine.



Greetings

Jannik Voges

signature.asc
Description: Message signed with OpenPGP using AMPGpg
___
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-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Change font for footnote-symbols

2016-06-19 Thread Alias 1
Hello ConTeXt-Users,


I want to change the font for the footnote-symbols. I give a minimal example:

\starttypescript [serif] [dejavu] [name]
\definefontsynonym [Serif] [name:dejavuserif] [features=default]
\definefontsynonym [SerifBold] [name:dejavuserifbold] [features=default]
\definefontsynonym [SerifItalic] [name:dejavuserifitalic] [features=default]
\definefontsynonym [SerifBoldItalic] [name:dejavuserifbolditalic] 
[features=default]
\stoptypescript

\starttypescript[dejavu]
\definetypeface [dejavu] [rm] [serif] [dejavu] [default]
\stoptypescript

\starttypescript [serif] [latinmodern] [name]
\definefontsynonym [Serif] [name:latinmodernromanregular] [features=default]
\stoptypescript

\starttypescript[latinmodern]
\definetypeface [latinmodern] [rm] [serif] [latinmodern] [default]
\stoptypescript

\setupbodyfont[dejavu]



\starttext

\dorecurse{10}{foo\footnote{bar} }

\stoptext

I want to change the font for the footnote-symbols (the numbers 1, 2, 3 etc.) 
to latinmodern. How do I do this? I tried to add the commands 
\setupnote[footnote][textstyle={\switchtobodyfont[latinmodern]}] and 
\setupnotation[footnote][headstyle={\switchtobodyfont[latinmodern]}]. If I only 
add one of these, the symbols in the text/notes at the bottom of the page, get 
changed, but if I add both, only the font of the symbols in the text get 
changed (In front of the first footnote-symbol (the 1) there is also some 
whitespace added, which looks like a bug or something; or I used the commands 
in a wrong way). So I assume, this is not the intended way. But what is the 
right way to do it?



Thanks for your help

Jannik Voges

signature.asc
Description: Message signed with OpenPGP using AMPGpg
___
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-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Formula-numbering and \setuphead[...][number=no]

2016-01-11 Thread Alias 1


Hello,


I spotted a strange behavior when I use 
\setupformulas[way=bychapter,prefixsegments=chapter] to get formula numbers 
with the chapternumber as prefix and using \setuphead[…][number=no] to turn off 
the title number.

Minimal example:

\setupformulas[way=bychapter,prefixsegments=chapter]

\setuphead[section][number=no]

\starttext

\chapter{foo}

\placeformula
\startformula
E=mc^2
\stopformula

\section{bar}

\placeformula
\startformula
a^2+b^2=c^2
\stopformula

\stoptext

The second formula has only the formula number 2. I would expect the formula 
number 1.2 (or at least I would want to get this number).


Thanks for help

Jannik___
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-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Error when using the lettrine-module in the newest beta

2015-08-25 Thread Alias 1
Hello,


I want to report a bug or error when using the lettrine-module in combination 
with the newest beta. Here is a minimal example, which shows the error:

\usemodule[lettrine]

\starttext
\lettrine{F}{oo} \input tufte
\stoptext

Best regards

Jannik___
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-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] adjust text width mkiv

2015-04-07 Thread Alias 1
You can try the command \startnarrower … \stopnarrower (see: 
http://wiki.contextgarden.net/Command/startnarrower). To change the default 
settings, use \setupnarrower.


Jannik

Am 7. April 2015 bei 15:17:22, John Culleton (j...@wexfordpress.com) schrieb:

I am still matching my file with a previous
InDesign layout.

On one particular page I want to narrow the text
width a bit to cause the bottom line to fill
the full text width. I have tried adjusting
\hsize within braces, and changing setlayout. I
am considering putting all the text in a
framedtext but with the frame suppressed.

Any suggestions?  
--  
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
Updated PDF e-book: Create Book Covers with
Scribus 1.4.5 coming soon at
http://www.booklocker.com/!
___
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-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
__
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-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Error when using TikZ with the library datavisualization

2015-02-26 Thread Alias 1
Hello



The following code gives an error (current beta and version from texlive 2014):


\usemodule[tikz]

\usetikzlibrary[datavisualization]


\starttext

A

\stoptext


The log gives the following error:

tex error        error on line 682 in file 
/usr/local/texlive/2014/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/datavisualization/tikzlibrarydatavisualization.code.tex:
 ! Missing number, treated as zero

to be read again 
^
l.682 {\catcode`\^^
                 M=\active%

672         \def\pgf@temp{#1}%
673         \ifx\pgf@temp\tikz@lib@dv@auto@attribute%
674           
\tikzdatavisualizationset{\tikz@dv@axis/label/.expanded=$\noexpand\mathit{\pgfkeysvalueof{\tikz@dv@axis/attribute}}$}%
675         \else
676           \tikzdatavisualizationset{\tikz@dv@axis/label={#1}}%
677         \fi
678       },
679       label/.default=\tikz@lib@dv@auto@attribute,
680       %
681       % Strategies
682     %
683       tick placement strategy/.style={\tikz@dv@axis/@compute at 
positions={#1}},
684       linear steps/.style={tick placement 
strategy=\tikz@lib@dv@compute@at@linear},
685       %
686       % Attribute setter
687       %
688       goto/.code={\tikz@dv@goto{\tikz@dv@axis}{#1}},
689       goto pos/.code={\tikz@dv@goto@pos{\tikz@dv@axis}{#1}},
690       anchor at 
min/.code={\tikz@lib@dv@special@at{\tikz@dv@axis}{\tikz@dv@min@anchor}},
691       anchor at 
max/.code={\tikz@lib@dv@special@at{\tikz@dv@axis}{\tikz@dv@max@anchor}},
692       %___
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-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___