Re: [NTG-context] Is there some easy way to do tufte-style side note?

2012-05-28 Thread Jano Kula

Hello Andy,

On 05/27/2012 04:41 PM, Andy Thomas wrote:

Hello Jano,

On May 26, 2012, at 2:12 PM, Jano Kula wrote:


Hello Andy,
Side notes set ragged left (rigth justyfied) on left pages are quite difficult 
to read, I would make them ragged right (left justified) on all pages and.


I guess you want to say [...]  it would [not] break the overall design at all 
;) I like the look of ragged outer when just looking at a double page from far. 
It does make reading more difficult. I still cannot decide. In the end 
legibility should be more important, so ragged right is better like you said.


Sure, I wanted to say: it would not break the overall design at all :)


Just wondering, why is Optima-Regular embeded so many times?


We wanted to have a sans serif font for the viewgraphs that matches the Palatino (orig. 
1948). So we went for Optima (1952-1955 and also from Hermann Zapf). Wikipedia says 
Optima's capitals (like Palatino's) are directly derived from the classic Roman 
monumental capital model [...]. I think, it does look good together. We also wanted 
a TeX Gyre font as main font, so that it is available on every system.


Of course a good choice, but I meant something different. When I have a 
look at the Properties of the document in the Adobe Reader or just list 
the fonts with pdffonts command on linux, then Optima-Regular is 
listed 141 times. Figure labels use sans serif, so I'm wondering why so 
many times the font is included.


Jano

___
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] Is there some easy way to do tufte-style side note?

2012-05-27 Thread Andy Thomas
Hello Jano,

On May 26, 2012, at 2:12 PM, Jano Kula wrote:

 Hello Andy,
 
 On 05/23/2012 04:09 PM, Andy Thomas wrote:
 I finished a first version of a tufte style sample document that is based on 
 a predecessor in another macro language. The auto alignment of the marginals 
 has to be improved, but the rest looks already quite decent.
 
 Please see: 
 https://pub.uni-bielefeld.de/luur/download?func=downloadFilerecordOId=2303165fileOId=2303168
 
 for a full sample document.
 
 Nice work! Decent and nice design, good typesetting, I assume some hand work 
 which of course cannot be avoided to make the result pleasing.
 


thank you for the positive feedback. The example thesis has a lot of hand work. 
However, in the end I would like to have something that looks 95% instead of 
100%, but fully automatic. Then, I could output the same text in different 
output formats (book, handouts for every chapter, e-reader, ...), tweaking 
every file would cost too much time.

 Just two remarks to the layout. Figure descriptions set in to the block 
 (narrow column) produces too large spaces in the lines often. Ragged text 
 would suit it better, I think.

Seven Thesis were made, so far, and everyone plays a little with the overall 
design to see how things look when tweaked a little. But justified is not 
ideal, I agree. 

 
 Side notes set ragged left (rigth justyfied) on left pages are quite 
 difficult to read, I would make them ragged right (left justified) on all 
 pages and.

I guess you want to say [...]  it would [not] break the overall design at all 
;) I like the look of ragged outer when just looking at a double page from far. 
It does make reading more difficult. I still cannot decide. In the end 
legibility should be more important, so ragged right is better like you said.

 
 Just wondering, why is Optima-Regular embeded so many times?

We wanted to have a sans serif font for the viewgraphs that matches the 
Palatino (orig. 1948). So we went for Optima (1952-1955 and also from Hermann 
Zapf). Wikipedia says Optima's capitals (like Palatino's) are directly derived 
from the classic Roman monumental capital model [...]. I think, it does look 
good together. We also wanted a TeX Gyre font as main font, so that it is 
available on every system. 

 
 Regards,
 
 Jano

Aditya Mahajan contextified the github sources. It might be good to download 
the new stuff. Thanks for the help. 

Andy

 
 ___
 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
___


Re: [NTG-context] Is there some easy way to do tufte-style side note?

2012-05-26 Thread Jano Kula

Hello Andy,

On 05/23/2012 04:09 PM, Andy Thomas wrote:

I finished a first version of a tufte style sample document that is based on a 
predecessor in another macro language. The auto alignment of the marginals has 
to be improved, but the rest looks already quite decent.

Please see: 
https://pub.uni-bielefeld.de/luur/download?func=downloadFilerecordOId=2303165fileOId=2303168

for a full sample document.


Nice work! Decent and nice design, good typesetting, I assume some hand 
work which of course cannot be avoided to make the result pleasing.


Just two remarks to the layout. Figure descriptions set in to the block 
(narrow column) produces too large spaces in the lines often. Ragged 
text would suit it better, I think.


Side notes set ragged left (rigth justyfied) on left pages are quite 
difficult to read, I would make them ragged right (left justified) on 
all pages and it would break the overall design at all.


Just wondering, why is Optima-Regular embeded so many times?

Regards,

Jano

___
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] Is there some easy way to do tufte-style side note?

2012-05-23 Thread Andy Thomas
I finished a first version of a tufte style sample document that is based on a 
predecessor in another macro language. The auto alignment of the marginals has 
to be improved, but the rest looks already quite decent.  

Please see: 
https://pub.uni-bielefeld.de/luur/download?func=downloadFilerecordOId=2303165fileOId=2303168

for a full sample document. 

Simpler example code and the module is on github: 
https://github.com/andythomas/TeX-sidenotes/tree/master/context

Cheers,
Andy


Am 2012-04-22 um 18:30 schrieb Yue Wang: 

 There are many styles available on the context-garden site 
 (http://wiki.contextgarden.net/Sample_documents) which are really 
 helpful to help newcomers to learn how to define styles in context. 
 Wouldn't it be great to add tufte's and bringhurst's as extra 
 examples? 

Of course - just do it. 


Greetlings, 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@??? / 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
___


Re: [NTG-context] Is there some easy way to do tufte-style side note?

2012-04-22 Thread S Barmeier
On 04/22/2012 04:16 PM, Yue Wang wrote:
 Dear powerful ConTeXt users:

 Is there some way to do tufte style side notes? I googled and did
 found Wolfgang's solution

(http://archive.contextgarden.net/message/20110906.202722.f501f115.en.html)
 but it's just too simple and cannot be used for production. Side notes
 will cluttered or fall out of pages.

 LaTeX does provide a good solution for this style. I am wondering if
 this is possible to do in context.

 I am also curious to know simple way to do multiple float style in
 ConTeXt (like graphics spanning text and margin and many others).

 Yue Wang

Well, I am no powerful ConTeXt user, but \inmargin and derivatives
(\inouter \ininner \inright \inleft) have an option stack=yes to avoid
overlapping and stack=continue to avoid ... overlapping. As I understand
it, the former is for shorter margin notes, the latter for use with
paragraph-sized notes.

There is also \startmarginblock ... \stopmarginblock and it exceed my
ConTeXt user powers to be able to tell you the difference. My guess is,
that this type of margin note is a block, which maybe enjoys features of
textblocks...? But I, too, would be interested to understand the
difference in any detail.

I also use margin notes extensively (or at least hope the final version
of my document will be able to), but as of now, there seems to be no way
to float margin notes to the top/bottom of the page and no way to
prevent longer notes, attached to a line near the bottom of a page, to
exceed the margin and be typeset even beyond the page boundaries...
(Forgive me, if I'm wrong).

Severin
___
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] Is there some easy way to do tufte-style side note?

2012-04-22 Thread Wolfgang Schuster

Am 22.04.2012 um 09:33 schrieb S Barmeier:

 On 04/22/2012 04:16 PM, Yue Wang wrote:
 Dear powerful ConTeXt users:
 
 Is there some way to do tufte style side notes? I googled and did
 found Wolfgang's solution
 
 (http://archive.contextgarden.net/message/20110906.202722.f501f115.en.html)
 but it's just too simple and cannot be used for production. Side notes
 will cluttered or fall out of pages.
 
 LaTeX does provide a good solution for this style. I am wondering if
 this is possible to do in context.
 
 I am also curious to know simple way to do multiple float style in
 ConTeXt (like graphics spanning text and margin and many others).
 
 Yue Wang
 
 Well, I am no powerful ConTeXt user, but \inmargin and derivatives
 (\inouter \ininner \inright \inleft) have an option stack=yes to avoid
 overlapping and stack=continue to avoid ... overlapping. As I understand
 it, the former is for shorter margin notes, the latter for use with
 paragraph-sized notes.
 
 There is also \startmarginblock ... \stopmarginblock and it exceed my
 ConTeXt user powers to be able to tell you the difference. My guess is,
 that this type of margin note is a block, which maybe enjoys features of
 textblocks...? But I, too, would be interested to understand the
 difference in any detail.
 
 I also use margin notes extensively (or at least hope the final version
 of my document will be able to), but as of now, there seems to be no way
 to float margin notes to the top/bottom of the page and no way to
 prevent longer notes, attached to a line near the bottom of a page, to
 exceed the margin and be typeset even beyond the page boundaries...
 (Forgive me, if I'm wrong).

All of the mechanisms are added at different times in the process to make from 
text a page.

Margindata (\inmargin etc.) is added to the line where you have it in your
and doesn’t move from this position but you prevent overlapping of two
different texts in the line with “stack=yes”.

Marginblocks are added after ConTeXt has finished the entire page.

As you can see in the example below it’s possible to have text
at different levels on the same position.

\setupmarginblock[color=green]

\setupnote[footnote][location=none]
\setupnotation[footnote][color=blue]

\setuptexttexts
  [margin]
  []
  
[{\framed[frame=off,height=\textheight,width=broad,offset=none,align=high]{\placenotes[footnote][before=]}}]

\starttext

\inright[color=red]{Paragraph 1}

\input knuth\footnote{Footnote 1}

\startmarginblock
\input ward
\stopmarginblock

\inright[color=red]{Paragraph 2}

\input knuth

\stoptext

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
___


Re: [NTG-context] Is there some easy way to do tufte-style side note?

2012-04-22 Thread Henning Hraban Ramm

Am 2012-04-22 um 10:17 schrieb Wolfgang Schuster:
All of the mechanisms are added at different times in the process to  
make from text a page.


Margindata (\inmargin etc.) is added to the line where you have it  
in your

and doesn’t move from this position but you prevent overlapping of two
different texts in the line with “stack=yes”.

Marginblocks are added after ConTeXt has finished the entire page.

As you can see in the example below it’s possible to have text
at different levels on the same position.

\setupmarginblock[color=green]

\setupnote[footnote][location=none]
\setupnotation[footnote][color=blue]

\setuptexttexts
 [margin]
 []
 [{\framed[frame=off,height= 
\textheight,width=broad,offset=none,align=high]{\placenotes[footnote] 
[before=]}}]


\starttext

\inright[color=red]{Paragraph 1}

\input knuth\footnote{Footnote 1}

\startmarginblock
\input ward
\stopmarginblock

\inright[color=red]{Paragraph 2}

\input knuth

\stoptext


Thank you for the example, I need the same, and my setup worked some  
months before, but ConTeXt (latest beta) seems broken in that regard:


- footnotes appear doubled in margin and in footer, even with  
location=none in both setups


- numbering is by document (at least not by page, if I setup  
way=bypage)




Greetlings, 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
___


Re: [NTG-context] Is there some easy way to do tufte-style side note?

2012-04-22 Thread Wolfgang Schuster

Am 22.04.2012 um 11:55 schrieb Henning Hraban Ramm:

 Thank you for the example, I need the same, and my setup worked some months 
 before, but ConTeXt (latest beta) seems broken in that regard:
 
 - footnotes appear doubled in margin and in footer, even with location=none 
 in both setups

I noticed this and this does also happen with \endnotes etc.

 - numbering is by document (at least not by page, if I setup way=bypage)


Did you use \setupnotation to change the counter setting?

\setupnotation[footnote][way=bypage]

\starttext
\dorecurse{10}{\input knuth\footnote{Footnote \recurselevel}\par}
\stoptext

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
___


Re: [NTG-context] Is there some easy way to do tufte-style side note?

2012-04-22 Thread Henning Hraban Ramm

Am 2012-04-22 um 13:13 schrieb Wolfgang Schuster:

- footnotes appear doubled in margin and in footer, even with  
location=none in both setups


I noticed this and this does also happen with \endnotes etc.

- numbering is by document (at least not by page, if I setup  
way=bypage)


Did you use \setupnotation to change the counter setting?
\setupnotation[footnote][way=bypage]


No, sorry, I had it in \setupnote like before; it works in  
\setupnotation, thank you.


Greetlings, 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
___


Re: [NTG-context] Is there some easy way to do tufte-style side note?

2012-04-22 Thread Yue Wang
There are many styles available on the context-garden site
(http://wiki.contextgarden.net/Sample_documents) which are really
helpful to help newcomers to learn how to define styles in context.
Wouldn't it be great to add tufte's and bringhurst's as extra
examples?

On Sun, Apr 22, 2012 at 4:17 AM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:

 Am 22.04.2012 um 09:33 schrieb S Barmeier:

 On 04/22/2012 04:16 PM, Yue Wang wrote:
 Dear powerful ConTeXt users:

 Is there some way to do tufte style side notes? I googled and did
 found Wolfgang's solution

 (http://archive.contextgarden.net/message/20110906.202722.f501f115.en.html)
 but it's just too simple and cannot be used for production. Side notes
 will cluttered or fall out of pages.

 LaTeX does provide a good solution for this style. I am wondering if
 this is possible to do in context.

 I am also curious to know simple way to do multiple float style in
 ConTeXt (like graphics spanning text and margin and many others).

 Yue Wang

 Well, I am no powerful ConTeXt user, but \inmargin and derivatives
 (\inouter \ininner \inright \inleft) have an option stack=yes to avoid
 overlapping and stack=continue to avoid ... overlapping. As I understand
 it, the former is for shorter margin notes, the latter for use with
 paragraph-sized notes.

 There is also \startmarginblock ... \stopmarginblock and it exceed my
 ConTeXt user powers to be able to tell you the difference. My guess is,
 that this type of margin note is a block, which maybe enjoys features of
 textblocks...? But I, too, would be interested to understand the
 difference in any detail.

 I also use margin notes extensively (or at least hope the final version
 of my document will be able to), but as of now, there seems to be no way
 to float margin notes to the top/bottom of the page and no way to
 prevent longer notes, attached to a line near the bottom of a page, to
 exceed the margin and be typeset even beyond the page boundaries...
 (Forgive me, if I'm wrong).

 All of the mechanisms are added at different times in the process to make 
 from text a page.

 Margindata (\inmargin etc.) is added to the line where you have it in your
 and doesn’t move from this position but you prevent overlapping of two
 different texts in the line with “stack=yes”.

 Marginblocks are added after ConTeXt has finished the entire page.

 As you can see in the example below it’s possible to have text
 at different levels on the same position.

 \setupmarginblock[color=green]

 \setupnote    [footnote][location=none]
 \setupnotation[footnote][color=blue]

 \setuptexttexts
  [margin]
  []
  [{\framed[frame=off,height=\textheight,width=broad,offset=none,align=high]{\placenotes[footnote][before=]}}]

 \starttext

 \inright[color=red]{Paragraph 1}

 \input knuth\footnote{Footnote 1}

 \startmarginblock
 \input ward
 \stopmarginblock

 \inright[color=red]{Paragraph 2}

 \input knuth

 \stoptext

 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
___


Re: [NTG-context] Is there some easy way to do tufte-style side note?

2012-04-22 Thread Henning Hraban Ramm


Am 2012-04-22 um 18:30 schrieb Yue Wang:


There are many styles available on the context-garden site
(http://wiki.contextgarden.net/Sample_documents) which are really
helpful to help newcomers to learn how to define styles in context.
Wouldn't it be great to add tufte's and bringhurst's as extra
examples?


Of course - just do it.


Greetlings, 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
___