* \vspace
@ 2009-11-22 22:52 Wolfgang Schuster
2009-11-23 10:21 ` \vspace Hans Hagen
0 siblings, 1 reply; 10+ messages in thread
From: Wolfgang Schuster @ 2009-11-22 22:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Hans,
can you add a \vspace command which behaves like \hspace but for vertical mode,
there are some cases where \blank is not so well suited (i know the \??vs namespace
is already used by \blank)
\def\definevspace
{\dotripleempty\dodefinevspace}
\def\dodefinevspace[#1][#2][#3]%
{\ifthirdargument
\setvalue{\??vs#1:#2}{#3}%
\else
\setvalue{\??vs:#1}{#2}%
\fi}
\unexpanded\def\vspace
{\dodoubleempty\dohspace}
\def\dovspace[#1][#2]%
{\ifsecondargument
\dodovspace[#1][#2]%
\else\iffirstargument
\vspace[][#1]%
\else
\vspace[][\s!default]%
\fi\fi}
\def\dodovspace[#1][#2]%
{\vskip\vspaceamount{#1}{#2}}
\def\vspaceamount#1#2%
{\executeifdefined{\??vs#1:#2}{\executeifdefined{\??vs:#2}\zeropoint}}
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: \vspace
2009-11-22 22:52 \vspace Wolfgang Schuster
@ 2009-11-23 10:21 ` Hans Hagen
2009-11-23 10:31 ` \vspace Wolfgang Schuster
0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2009-11-23 10:21 UTC (permalink / raw)
To: mailing list for ConTeXt users
Wolfgang Schuster wrote:
> Hi Hans,
>
> can you add a \vspace command which behaves like \hspace but for vertical mode,
> there are some cases where \blank is not so well suited (i know the \??vs namespace
> is already used by \blank)
>
> \def\definevspace
> {\dotripleempty\dodefinevspace}
>
> \def\dodefinevspace[#1][#2][#3]%
> {\ifthirdargument
> \setvalue{\??vs#1:#2}{#3}%
> \else
> \setvalue{\??vs:#1}{#2}%
> \fi}
>
> \unexpanded\def\vspace
> {\dodoubleempty\dohspace}
hm, untested ... ^^^^^^^^^
> \def\dovspace[#1][#2]%
> {\ifsecondargument
> \dodovspace[#1][#2]%
> \else\iffirstargument
> \vspace[][#1]%
> \else
> \vspace[][\s!default]%
> \fi\fi}
>
> \def\dodovspace[#1][#2]%
> {\vskip\vspaceamount{#1}{#2}}
>
> \def\vspaceamount#1#2%
> {\executeifdefined{\??vs#1:#2}{\executeifdefined{\??vs:#2}\zeropoint}}
i'm always a bit relucate to let users mess with vertical spacing ...
anyhow, in \hspace we clean up preceding space so vspace should behave
the same i.e. there should be a \removelastskip before the vskip
\def\dodovspace[#1][#2]%
{\par
\ifvmode
\removelastskip
\vskip\vspaceamount{#1}{#2}\relax
\fi}
i'll add it but we should not encourage too much in using it, that is,
i'm *not* going to look into spacing related bug reports that use this
command
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: \vspace
2009-11-23 10:21 ` \vspace Hans Hagen
@ 2009-11-23 10:31 ` Wolfgang Schuster
2009-11-23 10:52 ` \vspace Hans Hagen
0 siblings, 1 reply; 10+ messages in thread
From: Wolfgang Schuster @ 2009-11-23 10:31 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 23.11.2009 um 11:21 schrieb Hans Hagen:
>> \unexpanded\def\vspace
>> {\dodoubleempty\dohspace}
>
> hm, untested ... ^^^^^^^^^
D’oh
> i'm always a bit relucate to let users mess with vertical spacing ... anyhow, in \hspace we clean up preceding space so vspace should behave the same i.e. there should be a \removelastskip before the vskip
>
> \def\dodovspace[#1][#2]%
> {\par
> \ifvmode
> \removelastskip
> \vskip\vspaceamount{#1}{#2}\relax
> \fi}
>
> i'll add it but we should not encourage too much in using it, that is, i'm *not* going to look into spacing related bug reports that use this command
add a note to source nobody else than me should use it :)
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: \vspace
2009-11-23 10:31 ` \vspace Wolfgang Schuster
@ 2009-11-23 10:52 ` Hans Hagen
2009-11-23 12:18 ` \vspace Alan BRASLAU
0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2009-11-23 10:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
Wolfgang Schuster wrote:
> add a note to source nobody else than me should use it :)
actually i wanted to say something like that but noticed that you'd
posted to the list, probably in order to create a larger momentum -)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: \vspace
2009-11-23 10:52 ` \vspace Hans Hagen
@ 2009-11-23 12:18 ` Alan BRASLAU
2009-11-26 18:08 ` \vspace Henning Hraban Ramm
0 siblings, 1 reply; 10+ messages in thread
From: Alan BRASLAU @ 2009-11-23 12:18 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Monday 23 November 2009 11:52:14 Hans Hagen wrote:
> Wolfgang Schuster wrote:
> > add a note to source nobody else than me should use it :)
>
> actually i wanted to say something like that but noticed that you'd
> posted to the list, probably in order to create a larger momentum -)
Yes, the cat is out of the box now!
Alan
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: \vspace
2009-11-23 12:18 ` \vspace Alan BRASLAU
@ 2009-11-26 18:08 ` Henning Hraban Ramm
2009-11-26 18:42 ` \vspace Hans Hagen
0 siblings, 1 reply; 10+ messages in thread
From: Henning Hraban Ramm @ 2009-11-26 18:08 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 2009-11-23 um 13:18 schrieb Alan BRASLAU:
> On Monday 23 November 2009 11:52:14 Hans Hagen wrote:
>> Wolfgang Schuster wrote:
>>> add a note to source nobody else than me should use it :)
>>
>> actually i wanted to say something like that but noticed that you'd
>> posted to the list, probably in order to create a larger momentum -)
>
> Yes, the cat is out of the box now!
Whee! \vspace! finally!
I'll use it everywhere!
(Ponies, ponies, ponies!)
Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: \vspace
2009-11-26 18:08 ` \vspace Henning Hraban Ramm
@ 2009-11-26 18:42 ` Hans Hagen
2009-11-26 20:31 ` typescript question Bernhard Rosensteiner
0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2009-11-26 18:42 UTC (permalink / raw)
To: mailing list for ConTeXt users
Henning Hraban Ramm wrote:
> Am 2009-11-23 um 13:18 schrieb Alan BRASLAU:
>
>> On Monday 23 November 2009 11:52:14 Hans Hagen wrote:
>>> Wolfgang Schuster wrote:
>>>> add a note to source nobody else than me should use it :)
>>>
>>> actually i wanted to say something like that but noticed that you'd
>>> posted to the list, probably in order to create a larger momentum -)
>>
>> Yes, the cat is out of the box now!
>
> Whee! \vspace! finally!
> I'll use it everywhere!
> (Ponies, ponies, ponies!)
but at your own risk as it can mess up vertical spacing pretty well
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* typescript question
2009-11-26 18:42 ` \vspace Hans Hagen
@ 2009-11-26 20:31 ` Bernhard Rosensteiner
2009-11-26 21:19 ` Hans Hagen
0 siblings, 1 reply; 10+ messages in thread
From: Bernhard Rosensteiner @ 2009-11-26 20:31 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 668 bytes --]
Hello all,
i have finally made my first typescript. Since i use Adobe Opticals i was happy to find a description on the wiki how to make a typescript for proper use.
However i have one little problem (i don´t know if i make something wrong or it is a bug):
when i switch to an bodyfont smaller than 13pt my rm typeface don´t work anymore (above all is ok, even opticals). The ss typeface works normally. I´ve attached the typescripts, .tex file, log and the pdf output with some \showbodyfont commands (12pt, 13pt, 14pt) which shows what i mean.
Honestly i have to say that i´m understanding typescripts not completely.
Please help.
best regards
Bernhard
[-- Attachment #2: Handout.tex --]
[-- Type: application/octet-stream, Size: 994 bytes --]
\synctex=1
%\preloadtypescripts
\setuplayout[backspace=2.6cm, leftmargin=2cm, rightmargin=2cm, topspace=1cm, top=0cm, bottom=\headerheight, width=middle, height=fit, headerdistance=0.5cm, header=1cm, footer=1cm, margindistance=0.3cm]
\usetypescriptfile[type-MyTypeScript]
\usetypescript[MinionProMyriadPro]
\setuppagenumbering[location=]
\setupalign[hanging, hz]
%\showframe
\setupbodyfont[minionmyriad, 12pt]
\starttext
{\ssc\bf Seminar Phylogenie Aktuell}
{\switchtobodyfont[11pt]\bf Thema: Ardipethecus und seine Stellung innerhalb des Hominidenstammbaumes}
$math Test$
\blank
Test
opticals test:
{\switchtobodyfont[20.7pt]\definedfont[Serif] Ein kleiner Text}
{\switchtobodyfont[20.7pt]\definedfont[SerifCaption-Regular] Ein kleiner Text}
{\switchtobodyfont[20.7pt]\definedfont[SerifSubhead-Regular] Ein kleiner Text}
{\switchtobodyfont[20.7pt]\definedfont[SerifDisplay-Regular] Ein kleiner Text}
\showbodyfont[12pt]
\showbodyfont[13pt]
\showbodyfont[14pt]
\stoptext
[-- Attachment #3: Handout.log --]
[-- Type: application/octet-stream, Size: 9916 bytes --]
("/Users/Bernhard/Documents/BIOLOGIE/SE Phylogenie Aktuell/Handout.tex"
ConTeXt ver: 2009.11.24 10:13 MKIV fmt: 2009.11.24 int: english/english
system : cont-new loaded
(/Applications/ConTeXt/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(cont-new.mkiv))
system : cont-fil loaded
(/Applications/ConTeXt/tex/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system : cont-sys.rme loaded
(/Applications/ConTeXt/tex/texmf-context/tex/context/user/cont-sys.rme (/Applications/ConTeXt/tex/texmf-context/tex/context/base/type-tmf.tex (type-tmf.mkiv)) (/Applications/ConTeXt/tex/texmf-context/tex/context/base/type-siz.tex (type-siz.mkiv)) (/Applications/ConTeXt/tex/texmf-context/tex/context/base/type-otf.tex (type-otf.mkiv)))
system : Handout.top loaded
%
% begin of optionfile
%
% % runtime options files (command line driven)
% \unprotect
% % special commands, mostly for the ctx development team
% % feedback and basic job control
% % handy for special styles
% \startluacode
% document = document or { }
% document.arguments={
% }
% document.files={
% "/Users/Bernhard/Documents/BIOLOGIE/SE Phylogenie Aktuell/Handout.tex",
% }
% \stopluacode
% % process info
% \setupsystem[\c!n=1,\c!m=1]
% \setupsystem[\c!type=unix]
% % modes
% % options (not that important)
% \startsetups *runtime:options
% \setupoutput[pdftex]
% \stopsetups
% % styles and modules
% \startsetups *runtime:modules
% \stopsetups
% % done
% \protect \endinput
%
% end of optionfile
%
(Handout.top)
fonts : preloading latin modern fonts
bodyfont : 12pt rm is loaded
language : language en is active
(type-MyTypeScript.tex)
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings])
systems : BEWARE: syntex functionality is enabled!
systems : begin file Handout at line 16
(/Applications/ConTeXt/tex/texmf-context/tex/context/base/font-run.mkiv)
fonts : resetting map file list
{/Applications/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts : using map file: original-base
{/Applications/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts : using map file: original-ams-base
{/Applications/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts : using map file: original-ams-euler
{/Applications/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts : using map file: original-public-lm
{/Applications/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map}
fonts : using map file: lm-math
{/Applications/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map}
fonts : using map file: lm-rm
{/Applications/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
system : xmp data not flushed (needs luatex upgrade)
!pages : flushing page, realpage 1, userpage 1
systems : end file Handout at line 40
system : cont-err loaded
(/Applications/ConTeXt/tex/texmf-context/tex/context/base/cont-err.tex
systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead
) )</Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmmonolt10-boldoblique.otf></Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmmonolt10-bold.otf></Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmmono10-italic.otf></Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmmonoslant10-regular.otf></Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmmonocaps10-regular.otf></Users/Bernhard/Library/Fonts/MinionPro-BoldIt.otf></Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmromanslant10-bold.otf></Users/Bernhard/Library/Fonts/MinionPro-Bold.otf></Users/Bernhard/Library/Fonts/MinionPro-It.otf></Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmromanslant10-regular.otf></Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmromancaps10-regular.otf></Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmmono10-regular.otf></Users/Bernhard/Library/Fonts/MyriadPro-BoldIt.otf></Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmsans10-boldoblique.otf></Users/Bernhard/Library/Fonts/MyriadPro-It.otf></Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmsans10-oblique.otf></Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmsans10-regular.otf></Users/Bernhard/Library/Fonts/MyriadPro-Regular.otf></Users/Bernhard/Library/Fonts/MinionPro-Disp.otf></Users/Bernhard/Library/Fonts/MinionPro-Subh.otf></Users/Bernhard/Library/Fonts/MinionPro-Capt.otf></Users/Bernhard/Library/Fonts/MinionPro-Regular.otf></Users/Bernhard/Library/Fonts/Asana-Math.otf></Users/Bernhard/Library/Fonts/MyriadPro-Bold.otf>
mkiv lua stats : used config path - /Applications/ConTeXt/tex/texmf/web2c/texmf.cnf
mkiv lua stats : used cache path - /Applications/ConTeXt/tex/texmf-cache
mkiv lua stats : input load time - 0.041 seconds
mkiv lua stats : stored bytecode data - 195 modules, 48 tables, 243 chunks
mkiv lua stats : node list callback tasks - 4 unique tasks, 4 created, 209 calls
mkiv lua stats : cleaned up reserved nodes - 25 nodes, 9 lists of 1409
mkiv lua stats : node memory usage - 20 glue_spec, 2 dir
mkiv lua stats : used backend - pdf (backend for directly generating pdf output)
mkiv lua stats : loaded patterns - en:us:pat:exc:2
mkiv lua stats : startup time - 0.718 seconds (including runtime option file processing)
mkiv lua stats : callbacks - direct: 1007, indirect: 4082, total: 5089
mkiv lua stats : loaded fonts - 56 files: lmmono10-italic.otf lmmono10-regular.otf lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmmonocaps10-regular.otf lmmonolt10-bold.otf lmmonolt10-boldoblique.otf lmmonoslant10-regular.otf lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf lmromancaps10-regular.otf lmromanslant10-bold.otf lmromanslant10-regular.otf lmsans10-boldoblique.otf lmsans10-oblique.otf lmsans10-regular.otf lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm asana-math.otf minionpro-bold.otf minionpro-boldit.otf minionpro-capt.otf minionpro-disp.otf minionpro-it.otf minionpro-regular.otf minionpro-subh.otf myriadpro-bold.otf myriadpro-boldit.otf myriadpro-it.otf myriadpro-regular.otf
mkiv lua stats : fonts load time - 2.609 seconds
mkiv lua stats : result saved in file - Handout.pdf
mkiv lua stats : luatex banner - this is luatex, version beta-0.45.0-2009111904
mkiv lua stats : control sequences - 32112 of 165536
mkiv lua stats : current memory usage - 143 MB (ctx: 146 MB)
mkiv lua stats : runtime - 8.022 seconds, 0 processed pages, 1 shipped pages, 0.125 pages/second
[-- Attachment #4: type-MyTypeScript.tex --]
[-- Type: application/octet-stream, Size: 7891 bytes --]
%------------------------------ My Typescripts ------------------------------%
%font-features:
\definefontfeature[default][mode=node, tlig=yes, trep=yes, cpsp=yes, salt=no, size=yes,
protrusion=quality, expansion=quality, script=latn, kern=yes, liga=yes, itlc=yes, onum=no]
\definefontfeature[smallcaps][default][smcp=yes]
\definefontfeature[medivial][default][onum=yes]
%typescripts:
\starttypescript [math] [asana] [name]
\definefontsynonym [MathRoman] [name:Asana-Math] [features=math\mathsizesuffix]
\stoptypescript
\starttypescript [sans] [myriad-pro] [name]
\definefontsynonym [Sans] [name:MyriadPro-Regular]
\definefontsynonym [SansBold] [name:MyriadPro-Bold]
\definefontsynonym [SansItalic] [name:MyriadPro-It]
\definefontsynonym [SansBoldItalic] [name:MyriadPro-BoldIt]
\definefontsynonym [SansSemiBold] [name:MyriadPro-Semibold]
\definefontsynonym [SansSemiBoldItalic] [name:MyriadPro-SemiboldIt]
\definefontsynonym [SansBlack] [name:MyriadPro-Black]
\definefontsynonym [SansBlackItalic] [name:MyriadPro-BlackIt]
\definefontsynonym [SansLight] [name:MyriadPro-Light]
\definefontsynonym [SansLightItalic] [name:MyriadPro-LightIt]
\definefontsynonym [SansSemiCondensed] [name:MyriadPro-SemiCn]
\definefontsynonym [SansSemiCondensedBold] [name:MyriadPro-BoldSemiCn]
\definefontsynonym [SansSemiCondensedItalic] [name:MyriadPro-SemiCnIt]
\definefontsynonym [SansSemiCondensedBoldItalic] [name:MyriadPro-BoldCondIt]
\definefontsynonym [SansSemiCondensedSemiBold] [name:MyriadPro-SemiboldSemiCn]
\definefontsynonym [SansSemiCondensedSemiBoldItalic][name:MyriadPro-SemiboldSemiCnIt]
\definefontsynonym [SansSemiCondensedBlack] [name:MyriadPro-BlackSemiCn]
\definefontsynonym [SansSemiCondensedBlackItalic] [name:MyriadPro-BlackSemiCnIt]
\definefontsynonym [SansSemiCondensedLight] [name:MyriadPro-LightCond]
\definefontsynonym [SansSemiCondensedLightItalic] [name:MyriadPro-LightCondIt]
\stoptypescript
\starttypescript [serif] [minion-pro] [name]
\definefontsynonym [Serif] [SerifRegular-Regular]
\definefontsynonym [SerifBold] [SerifRegular-Bold]
\definefontsynonym [SerifItalic] [SerifRegular-Italic]
\definefontsynonym [SerifBoldItalic] [SerifRegular-BoldItalic]
\definefontsynonym [SerifCaption-Regular] [name:MinionPro-Capt] [features=default]
\definefontsynonym [SerifCaption-Bold] [name:MinionPro-BoldCapt] [features=default]
\definefontsynonym [SerifCaption-Italic] [name:MinionPro-ItCapt] [features=default]
\definefontsynonym [SerifCaption-BoldItalic] [name:MinionPro-BoldItCapt] [features=default]
\definefontsynonym [SerifCaption-Caps-Regular] [name:MinionPro-Capt] [features=smallcaps]
\definefontsynonym [SerifCaption-Caps-Bold] [name:MinionPro-BoldCapt] [features=smallcaps]
\definefontsynonym [SerifCaption-Caps-Italic] [name:MinionPro-ItCapt] [features=smallcaps]
\definefontsynonym [SerifCaption-Caps-BoldItalic] [name:MinionPro-BoldItCapt] [features=smallcaps]
\definefontsynonym [SerifRegular-Regular] [name:MinionPro-Regular] [features=default]
\definefontsynonym [SerifRegular-Bold] [name:MinionPro-Bold] [features=default]
\definefontsynonym [SerifRegular-Italic] [name:MinionPro-It] [features=default]
\definefontsynonym [SerifRegular-BoldItalic] [name:MinionPro-BoldIt] [features=default]
\definefontsynonym [SerifRegular-Caps-Regular] [name:MinionPro-Regular] [features=smallcaps]
\definefontsynonym [SerifRegular-Caps-Bold] [name:MinionPro-Bold] [features=smallcaps]
\definefontsynonym [SerifRegular-Caps-Italic] [name:MinionPro-It] [features=smallcaps]
\definefontsynonym [SerifRegular-Caps-BoldItalic] [name:MinionPro-BoldIt] [features=smallcaps]
\definefontsynonym [SerifSubhead-Regular] [name:MinionPro-Subh] [features=default]
\definefontsynonym [SerifSubhead-Bold] [name:MinionPro-BoldSubh] [features=default]
\definefontsynonym [SerifSubhead-Italic] [name:MinionPro-ItSubh] [features=default]
\definefontsynonym [SerifSubhead-BoldItalic] [name:MinionPro-BoldItSubh] [features=default]
\definefontsynonym [SerifSubhead-Caps-Regular] [name:MinionPro-Subh] [features=smallcaps]
\definefontsynonym [SerifSubhead-Caps-Bold] [name:MinionPro-BoldSubh] [features=smallcaps]
\definefontsynonym [SerifSubhead-Caps-Italic] [name:MinionPro-ItSubh] [features=smallcaps]
\definefontsynonym [SerifSubhead-Caps-BoldItalic] [name:MinionPro-BoldItSubh] [features=smallcaps]
\definefontsynonym [SerifDisplay-Regular] [name:MinionPro-Disp] [features=default]
\definefontsynonym [SerifDisplay-Bold] [name:MinionPro-BoldDisp] [features=default]
\definefontsynonym [SerifDisplay-Italic] [name:MinionPro-ItDisp] [features=default]
\definefontsynonym [SerifDisplay-BoldItalic] [name:MinionPro-BoldItDisp] [features=default]
\definefontsynonym [SerifDisplay-Caps-Regular] [name:MinionPro-Disp] [features=smallcaps]
\definefontsynonym [SerifDisplay-Caps-Bold] [name:MinionPro-BoldDisp] [features=smallcaps]
\definefontsynonym [SerifDisplay-Caps-Italic] [name:MinionPro-ItDisp] [features=smallcaps]
\definefontsynonym [SerifDisplay-Caps-BoldItalic] [name:MinionPro-BoldItDisp] [features=smallcaps]
\stoptypescript
%opticals:
\starttypescript [serif] [optical] [size]
\definebodyfont [4pt,5pt,6pt,7pt,8pt] [rm] [optical]
[tf=SerifCaption-Regular sa 1,
bf=SerifCaption-Bold sa 1,
it=SerifCaption-Italic sa 1,
sl=SerifCaption-Slanted sa 1,
bi=SerifCaption-BoldItalic sa 1,
bs=SerifCaption-BoldSlanted sa 1,
sc=SerifCaption-Caps-Regular sa 1,
sci=SerifCaption-Caps-Italic sa 1,
scb=SerifCaption-Caps-Bold sa 1,
scbi=SerifCaption-Caps-BoldItalic sa 1]
\definebodyfont [9pt,10pt,11pt,12pt,13pt] [rm] [optical]
[tf=SerifRegular-Regular sa 1,
bf=SerifRegular-Bold sa 1,
it=SerifRegular-Italic sa 1,
sl=SerifRegular-Slanted sa 1,
bi=SerifRegular-BoldItalic sa 1,
bs=SerifRegular-BoldSlanted sa 1,
sc=SerifRegular-Caps-Regular sa 1,
sci=SerifRegular-Caps-Italic sa 1,
scb=SerifRegular-Caps-Bold sa 1,
scbi=SerifRegular-Caps-BoldItalic sa 1]
\definebodyfont [14pt,14.4pt,15pt,16pt,17pt,17.3pt,18pt,19pt] [rm] [optical]
[tf=SerifSubhead-Regular sa 1,
bf=SerifSubhead-Bold sa 1,
it=SerifSubhead-Italic sa 1,
sl=SerifSubhead-Slanted sa 1,
bi=SerifSubhead-BoldItalic sa 1,
bs=SerifSubhead-BoldSlanted sa 1,
sc=SerifSubhead-Caps-Regular sa 1,
sci=SerifSubhead-Caps-Italic sa 1,
scb=SerifSubhead-Caps-Bold sa 1,
scbi=SerifSubhead-Caps-BoldItalic sa 1]
\definebodyfont[20pt,20.7pt,21pt,22pt,23pt,24pt,25pt,26pt,27pt,28pt,29pt,30pt,31pt,32pt,33pt,34pt] [rm] [optical]
[tf=SerifDisplay-Regular sa 1,
bf=SerifDisplay-Bold sa 1,
it=SerifDisplay-Italic sa 1,
sl=SerifDisplay-Slanted sa 1,
bi=SerifDisplay-BoldItalic sa 1,
bs=SerifDisplay-BoldSlanted sa 1,
sc=SerifDisplay-Caps-Regular sa 1,
sci=SerifDisplay-Caps-Italic sa 1,
scb=SerifDisplay-Caps-Bold sa 1,
scbi=SerifDisplay-Caps-BoldItalic sa 1]
\stoptypescript
%typefaces:
\starttypescript [MinionProMyriadPro]
\definetypeface [minionmyriad] [rm] [serif] [minion-pro] [optical]
\definetypeface [minionmyriad] [ss] [sans] [myriad-pro] [dtp]
\definetypeface [minionmyriad] [mm] [math] [asana] [dtp]
\stoptypescript
[-- Attachment #5: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: typescript question
2009-11-26 20:31 ` typescript question Bernhard Rosensteiner
@ 2009-11-26 21:19 ` Hans Hagen
0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2009-11-26 21:19 UTC (permalink / raw)
To: mailing list for ConTeXt users
Bernhard Rosensteiner wrote:
> Hello all,
>
> i have finally made my first typescript. Since i use Adobe Opticals i was happy to find a description on the wiki how to make a typescript for proper use.
> However i have one little problem (i don´t know if i make something wrong or it is a bug):
> when i switch to an bodyfont smaller than 13pt my rm typeface don´t work anymore (above all is ok, even opticals). The ss typeface works normally. I´ve attached the typescripts, .tex file, log and the pdf output with some \showbodyfont commands (12pt, 13pt, 14pt) which shows what i mean.
> Honestly i have to say that i´m understanding typescripts not completely.
> Please help.
can you try do define the undefined bodyfontenvironments (your extra
sizes) using
\definebodyfontenvironment[..pt]
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* typescript question
@ 2004-07-04 12:38 dr. Hans van der Meer
0 siblings, 0 replies; 10+ messages in thread
From: dr. Hans van der Meer @ 2004-07-04 12:38 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 1640 bytes --]
There is something I don't understand about the typescript business
(using ConText version june 30, 2004):
By calling \setupbodyfont[lbr] the following script (referred to als
typescript number-1) in type-buy.tex (lines 161-170) is executed:
\starttypescript [lbr]
\usetypescript [serif,sans,mono,math,calligraphy,handwriting] [lucida]
[name,special,\defaultencoding]
\usetypescript [serif,sans,mono,math,calligraphy,handwriting]
[default] [size]
\usemathcollection[lbr]
\usetypescript [all] [lucida] [\defaultencoding]
\stoptypescript
Also I have defined somewhere else a typescript (number-2):
\starttypescript [Times]
...
\stoptypescript
WITHOUT the line "...[all]..." in typescript number-1 all goes well,
lucida fonts result in the product.
However, WITH the line "...[all]..." in typescript number-1 there is
found the following match, as can be seen in the log (by setting
\tracetypescriptstrue):
>>> fonts : enter [Times] [] []
>>> fonts : check [all] [lucida] [texnansi]
>>> fonts : matched
Now that seems strange to me. I might be misunderstanding the
typescript search mechanism, but why does it turn out that the search
key [lucida] is ignored? Here it seems that after the [all] the
following search keys are ignored, reducing the check to [all][][]; but
why then bother giving these 2nd and 3rd key at all? But even if this
behaviour is implied by giving the first search key as [all], it leads
to wrong results. Because now the typescript number-2 is executed too,
working havoc to the font setup.
Is there someone who can enlighten me on these matters? Thanks in
advance.
Hans van der Meer
[-- Attachment #2: Type: text/enriched, Size: 1688 bytes --]
<fontfamily><param>Courier</param>There is something I don't
understand about the typescript business (using ConText version june
30, 2004):
By calling \setupbodyfont[lbr] the following script (referred to als
typescript number-1) in type-buy.tex (lines 161-170) is executed:
\starttypescript [lbr]
\usetypescript [serif,sans,mono,math,calligraphy,handwriting]
[lucida] [name,special,\defaultencoding]
\usetypescript [serif,sans,mono,math,calligraphy,handwriting]
[default] [size]
\usemathcollection[lbr]
\usetypescript [all] [lucida] [\defaultencoding]
\stoptypescript
Also I have defined somewhere else a typescript (number-2):
\starttypescript [Times]
...
\stoptypescript
WITHOUT the line "...[all]..." in typescript number-1 all goes well,
lucida fonts result in the product.
However, WITH the line "...[all]..." in typescript number-1 there is
found the following match, as can be seen in the log (by setting
\tracetypescriptstrue):
>>> fonts : enter [Times] [] []
>>> fonts : check [all] [lucida] [texnansi]
>>> fonts : matched
Now that seems strange to me. I might be misunderstanding the
typescript search mechanism, but why does it turn out that the search
key [lucida] is ignored? Here it seems that after the [all] the
following search keys are ignored, reducing the check to [all][][];
but why then bother giving these 2nd and 3rd key at all? But even if
this behaviour is implied by giving the first search key as [all], it
leads to wrong results. Because now the typescript number-2 is
executed too, working havoc to the font setup.
Is there someone who can enlighten me on these matters? Thanks in
advance.
Hans van der Meer
</fontfamily>
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2009-11-26 21:19 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-22 22:52 \vspace Wolfgang Schuster
2009-11-23 10:21 ` \vspace Hans Hagen
2009-11-23 10:31 ` \vspace Wolfgang Schuster
2009-11-23 10:52 ` \vspace Hans Hagen
2009-11-23 12:18 ` \vspace Alan BRASLAU
2009-11-26 18:08 ` \vspace Henning Hraban Ramm
2009-11-26 18:42 ` \vspace Hans Hagen
2009-11-26 20:31 ` typescript question Bernhard Rosensteiner
2009-11-26 21:19 ` Hans Hagen
-- strict thread matches above, loose matches on Subject: below --
2004-07-04 12:38 dr. Hans van der Meer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).