I am using lettrine in mkii. I am trying to convert a project to mkiv. I’d like to use lettrine here too. \usemodule[lettrine] \setuplettrine[Lines=3, Hang=.5, Oversize=0, Raise=0, Findent=0pt, Nindent=0em, Slope=0em, Ante=, FontHook=, TextFont=\sc, Image=no] \lettrine{S}{\kap{\bf uppose we}} have a system What do I have to change for mkiv?
Nobody?
On 27 Feb 2015, at 18:01, Gerben Wierda
I am using lettrine in mkii. I am trying to convert a project to mkiv. I’d like to use lettrine here too.
\usemodule[lettrine] \setuplettrine[Lines=3, Hang=.5, Oversize=0, Raise=0, Findent=0pt, Nindent=0em, Slope=0em, Ante=, FontHook=, TextFont=\sc, Image=no]
\lettrine{S}{\kap{\bf uppose we}} have a system
What do I have to change for mkiv? ___________________________________________________________________________________ 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 ___________________________________________________________________________________
On 3/1/2015 11:39 AM, Gerben Wierda wrote:
Nobody?
On 27 Feb 2015, at 18:01, Gerben Wierda
mailto:gerben.wierda@rna.nl> wrote: I am using lettrine in mkii. I am trying to convert a project to mkiv. I’d like to use lettrine here too.
\usemodule[lettrine] \setuplettrine[Lines=3, Hang=.5, Oversize=0, Raise=0, Findent=0pt, Nindent=0em, Slope=0em, Ante=, FontHook=, TextFont=\sc, Image=no]
\lettrine{S}{\kap{\bf uppose we}} have a system
What do I have to change for mkiv?
search for 'initials' (probably on the wiki somewhere) .. from the sources: %D \starttyping %D \placeinitial \input ward \par \input ward \par \placeinitial \input tufte %D %D \setupinitial %D [location=text, %D n=2, %D color=darkred, %D distance=-1em, %D hoffset=1em, %D voffset=-3ex, %D before=\blank] %D %D \placeinitial \input ward \par \input ward \placeinitial \input tufte % \setupbodyfont[dejavu,9pt] % % \startbuffer % \setinitial[two] D. E. Knuth \ignorespaces\input knuth \par % \setinitial[two] Knuth \ignorespaces\input knuth \par % \setinitial[two] \quotation{D. E. Knuth} \ignorespaces\input knuth \par % \setinitial[two] \quotation {Knuth} \ignorespaces\input knuth \par % \setinitial[two] [text={D.E. Knuth}] \ignorespaces\input knuth \par % \setinitial[two] [m=4] D. E. Knuth \ignorespaces\input knuth \par % \stopbuffer % % \type{m=2} \start \defineinitial[two][m=2,method=none] \getbuffer \page \stop % \type{m=1,method=auto} \start \defineinitial[two][m=1,method=auto] \getbuffer \page \stop % \type{m=1,method={auto,first,last}} \start \defineinitial[two][m=1,method={first,auto,last}] \getbuffer \page \stop
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl mailto: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 ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On 01 Mar 2015, at 11:54, Hans Hagen
On 3/1/2015 11:39 AM, Gerben Wierda wrote:
Nobody?
On 27 Feb 2015, at 18:01, Gerben Wierda
mailto:gerben.wierda@rna.nl> wrote: I am using lettrine in mkii. I am trying to convert a project to mkiv. I’d like to use lettrine here too.
\usemodule[lettrine] \setuplettrine[Lines=3, Hang=.5, Oversize=0, Raise=0, Findent=0pt, Nindent=0em, Slope=0em, Ante=, FontHook=, TextFont=\sc, Image=no]
\lettrine{S}{\kap{\bf uppose we}} have a system
What do I have to change for mkiv?
search for 'initials' (probably on the wiki somewhere)
http://wiki.contextgarden.net/Initials Halfway down, lettrine for "if you need more options". But the given example does not work in mkiv G
Nobody? Is there a way to get the ‘more options’ mentioned on ConTeXtgarden to work in mkiv?
G
On 01 Mar 2015, at 22:43, Gerben Wierda
On 01 Mar 2015, at 11:54, Hans Hagen
wrote: On 3/1/2015 11:39 AM, Gerben Wierda wrote:
Nobody?
On 27 Feb 2015, at 18:01, Gerben Wierda
mailto:gerben.wierda@rna.nl> wrote: I am using lettrine in mkii. I am trying to convert a project to mkiv. I’d like to use lettrine here too.
\usemodule[lettrine] \setuplettrine[Lines=3, Hang=.5, Oversize=0, Raise=0, Findent=0pt, Nindent=0em, Slope=0em, Ante=, FontHook=, TextFont=\sc, Image=no]
\lettrine{S}{\kap{\bf uppose we}} have a system
What do I have to change for mkiv?
search for 'initials' (probably on the wiki somewhere)
http://wiki.contextgarden.net/Initials
Halfway down, lettrine for "if you need more options". But the given example does not work in mkiv
G
___________________________________________________________________________________ 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 ___________________________________________________________________________________
On 3/10/2015 11:38 AM, Gerben Wierda wrote:
Nobody? Is there a way to get the ‘more options’ mentioned on ConTeXtgarden to work in mkiv?
there are some examples in the test suits (typesetting/initials*) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On 10 Mar 2015, at 12:03, Hans Hagen
On 3/10/2015 11:38 AM, Gerben Wierda wrote:
Nobody? Is there a way to get the ‘more options’ mentioned on ConTeXtgarden to work in mkiv?
there are some examples in the test suits (typesetting/initials*)
And where are the test suites? They’re not part of the distribution. G
http://wiki.contextgarden.net/Test_suite links to https://foundry.supelec.fr/gf/project/contexttest/scmsvn/?action=AccessInfo which is a dead link. Most if not all links to supelec on that page are dead
On 10 Mar 2015, at 18:11, Gerben Wierda
On 10 Mar 2015, at 12:03, Hans Hagen
wrote: On 3/10/2015 11:38 AM, Gerben Wierda wrote:
Nobody? Is there a way to get the ‘more options’ mentioned on ConTeXtgarden to work in mkiv?
there are some examples in the test suits (typesetting/initials*)
And where are the test suites? They’re not part of the distribution.
G ___________________________________________________________________________________ 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 ___________________________________________________________________________________
On Tue, Mar 10, 2015 at 6:11 PM, Gerben Wierda
On 10 Mar 2015, at 12:03, Hans Hagen
wrote: On 3/10/2015 11:38 AM, Gerben Wierda wrote:
Nobody? Is there a way to get the ‘more options’ mentioned on ConTeXtgarden to work in mkiv?
there are some examples in the test suits (typesetting/initials*)
And where are the test suites? They’re not part of the distribution.
http://www.pragma-ade.nl/context/latest/cont-tst.7z -- luigi
After studying that, I’ve been unable to find out how to do the following.
\starttext
\placeinitial {``L}{\kap{\bf et me}} tell you a little
story.\index{Wittgenstein+ice floor analogy} There was once a
young man who dreamed of reducing the world to pure logic. Because he was a
very clever young man, he actually managed to do it. When he had finished his
work, he stood back and admired it. It was beautiful! A world purged of
imperfection and indetermenency. Countless acres of gleaming ice stretching to
the horizon. So the clever young man looked around the world he had created
and decided to explore it. He took one step forward and fell flat on his back.
You see, he had forgotten about friction! The ice was smooth and level and
stainless, but you couldn't walk there. So the clever young man sat down and
wept bitter tears. But as he grew into a wise old man, he came to understand
that roughness and ambiguity aren't imperfections, they are what make the
\stoptext
I’d like to
- Have ``L in the initial (quote mark + L)
- Have the initial a bit in the margin, but not fully
- Have the top of the initial not rise above the top of the first line
On 10 Mar 2015, at 18:35, luigi scarso
On Tue, Mar 10, 2015 at 6:11 PM, Gerben Wierda
wrote: On 10 Mar 2015, at 12:03, Hans Hagen wrote: On 3/10/2015 11:38 AM, Gerben Wierda wrote:
Nobody? Is there a way to get the ‘more options’ mentioned on ConTeXtgarden to work in mkiv?
there are some examples in the test suits (typesetting/initials*)
And where are the test suites? They’re not part of the distribution.
http://www.pragma-ade.nl/context/latest/cont-tst.7z
-- luigi ___________________________________________________________________________________ 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 ___________________________________________________________________________________
On 3/10/2015 10:51 PM, Gerben Wierda wrote:
After studying that, I’ve been unable to find out how to do the following.
\starttext \placeinitial {``L}{\kap{\bf et me}} tell you a little story.\index{Wittgenstein+ice floor analogy} There was once a young man who dreamed of reducing the world to pure logic. Because he was a very clever young man, he actually managed to do it. When he had finished his work, he stood back and admired it. It was beautiful! A world purged of imperfection and indetermenency. Countless acres of gleaming ice stretching to the horizon. So the clever young man looked around the world he had created and decided to explore it. He took one step forward and fell flat on his back. You see, he had forgotten about friction! The ice was smooth and level and stainless, but you couldn't walk there. So the clever young man sat down and wept bitter tears. But as he grew into a wise old man, he came to understand that roughness and ambiguity aren't imperfections, they are what make the \stoptext
I’d like to - Have ``L in the initial (quote mark + L) - Have the initial a bit in the margin, but not fully - Have the top of the initial not rise above the top of the first line
\setupbodyfont[dejavu] \starttext \setupinitial[font=Bold cp \measure{initial:n},hoffset=2ex,voffset=1\lineheight,n=2,m=2,distance=-1ex] \placeinitial `What is this. \input ward \par \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Gerben Wierda
-
Hans Hagen
-
luigi scarso