Re: [NTG-context] Italicized text trailing space too small

2012-01-05 Thread Chris Lott
On Tue, Jan 4, 2011 at 8:32 PM, Aditya Mahajan adit...@umich.edu wrote:
 On Wed, 4 Jan 2012, Kip Warner wrote:

 Text that I {\it have italicized} trails too tight with the first
 non-italicized word that is typeset next. I'm sure there is some ConTeXt
 command that adjusts this that I am unfamiliar with.


 \italiccorrection or \/

Or use \em which (as I understand it) automatically adds italic correction?

Although the hybrid-italics feature looks great (so many hidden
nuggets out there :).

c
--
Chris Lott ch...@chrislott.org
___
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] setupnote[footnote] adding extra pages

2012-01-03 Thread Chris Lott
On Mon, Jan 2, 2012 at 6:42 PM, Chris Lott ch...@chrislott.org wrote:
 Why does this document create three pages, with the footnote on the
 second and a third that is blank?

 \setuppagenumbering[state=stop]
 \setupnote[footnote][numberconversion=Romannumerals]
 \starttext
 This is a sample letter. \footnote{foo}
 \stoptext

A bit more for troubleshooting: the above code works fine with an
earlier version of ConTeXt (2011.05.18 18:04).

The problem above occurs when using version 2011.12.31 18:06 using
context file.tex ... however using texexec --pdf file.tex works
properly, so I guess this is an MKIV problem.

c
--
Chris Lott ch...@chrislott.org
___
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] most recent manual

2012-01-03 Thread Chris Lott
On Mon, Jan 2, 2012 at 6:10 PM, Chris Lott ch...@chrislott.org wrote:
 I'm working my way through the ConTeXt manual/reference. I discovered
 the draft of a new manual at:
 http://wiki.contextgarden.net/manual_being_revised -- is this the
 latest available anywhere? I'm finding a lot of things that are out of
 date in the new draft (for instance, using \setupnote[footnote]
 instead of \setupfootnotes) which generally means doing it wrong,
 searching google and the wiki for information, and finding out that
 things have changed :) Is this the best way?

A clarification because a backchannel note made me suspect this
question might be taken the wrong way: it isn't intended to imply a
criticism... I'm just making sure I'm using the most recent resources!

c
--
Chris Lott ch...@chrislott.org
___
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] most recent manual

2012-01-03 Thread Chris Lott
On Tue, Jan 3, 2012 at 12:02 AM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:

 \setupfootnote == \setupnote[footnote]

 The second form is the recommended way and commands like \setupfootnote
 are there for backward compatibility but for new functions it’s always
 \setupXXX[environment].

Thanks. Perhaps the backward compatibility was eventually removed for
setupfootnote! At any rate, what appears to be a bug reported in my
other message stands since I am pretty sure I am using the latest
syntax.

c
--
Chris Lott ch...@chrislott.org
___
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] redefining paragraph breaks

2012-01-03 Thread Chris Lott
I know I could do it manually, but that makes the source ugly, so is
there a way to redefine paragraph breaks so that instead of actual
breaks in the output they are kept as running text separate by a
paragraph symbol, e.g.:

This is paragraph 1.

This is paragraph 2.

Becomes in the typeset document:

This is paragraph 1. ¶ This is paragraph 2.

?

c
--
Chris Lott ch...@chrislott.org
___
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] most recent manual

2012-01-02 Thread Chris Lott
I'm working my way through the ConTeXt manual/reference. I discovered
the draft of a new manual at:
http://wiki.contextgarden.net/manual_being_revised -- is this the
latest available anywhere? I'm finding a lot of things that are out of
date in the new draft (for instance, using \setupnote[footnote]
instead of \setupfootnotes) which generally means doing it wrong,
searching google and the wiki for information, and finding out that
things have changed :) Is this the best way?

c
--
Chris Lott ch...@chrislott.org
___
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] setupnote[footnote] adding extra pages

2012-01-02 Thread Chris Lott
Why does this document create three pages, with the footnote on the
second and a third that is blank?

\setuppagenumbering[state=stop]
\setupnote[footnote][numberconversion=Romannumerals]
\starttext
This is a sample letter. \footnote{foo}
\stoptext

If I remove the \setupnote line, then everything is on one page, as it
should be.

c
--
Chris Lott ch...@chrislott.org
___
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] (exuberant) ctags and ConTeXt

2011-12-18 Thread Chris Lott
Does anyone have a current working configuration for exuberant-ctags
(I'm using it in vim) to work with ConTeXt? The ctags FAQ shows how to
do it for LaTeX with regexes in a configuration file...
http://vim-taglist.sourceforge.net/extend.html

I can hack away at those, but in case anyone has done this already I
wouldn't have to reinvent that particular wheel.

c
--
Chris Lott ch...@chrislott.org
___
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] Citation Error 2 using BibTeX db

2011-12-18 Thread Chris Lott
I was testing citation capability with a BibTeX db based on the
Context Garden bibliography page:
http://wiki.contextgarden.net/Bibliography

The example code using the xampl.bib from my distribution didn't work
at all. So I've tried to make a very small example, which results in
an in-text citation that says [[error 2]] and no citations listed in
the References section:

CONTEXT --VERSION
mtx-context | main context file:
/Users/chrislott/context/tex/texmf-context/tex/context/base/context.mkiv
mtx-context | current version: 2011.12.18 15:57

CTXBIBTEST.TEX (I've tried with and without the bibltx module, which
isn't found on my system)
\usemodule[bib]
\usemodule[bibltx]
\setupbibtex[database=bibtest]
\starttext
Oh No, he said \cite[lott].
\completepublications
\stoptext

BIBTEST.BIB
@book{lott,
author  = Chris Lott,
title   = FUBARed,
publisher  = NonExistent Press,
year= 2011,
address = Timbuktu
}

CTXBIBTEST.BBL (generated by ConTeXt):
\setuppublicationlist[samplesize={Lot11},totalnumber=1]

\startpublication[k=lott,t=book,
a={{Lott}},y=2011,
n=1,s=Lot11]
\author[]{Chris}[C.]{}{Lott}
\pubyear{2011}
\title{FUBARed}
\city{Timbuktu}
\pubname{NonExistent Press}
\stoppublication

CTXBIBTEST.AUX (generated by ConTeXt)

c
--
Chris Lott ch...@chrislott.org
___
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] optical centering...

2011-12-16 Thread Chris Lott
On Fri, Dec 16, 2011 at 8:26 AM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
 Centered text based on the longest line is simple but when it’s
 better to make this a feature of the lines environment.

Yeah, but it *isn't* based on the longest line, but on an average of
line length. I guess that's why it is call...well, except for the
first example in the doc provided, which is what I think your code
does.

Though the code you provided is very useful, so thanks!

c
--
Chris Lott ch...@chrislott.org
___
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] Minion Pro - em and slant?

2011-12-15 Thread Chris Lott
I found a bunch of code that sets up Minion Pro (and Myriad) typefaces that 
seems to work (once I modified MinionPro-Italic and the rest to be MinionPro-It 
as it is on my system:
http://pastebin.com/muSg4dZN

However, neither \em nor \slanted make any change to the text. Since I'm 
basically blindly copying and pasting the typeface setup (is there a better way 
to use different fonts? The documentation is bewildering), I'm not sure what I 
need to do to get \em and \slanted working, though I really only care about the 
former... 

c
--
Chris Lott ch...@chrislott.org



___
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] optical centering...

2011-12-15 Thread Chris Lott
I've seen some discussion about creating a verse environment in ConTeXt that 
handles the alignment of long (broken) lines of text. But I can't find anything 
about optical centering as can be done in LaTeX using the gmverse package: 
http://www.ctan.org/pkg/gmverse

Is there something like this available for ConTeXt?

c
--
Chris Lott ch...@chrislott.org




___
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] optical centering...

2011-12-15 Thread Chris Lott
On Thu, Dec 15, 2011 at 8:22 PM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:

 Am 16.12.2011 um 02:31 schrieb Chris Lott:

 I've seen some discussion about creating a verse environment in ConTeXt that 
 handles the alignment of long (broken) lines of text. But I can't find 
 anything about optical centering as can be done in LaTeX using the gmverse 
 package: http://www.ctan.org/pkg/gmverse

 Is there something like this available for ConTeXt?

 Can you make a PDF where we can see what do you want?

The documentation for the gmverse package probably explains it better
than I can. Here's a direct link:
http://mirror.ctan.org/macros/latex/contrib/gmverse/gmverse.pdf

Thanks!

c
--
Chris Lott
___
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] ConTeXt-- does it make sense for my needs?

2011-12-14 Thread Chris Lott
On Wed, Dec 14, 2011 at 2:22 AM, Roger Mason rma...@mun.ca wrote:

 4) How about X/HTML? this is my lowest level need but, again, it would be 
 nice.

 One option would be to use markdown with pandoc.

[...]
  I mostly write in
 ConTeXt, but if I know I must share with users of word processors then
 markdown + pandoc is a good option.

This is, in fact, what I do now, with the occasional export to--and
massage in--LaTeX. And even when trying ConTeXt lately, I often start
with that route because I much prefer composing raw text in Markdown
where I can.

That said, the RTF export by Pandoc, while not perfect, is a useful
step. I hear Mojca's point about the difficulty of re-integrating RTF
or Word/etc revisions; I share that philosophy. But many of my
colleagues don't. I try to use PDF as the interchange format but many
don't like dealing with them.

None of that is insurmountable, or any knock on ConTeXt, it is just a
consideration to--well--consider. I still have many uses for something
TeX based!

Thanks for the info...

c
--
Chris Lott ch...@chrislott.org
___
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] ConTeXt-- does it make sense for my needs?

2011-12-14 Thread Chris Lott
On Wed, Dec 14, 2011 at 5:31 AM, Hagmann Jörg joerg.hagm...@unibas.ch wrote:

 Another possibility is to use org-mode in Emacs, export to Latex and
from there to ConTeXt. In my case, the last step is accomplished by a
home-brewed ruby script which covers the most common layout commands
(and I'm mentioning that here in the hope that somebody who is more
competent will eventually write something useful; or maybe pandoc does
that, too?).

 This setup allows me to have everything belonging to a project in one
textfile, e.g.:

[***]

That's quite interesting. Are you willing to share your Ruby script? I
have used org-mode a fair amount...

c
--
Chris Lott ch...@chrislott.org
___
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] ConTeXt-- does it make sense for my needs?

2011-12-13 Thread Chris Lott
Many years ago I used LaTeX quite a bit for academic work, including a
fair amount of Memoir class. Back then ConTeXt was quite new, so I
didn't mess with it much.

Now I'm back and sick of Word/etc for the documents I need to produce
as print/pdf and for interaction with colleagues. What I can't figure
out is if ConTeXt makes the most sense... and if it does, I have a few
questions...

1) My work is primarily in the humanities and end-user technologies,
with small amounts of coding. So mathematics isn't an issue. I do a
fair amount of highly academic writing (aka: many sections, citations
[handling this in a sensible way is really important], footnotes) with
the occasional need for charts, graphs, and photos. In other words,
I'm not doing the kind of layout one might associate with InDesign or
the like. I also write many paper letters (personal), poetry, fiction,
essays, and the like.

2) That said, I (obviously) have a keen interest in typography, and
that includes wanting to use some particular typefaces... I've paid
good money for many of them, so why not?

3) PDF is my primary medium of exchange, though I would like to
efficiently exchange docs with colleagues, which might mean getting
them into something they can open with their beloved Microsoft Word...
is there an RTF output for ConTeXt? this isn't super-high on my list,
but it would be nice.

4) How about X/HTML? this is my lowest level need but, again, it would be nice.

5) I generally use a Mac for everything, but I am pretty comfortable
in the shell. I've done a bit of programming in PHP. I don't mind
monkeying around, and I am interested in creating layouts that suit my
needs, but digging into internals is not for me. I used Emacs
extensively for years, now using mostly Vim (MacVim) and a variety of
GUI editors depending on what I had for breakfast that day.

So, do you think ConTeXt makes more sense than LaTeX? And *what* is
the deal with xetex? It seems to be the easiest way for accessing all
my fonts, but it also hasn't been updated for years and, since it is
tied to an old version of ConTeXt (as far as I can tell) it doesn't
seem like much of a winner.

Finally, if ConTeXt is the way to go, are there any fairly
comprehensive materials in one place for learning to use it? What I
find on the wiki seems to go from basic to advanced without a lot of
in between, and what I find on the web seems a bit fragmented. but at
this point my head is in a whirl, so I might just be missing some
obvious material.

Thanks in advance...

c
--
Chris Lott
___
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] Formatting footnote numbers (in text)

2011-12-02 Thread Chris Lott
On Thu, Dec 1, 2011 at 11:40 AM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:

 Am 01.12.2011 um 22:02 schrieb Chris Lott:

 I'm new to ConTeXt, but I have searched for this myself... I'm trying
 to format the footnote numbers that appear in the text of my
 documents. I've used this to change them from being blue (there may be
 a better way-- I am generating PDFs for print, so don't need the
 hyperlinks) using the following:
 \setupinteraction[state=start,color=black,contrastcolor=black]

 Why do you enable hyperlinks etc. when you don’t need them?

Because I don't (yet) know how to disable them. I decided to switch
from LaTeX and needed to do so quickly as it appears it will-- in the
long term-- meet my needs more effective. But my workflow at the
moment is Markdown -Pandoc -ConTeXt via context xxx.tex, which spits
out a PDF with blue, hyperlinked bookmarks (which don't work very well
with footnotes on screen anyway) to footnotes.

Thanks for the formatting example, which takes care of the immediate need.

c
___
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] Formatting footnote numbers (in text)

2011-12-01 Thread Chris Lott
I'm new to ConTeXt, but I have searched for this myself... I'm trying
to format the footnote numbers that appear in the text of my
documents. I've used this to change them from being blue (there may be
a better way-- I am generating PDFs for print, so don't need the
hyperlinks) using the following:
\setupinteraction[state=start,color=black,contrastcolor=black]

Is this where I would control other formatting (size, face, format)?
Can anyone provide or point to an example of formatting footnote
numbers in text area of a doc?

c
--
Chris Lott
___
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
___