[NTG-context] Chemical reaction formulas

2021-03-17 Thread David van Diepen
Dear list,

According to the information on contextgarden (section chemistry)
chemical reactions should be entered as follows:

\usemodule[chemic]
\startformula
   \chemical{CaCO_3(s),+,HCl(g),->,CaCl(HCO_3)(s)}
\stopformula

That produces a formula with the comma's in it, so that's not good. If
I enter it as follows

\usemodule[chemic]
\startformula
   \chemical{CaCO_3(s) + HCl(g) \rightarrow CaCl(HCO_3)(s)}
\stopformula

Then somehow after the \rightarrow the math/chemical environment is
lost and the remainder gets typeset as text. The same is true if I use
any math command such as \beta or \cdot.

The closest I get to the desired result is with the following:

\usemodule[chemic]
\startformula
   \chemical{CaCO_3(s) + HCl(g) -->
CaCl(HCO_3)(s)}
\stopformula

But that is a bit of a compromise.

Regards, David van Diepen

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Genealogy and context

2021-03-03 Thread David van Diepen
Hello Hraban and Hans,

Thank you Hraban for your enthusiasm. Very nice to hear that this might
be useful for other people too, I was kind of hoping that actually. As
soon as I have some results I'll share them with you, we might be able
to collaborate. 

Thank you Hans for making this working piece of code, that's great!
That will get me started allright.

Kind regards, David

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Genealogy and context

2021-02-28 Thread David van Diepen
Hello,

My son is very much interested in genealogy. He already has collected
information on thousands of people. Now it would be nice to be able to
present this information in the form of a book. There is a possibility
to have this done by a commercial service, however then it's not
possible to adapt the format or to insert custom text. Media can be
added but not in the way we like it.

Genealogical information is stored as structured data. I have added a
fragment of an Gramps XML file below. In such a file there are events,
people, families and other groupings of data and these are linked by
handles.

What we would like to produce is a book with a number of blocks on
every page describing a family: Father, mother, dates of birth and
death, date of marriage, occupations and children. It would also be
good it there are references to the grandparents. 

My question is: Where should I get started with a project in which a
document is generated automatically from data? As far as I know context
should be very suitable for this but I don't have any experience with
this. Until now I've used context to make documents without any data
being added automatically, except for the bibliography.  

Thank you in advance,

David van Diepen

Example Gramps XML file is below:


http://gramps-project.org/xml/1.7.1/grampsxml.dtd;>
http://gramps-project.org/xml/1.7.1/;>
  



  
  
  
  Birth
  
  
  


  Death
  
  
  


  Marriage
  
  
  

  
 
  
  F
  
Catharina
Geldof
  
  
  
  
 
 
  M
  
Cornelis
Geldof
  
  
  
  
  
  


  F
  
Maatje
de Voogd
  
  
  
  
  
  
   
  
  

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

 

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Combining colors with matrices

2020-07-15 Thread David Eric Cox
Never mind. That was stupid of me. I can do it by containing a generalized 
fraction within \( and \).

Still getting used to thinking on multiple levels (TeX,ConTeXt,MathML, etc.)

Sent with [ProtonMail](https://protonmail.com) Secure Email.

‐‐‐ Original Message ‐‐‐
On Wednesday, July 15, 2020 9:38 AM, David Eric Cox 
 wrote:

> Can anyone direct me to either traditional ConTeXt math documentation on how 
> to produce matrices or tell me how to show a variable in bold redin MathML? I 
> am producing pdf files exclusively.
>
> Sent with [ProtonMail](https://protonmail.com) Secure Email.___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Combining colors with matrices

2020-07-15 Thread David Eric Cox
Can anyone direct me to either traditional ConTeXt math documentation on how to 
produce matrices or tell me how to show a variable in bold redin MathML? I am 
producing pdf files exclusively.

Sent with [ProtonMail](https://protonmail.com) Secure Email.___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] pdf tagging for accesbility

2020-07-12 Thread David Eric Cox
Hello.

Is there any way to pdf-tag table headers to assist screen readers and the 
like? I can get tagging in general and thought that natural tables would work 
because of \bTABLEhead ... \eTABLEhead would do the job, but it doesn't.

I'd appreciate any feedback.

David

Sent with [ProtonMail](https://protonmail.com) Secure Email.___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] spacing before items

2020-06-25 Thread David Rogers

Mike Cooper  writes:


Thanks David!

I don't think I've ever been quite so frustrated at trying to 
learn anything else in my life!  If it wasn't required by my 
job, I wouldn't have made it past the first day or two (3 months 
ago).  But I'm slogging away and it's gradually coming together 
(I think).  I spent my whole day yesterday figuring out how to 
do some very basic formatting/layout that would have taken 5-10 
minutes in Word or HTML/CSS.


People have been very helpful and patient with me!!  Thanks to 
all of you for that!


And thanks David for this explanation of the situation.

regards,
Mike


You may already be doing what I'm about to suggest. If so, please 
disregard.


One source that has helped me a lot is the archive of this mailing 
list, where I've searched for any messages that mention whatever 
it is that I'm looking for. Of course such a search is slower than 
scrolling through the index of a manual, and sometimes it's hard 
to figure out "What keyword do I search on? If I knew the correct 
keyword, I'd be done this already!" - but quite often I've "hit 
the jackpot" and found exactly what I needed, or close enough that 
I only had to change some details.


You will soon notice that there are some people on the list who 
consistently see through the problems that are presented, and who 
say something like "I think you probably want something like 
this:" - followed by a solution that makes you say confidently 
"A-ha! So THAT'S how that's done!".


The really good problem-solving sessions on the list, both the 
elegant answers and the questions that precede them, could form a 
pretty good start on a manual. Of course such a method is 
hit-or-miss, but in this case there are quite a few hits. Just 
watch out (in much older messages) that you're not fully relying 
on an answer based on ConTeXt Mk II, because many of those 
solutions no longer work in the newer versions.


... which has accidentally led me to another documentation 
comment. Hans's programming philosophy is not something I'm an 
expert on, but it seems clear that he values "usability, good 
function, and getting the job done well" much higher than he 
values "backward compatibility forever". In other words, if 
something is broken or not good enough, he doesn't hesitate to fix 
it or improve it in the best way he can see. This is good for the 
software in that it is constantly improving in every direction, 
but it does also make it a bit more of a challenge to document, 
and a bit more of a challenge to find someone who *wants* to 
document it - "How ConTeXt Used To Work Last Year" is clearly not 
going to be a top-selling title. :) But despite that, the majority 
of what you want to know has not changed in quite some time, and 
usually only *very* old solutions will fail completely.


I want to finish this message by saying: When you read through 
"SomeFile.tex" that you've created, every switch and command in it 
should make sense to you. In the beginning that might not always 
be the case, but it's easier for you to get there than it might 
sound, and you'll see that all the best solutions you get from 
others share that quality of "Ah, I see, that makes sense, I get 
how this works". Most of the time, a solution that doesn't give 
you that feeling is not quite the right way to do it. Of course a 
poor solution is better than nothing, but please don't stay 
satisfied with hairy-looking clusters of commands that sort of 
work but no one knows why. (I've written lots of those, that's why 
I say this.) :) Simple and direct writing means the mistakes will 
soon become obvious; the worst thing to do in ConTeXt is to make a 
complicated mysterious mistake that you can't even find.


Well. THAT turned out longer than I intended. :)

--
David
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] spacing before items

2020-06-23 Thread David Rogers

Mike Cooper  writes:


Thanks Tomáš!

1.  Where can this solution be found?



Mike, I know how you feel. The reasons that the documentation is 
so sparse and difficult to find are the same reasons behind a lot 
of things: time, money, and ability. Good documentation requires 
all three of those things to be brought together at the same time. 
Some people reading and responding here have two out of the three, 
but it's rare to find someone who has all three at the same time.


On second thought, there are at least five things required: time, 
money, ability, desire, and a workable plan. And with ConTeXt 
being developed by a relatively tiny group, even if a brilliant 
and kind organizer came along and said "I want excellent 
documentation for ConTeXt, and I'll pay a fortune to the person 
who knows how to write it - see, here's the money" - there's no 
way of guaranteeing that someone would actually take the offer.


--
David
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] use parentheses in itemize

2020-06-05 Thread David Rogers
On June 3, 2020 7:01:57 a.m. PDT, Mike Cooper 
 wrote:
>The logic in that approach is obvious.  Thanks Aditya.
>
>But then, what is "stopper"?  What's it for?  What happens if you just
>leave it out?

When you leave it out, it's simply not used. In broad general terms, ConTeXt is 
set up to allow you to just ignore any features you don't need.

Stopper is for when you want

(1.)
(2.)

or

(1:)
(2:)

or any other thing that suits you, to be placed after each number. "Nothing" is 
certainly one of the legitimate and common choices for this purpose, and Aditya 
took the step of actually defining it as "nothing" by typing "stopper=". (After 
the equals sign comes... you guessed it.) :) 

Doing such a "define it to be nothing" step would be especially 
helpful/important if you DID have it defined as something for a different part 
of your document, and then wanted to change styles part way through.

-- 
David
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Introducing myself

2020-04-18 Thread David van Diepen
Dear everybody,

I don't have a particular question for the moment but I thought it
would be nice to introduce myself as I have just joined the email list.

My name is David van Diepen, 49 years old. I am a process engineer. I
have two children.

A few months ago my son had to prepare his thesis and that's when I
thought latex would be applicable. Very many years ago I learned to
work with latex during my education, so I thought that it wouldn't be
too hard to help him out with that. At the end of the day it actually
was hard work to get to grisps again but after 10 days we had prepared
a very good-looking thesis and that's what counts.

In the line of my work I regularly have to prepare technical documents.
So I thought it's perhaps a good idea to start using latex for that
too. My teamleader has given me some space to do that even though latex
is completely unsupported at work, so I'm doing all that from home. The
first document was recieved quite wel actually. 

As you'll probably understand my collegues have difficulty appreciating
the value of a properly designed document. Everybody seems to agree to
a similar and often poor appearance. I am the son of a graphic
designer, so maybe that's why I do care what the documents I produce
look like. For instance, I have a couple of nice books with examples of
typefaces (letterproeven) lying about that I inherited, these are an
inspiration too. Also I think a well designed document conveys the
content better. So I'm glad that I am allowed start with this
development even though the benefits are very abstract still.

That's when I thought whether it would be a good idea to continue
investing time in latex, or whether it would be better to go with the
new developments, that being the luatex/context combination. So I
thought I should at least give it a try. 

That try was actually harder than I expected. On hindsight I think it
could have been easier if I had found the right channels to
documentation sooner. There is a lot of information on context to be
found but that includes a lot of information that's already superseded.
So a couple of times it took me quite some time before I realized there
was a newer and easier method. Anyway I'm well on my way now with my
first technical ducument in context. The thing I like most about
context is that the structure makes good sense. In latex there have
been so many additions troughout the years that it has become quite
messy really. In the longer run I think the greater array of
possibilities is going to pay off for my purposes too.

So I would like to thank you all for allowing me to use this great
software. I expect that I may post questions in the future because I am
planning to try more things. For now it's maybe a good idea if I put
some contributions in the wiki. As a newby I have struggled at some
points and maybe some howto's with that perspective can be helpful for
other newcomers.

For now, thanks again, yours faithfully, David



___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Typesetting Markdown -- Part 2

2019-05-30 Thread David Nebauer

https://github.com/Witiko/markdown is forked from https://github.com/jgm/lunamark. Github user 
"jgm" is John MacFarlane, the creator of pandoc, and pandoc itself is hosted on github 
under "jgm" as well: https://github.com/jgm/pandoc.

So, it seems a good bet that https://github.com/Witiko/markdown supports pandoc 
markdown.

Regards,
David.

Excerpts from Saša Janiška's message of May 30, 2019 7:48 pm:

Hans Hagen  writes:


just test it and tell me what needs to be fixed / added


I'm looking at https://github.com/Witiko/markdown and wondering which
flavour of Markdown this package does support?

By reading https://github.com/Witiko/markdown/issues/25 it could mean it
could be Pandoc's one, but not sure?

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] table making ugly column sizes, how to fix?

2018-10-02 Thread David Walther

On Tue, Oct 02, 2018 at 12:28:44AM -0400, Aditya Mahajan wrote:

ConTeXt MkIV 2018.09.30

What version are you using?


My version is from 2017.  Thank you for the confirmation; now I will file a bug
report with Debian.

David
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] accessing glyphs in the private area

2018-10-02 Thread David Carlisle



Ulrike and Hans wrote

> > It is not only that font. Actually the libertine package broke,
> > fontawesome broke, and Coelacanth was only used by Thérèse in the
> > example as it is free, her real problem was with using Goudy
> > fleurons.

> in context i strongly advice against using numbers instead of names

It's not just explicit numbers via \char, it's character data in 
documents using specific fonts with documented PUA characters


Many fonts use this for assorted reasons
https://en.wikipedia.org/wiki/Private_Use_Areas#Vendor_use
notably SIL fonts using it for minority languages not in Unicode and 
Microsoft for all kinds of CJK stuff.


Given how many reports are appearing in the few days that this has been 
exposed to a larger number of uses via LaTeX, use of PUA characters 
really isn't a rare occurrence at all.


If you need to allocate a block for internal use wouldn't it be possible
to use one of the high areas Supplementary Private Use Area-A or B
(U+F - U+F) (U+10 - U+10) ?

The BMP PUA block (U+E000 U+F8FF) just has so many documented uses in 
existing fonts.


David

Disclaimer

The Numerical Algorithms Group Ltd is a company registered in England and Wales 
with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business. 
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] table making ugly column sizes, how to fix?

2018-10-01 Thread David Walther

I looked at your example.  I ran your example, and on my installation, it has
the same problem as I described.  I have included a PDF file of my original
sample file, and also the PDF generated from your example.   What version of
ConTeXt are you using?

On my installation of context, columns are still coming out "ugly" as you will
see in the PDF t1.pdf.  In t2.pdf you'll see the problem shows up in the table
labelled "Good".  The "Good" refers to the row in bold, not to the row above
it.

David

On Sun, Sep 30, 2018 at 07:44:12PM -0400, Aditya Mahajan wrote:

On Sat, 29 Sep 2018, David Walther wrote:


Full example at the bottom.

I'm making a table.  So far so good.

Every so often I want to make something like a section header.

Regular table rows are like this:

\bTR\bTC \eTC\bTC NightShift \eTC\bTC Tension Lines 146 - 150 \eTC\eTR

For the section headers, I do this, and they look the way I want:

\bTR\bTC 30. \eTC \bTC[nc=2,align=center,style=] \bf{Foo Bar} \eTC\eTR


You can also use

\bTC[nc=2, align=middle, style=bold]

But then the regular lines have ugly line breaks and suddenly the 
column size of column 3 is squeezed.  This shouldn't be, we have the 
whole page to work with.


I don't really see the difference in column sizes between the two 
cases. See attached (I simplified and cleaned the example a little)


Aditya





___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___




t1.tex
Description: TeX document


t2.pdf
Description: Adobe PDF document


t1.pdf
Description: Adobe PDF document
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] align is reversed inside a table

2018-09-29 Thread David Walther

Using this table as an example, when I do align=left, the column aligns right,
and when I do align=right, it aligns left.  align=center works as expected.  Am
I doing something wrong or is this a bug?

I am using the version of context distributed with Debian unstable:

mtx-context | ConTeXt Process Management 1.01
mtx-context |
mtx-context | main context file: 
/usr/share/texmf/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2017.05.15 21:48

Minimal example here:

\setuppagenumbering[alternative=doublesided,location=none,page=no]
\setupfootertexts[\sans{Source: http://mywebsite}]
\setupheadertexts[test column text wrapping]
\setupheadertexts
 [] [Page \userpagenumber\ of \lastuserpagenumber]
 [Page \userpagenumber\ of \lastuserpagenumber] []
\setuppapersize[letter, portrait]
\setuplayout[topspace=0.5in, backspace=1in, height=10in, width=7in,
header=0.5in, footer=0.5in, headerdistance=0in, footerdistance=0in]
\switchtobodyfont[12pt]
\starttext
\setupTABLE[split=repeat]
\setupTABLE[r][each][toffset=3pt, boffset=3pt, loffset=3pt, roffset=3pt]
\setupTABLE[c][each][leftframe=off,rightframe=off,align=right]
\setupTABLE[c][first][frame=off,align=left]
\setupTABLE[c][2][style=\tfx\it,align=left]
\bTABLE
\bTABLEhead
\bTR\bTH Col1 \eTH\bTH Col2 \eTH\bTH Col3 \eTH\eTR
\eTABLEhead
\bTABLEnext
\bTR\bTH Col1 \eTH\bTH Col2 \eTH\bTH Col3 \eTH\eTR
\eTABLEnext
\bTABLEbody
\bTR\bTC \eTC\bTC NightShift \eTC\bTC Tension Lines 146 - 150 \eTC\eTR
\bTR\bTC 30. \eTC \bTC[nc=2,align=center,style=] \bf{Foo Bar} \eTC\eTR
%\bTR\bTC 30. \eTC \bTC\eTC \bTC[align=center] \bf{Foo Bar} \eTC\eTR
\eTABLEbody
\eTABLE
\stoptext
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] table making ugly column sizes, how to fix?

2018-09-29 Thread David Walther

Full example at the bottom.

I'm making a table.  So far so good.

Every so often I want to make something like a section header.

Regular table rows are like this:

\bTR\bTC \eTC\bTC NightShift \eTC\bTC Tension Lines 146 - 150 \eTC\eTR

For the section headers, I do this, and they look the way I want:

\bTR\bTC 30. \eTC \bTC[nc=2,align=center,style=] \bf{Foo Bar} \eTC\eTR

But then the regular lines have ugly line breaks and suddenly the column size 
of column 3 is squeezed.  This shouldn't be, we have the whole page to work 
with.

So, when I do my section headers this way, the columns come out sized nicely, 
but the section header isn't styled the way I want it:

\bTR\bTC 30. \eTC \bTC\eTC \bTC[align=center] \bf{Foo Bar} \eTC\eTR

Below is my minimal example you can cut and paste.  How do I do the section
headers without messing up the column sizing?


\setuppagenumbering[alternative=doublesided,location=none,page=no]
\setupfootertexts[\sans{Source: http://mywebsite}]
\setupheadertexts[test column text wrapping]
\setupheadertexts
 [] [Page \userpagenumber\ of \lastuserpagenumber]
 [Page \userpagenumber\ of \lastuserpagenumber] []
\setuppapersize[letter, portrait]
\setuplayout[topspace=0.5in, backspace=1in, height=10in, width=7in,
header=0.5in, footer=0.5in, headerdistance=0in, footerdistance=0in]
\switchtobodyfont[12pt]
\starttext
\setupTABLE[split=repeat]
\setupTABLE[r][each][toffset=3pt, boffset=3pt, loffset=3pt, roffset=3pt]
\setupTABLE[c][each][leftframe=off,rightframe=off,align=right]
\setupTABLE[c][first][frame=off,align=left]
\setupTABLE[c][2][style=\tfx\it,align=left]
\bTABLE
\bTABLEhead
\bTR\bTH Col1 \eTH\bTH Col2 \eTH\bTH Col3 \eTH\eTR
\eTABLEhead
\bTABLEnext
\bTR\bTH Col1 \eTH\bTH Col2 \eTH\bTH Col3 \eTH\eTR
\eTABLEnext
\bTABLEbody
\bTR\bTC \eTC\bTC NightShift \eTC\bTC Tension Lines 146 - 150 \eTC\eTR

% This displays the way I want, but breaks the regular rows.
\bTR\bTC 30. \eTC \bTC[nc=2,align=center,style=] \bf{Foo Bar} \eTC\eTR

% This works with the regular rows, but doesn't look how I want.
%\bTR\bTC 30. \eTC \bTC\eTC \bTC[align=center] \bf{Foo Bar} \eTC\eTR
\eTABLEbody
\eTABLE
\stoptext
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] how to put page X of N in header or top space?

2018-08-14 Thread David Walther

On Wed, Aug 15, 2018 at 05:41:33AM +0200, Wolfgang Schuster wrote:

\setuppagenumbering
 [alternative=doublesided,
  location=none,
  page=no]


Thanks Wolfgang, that works like a champ.  Now I've found the documentation for
ConTeXt in Debian, it is tucked away in
/usr/share/texmf/doc/context/documents/general/manuals directory as a pile of
PDFs.  I have some reading to do now.  Thank you everyone for your help.

David




Wolfgang


David Walther schrieb am 14.08.18 um 22:44:
Thank you Wolfgang, that worked nicely.  Two artifacts I'm not sure 
how to address:


I did page Page X of N, but in the output, it displays like
Page 2of 3, Page 1of 3, etc.  It ignores the space between the 
number and the word of.


Secondly, when I use the doublesided and the {singlesided,doublesided}
alternative page numbering, it rounds up to an even number of pages, even
though the last page is blank.  When I just use the singlesided 
option I get 3
pages as expected, but it doesn't do the nice interior margins and 
switching
sides of page numbers.  Even context doesn't view the blank page at 
the end as

a page, because it doesn't print the header or footer on it.

David


On Tue, Aug 14, 2018 at 09:32:29PM +0200, Wolfgang Schuster wrote:

\setuppagenumbering
[alternative=doublesided,   % doublesided layout
%alternative={singlesided,doublesided}, % singlesided layout with 
left/right pages

 location=none]

\setupheadertexts [My Spreadsheet]

\setupheadertexts
[] [Page \userpagenumber\ of \lastuserpagenumber]
[Page \userpagenumber\ of \lastuserpagenumber] []

\starttext
\dorecurse{10}{\page[dummy]}
\stoptext


Wolfgang


David Walther schrieb am 14.08.18 um 18:28:
Hi, I am slowly learning ConTeXt.  I am generating tables and 
spreadsheets, and

transforming them into ConTeXt, finally got it working after a lot of
mysterious errors about missing } as macro arguments.

I have read this page carefully: http://wiki.contextgarden.net/Layout

How can I alter the page number?  Is it in the header, or is it in the
topspace?

I want this to be at the top of each page of my spreadsheet:

My Spreadsheet (centered) Page 1 of 3 (right justified)

And on even pages, the other way around:

Page 2 of 3 (left justified) My Spreadsheet (centered)

What is the right way to do this?  Is there an override and a 
blob of code I need to put into one of the boxes in the Layout?


David
___


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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] how to put page X of N in header or top space?

2018-08-14 Thread David Walther

On Tue, Aug 14, 2018 at 02:58:58PM -0600, Alan Braslau wrote:

On Tue, 14 Aug 2018 13:44:43 -0700
David Walther  wrote:


I did page Page X of N, but in the output, it displays like
Page 2of 3, Page 1of 3, etc.  It ignores the space between the number and the 
word of.


You must have forgotten the trailing "\ " of "\userpagenumber\ ".


Thank you Alan.  That worked.  I didn't forget it; I never knew it.  I'm
starting to run into the area where the Wiki isn't enough, but I don't know
enough TeX to read the Context source for the macros.  What is recommended to
get up to speed on Context?  Should I go back and re-read Knuth's book on TeX
then try reading ConTeXt source?  Last time I read it was 20 years ago, and
only got half way through; that was enough for my needs back then.  I guess a
week or two reading everything on this page would help too:

 http://www.luatex.org/documentation.html

Now just need an answer for the blank page issue and I can start shipping these
spreadsheets to clients.

David
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] how to put page X of N in header or top space?

2018-08-14 Thread David Walther

Thank you Wolfgang, that worked nicely.  Two artifacts I'm not sure how to 
address:

I did page Page X of N, but in the output, it displays like
Page 2of 3, Page 1of 3, etc.  It ignores the space between the number and the 
word of.

Secondly, when I use the doublesided and the {singlesided,doublesided}
alternative page numbering, it rounds up to an even number of pages, even
though the last page is blank.  When I just use the singlesided option I get 3
pages as expected, but it doesn't do the nice interior margins and switching
sides of page numbers.  Even context doesn't view the blank page at the end as
a page, because it doesn't print the header or footer on it.

David


On Tue, Aug 14, 2018 at 09:32:29PM +0200, Wolfgang Schuster wrote:

\setuppagenumbering
 [alternative=doublesided,   % doublesided layout
 %alternative={singlesided,doublesided}, % singlesided layout with 
left/right pages

  location=none]

\setupheadertexts [My Spreadsheet]

\setupheadertexts
 [] [Page \userpagenumber\ of \lastuserpagenumber]
 [Page \userpagenumber\ of \lastuserpagenumber] []

\starttext
\dorecurse{10}{\page[dummy]}
\stoptext


Wolfgang


David Walther schrieb am 14.08.18 um 18:28:
Hi, I am slowly learning ConTeXt.  I am generating tables and 
spreadsheets, and

transforming them into ConTeXt, finally got it working after a lot of
mysterious errors about missing } as macro arguments.

I have read this page carefully:  http://wiki.contextgarden.net/Layout

How can I alter the page number?  Is it in the header, or is it in the
topspace?

I want this to be at the top of each page of my spreadsheet:

My Spreadsheet (centered) Page 1 of 3 (right justified)

And on even pages, the other way around:

Page 2 of 3 (left justified) My Spreadsheet (centered)

What is the right way to do this?  Is there an override and a blob 
of code I need to put into one of the boxes in the Layout?


David
___

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] how to put page X of N in header or top space?

2018-08-14 Thread David Walther

Hi, I am slowly learning ConTeXt.  I am generating tables and spreadsheets, and
transforming them into ConTeXt, finally got it working after a lot of
mysterious errors about missing } as macro arguments.

I have read this page carefully:  http://wiki.contextgarden.net/Layout

How can I alter the page number?  Is it in the header, or is it in the
topspace?

I want this to be at the top of each page of my spreadsheet:

My Spreadsheet (centered) Page 1 of 3 (right justified)

And on even pages, the other way around:

Page 2 of 3 (left justified) My Spreadsheet (centered)

What is the right way to do this?  Is there an override and a blob of code I 
need to put into one of the boxes in the Layout?

David
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] minimals.contextgarden.net down?

2016-12-17 Thread David at Icon Systems, Inc.
$ wget http://minimals.contextgarden.net/setup/first-setup.sh
--2016-12-14 15:45:23--  http://minimals.contextgarden.net/setup/first-setup.sh
Resolving minimals.contextgarden.net (minimals.contextgarden.net)... 
193.2.4.200, 2001:1470:ff80:88::80:c
Connecting to minimals.contextgarden.net 
(minimals.contextgarden.net)|193.2.4.200|:80... failed: Connection refused.

I took that from the instructions page at 
http://wiki.contextgarden.net/ConTeXt_Standalone#Single_user_installation 
 — 
perhaps a different URL is the correct one?

Thanks for your help!

David___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] docbook(5) to context conversion

2016-02-25 Thread David Nebauer

On 25/02/16 08:45, Jan Tosovsky wrote:

On 2016-02-23 David Nebauer wrote:
Any chance you could post your amended xslt files? 

Ok, I will publish it on my GitHub account later next week (after necessary 
cleanup).



Thanks, I'll watch for it. In the meantime I'll brush up on docbook xsl 
customisation.


David.
___
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] docbook(5) to context conversion

2016-02-23 Thread David Nebauer

On 23/02/16 06:33, Jan Tosovsky wrote:

On 2016-02-22 David Nebauer wrote:

Are there any publicly available solutions for converting
docbook/docbook5 to context? ...

* dbcontext
  - part of dblatex, abandoned ~10 years ago

I used this way some time ago, but it required tweaks in approx 10 xslt files 
to make it compatible with Context MkIV


Cool. Any chance you could post your amended xslt files to give a newbie 
a head start?



Some general tweaks were sent to the original author who promised merging them. 
He also mentioned planned update in the near future...


Since then dbcontext has been removed from the dblatex distribution. The 
current dblatex is 0.3.7 but it looks like the most recent dbcontext is 
from 0.2pre. I think the chances of dbcontext getting further love from 
its author are not good...


David.
___
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] docbook(5) to context conversion

2016-02-22 Thread David Nebauer

On 22/02/16 19:40, Jan U. Hasecke wrote:

Am 22.02.2016 um 11:08 schrieb David Nebauer:

Are there any publicly available solutions for converting
docbook/docbook5 to context?

You may find a way with Pandoc.

http://pandoc.org/

juh


Thanks. I'll check it out.
___
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] docbook(5) to context conversion

2016-02-22 Thread David Nebauer

Hi,

Are there any publicly available solutions for converting 
docbook/docbook5 to context? In searching the context wiki, pragma-ade 
site, ntg-context archives and the web, I encountered three suggestions:


* dbcontext
- part of dblatex, abandoned ~10 years ago

* context style sheets +/- lua
- generic xml solutions mentioned in help docs such as
  "Dealing with XML in Context MkIV"
- generic xml solutions also mentioned in context wiki page "XML Lua"

* xslt style sheets

Any pointers to more specific or developed resources, or even examples, 
would be appreciated.


David
___
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] Vim snippets

2016-02-22 Thread David Nebauer

Hi,

Newbie question: are there any vim snippets available for context?

The context wiki vim page () makes no 
mention of any.


I couldn't find anything on github (but there are hundreds of matches 
since "context" is such a generic word).


___
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] Problem with tabulate and \VL command

2015-12-03 Thread Arnold, David
Hi,

I entered:


\starttabulate[]
\NC test \VL test \VL test \VL\NR
\VL test \NC test \VL test \VL\NR
\VL test \VL test \NC test \VL\NR
\VL test \VL test \VL test \NC\NR
\stoptabulate

And got this error:

! Undefined control sequence.
\tabulatecontent ->\NC test \VL

Can someone help me with this?

SC216H-Mac-02:fall15 darnold$ context --version

resolvers   | trees | analyzing '/Users/darnold/Library/texmf'
mtx-context | ConTeXt Process Management 0.61
mtx-context |
mtx-context | main context file: 
/usr/local/texlive/2015/texmf-dist/tex/context/base/context.mkiv
mtx-context | current version: 2015.05.18 12:26

Compile in Context via the Teashop editor.

David Arnold
College of the Redwoods
___
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] Delayed page layout change?

2015-01-11 Thread David Brooks


On 11/01/15 11:39 pm, Hans Hagen wrote:

On 1/11/2015 12:36 AM, David Brooks wrote:

Hi,

I'm new to ConTeXt (although have used LaTeX in various ways over a long
time) and am impressed! Many thanks for a great system.

I'm wanting some pages in a book to have a different layout to others,
and am using \definelayout and \setuplayout to do so. This all works,
including adding layers to the different layouts. However the layout
change (specified by \setuplayout) occurs immediately after the command
is given, which means following paragraphs on the page have the layout's
new width and not the width used for earlier text on the page: i.e:

++
x
x
x
-- \setuplayout
x
x
++
++
x
x
x
x
x
x
++

Is there anyway to defer the change in layout so that it occurs when the
next page starts?? I can obviously force my own page breaks using \page
and give \setuplayout immediately afterwards, but this doesn't allow for
paragraph text to flow over the page boundary.


\setuppagenumbering[alternative=doublesided]

\setuplayout [width=11cm]
\definelayout [odd]  [backspace=1cm,height=18cm]
\definelayout [even] [backspace=4cm,height=19cm]
\definelayout [5][backspace=5cm,height=20cm]
\definelayout [6][backspace=5cm]
\definelayout [-2]   [backspace=0cm,cutspace=0cm]
\definelayout [last] [backspace=0cm,cutspace=0cm]

\checkcurrentlayout \showframe

\starttext
\dorecurse{20} {\input knuth \endgraf \input tufte \endgraf}
\stoptext

so you can play with these settings
Thanks, but if the page width changes the current paragraph's width does 
not adjust across the page boundary, as seen with:


\setuppagenumbering[alternative=doublesided]

\setuplayout [width=11cm,height=18cm]
\definelayout [odd]  [backspace=1cm]
\definelayout [even] [backspace=4cm,width=14cm]

\checkcurrentlayout \showframe

\starttext
\dorecurse{4} {\input knuth \endgraf \input tufte \endgraf}
\stoptext



Regards,
Dave

___
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] Delayed page layout change?

2015-01-11 Thread David Brooks


On 12/01/15 7:30 am, Hans Hagen wrote:

On 1/11/2015 7:04 PM, David Brooks wrote:


Thanks, but if the page width changes the current paragraph's width does
not adjust across the page boundary, as seen with:

\setuppagenumbering[alternative=doublesided]

\setuplayout [width=11cm,height=18cm]
\definelayout [odd]  [backspace=1cm]
\definelayout [even] [backspace=4cm,width=14cm]

\checkcurrentlayout \showframe

\starttext
 \dorecurse{4} {\input knuth \endgraf \input tufte \endgraf}
\stoptext


That is because the paragraph is already typeset .. in principle we 
can have a simple reflow but then users would ask for more complex 
things and it would not work
OK, thanks. Now I know this, I can adjust tweak content so that 
paragraphs don't flow over a change of page layout.



Regards,
Dave
___
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] Delayed page layout change?

2015-01-10 Thread David Brooks

Hi,

I'm new to ConTeXt (although have used LaTeX in various ways over a long 
time) and am impressed! Many thanks for a great system.


I'm wanting some pages in a book to have a different layout to others, 
and am using \definelayout and \setuplayout to do so. This all works, 
including adding layers to the different layouts. However the layout 
change (specified by \setuplayout) occurs immediately after the command 
is given, which means following paragraphs on the page have the layout's 
new width and not the width used for earlier text on the page: i.e:


++
   x
   x
   x
-- \setuplayout
   x
   x
++
++
   x
   x
   x
x
   x
   x
++

Is there anyway to defer the change in layout so that it occurs when the 
next page starts?? I can obviously force my own page breaks using \page 
and give \setuplayout immediately afterwards, but this doesn't allow for 
paragraph text to flow over the page boundary.




Thank you.

David Brooks
___
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] Footnote Placement in Columnsets

2014-08-13 Thread David Baßler
Dear all,

a couple of days ago I asked about placing footnotes in columnsets in only the 
first column.
I haven't received an answer and found this 
http://skryb.info/m/ntg-context%40ntg.nl/45C100C2.5050500%40econ.muni.cz on 
Google, which is basically the same question and also unanswered. So I just 
thought I try again:

I use a two columns columnsets layout and want to place the footnotes in the 
first column only.
I tried 
\setupnotation[footnote][
location=firstcolumn]

but this didn't work as expected it puts the footnotes into both columns.
If it is not possible to do this, I need to know.
I am using the current version of ConTeXt that comes with the MacTeX-2014 
Distribution.

Cheers,
David

PS: I am new to mailing lists like this, so I wasn't sure if I should post it 
again or wait. I'm sorry if I am too impatient.
___
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] Want footnotes in firstcolumn only

2014-08-08 Thread David Baßler
Hi,

I have a 2-columns-layout, implemented via columnset. I want the footnotes on 
each page to appear only in the first on odd and only on the right column on 
even pages. I tried setupfootnotes[location=firstcolumn] for a start, but it 
did not influence the layout (the footnotes are still in both columns). Is this 
the wrong way to do it, or is it not possible to have footnotes in only one 
column in columnsets?vid

Thank you very much in advance,

David
___
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] State of documentation of ConTeXt?

2014-07-15 Thread David Wooten
On Jul 15, 2014, at 2:59 AM, Gerben Wierda gerben.wie...@rna.nl wrote:

 I like ConTeXt (still do, I liked its approach when I first encountered it). 
 But the project is more the ongoing private tinkering of a small in-crowd 
 (that communicates with some followers).
 
 ConTeXt is managed a bit like a small group of researchers sharing a couple 
 of complex and undocumented models/programs and tinkering with them as they 
 go along. It’s an activity without formal design, but with a lot of 
 trial-and-error/testing.
 
 Given that status (and the fact that it has had that status for over a 
 decennium), I don’t expect it to ever become a serious product that is 
 (semi-)professionally managed. I prefer content over management every day, 
 but something like this needs some minimal management. That requires both 
 time (=money) and capabilities. Besides, the tinkering researchers may not be 
 inclined to do that, they want to tinker.


Agreed, though for my part with the opposite emphasis. I do not think ConTeXt 
is meant to be a “serious product”, as in being developed to be a product in 
the “marketplace” of  typesetting software — even open/free software. My 
impression is exactly yours, it is being developed primarily for the purposes 
of Pragma—a small in-crowd no doubt—but with extraordinarily generous support 
for a small community of non-Pragma people interested in using it. I’m grateful 
to have access to ConTeXt, as for me it’s the only sane method of typesetting 
the kind of documents I wish to typeset — not LaTeX, not InDesign, not Plain 
TeX, … I can tell you that every question or suggestion I’ve had has been 
responded to in the most generous form in this community, which I cannot say 
about any other platform I’ve used, typesetting or otherwise.

It’s suspect to take umbrage on another’s behalf, but “tinkering researchers 
may not be inclined to do that, they want to tinker” — It’s absurd to suggest 
that Hans co. are “tinkering” for the sake of tinkering.

David ___
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] State of documentation of ConTeXt?

2014-07-15 Thread David Wooten
As is said most often here in California, that’s just your opinion Hans! ;)

On Jul 15, 2014, at 3:54 PM, Hans Hagen pra...@wxs.nl wrote:

 On 7/16/2014 12:26 AM, David Wooten wrote:
 On Jul 15, 2014, at 2:59 AM, Gerben Wierda gerben.wie...@rna.nl
 mailto:gerben.wie...@rna.nl wrote:
 
 I like ConTeXt (still do, I liked its approach when I first
 encountered it). But the project is more the ongoing private tinkering
 of a small in-crowd (that communicates with some followers).
 
 ConTeXt is managed a bit like a small group of researchers sharing a
 couple of complex and undocumented models/programs and tinkering with
 them as they go along. It’s an activity without formal design, but
 with a lot of trial-and-error/testing.
 
 Given that status (and the fact that it has had that status for over a
 /decennium/), I don’t expect it to ever become a serious product that
 is (semi-)professionally managed. I prefer content over management
 every day, but something like this needs some minimal management. That
 requires both time (=money) and capabilities. Besides, the tinkering
 researchers may not be inclined to do that, they want to tinker.
 
 Agreed, though for my part with the opposite emphasis. I do not think
 ConTeXt is meant to be a “serious product”, as in /being developed to be
 a product in the “marketplace” of  typesetting software — even open/free
 software. /My impression is exactly yours, it is being developed
 primarily for the purposes of Pragma—a small in-crowd no doubt—but with
 
 don't get me wrong: the development is to a large extend possible because we 
 can use it at pragma (it make sit possible to do things that often cannot be 
 done otherwise) but most of the features that have been added the last years 
 as well as numerous additional options are purely user driven: most styles we 
 write are rather simple .. the complexity comes from the often messy or 
 complex or to-be-manipulated content and range of products; so, it being 
 mostly user driven (but within the constraints that we keep a relative stable 
 core) also means that users have a responsibility for helping with 
 documentation
 
 extraordinarily generous support for a small community of non-Pragma
 people interested in using it. I’m /grateful/ to have access to ConTeXt,
 as for me it’s the only sane method of typesetting the kind of documents
 I wish to typeset — /not /LaTeX, /not /InDesign, /not /Plain TeX, … I
 can tell you that every question or suggestion I’ve had has been
 responded to in the most generous form in this community, which I cannot
 say about /any other/ platform I’ve used, typesetting or otherwise.
 
 keep in mind that context has been part of the tex distributions for quite a 
 while now (nearly 20 years), that there are others than me who know the 
 source code pretty well (which means that it doesn't depend on pragma), that 
 the context crowd has been actively involved in development of (and even 
 triggered) general tex developments (..., luatex, mplib, fonts, ...) so it's 
 not as isolated as you suggest.
 
 once the move from mkii to mkiv is finishes and luatex is kind of done, there 
 might be time for writing more documentation; we're far from retiring
 
 of the other macro packages, plain tex is frozen, and latex dev is quite 
 controlled too (anyone can write additional code for any macro package)
 
 (and the context mailing list is one of the more active tex related lists and 
 not the smallest either)
 
 It’s suspect to take umbrage on another’s behalf, but “tinkering
 researchers may not be inclined to do that, they want to tinker” — It’s
 absurd to suggest that Hans co. are “tinkering” for the sake of tinkering.
 
 sometimes we do, when we explore new posibilities,
 
 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
 -
 ___
 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

Re: [NTG-context] smallcaps with features in simplefont

2014-07-02 Thread David Wooten
Thank you Wolfgang, it’s all coming together.

On Jul 1, 2014, at 9:49 PM, Wolfgang Schuster schuster.wolfg...@gmail.com 
wrote:

 
 Am 01.07.2014 um 23:11 schrieb David Wooten d...@trichotomic.net:
 
 Greetings,
 
 I’ve been trying to work through a new font scheme using simplefonts, e.g. 
 in simple form something like this:
 
 \definefontfeature[main][protrusion=quality,expansion=quality,onums=yes]
 \definefontfamily[mainface][rm][Adobe Jenson Pro][features=main]
 \setupalign[hanging,hz]
 \setupbodyfont[mainface,13pt]
 
 In this setup, I do get protrusion  expansion in the text, —except when I 
 switch to {\sc small caps.}
 
 In your setup you disable ligatures etc., to keep them change the first two 
 lines to
 
 \definefontfeature[main][default][protrusion=quality,expansion=quality,onums=yes]
 \definefontfamily[mainface][rm][Adobe Jenson Pro][features=main]
 
 or
 
 \definefontfeature[main][protrusion=quality,expansion=quality,onums=yes]
 \definefontfamily[mainface][rm][Adobe Jenson Pro][features={default,main}]
 
 Do I need to declare the caps in some other way?
 
 Smallcaps use the regular where the “smallcaps” features are applied, to use 
 also your “main” features you have to use this setup:
 
 \definefontfamily[mainface][rm][Adobe Jenson 
 Pro][features={default,main},sc=features:{default,main,smallcaps}]
 
 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
 ___

___
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] smallcaps with features in simplefont

2014-07-01 Thread David Wooten
Greetings,

I’ve been trying to work through a new font scheme using simplefonts, e.g. in 
simple form something like this:

\definefontfeature[main][protrusion=quality,expansion=quality,onums=yes]
\definefontfamily[mainface][rm][Adobe Jenson Pro][features=main]
\setupalign[hanging,hz]
\setupbodyfont[mainface,13pt]

In this setup, I do get protrusion  expansion in the text, —except when I 
switch to {\sc smallcaps.}

Do I need to declare the caps in some other way?

Thanks,
David___
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] Lilypond

2014-06-12 Thread David Wooten

On Jun 11, 2014, at 1:51 AM, Henning Hraban Ramm te...@fiee.net wrote:

 
 Am 2014-06-11 um 00:26 schrieb David Wooten d...@trichotomic.net:
 
 Hi Hraban, thanks very much — yes I am able to get the first examples to 
 work. Is there still a way to insert snippets/single lines of music between 
 paragraphs?
 
 Between paragraphs should just work like that.

Both examples (1st page  multipage insertion) place the snippet on its own 
page, e.g. this gives me a 3 page document w/ snippet on page 2:

\def\readPDFfile#1{\externalfigure[#1]}

\usemodule[filter]
\defineexternalfilter[lilypond]
[continue=yes,
readcommand=\readPDFfile,
directory=lilytemp/, % directory for LilyPond's files
output={\externalfilterbasefile.pdf},
filtercommand={lilypond -dbackend=eps -dno-gs-load-fonts 
-dinclude-eps-fonts -ddelete-intermediate-files 
-olilytemp/\externalfilterbasefile \externalfilterinputfile}]

\starttext
\input zapf
\inlinelilypond{c d e f g a b c}
\input zapf
\stoptext

(same result for \startlilypond … \stoplilypond)

OS X Mavericks

 If you’d like to avoid \startlilypond … \stoplilypond, try \inlinelilypond{…}
 
 If the one \include line is too much for your use case, you should look into 
 how you can inject that automatically in the buffer file.
 
 If you don’t want to include your lilypond settings file every time, follow 
 the advise in filter’s docs regarding LaTeX package „skak“ („Prepend and 
 append text“):
 http://modules.contextgarden.net/dl/t-filter/doc/context/third/filter/filter.txt
 
 Please add your solution to the wiki!

I certainly will,

Thanks
David


 
 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
 ___

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

2014-06-12 Thread David Wooten
Right! Got it.

On Jun 12, 2014, at 10:37 AM, Henning Hraban Ramm te...@fiee.net wrote:

 Am 2014-06-12 um 23:00 schrieb David Wooten da...@farwestmillwork.com:
 
 Both examples (1st page  multipage insertion) place the snippet on its own 
 page, e.g. this gives me a 3 page document w/ snippet on page 2:
 
 The LilyPond settings are essential, otherwise LP produces whole pages, 
 that’s not a problem of ConTeXt.
 Please read and follow the wiki.
 
 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
 ___

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

2014-06-10 Thread David Wooten
Hi Hraban, thanks very much — yes I am able to get the first examples to work. 
Is there still a way to insert snippets/single lines of music between 
paragraphs?

Cheers,
David

On Jun 10, 2014, at 2:53 AM, Henning Hraban Ramm te...@fiee.net wrote:

 Am 2014-06-09 um 04:31 schrieb David Wooten d...@trichotomic.net:
 
 Greetings all, it’s been quite a while since I tried to use lilypond 
 snippets in a context file. Looks like we’re now using the filter module… 
 can someone post a small working example file to get me started? —there are 
 a number of different  some incomplete approaches to be found, none of 
 which work :)
 
 There’s really just one approach, just different setups of the filter module:
 http://wiki.contextgarden.net/LilyPond
 
 Did the first example work at all? Do you have LilyPond installed, and 
 calling „lilypond“ works?
 
 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
 ___

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

2014-06-08 Thread David Wooten
Greetings all, it’s been quite a while since I tried to use lilypond snippets 
in a context file. Looks like we’re now using the filter module… can someone 
post a small working example file to get me started? —there are a number of 
different  some incomplete approaches to be found, none of which work :)

Kind regards,
David
___
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] page numbering 'marginedge'

2014-03-04 Thread David Wooten
Exactly so, thanks Pablo. 

On Mar 3, 2014, at 10:44 AM, Pablo Rodriguez oi...@gmx.es wrote:

 On 03/03/2014 07:37 PM, David Wooten wrote:
 Hello all, trying to get page numbers in the outer margin edge of a
 double-sided document — marginedge as it is places the numbers to the
 inside margin edge, is there an opposite command?
 
 Hi David,
 
 as far as I know, location=right is the option you want.
 
 See minimal sample:
 
 \setuppapersize[A6]
 \setuppagenumbering[alternative=doublesided, location=right]
 \starttext
 \input knuth\page
 \input zapf\page
 \input ward
 \stoptext
 
 I hope it helps,
 
 
 Pablo
 -- 
 http://www.ousia.tk
 ___
 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] page numbering 'marginedge'

2014-03-03 Thread David Wooten
Hello all, trying to get page numbers in the outer margin edge of a 
double-sided document — marginedge as it is places the numbers to the inside 
margin edge, is there an opposite command?

Thanks,
David
___
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] Opening quotes problem with context.

2013-07-24 Thread David Rogers
john Culleton j...@wexfordpress.com writes:

 Did a fresh install of context etc. from the context site. I used this
 test file:
 ---
 \starttext
 ``Hello world.'' And ``Goodbye world.''
 \stoptext
 %\bye
 -
 The resulting pdf shows two left tick marks for opening quotes but the
 closing quotes are proper curly quotes.

 If I modify the file as follows:
 ---
 %\starttext
 ``Hello world.'' And ``Goodbye world.''
 %\stoptext
 \bye
 ---
 and use luatex or pdftex from texlive the quotes are OK. 

 I got similar results from context in texlive 2012 and texlive 2013.

 What is the proper code for opening quotes in context?


The truly proper code is \quotation{Hello world.} - that style is
guaranteed to work. (And, for instance, if you change context's language
to French, then \quotation{Bonjour monde.} will automatically give you
the correct style of French quotation marks without having to look up
how to type them; likewise for other languages.)

I think the problem of the two left tick marks may come from web browser
copy-and-paste. Special marks, especially the quotation marks,
apostrophes, and tick marks, are often mangled when converting to and
from HTML. When copying any program's code from a web page, watch out
for those marks, they've probably been mis-transcribed by the too-clever
HTML rendering.

-- 
David R
___
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] Can this layout be done in Context

2013-07-23 Thread David Rogers
Russell Urquhart russurquha...@verizon.net writes:

 On Sun, Jul 21, 2013 at 11:19:27PM -0700, David Rogers wrote:
 To summarize: A page header with page number and guide word (the guide
 word showing which chapter of which book of the Bible begins on this
 page), two columns of regular text, margin notes *for both columns*
 set in their own special single (very narrow) centre column, and
 footnotes in one single large column, which is permitted to take a lot
 of vertical space on the page when necessary, with all those areas of
 the page separated from each other by thin ruled lines. Correct?

 I know that this example is probably a little extreme, but i love the
 layout of thise books, and while i may not want to be able to do
 something that has ALL of those layout attributes, i'd be curious as
 to what it would take on the Context side.


I don't think it's extreme - I just wanted to make sure we didn't miss
any of what it contains.

I think there would need to be a lot of typing inside of the Bible text
itself (for example, needing to manually tag each and every chapter of
each book of the Bible), to get the guide-words to display correctly -
you definitely wouldn't be able to just book-end the Bible with some
code at the beginning and end. I don't know how easy it is to get margin
notes from two different text columns to combine into one margin
column. The rest of it seems not very challenging from a ConTeXt point
of view - footnotes are quite well-supported (though again for both the
footnotes and the margin notes there would be considerable hand-work
adding the commands for every single note, to make them appear in the
right places); and the physical layout of the page is not difficult in
itself.

The benefit of all that typing, if done with the right kind of planning
in mind, would be that later you'd easily be able to change the page
size, amount of white space, fonts and font sizes, etc.

The disadvantage would be that you would no longer have the clean,
plain text of the Bible in your ConTeXt file; it would be permanently
littered with commands and switches, so it would be much harder to check
your textual accuracy. Therefore you would want to be quite sure you
have exactly the Bible version you want, with all the spelling corrected
and verses and paragraphs the way they ought to be and so on, before you
begin your ConTeXt adventure.

-- 
David R
___
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] Can this layout be done in Context

2013-07-22 Thread David Rogers
Russell Urquhart russurquha...@verizon.net writes:

 Hi,

 I have a jpg of an image of an oldish Zondervan NIV Bible page. I love
 the layout of this and would love to do similar layouts.  Can the
 Context experts look at this and tell me if this sort of layout is
 reasonable, in Context?

To summarize: A page header with page number and guide word (the guide
word showing which chapter of which book of the Bible begins on this
page), two columns of regular text, margin notes *for both columns*
set in their own special single (very narrow) centre column, and
footnotes in one single large column, which is permitted to take a lot
of vertical space on the page when necessary, with all those areas of
the page separated from each other by thin ruled lines. Correct?

-- 
David R
___
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] problem with setuptex

2013-07-22 Thread David Rogers
Thomas A. Schmitz thomas.schm...@uni-bonn.de writes:

 On 07/10/2013 11:24 AM, Mojca Miklavec wrote:
 I would gladly help, but I don't know how zhs works and I didn't find
 any hints during a quick search.

 My suggestion would be to put
 export PATH=$HOME/context/tex/texmf-linux-64/bin:$PATH
 or something similar into the file that you are sourcing.

 Mojca

 Hi Mojca,

 I'm happy to say that a recent update in Fedora solved the problem;
 setuptex now works again. Bizarre, I still have no idea where the
 problem came from...

A tiny, random hunch: zsh treats its built-in source command
differently from its . command, and therefore sometimes one or the
other works better. It's worth trying . ~/context/tex/setuptex when
using zsh. However, I don't see really how it would have helped in this
situation, and on my machine either one works fine.

-- 
David R
___
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] Overriding pdfview

2013-06-30 Thread David Rogers
Keith J. Schultz keithjschu...@web.de writes:

 Hi All,

 I would agree that the users default should be respected.

 I will have to contradict my last post them. 

 My suggestion them is to use a system variable such as
 ConTeXtViewer. This variable would contain the program to be called.
 If it is not set or empty context simply finishes up what ever it is doing
 and exits. 

 It would not be two hard for a user to set this variable. Everybody gets what 
 they 
 want. It is not intrusive. It survives updates. Only needs to be done once.

 Now, if anybody wants to us the current method and furture versions he can
 or set up he wants.


Windows, Mac, and Linux and other Unix-like systems all have such a
system variable already, in their respective graphical desktop
software. There is absolutely no need, and hardly any purpose either, in
creating another setting - in fact it would only create further
confusion. The respective already-existing settings for each OS were
already mentioned earlier in this thread; all that's required for
ConTeXt is to read the system setting that already exists and use it. If
the user's default turns out to be not set, ConTeXt could do any
combination of [complain] [open the user's system preferences for
editing] [use its own default PDF software] [whatever else Hans et al
have up their collective sleeve]. This means ConTeXt needs a
small-but-cumbersome list of all the places to look where the user may
have set their preferred PDF viewer, but that's just the price of being
cross-platform.

Anyone working with PDF is running a graphical desktop, right? I can see
that people may prefer to work in terminal emulators as a matter of
comfort/utility/familiarity, but is there anyone using ConTeXt and (on
Linux or other Unix-like system) not running X11? (I think it's almost
perfectly safe to assume that no Windows ConTeXt users are running
straight DOS without a GUI...)

-- 
David
___
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] Cloze Text (text with gaps)

2013-06-26 Thread David Rogers
Christian Prim christian.p...@gmx.ch writes:

 I wonder if I can typeset a cloze text using context. The gaps (__)
 must have a given length (say in cm or the length of a given word, given
 sentence) and must break at the end of a line.

 \hl[4] is nice but won't do the trick since it won't break. \fillinline and
 others fill the hole line, but I only want to fill a given size.

 Are there some ideas how to deal with it?

 Example:

 The name of the _ is _
 . And now it's time to go to bed.
 Some more text.


I haven't tested these ideas...

One possibility: type the answer in white, but give it a coloured
\underbar. (You might need to type longer answers, or in a larger font
size, to leave enough room for hand writing.)

Another: use a \fillinline - you can define the length.

-- 
David
___
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] Lilypond

2011-08-20 Thread David Wooten
Hi Aditya  Hraban,

I'm very glad to see improved Lilypond integration being discussed. I can't 
offer too much besides moral support, but would just point out one solution 
I've found for proper width/alignment of a snippet with extra-staff material 
(e.g. a piano staff marker { ): If the ConTeXt textwidth is equal to the 
Lilypond line-width, aligning the float to the right gives you a snippet nicely 
aligned with flush text (extra-staff material being pushed towards the left 
margin). 

Something like this (as in the example in the garden):

\def\readlilypondoutput#1{\setupfloats[location=right,frame=off]\placefigure[]{}}{\externalfigure[#1]}}

Regards,
David


On Aug 20, 2011, at 1:19 AM, Aditya Mahajan wrote:

 On Fri, 19 Aug 2011, Henning Hraban Ramm wrote:
 
 Am 2011-08-19 um 17:08 schrieb Aditya Mahajan:
 
 But - can you even support different setups, say
 
 \startlilypondpreamble
 global settings for everything
 \stoplilypondpreamble
 
 \startlilypondpreamble[snippet]
 global settings for snippets
 \stoplilypondpreamble
 
 \startlilypondpreamble[fullscore]
 global settings for full scores
 \stoplilypondpreamble
 
 \startlilypond[setup=fullscore]
 the score
 \stoplilypond
 
 etc.
 
 Yes. I can support the following syntax:
 
 \startbuffer[snippets] ... \stopbuffer
 
 \startbuffer[fullscore] ... \stopbuffer
 
 \startbuffer[common] ... \stopbuffer
 
 \startlilypond[bufferbefore={snippets,common}, bufferafter={}]
  \stoplilypond
 
 (In fact, provide similar support for anything defined using the filter 
 module).
 
 The other thing is to be able to change linespace, papersize, offset, etc 
 using parameters, so that one can say:
 \startlilypond[linespace=...]
 ...
 \stoplilypond
 This will require some lua side processing.
 
 You mean, translate ConTeXt-style settings to LilyPond settings, like we did 
 with the old module?
 
 Yes.
 
 That wouldn’t make much sense. LilyPond just has too much settings. And most 
 of them you can set in different ways. To fully support this, you’d need a 
 complete LilyPond parser including Scheme. And a small set of settings is 
 never the right set for everyone.
 
 OK.
 
 Ok, there are a few settings that we could translate, e.g. set ConTeXt’s 
 main fonts also for LilyPond.
 
 Agreed. Does anyone know how to get the name of the current font in MkIV?
 
 We don’t need LilyPond's layout settings, as long as we go the 
 \externalfigure path.
 
 But I think that at least automatic paper size settings (set paper size to be 
 equal to text area) are needed.
 
 I don’t know a solution for line breaking of scores - if you’d set 
 LilyPond’s page size to ConTeXt’s remaining space, it would stay the same 
 for the second page. Perhaps we can get single lines (systems) and let 
 ConTeXt to the page breaking. I’ll look into that.
 
 OK.
 
 But I don’t know how we can make it right WRT LilyPond snippets - I’d want 
 to align a note systems’s base line with ConTeXt’s text baseline, but the 
 height and clipping of a snippet depends on the visible elements. Without 
 some picture analysis (or runtime data from LilyPond, that doesn’t exist 
 AFAIK) you need to adjust your snippets manually.
 
 Does lilypond-book handle this at all? It does not appear to. Manually 
 adjusting each inline snippet will be too much work, IMO.
 
 Do you know how lilypond numbers its output files. In some cases I get 
 filename-1.pdf sometimes not. Can I force it to always give filename-1.pdf 
 or always give filename.pdf
 
 LilyPond adds a number to EPS, if there’s more that one page.
 But in my songbook setup, I always get a filename-temp-lilypond-##.eps plus 
 an identical filename-temp-lilypond-##-1.eps
 
 When you order more than one \midi{} in several \score blocks, the first 
 MIDI file is unnumbered, the second gets number 1 etc.; didn’t try with 
 different \layout blocks yet.
 
 Seems like I must do some tests with multipage scores.
 
 Look at the current version on github. It should be able to handle multi-page 
 snippets.
 
 Aditya___
 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] [OT ?] New vi-like editor for Mac

2011-05-16 Thread David Wooten
Hi folks,

Thought a few of you might share my interest in a new editor, vico ( 
http://www.vicoapp.com/  ),  in development for the Mac. Vi(m)-like, 
configurable with nu scripting, nice interface (variable width-fonts in vi!), 
handles at least some TextMate bundles (like the ConTeXt and LilyPond bundles, 
at least partially  to be tested further), handles remote directories via 
ssh, responsive developer. Not free after full release, if that's a kicker.

Dave
___
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] LilyPond nowadays

2011-04-13 Thread David Wooten
On Apr 13, 2011, at 2:18 AM, Henning Hraban Ramm wrote:

 Am 2011-04-13 um 01:37 schrieb David Wooten:
 
 I've gotten back to tinkering with LilyPond, and wanted to ask if someone 
 could send a small example of the new method of handling it, especially with 
 some lilypond settings in the .ly file mentioned below. My initial trials 
 make place the lilypond results on their own page. How would we get them 
 placed in-line?
 
 Do you mean in-line music snippets (i.e. within a line of text)?
 I don’t know, never needed it - and it worked never properly with t-lilypond 
 either.

Yes, I did mean snippets. I did have it working very well for me a few years 
ago, tinkering a bit with the module to get the snippets the correct 
width/placement in reference to the text.

 The mentioned LilyPond settings file is nothing magic - just a LilyPond file, 
 containing LilyPond or Scheme code.
 It has nothing to do with ConTeXt’s image placement.
 You don’t need it, if you don’t need it ;-)  Find mine attached. Maybe you 
 need the settings of the paper block.

Ah, I see. Thanks for the example.

***

On Apr 13, 2011, at 8:13 AM, Aditya Mahajan wrote:

 On Wed, 13 Apr 2011, Henning Hraban Ramm wrote:
 
 Aditya, LilyPond’s preview mode doesn’t help - it just makes a preview 
 (first line) of your music.
 
 That should work for inline snippets, right?

I'd love to hear if so . . .

Thanks,
David
___
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] LilyPond nowadays

2011-04-12 Thread David Wooten
Hi all,

I've gotten back to tinkering with LilyPond, and wanted to ask if someone could 
send a small example of the new method of handling it, especially with some 
lilypond settings in the .ly file mentioned below. My initial trials make place 
the lilypond results on their own page. How would we get them placed in-line?

Thanks,
David

RE:
From the garden:

The LilyPond module doesn't work any more with recent versions of ConTeXt. You 
can simply replace it with the Filter module like this:
\def\readPDFfile#1{\externalfigure[#1]}

\usemodule[filter]
\defineexternalfilter[lilypond]
[continue=yes,
readcommand=\readPDFfile,
directory=lilytemp/, % directory for LilyPond's files
output={\externalfilterbasefile.pdf},
filtercommand={lilypond -dbackend=eps -dno-gs-load-fonts 
-dinclude-eps-fonts -ddelete-intermediate-files 
-olilytemp/\externalfilterbasefile \externalfilterinputfile}]
You can't use \setuplilypond any more, but there is a better replacement: 
Collect your LilyPond settings in a .ly file, put it in your lilytemp directory 
and include it from within your lilypond block like this:
\startlilypond
\include mysettings.ly
...
\stoplilypond

___
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] What are the best fonts to use

2011-03-14 Thread David Rogers

* Cecil Westerhof cldwester...@gmail.com [2011-03-14 12:44]:


At the moment I use for my ebook:
\usetypescript[palatino][texnansi]
\setupbodyfont[palatino,rm,12pt]

Does not look to bad, but layout is not my forte. So if people have tips
about the fonts to use, I like to hear them.

Do you use other fonts when using a printed book?



I don't think this question can have one answer. There are many good
answers, depending on the kind of book (or other printed material).

1. I think the layout of the page itself can have a great deal to do
with whether a certain font looks good (e.g. amount of white space,
length of lines, etc). Paying proper attention to the gross aspects of
your layout, such as margins and line heights, goes a long way to
improving the appearance of the whole work, and brings out the best in
whichever font you choose.

2. To some extent, different fonts can suit different material (e.g. a
book of poems vs a financial report, or a textbook vs a novel). For
extended reading, the conventional wisdom is to choose a
normal-looking font that doesn't call attention to itself too much,
but obviously you also want one that is at least somewhat attractive to
look at.

3. Frankly, giving people what they are already used to is often the
best plan - probably more often than typographers would care to admit.
In my opinion, variation for its own sake is over-rated and over-used.

--
David
___
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] TTF fonts and MKIV

2011-01-28 Thread David Rogers

* John Culleton j...@wexfordpress.com [2011-01-28 16:39]:


Is there a short, simple guide somewhere that shows how to use TTF and
OTF fonts in Context? I downloaded the new Fonts chapter but it goes
deep into the weeds on typescripts etc.  I am looking for a method
that allows me to do in Context what I can already do in most other
DTP programs: simply designate for use a font or font family that
exists in /usr/share/fonts without typescripts, complex and confusing
aliasing schemes or tfm files.



The Simplefont module by Wolfgang Schuster is very good for my (not
highly demanding) purposes. Certainly it is intended to do just what you
describe.

--
David
___
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] Running Mk-IV using TeXLive 2010

2010-10-05 Thread David Rogers

* R (Chandra) Chandrasekhar chyav...@gmail.com [2010-10-05 22:33]:


Dear Folks,
When I compiled a trivial file called first.tex using

texexec first

I got in the output, inter alia,
---
ConTeXt  ver: 2010.07.30 11:35 MKII  fmt: 2010.10.5  int:
english/english
---

Why am I not seeing Mk-IV yet?


texexec gives MkII; context gives MkIV. I think this may need to be
documented somewhere easier to find for those new to ConTeXt.

--
David
___
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] TeXexec MkII, ConTeXt MkIV

2010-10-03 Thread David Rogers

* Tom Maynard t...@maynard.com [2010-10-02 17:25]:


Hello,

I have pretty recent installations of TeXLive 2010 (for Cygwin) and 
ConTeXt Minimals (for Windows).  In both installations, running 
TeXexec reports it is ConTeXt MkII ... but running ConTeXt directly 
reports itself as MkIV.


I would like to synchronize TeXexec and MkIV ... as MkIV ... how is 
this done -- for each installation?



The old ConTeXt (MkII) is accessed through the texexec command. The
new ConTeXt (MkIV) is accessed through the context command. If you
want to use MkIV, simply use the context command in every case, and
forget the texexec command (unless you do mean MkII).

I hope that was useful and had something to do with what you wanted to
know. :)

--
David
___
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] installing minimals

2010-09-18 Thread David Rogers

* Charles Doherty charles.dohe...@upcmail.ie [2010-09-18 09:29]:


Dear Mojca,

Here is the sequence that I used:

cd context


curl -o first-setup.sh http://minimals.contextgarden.net/setup/first-setup.sh

sh ./first-setup.sh

source ./tex/setuptex

cd
echo '. ~/context/tex/setuptex'  .bash_profile


luatools --selfupdate

mtxrun --selfupdate

luatools --generate

context --make

sh ./first-setup.sh --extras=all


In TeXShop I  then run a one page file called Purser.tex . The console readout 
gives me:

...


Here's a total shot in the dark (I don't use OS X anymore):

Last time that I used TeXShop, it had an engine file in the library
folder that I sometimes had to modify if ConTeXt changed the commands
available for use.

--
David
___
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 meeting Lua tutorials

2010-08-23 Thread David Rogers

* Taco Hoekwater t...@elvenkind.com [2010-08-23 20:22]:


On 08/23/2010 06:37 PM, Mojca Miklavec wrote:

[the following is just some brainstorming]


For fonts, agreed with Luigi, it would be nice to see some lua code that
a) takes a bunch of fonts as input (like:
regular/italic/bold/bolditalic/script) and writes some simple sentence
with all variants; switching options on and off (after thinking a bit,
this can just as well be done in almost-plain-TeX in LuaTeX, so maybe
it's not such a good idea)


This teaches nothing that really needs the lua font interface, so I
do not think that is such a good idea either.


This brings up a possible point:
Some introductory matter on What lua is and is not good for/needed
for.


--
Thanks
David
___
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] Tikz calendar: \pgfutil undefined

2010-08-19 Thread David Rogers

* Fabrice Larribe fabrice.al...@gmail.com [2010-08-19 06:17]:


Hello,

I have a problem to use the calendar from the Tikz/Pgf module; here
is a minimal example:

%---
\usemodule[tikz]
\usetikzlibrary[calendar]

\starttext
This should works:
\blank
\tikz  \calendar[dates=2000-01-01 to 2000-01-31,week list];
\blank
but this does not !
\stoptext
%---

I'm using MKII (2010-05-24) from TeX Live 2010  (Note however that I
had the same problem with TeXLive 2009). The error is when the calendar
library is loaded:

! Undefined control sequence.
l.36 \let\t...@atbegin@day=\pgfutil
@empty

I have tried the Tikz distribution from TexLive, the latest Tikz
distribution from the suport Tikz page, and the distribution from the
module made for ConTeXt, but the problem remains. In the past (last
academic year, in may), this worked well, but I'm not able to find what
has changed.



The example still works in mkiv. (Minimal distribution, fairly recent)

--
David
___
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] Grammar

2010-07-27 Thread David Rogers

* Hans Hagen pra...@wxs.nl [2010-07-27 16:15]:


On 27-7-2010 4:10, David Rogers wrote:


In academic writing especially, it's necessary to weigh the effect of
this distraction before using anything other than standard
constructions. Sometimes this kind of focus on the writer's personality
and politics may be welcome, or even necessary; but in some situations
it is not.


so what do copy editors of scientific publications do when they see 
mixed (or inconsistent) usage of he/she/etc?


I'm not a regular reader of any scientific publications. I suspect there
are different de facto standards in different fields.

--
David
___
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] Grammar

2010-07-27 Thread David Rogers

* Marcin Borkowski mb...@atos.wmid.amu.edu.pl [2010-07-28 00:57]:


Dnia Tue, Jul 27, 2010 at 01:06:27PM +, John Haltiwanger napisa#322;(a):

On Tue, Jul 27, 2010 at 8:47 AM, Marcin Borkowski
mb...@atos.wmid.amu.edu.pl wrote:
 Hi,

 what an interesting discussion!

 My personal point of view is that the so-called political correctness
 is something I actively fight against, by means of NOT using they or
 Afroamericans or other such strange inventions.  These new words
 somehow remind me of Orwell's 1984...

So what do you write instead? Negro?


And what's wrong with Negro?  AFAIK, it means black, so it just
describes the reality.  This is what a word should do, right?  And btw,
the term Afroamerican doesn't really make much sense to me: what would
you call a Negro, born in France, and living in Germany, when you wanted
to distinguish him from a white man?  (Please note that by man, I mean
a human being of any sex;).)

To be more serious: I accept that there might be a problem caused by the
fact that I am not a native speaker of English.  I suspect that somehow
the neutral term Negro started being used in a derogatory fashion, and
that it might be unpleasant to black people to be called Negroes.  And
that's why I usually say just black people.


Precisely. Some people began to use an ordinary word in a derogatory
way. After that, the word came to be recognized as ONLY a derogatory
word, and lost its status as an ordinary word.

It then seemed that the best thing to do was to find a neutral word to
replace the derogatory one, so that people could speak without being
rude. But the new word became dirty as well, so a third word had to be
brought into service. And so on.

Part of the problem is that the meaning of a word can be changed by the
intention of the speaker. Here's an example:

I know a woman who moved here from another country. Іn the country where
she lived before, there was a group of people she hated. When she says
the name of that group, it is a dirty word. When I say the same word, it
is neutral. And if we teach my friend a new word for that group of
people, she will change our new word into a dirty word as well. Changing
the syllables she utters does not change her intention.


'Political correctness' can be onerous, and often contradictory to my
anti-authoritarian nature, but in the end it is not the Man who
issues requests for language changes so much as the marginalized
groups that take issue with existing phrasing. Afroamericans, for
instance, was deprecated sometime around that year 1984.. It all boils
down to whether you care about what the people concerned are saying,
which is why I note the author's position when I encounter it. (Rather
than throwing their paper away, ala Khaled).


Well, onerous might not be the best word.  Scary might be better.

You see, I am quite convinced that trying to manipulate language by
hand is a very bad idea.  Maybe this is partly because I live in a
former Communist country (Poland); we have seen such things in the past.


In many cases, marginalized groups do request language changes, but very
often those requested changes then receive very strong support from the
Man. Without that institutional support (mainly from government
agencies and schools), probably some of the new words would stick;
others would not. Some new words may be perfectly appropriate; others
are difficult to understand or even contrary to the truth. (One example:
in the area where I live, a person who requires treatment in a mental
hospital is called a mental health consumer - yet mental health is not
something that can be consumed. One of the local men, who has spent much
of his life in mental hospitals and has become an activist for improving
the conditions there, rejects such nonsensical labels and insists on
being called a crazy person.)


--
David
___
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] Grammar

2010-07-27 Thread David Rogers

* John Haltiwanger john.haltiwan...@gmail.com [2010-07-27 13:06]:


'Political correctness' can be onerous, and often contradictory to my
anti-authoritarian nature, but in the end it is not the Man who
issues requests for language changes so much as the marginalized
groups that take issue with existing phrasing. Afroamericans, for
instance, was deprecated sometime around that year 1984.. It all boils
down to whether you care about what the people concerned are saying,
which is why I note the author's position when I encounter it. (Rather
than throwing their paper away, ala Khaled).

This is always a contentious issue when software/coder types are
involved, one of the serious reasons why female participation in IT
(in general) and FLoSS (in particular) are so low: many men in these
circles will not, or can not, give room to critical complaints. The
problem always originates in the person complaining---they need to be
less serious, no one around here cares so stfu, etc. This is a serious
issue, and this is probably one of the least contentious starting
points for encountering it. That theory would be thrown away because
it attempts to consciously address real gender inequalities is a
depressing thought.

I for one have always thought it would be interesting to develop a
Unicode character that provides a symbol representing a neutral gender
pronoun. Then, anyone reading can insert he/she or another option to
their own taste.


That's an interesting idea, and in a way gets neatly around some of the
clumsiness of he/she and other constructions.

One of the difficulties with ALL the alternative ways of writing
pronouns, including new proposals, is that the mere use of any of them
places the writer into a sort of self-constructed ghetto. There is no
way around that that I can see, other than the hope that all other
writers adopt the same alternative way and turn it into the standard.

In the mean time, alternative constructions will continue to call
attention to the writer's personal and political views, for both good
and ill; as long as the writer's audience includes people who remember
standard English, any new pronouns (or old ones used in different ways)
become not just pronouns but part of the writer's message.

In academic writing especially, it's necessary to weigh the effect of
this distraction before using anything other than standard
constructions. Sometimes this kind of focus on the writer's personality
and politics may be welcome, or even necessary; but in some situations
it is not.

--
Thanks
David
___
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] Grammar (was: Semantic data in ConTeXt?)

2010-07-25 Thread David Rogers

* Matija Šuklje mat...@suklje.name [2010-07-25 23:33]:


-.-.-
P.S. Is there a nicer wording then (s)he for referencing persona in unisex
gender (other then one)?



The correct unisex pronoun is he. This whole question is an invented
problem where no real problem exists.

They is usually acceptable, even though it's technically incorrect.
Many teachers of English are against its use, but in real life nobody
cares.





--
David
___
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] Problems with Mark IV (MacTeX 2009)

2010-06-25 Thread David Abdurachmanov

Hi,
After finding out that line numbering works different in Mark IV I tried using 
this version on Mac OS X via MacTeX 2009. I modified TeXworks to use texexec 
--lua $filename as for ConTeXt. I have updated MacTeX to latest version and 
actually I still cant' make it work. I tried following this guide: 
http://wiki.contextgarden.net/Install_Mark_IV Except I didn't set any 
environment variables and ctxtools fails: CtxTools | unable to fetch 
cont-tmf.zip
When updating MacTeX I got multiple failed messages in log regarding luatex, 
pdftext and etc. Overall all update failed in MacTex re-configuration.
I will can make standard ConTeXt document (don't know how to call them), but 
not the new ones with Lua support (Mark IV, I think it's called).
It looks like Mark IV does not work by default?
Thanks,david  
_
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969___
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] Problems with Mark IV (MacTeX 2009)

2010-06-25 Thread David Abdurachmanov

I had earlier problems with line numbering, after cleaning MacTeX from my Mac 
and fully reinstalling and updating (I even updated ConTeXt to the latest 
version as described in wiki and regenerated everything) and again have 
problems. The good sign is that ConTeXt works without problems, but behavior is 
different. All my line numberings are gone.
Looks like \startlinenumbering only numbers that lines that are longer and does 
not fit to the page. If the line is shorter it's not numbered. Mostly all lines 
at the end of paragraph are not numbered and source code examples too.
Is that default behavior in latest version?
I am still new in TeX world, but ConTeXt looks quite good compared to LaTeX, 
but I keep bumping into problems.
That ConTeXt minimals give full support of ConTeXt?
BTW, any good syntax highlighters for ConTeXt (C#, F#, etc.)? Looks at 
http://www.pragma-ade.com/general/manuals/cont-enp.pdf 100th page I see, that 
you have minimal support for some languages. 
david

 Date: Fri, 25 Jun 2010 11:38:55 +0200
 From: mojca.miklavec.li...@gmail.com
 To: ntg-context@ntg.nl
 Subject: Re: [NTG-context] Problems with Mark IV (MacTeX 2009)
 
 2010/6/25 David Abdurachmanov wrote:
  Hi,
  After finding out that line numbering works different in Mark IV I tried
  using this version on Mac OS X via MacTeX 2009.
 
 Don't. MacTeX 2009 doesn't work with Mark IV, and even if it would,
 it's way too old.
 
 If you want to install and use MacTeX, download it from one of the
 servers mentioned in
 http://tug.org/texlive/pretest.html
 
 For example this one:
 http://ftp.cstug.cz/pub/tex/local/tlpretest/
 
 But it's probably better to also try to install ConTeXt minimals (you
 can easily switch between both - you just need to set PATH in
 .bash_profile or on the fly).
 
 I didn't install MacTeX this time, but rather a normal TeX Live with
 ConTeXt scheme (2GB was a lot).
 
 Mojca
 ___
 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
 ___
  
_
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969___
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] Problems with Mark IV (MacTeX 2009)

2010-06-25 Thread David Abdurachmanov

No more needed. I removed MacTeX 2009 completely again and installed ConTeXt 
minimal distribution. Installation was flawless and it worked fine again. Maybe 
updating ConTeXt under MacTeX 2009 using this guide 
http://wiki.contextgarden.net/Running_Mark_IV (Update ConTeXt section) did 
something wrong?
 Date: Fri, 25 Jun 2010 12:55:21 +0200
 From: pra...@wxs.nl
 To: ntg-context@ntg.nl
 CC: cyba...@hotmail.com
 Subject: Re: [NTG-context] Problems with Mark IV (MacTeX 2009)
 
 On 25-6-2010 12:09, David Abdurachmanov wrote:
 
  I had earlier problems with line numbering, after cleaning MacTeX from my 
  Mac and fully reinstalling and updating (I even updated ConTeXt to the 
  latest version as described in wiki and regenerated everything) and again 
  have problems. The good sign is that ConTeXt works without problems, but 
  behavior is different. All my line numberings are gone.
  Looks like \startlinenumbering only numbers that lines that are longer and 
  does not fit to the page. If the line is shorter it's not numbered. Mostly 
  all lines at the end of paragraph are not numbered and source code examples 
  too.
  Is that default behavior in latest version?
  I am still new in TeX world, but ConTeXt looks quite good compared to 
  LaTeX, but I keep bumping into problems.
  That ConTeXt minimals give full support of ConTeXt?
 
 example code needed
 
 -
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
 -
  
_
Hotmail: Free, trusted and rich email service.
https://signup.live.com/signup.aspx?id=60969___
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] Line Numbering (blank lines)

2010-06-18 Thread David Abdurachmanov

Hi,
How make ConTeXt to number blank lines? Blank lines by default are skipped. 
Especially when giving programming examples (source code) in ConTeXt documents, 
I would prefer blank lines still have number. 
david 
_
Hotmail: Free, trusted and rich email service.
https://signup.live.com/signup.aspx?id=60969___
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] Line Numbering (blank lines)

2010-06-13 Thread David Abdurachmanov

Hi,
How make ConTeXt to number blank lines? Blank lines by default are skipped. 
Especially when giving programming examples (source code) in ConTeXt documents, 
I would prefer blank lines still have number. 
david 
_
Hotmail: Free, trusted and rich email service.
https://signup.live.com/signup.aspx?id=60969___
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] two buglets

2010-02-11 Thread David Rogers

* Hans Hagen pra...@wxs.nl [2010-02-11 18:17]:

are you sure that that's the convention for english? it's easy to 
change it ...


I've never seen an ordinary English index that was sorted by case.
English indexes should definitely default to case-insensitive.

(Has anyone here ever been asked for an index in English sorted by
case?)


--
David
___
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] tabs in Lilypond

2010-02-11 Thread David Rogers

* Vyatcheslav Yatskovsky yatskov...@gmail.com [2010-02-11 21:30]:


Hello,

Maybe it's wrong place to ask, but does anybody know how to typeset 
guitar tabulatures in Lilypond?


\new TabStaff { \clef tab c d e f g }  





And is ConTeXt Lilypond module is up to date?


Not sure about that. Last time I tried, I couldn't get it to work - but
it was probably my fault.

--
David
___
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] What do you miss in ConTeXt?

2010-02-08 Thread David Rogers

* Wolfgang Schuster schuster.wolfg...@googlemail.com [2010-02-08 12:25]:


Hi all,

ConTeXt has many features but sometimes there is something missing, 
what feature or package do you miss which is already available in 
another TeX system or unavailable in any TeX system?



Five hundred pages of organized, detailed, up-to-date (well, somewhat
up-to-date) documentation, written by the small group of experts who are
so helpful on this list. If just one of you was unable to continue your
excellent work, FAR too much of the world knowledge of ConTeXt would
simply be gone, and that's not a good situation.

Compared to this, new features can wait - but here's my feature: ConTeXt
itself has beautiful support for side-by-side translations. It makes me
happy every time I look at the results. But... it works only on separate
pages. Making it work on columns as well would make my life easier. (May
be impossible, but you asked...)

|Original Language|First Translation|Second Translation|
|Bla bla bla ...  |Blu blu blu ...  |Ble ble ble ...   |


--
Thanks
David
___
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] Metapost Font Question

2010-01-01 Thread David Arnold
Taco,

Thanks.

D.

On Jan 1, 2010, at 12:26 AM, Taco Hoekwater wrote:

 David Arnold wrote:
 All,
 The attached Metapost file uses the statsmac package by Anthony Phan. 
 http://www-math.univ-poitiers.fr/~phan/statsmac.html
 And the package:
 mps.tar.gz 
 http://www-math.univ-poitiers.fr/~phan/downloads/metapost/mps.tar.gz
 To compile the attached file I use:
 mpost Untitled.mp
 mptopdf Untitled.1
 I've attached the resulting file. I am wondering why the cm label is set 
 in a larger font than the ticklabels. Can anyone help?
 
 The tick labels are typeset by metapost itself, but the cm is
 typeset externally (by ConTeXt, if you run the garden distribution).
 Metapost is probably using 10pt while ConTeXt uses its default 12pt.
 
  verbatimtex
  \setupbodyfont[10pt]
  etex
 
 or something similar is needed at the top of the file.
 
 Best wishes,
 Taco
 
 
 ___
 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] Random numbers in metapost

2009-12-31 Thread David Arnold
Taco et al,

I think I've found a way. Anthony Phan has written a brilliant stats package 
for Metapost.

http://www-math.univ-poitiers.fr/~phan/statsmac.html

I think (haven't tried yet) I can select a number at random from the uniform 
distribution on [0,1], then use one of Anthony's functions such as:

poissonicdf(expr p, lambda). Inverse cumulative distribution function of 
P(lambda).

See Anthony's manual at:

http://www-math.univ-poitiers.fr/~phan/downloads/metapost/statsman.pdf

David.


On Dec 31, 2009, at 5:13 AM, Taco Hoekwater wrote:

 David Arnold wrote:
 Hi,
 Does anyone have any strategies for drawing random numbers from
 various statistics distributions in Metapost? For example, say,
 drawing 100 random numbers from a beta distribution?
 
 Assuming you are using mkiv: create a lua function and use its
 calculated results to create the metapost code. Metapost only knows
 about uniformdeviate and normaldeviate, and metapost is not a good
 language to program mathematics in.
 
 Best wishes,
 Taco
 ___
 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] Metapost Font Question

2009-12-31 Thread David Arnold
All,The attached Metapost file uses the statsmac package by Anthony Phan.http://www-math.univ-poitiers.fr/~phan/statsmac.htmlAnd the package:mps.tar.gzTo compile the attached file I use:mpost Untitled.mpmptopdf Untitled.1I've attached the resulting file. I am wondering why the "cm" label is set in a larger font than the ticklabels. Can anyone help?David.

Untitled.mp
Description: Binary data


Untitled-1.pdf
Description: Adobe PDF document
___
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] Random numbers in metapost

2009-12-30 Thread David Arnold
Hi,

Does anyone have any strategies for drawing random numbers from various 
statistics distributions in Metapost? For example, say, drawing 100 random 
numbers from a beta distribution?

David
___
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] tkz-2d

2009-11-10 Thread David Arnold

All,

I've recently been playing with a fascinating package tkz-2d (http://www.texample.net/tikz/examples/tkz-2d/ 
 and http://altermundus.fr/pages/download.html).


I've been using:

\usemodule[tikz]

But I am wondering how I would use tkz-2d in Context.

David Arnold
College of the Redwoods
http://msemac.redwoods.edu/~darnold/index.php
___
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] Tikz

2009-10-01 Thread David Arnold

In the minmals directory:

david-arnolds-macbook-pro:context darnold$ find . grep 'tikz'
find: tikz: No such file or directory

On Sep 30, 2009, at 10:58 PM, luigi scarso wrote:




On Thu, Oct 1, 2009 at 7:42 AM, David Arnold dwarnol...@suddenlink.net 
 wrote:

All,

After installing context minimals, this no longer compiles with MKII:

\usemodule[tikz]

\starttext

\starttikzpicture
\draw[gray] (-5,-5) grid (5,5);
\stoptikzpicture

\stoptext


system  : module tikz loaded
(./tikz.tex
system  : module tikz (line 2) already loaded
publications: file tikz.bbl not found, waiting for bibtex
systems : begin file tikz at line 3
! Undefined control sequence.
l.5 \starttikzpicture

Can be.
If I rememeber well, by default ./first-run.sh
setup a new and fresh minimals:
others files are deleted.
Are there tikz* files still in your minimals ?


--
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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tikz

2009-10-01 Thread David Arnold

Ran:

first-setup.sh

Then:

david-arnolds-macbook-pro:context darnold$
find: tikz: No such file or directory

No tikz files.

D.

On Sep 30, 2009, at 11:17 PM, luigi scarso wrote:




On Thu, Oct 1, 2009 at 8:10 AM, David Arnold dwarnol...@suddenlink.net 
 wrote:

In the minmals directory:

david-arnolds-macbook-pro:context darnold$ find . grep 'tikz'
find: tikz: No such file or directory

So , it seems to me that you don't have tikz in your minimals anymore.
Can you try to re-install?

--
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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Tikz

2009-09-30 Thread David Arnold

All,

After installing context minimals, this no longer compiles with MKII:

\usemodule[tikz]

\starttext

\starttikzpicture
\draw[gray] (-5,-5) grid (5,5);
\stoptikzpicture

\stoptext


system  : module tikz loaded
(./tikz.tex
system  : module tikz (line 2) already loaded
publications: file tikz.bbl not found, waiting for bibtex
systems : begin file tikz at line 3
! Undefined control sequence.
l.5 \starttikzpicture___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Metafun problem

2009-09-25 Thread David Arnold

All,

I've got the context minimals installed and I'm compiling the  
following (from the new Metafun manual) using MKIV:


\startuniqueMPgraphic{name}
path p;
p:=unitsquare xscaled OverlayWidth yscaled OverlayHeight;
fill p withcolor .625yellow;
draw p withcolor .625red;
\stopuniqueMPgraphic

\starttext
Hello, World!

\defineoverlay[my graphic][\uniqueMPgraphic{name}]
\button[background=my graphic,frame=off]{Go Home}[firstpage]

\stoptext

No button shows up. Am I missing something?

David
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MKIV on Mactex Texlive 2008 (Context broken)

2009-09-23 Thread David Arnold

All,

After trying below, my context is now broken.

david-arnolds-macbook-pro:en darnold$ texexec --help
-bash: /usr/texbin/texexec: Permission denied

I need help.

D.

On Sep 22, 2009, at 9:58 PM, David Arnold wrote:


All,

I am using Mactex Texlive 2008 on a Macbook pro.

I did this:

sudo ctxtools --updatecontext

After reading http://wiki.contextgarden.net/Running_Mark_IV, I tried:

sudo rsync -av rsync://contextgarden.net/minimals/current/context/ 
current/ /usr/local/texlive/2008/texmf-dist/
sudo rsync -av rsync://contextgarden.net/minimals/current/bin/luatex/ 
osx-universal/bin/luatex /usr/local/texlive/2008/bin/

Then I try:
david-arnolds-macbook-pro:~ darnold$ sudo luatools --generate
And I get:
sudo: luatools: command not found
Then I tried:
david-arnolds-macbook-pro:~ darnold$ luatools --generate
The result was:
-bash: /usr/texbin/luatools: Permission denied
Trying the context command yields the same result:
david-arnolds-macbook-pro:~ darnold$ context --make
Result:
-bash: /usr/texbin/context: Permission denied
So, there is some sort of permissions problem.

We looked at this:

david-arnolds-macbook-pro:texbin darnold$ cd /usr/texbin
david-arnolds-macbook-pro:texbin darnold$ ls -l lua*
lrwxr-xr-x  1 root  wheel6 May 13 17:46 lualatex - luatex
-rwxr-xr-x  1 root  wheel  8009384 Aug 13  2008 luatex
lrwxr-xr-x  1 root  wheel   49 May 13 17:46 luatools - ../../ 
texmf-dist/scripts/context/lua/luatools.lua


And tried:

david-arnolds-macbook-pro:texbin darnold$ ls -l ../../texmf-dist/ 
scripts/context/lua/luatools.lua
-rw-r--r--  1 33  33  222585 Aug 14 01:50 ../../texmf-dist/scripts/ 
context/lua/luatools.lua


And see that this file is not executable, so we try:

david-arnolds-macbook-pro:texbin darnold$ sudo chmod +x ../../texmf- 
dist/scripts/context/lua/luatools.lua


Now the following works.

david-arnolds-macbook-pro:texbin darnold$ luatools --generate

But this piecemeal approach to making things executable might go on  
and on. Can someone give a more universal cure? Is there an entire  
directory of scripts that need to be executable?


Thanks.

David

___
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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MKIV on Mactex Texlive 2008 (Context broken)

2009-09-23 Thread David Arnold

Aditya,

Thanks. You are always so helpful.

But I would really prefer to fix this and correct installation  
directions on pages like:


http://wiki.contextgarden.net/Running_Mark_IV

I think I have maybe an owner and permissions problem as a result of  
these rsync commands:


david-arnolds-macbook-pro:context darnold$ ls -l
total 0
drwxr-xr-x  33 33  33  1122 Aug 19 08:13 lua
drwxr-xr-x  15 33  33   510 Aug 19 08:12 perl
drwxr-xr-x  35 33  33  1190 Aug 19 08:13 ruby
drwxr-xr-x   5 33  33   170 Aug 19 08:12 stubs

15? 33? 5?

david-arnolds-macbook-pro:context darnold$ cd lua
david-arnolds-macbook-pro:lua darnold$ ls -l
total 1784
-rwxr-xr-x  1 3333 222585 Aug 14 01:50 luatools.lua
-rw-r--r--  1 3333140 Apr 18  2008 luatools.rme
-rw-r--r--  1 3333  10520 Jun  2 09:31 mtx-babel.lua
-rw-r--r--  1 3333   3124 Apr  3 04:27 mtx-cache.lua
-rw-r--r--  1 3333  11524 May 13 04:47 mtx-chars.lua
-rw-r--r--  1 3333   5402 Apr  3 04:39 mtx-check.lua
-rw-r--r--  1 3333  55776 Jul 16 14:16 mtx-context.lua
-rw-r--r--  1 3333   4681 Jun 14 04:33 mtx-convert.lua
-rw-r--r--  1 3333   6010 Aug  7 08:13 mtx-fonts.lua
-rw-r--r--  1 3333   3790 Jul 12 08:11 mtx-grep.lua
-rw-r--r--  1 3333  11746 Apr 11 14:47 mtx-interface.lua
-rw-r--r--  1 3333   2241 Apr 19 23:46 mtx-metatex.lua
-rw-r--r--  1 3333   4535 Apr  3 04:43 mtx-mptopdf.lua
-rw-r--r--  1 3333   2825 May 16 10:19 mtx-package.lua
-rw-r--r--  1 3333  14637 Apr 11 14:48 mtx-patterns.lua
-rw-r--r--  1 3333   6168 Apr  3 04:42 mtx-profile.lua
-rw-r--r--  1 3333  24868 Aug  6 13:20 mtx-server-ctx- 
fonttest.lua

-rw-r--r--  1 3333  22332 May  6 05:03 mtx-server-ctx-help.lua
-rw-r--r--  1 3333   1874 May  7 10:12 mtx-server-ctx- 
startup.lua

-rw-r--r--  1 3333  12872 May 28 07:35 mtx-server.lua
-rw-r--r--  1 3333   2913 Jun 24 10:08 mtx-texworks.lua
-rw-r--r--  1 3333   7235 May  2 12:38 mtx-timing.lua
-rw-r--r--  1 3333   1751 Jul  2 07:21 mtx-tools.lua
-rw-r--r--  1 3333   3067 Apr  3 04:26 mtx-unzip.lua
-rw-r--r--  1 3333  20868 Jun 14 12:31 mtx-update.lua
-rw-r--r--  1 3333  11510 Apr  3 04:41 mtx-watch.lua
-rw-r--r--  1 3333 335022 Aug 14 01:50 mtxrun.lua
-rw-r--r--  1 3333132 Apr 18  2008 mtxrun.rme
-rw-r--r--  1 3333  25310 Jan 17  2008 scite-ctx.lua
drwxr-xr-x  3 root  wheel 102 Jun  1 11:33 third
-rw-r--r--  1 3333  12563 Apr 15 00:39 x-ldx.lua

And should all of the above scripts be executable? And how about these?

david-arnolds-macbook-pro:lua darnold$ cd ../perl
david-arnolds-macbook-pro:perl darnold$ ls -l
total 768
-rw-rw-r--  1 root  wheel2049 Jan  8  2006 cont_mis.pm
-rw-rw-r--  1 root  wheel   23869 Jan  8  2006 cont_set.pm
-rw-r--r--  1 3333  10679 Mar 25  2008 makempy.pl
-rw-r--r--  1 3333   4009 Apr 13  2007 mptopdf.pl
-rw-r--r--  1 3333851 Jun 16  2000 path_tre.pm
-rw-r--r--  1 3333  15006 Dec  8  2006 pdftrimwhite.pl
-rw-r--r--  1 root  wheel  109461 Nov 15  2006 texexec.pl
-rw-r--r--  1 root  wheel6098 Nov 15  2006 texexec.rme
-rw-r--r--  1 3333   9589 May 27  2002 texfind.pl
-rw-r--r--  1 3333  48852 Dec 13  2006 texfont.pl
-rw-r--r--  1 3333  29209 Aug  4  2006 texshow.pl
-rw-r--r--  1 root  wheel  109414 Nov 15  2006 texutil.pl
-rw-rw-r--  1 root  wheel 566 Jan  8  2006 utiplug.pm

Do they need to be executable?






On Sep 23, 2009, at 9:46 AM, Aditya Mahajan wrote:


On Wed, 23 Sep 2009, David Arnold wrote:


All,

After trying below, my context is now broken.

david-arnolds-macbook-pro:en darnold$ texexec --help
-bash: /usr/texbin/texexec: Permission denied

I need help.


You can try to install context minimals. They will not interfere  
with your mactex installation.


For installation instructions see
http://wiki.contextgarden.net/ConTeXt_Minimals

and to configure mac specific editors

http://wiki.contextgarden.net/ConTeXt_Minimals/Mac_Installation

Aditya
___
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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http

Re: [NTG-context] MKIV on Mactex Texlive 2008 (Context broken)

2009-09-23 Thread David Arnold

Hans,

No. I have Mactex texlive 2008 installed and I used the rsync  
directions on:


http://wiki.contextgarden.net/Running_Mark_IV

The result is I no longer have a functioning context installation.

I will try installing the minimals, but I'd really like to get my  
Mactex installation correct and the directions on the above page  
correct.


D.

On Sep 23, 2009, at 1:16 PM, Hans Hagen wrote:


David Arnold wrote:

All,
After trying below, my context is now broken.
david-arnolds-macbook-pro:en darnold$ texexec --help
-bash: /usr/texbin/texexec: Permission denied
I need help.


did you install the minimals using first-setup.sh ?

it should set the permissions right

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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MKIV on Mactex Texlive 2008 (Context broken)

2009-09-23 Thread David Arnold

Hans,

My impression from reading installation directions for minimals is  
that when you open a shell, and if you have your .bash_profile  
configured, that setuptex will be sourced. That must set some sort of  
path while the current shell is active? Will that interfere with  
needing to suddenly latex a file?


D.

On Sep 23, 2009, at 2:04 PM, Hans Hagen wrote:


David Arnold wrote:

Hans,
No. I have Mactex texlive 2008 installed and I used the rsync  
directions on:

http://wiki.contextgarden.net/Running_Mark_IV
The result is I no longer have a functioning context installation.
I will try installing the minimals, but I'd really like to get my  
Mactex installation correct and the directions on the above page  
correct.


you should install the minimals alongside (not combined) with  
mactex; the operate isolated and can be updated independently and  
used without interference (issue the setuptex script to switch to  
the minimals tree)


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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Mark IV

2009-09-22 Thread David Arnold

All,

Hans recommended I contact the list with my inquiry. I'm running  
Leopard on a Mac, using Mactex, texlive 2008. I've updated my context  
with:


sudo ctxtools --updatecontext

On a first run of ctxtools, I get this error:

loading : ConTeXt Core Macros / Environments
! Undefined control sequence.
argument ...def \...@ea \noexpand \csname \e!start
  \v!setups  
\endcsname {\beg...


\expanded ...\long \xdef \@@expanded {\noexpand #1
  }\@@expanded
l.212 ...xpand\csname\e!stop\v!setups\endcsname}}}

I hit s several time to scroll through the errors til it finishes,  
then run the command again:


sudo ctxtools --updatecontext

This time it seems to complete with no errors. This seem OK to folks?

Now, I'd like to give MKIV a try. I see the following instructions:

http://wiki.contextgarden.net/Running_Mark_IV

Are they adequate for my platform? That is, will they work if I follow  
them to the letter? Or do folks have other advice?


Thanks.


David Arnold
College of the Redwoods
Mathematics Department
Eureka, CA 95501
(707) 476-4222
http://msemac.redwoods.edu/~darnold/index.php



___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] MKIV on Mactex Texlive 2008

2009-09-22 Thread David Arnold

All,

I am using Mactex Texlive 2008 on a Macbook pro.

I did this:

sudo ctxtools --updatecontext

After reading http://wiki.contextgarden.net/Running_Mark_IV, I tried:

sudo rsync -av rsync://contextgarden.net/minimals/current/context/ 
current/ /usr/local/texlive/2008/texmf-dist/
sudo rsync -av rsync://contextgarden.net/minimals/current/bin/luatex/ 
osx-universal/bin/luatex /usr/local/texlive/2008/bin/

Then I try:
david-arnolds-macbook-pro:~ darnold$ sudo luatools --generate
And I get:
sudo: luatools: command not found
Then I tried:
david-arnolds-macbook-pro:~ darnold$ luatools --generate
The result was:
-bash: /usr/texbin/luatools: Permission denied
Trying the context command yields the same result:
david-arnolds-macbook-pro:~ darnold$ context --make
Result:
-bash: /usr/texbin/context: Permission denied
So, there is some sort of permissions problem.

We looked at this:

david-arnolds-macbook-pro:texbin darnold$ cd /usr/texbin
david-arnolds-macbook-pro:texbin darnold$ ls -l lua*
lrwxr-xr-x  1 root  wheel6 May 13 17:46 lualatex - luatex
-rwxr-xr-x  1 root  wheel  8009384 Aug 13  2008 luatex
lrwxr-xr-x  1 root  wheel   49 May 13 17:46 luatools - ../../ 
texmf-dist/scripts/context/lua/luatools.lua


And tried:

david-arnolds-macbook-pro:texbin darnold$ ls -l ../../texmf-dist/ 
scripts/context/lua/luatools.lua
-rw-r--r--  1 33  33  222585 Aug 14 01:50 ../../texmf-dist/scripts/ 
context/lua/luatools.lua


And see that this file is not executable, so we try:

david-arnolds-macbook-pro:texbin darnold$ sudo chmod +x ../../texmf- 
dist/scripts/context/lua/luatools.lua


Now the following works.

david-arnolds-macbook-pro:texbin darnold$ luatools --generate

But this piecemeal approach to making things executable might go on  
and on. Can someone give a more universal cure? Is there an entire  
directory of scripts that need to be executable?


Thanks.

David

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] \getmyAbstract

2009-09-19 Thread David Arnold

All,

At one time I had a style file that handled my abstract.

\definebuffer[myAbstract]
\startmyAbstract In this activity you will learn how to solve
systems of linear equations using LU decomposition, with both
forward and back substitution.  In addition, you will also be
introduced to function files and a number of \mat's control
structures. {\em Prerequisites: Some knowledge of how to enter
vectors and matrices in \mat. Familiarity with Gaussian
elimination, elementary matrices, and LU decomposition.}
 \stopmyAbstract

In my style file I have things like:

 \midaligned{\bf Abstract}
 \startnarrower[3*middle]
  \noindenting\getmyAbstract
 \stopnarrower

At one time (long ago)  this worked, but now it is throwing this error.

! Undefined control sequence.
\getmyAbstract -\dodoprocessTEXbuffer
   [myAbstract][def-2]
l.218   \getmyAbstract

What is the current workaround for this?

Thanks.

David
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] publications and custom author separator

2009-08-30 Thread David Rogers
On Sun, Aug 30, 2009 at 16:55, Črt Gorupcrt.go...@gmail.com wrote:
 Hi

 I am trying to replace ('in' instead of 'and') a  separator between the last
 two authors for every article, but I am facing a semi success. My approach
 was to set the variable finalnamesep in \setuppublicationlist. At the moment
 it is working only when there are three or more authors per entry.

 This example with 5 authors is ok, there is 'in' between last two authors.

 Rong-En Fan, Kai-Wei Chang, Cho-Jui Hsieh, Xiang-Rui Wang in Chih-Jen
 Lin, LIBLINEAR: A library for large linear classification v Journal of
 Machine
 Learning Research, 2008.


 This example has only 2 authors, there should be 'in' instead of 'and'.

 T. M. J. Fruchterman and E. M. Reingold, Graph drawing by force-directed
 placement v Software: Practice and Experience, št. 11, zv. 21, str.
 1129-1164,
 1991.


 Does anybody have any idea?


I believe that in is only used when the name after in is an editor
- not an author. With two authors (or many authors) but no editor,
then and is correct.

Forgive me if I'm wrong.

David
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] LilyPond module, release 2009-05-19

2009-05-20 Thread David Wooten

I've used it in the past, and have been hoping to use it again in MKIV.

On May 19, 2009, at 1:24 PM, Henning Hraban Ramm wrote:

I just uploaded a version of the LilyPond module that works with  
ConTeXt MkIV latest beta (only a small fix).

Documentation PDF is still the old one, since I couldn't compile it.

Does anyone use this module at all, except me?

Greetlings from Lake Constance!
Hraban


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] PSTricks

2009-04-24 Thread David Arnold

All,

Can someone give me some example code that includes a PSTricks object?

Thanks.

D.
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Affiliation change

2009-04-01 Thread David Wooten

Dear Taco,

I really appreciate your work  help over the years, and fully support  
your decision. It is also a dream of mine to find my way to financial  
stability as a polymath freelancer. Luckily, it's not my dream to make  
it rich ;)


Best wishes,
David

On Apr 1, 2009, at 11:33 AM, Taco Hoekwater wrote:


Hello everybody,

This message is to inform you all that as of today, I am no longer an
employee of Elvenkind BV, the company where I have worked for during
the past years.

Working for Elvenkind has been a pleasure, but it has always been
hard for Elvenkind to find enough commercial projects to employ me in.
Even the recent (much appreciated!) funded TeX-development projects
simply do not generate enough revenue for Elvenkind to make it viable
to keep me as an employee in the current economic climate.

This is not the best time to be out of a job, but nevertheless I have
decided to try to make the most of it an attempt to make an old dream
happen: being my own boss.

Since quite some time already I have had a private company called
Bittext that I use for various bits and pieces that simply did not fit
in with Elvenkind's company strategy (its original intent was to  
place my font development work in that company, but it has also been  
used as

the company behind organizing the ConTeXt Epen meeting in 2007, for
example).

For the development of luatex and metapost, I do not expect that much
to change compared to the current situation: Hans and I will continue
to write funding proposals and we hope that enough of those will be
granted so that I can keep that development work going much like it  
is.

(about a 50% commitment working on these two programs in an average
working week).

However, for ConTeXT and other TeX-related things, the situation is a
bit more problematic. Pragma ADE does not have money to fund any
projects, even if I managed to find something to excite Hans that
he couldn't do faster himself ;). To find the missing source of
income, I intend to start giving commercial ConTeXt courses and
I plan to start selling manuals via lulu. Perhaps there is a bit of
consultancy that can be found as well, and I will try to regain some
of my old mathematical typesetting clients.

But I fear that even all of that together will generate enough income
for me to continue developing modules and offering help for free.  
Therefore, the planned bib module replacement will be released as

commercial software, and support for other ConTeXT stuff (like the
current bib module) will become a paid service. Probably via a
subscription website, that will (for example) also host my release
notes. I am brooding on other ConTeXt module ideas that people
may be willing to pay for, and I will finish the font projects
that are still on my disk for sale via my website.

This April (until around BachoTeX) I will still be busy preparing the
luatex and metapost binaries for the TeXlive 2009 deadline, but after
that I will likely drop offline for a while, creating the Bittext  
website ( http://www.bittext.com ) and figuring out things like how to

be on the receiving end of Lulu and PayPal.

Well, that is about all I wanted to say right now. I am quite  
apprehensive about how this news will fall in the ConTeXT community,  
but

I see no other way. And I must admit that at the same time I am quite
excited about being in control of my own destiny, as they say!

Best wishes to all of you,

Taco









___
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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Is there anything like developer's manual for ConTeXt?

2009-03-18 Thread David Wooten


On Mar 17, 2009, at 9:20 AM, Rory Molinari wrote:


Taco Hoekwater wrote:

Corin Royal Drummond wrote:
Many have voiced the same complaint.  I understand that Hans and  
every
one are occupied with building MKIV (aka LuaTeX), and that  
documentation
is not their highest priority.  There's the wiki, the wonderfully  
active
mailing list, and what used to be decent docs from 2001/2002  
timeframe. But yes, it's a steep hill to climb, made worth it only  
by the relative

awesomeness of ConTeXt.

You missed the reference manual rewrite effort (which is now in
remission mostly because of an extremely depressing lack of user
feedback).
 http://wiki.contextgarden.net/Main_Page#Documentation


Hi Taco,

I'm sorry that I haven't given much feedback on the documentation  
project.  I got through the Typography chapter, but then was so  
confounded by the Fonts chapter that I didn't feel able to give  
comments.  I will make another attempt.


Cheers,
Rory


Hi, I'd like to second what Rory said. I was delighted by my first  
reading of the typography chapter, and had not seen the font chapter  
until you posted the link above, Taco. I'm also sorry not to have  
chimed in before.


Dave

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] overarc

2009-03-05 Thread David Arnold

All,

How can I place an overarc over some text, such as in \overarc{AB}?

D.
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Choosing ConTeXt install method on Mac

2009-01-21 Thread David Rogers

Hello all

I'm going to do a clean re-install of my machine (Tiger on PPC) 
soon, and I'd like guidance on methods of installing ConTeXt. I 
assume that (a) TeX Live 2008 with its tlmgr utility, or (b) 
ConTeXt minimals, are the two realistic possibilities - is this correct?


What I'd like:

- A clear way of keeping ConTeXt mkiv usable and up to date with 
Hans's latest version


- An installation method that will continue to be maintained, 
and that is expected to be used by the majority of ordinary 
users of ConTeXt in the future



...So should I go for TeX Live, or the minimals, or something 
else I don't know about yet?


Grateful for any advice...
David
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] UPdating context fails

2008-12-10 Thread David Arnold

All,

Running textlive2008 on mac (MacTex). The command:

sudo CtxTools --updatecontext

Fails with:

! Undefined control sequence.
argument \??cv :\c!n
   :\v!one
\setvalue #1-\expandafter \def \csname #1
  \endcsname
l.618 \setvalue{\??cv:\c!n:\v!one  }
{1}
?


Any suggestions?

D.
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] mptopdf

2008-12-10 Thread David Arnold
All, I sent this to OS X TeX list, but perhaps I can get some  
guidance here?


All,

After installing MacTeX (textlve2008), mptopdf fails:

pstricks $ mptopdf bruce
This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
 %-line parsing enabled.
[MP to PDF] (./bruce.0{/Users/darnold/Library/texmf/fonts/map/pdftex/ 
updmap/pdf

tex.map}) [1]
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi  
600 rm-lmr12

mktexpk: don't know how to create bitmap font for rm-lmr12.
kpathsea: Appending font creation commands to missfont.log.

!pdfTeX error: pdftex (file rm-lmr12): Font rm-lmr12 at 600 not found
 == Fatal error occurred, no output PDF file produced!
This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
 %-line parsing enabled.
[MP to PDF] (./bruce.1{/Users/darnold/Library/texmf/fonts/map/pdftex/ 
updmap/pdf

tex.map}) [1]
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi  
600 rm-lmr12

mktexpk: don't know how to create bitmap font for rm-lmr12.
kpathsea: Appending font creation commands to missfont.log.

!pdfTeX error: pdftex (file rm-lmr12): Font rm-lmr12 at 600 not found
 == Fatal error occurred, no output PDF file produced!

MPtoPDF 1.3.3 : bruce.* is converted to bruce-0.pdf + bruce-1.pdf


I tried:

tlmgr update context

No good. Same error as above after update.



Any suggestions?

david


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Embedded fonts question

2008-10-25 Thread David Wooten

Greetings all,

A sad story: My context-typeset dissertation was printed/distributed  
by a POD publisher with aweful typographical errors (like all commas  
in the main font being replaced by an ff ligature). Obviously the  
printer didn't check their results. The file reads fine both for me  
and the publisher, but the printer let us know that the file is  
unprintable due to problems with fonts not being embedded (why they  
originally printed an unprintable file I'll never know).


Now as far as I can tell, fonts are embedded. It was made with context  
MKII, using hz and hanging punctuation, etc. When I look at the  
document in Adobe Acrobat, and check the document/font details, it  
gives a list of embedded fonts only.


I'm not certain that the printer is in the right, but how can I tell?  
Is it possible that the pdf was altered when transferred from me to  
the publisher then to the printer? That compression of the pdf (zip)  
had any impact? Any other possibilities? What do you need to know to  
offer advice? ---I can send the file or a part of it if it is needed.


Best,
David___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Embedded fonts question

2008-10-25 Thread David Wooten

On Oct 25, 2008, at 11:18 AM, Pablo Rodríguez wrote:

 David Wooten wrote:
 Greetings all,

 A sad story: My context-typeset dissertation was printed/ 
 distributed by
 a POD publisher with aweful typographical errors (like all commas  
 in the
 main font being replaced by an ff ligature). Obviously the printer
 didn't check their results. The file /reads/ fine both for me and the
 publisher, but the printer let us know that the file is unprintable  
 due
 to problems with fonts not being embedded (why they originally  
 printed
 an unprintable file I'll never know).

 Now as far as I can tell, fonts /are /embedded. It was made with  
 context
 MKII, using hz and hanging punctuation, etc. When I look at the  
 document
 in Adobe Acrobat, and check the document/font details, it gives a  
 list
 of embedded fonts only.

 I'm not certain that the printer is in the right, but how can I  
 tell? Is
 it possible that the pdf was altered when transferred from me to the
 publisher then to the printer? That compression of the pdf (zip)  
 had any
 impact? Any other possibilities? What do you need to know to offer
 advice? ---I can send the file or a part of it if it is needed.

 Hi David,

 if the printer didn't alter the file and the fonts were embedded in  
 the
 original PDF document, they didn't vanished. The zip compression  
 doesn't
 alter those things (AFAIK).

 A way to check whether the fonts are embedded or not, you can download
 ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02pl2-dos6.zip (if you are using
 Windows) and run from the command-line

   pdffonts dissertation-filename.pdf

 Replace dissertation-filename.pdf with the actual file name and  
 pdffonts
 will display all font information.

 If this is too complicated for you, send me the original file in a
 private reply and I will post the results.

 I hope it helps,


 Pablo

Thanks, Pablo and Luigi,

I was able to run pdffonts and check my file, it agrees with adobe  
acrobat in saying that all fonts are embedded. SoI'm going to send  
the publisher the current file and see what happens. I'm only 98% sure  
that it's exactly the same as the original file I sent, so I am  
slightly hopeful that it will work out better.

Thanks again for your quick responses,
David
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Miktex

2008-10-01 Thread David Arnold
I'll check when I get to school.

D.

On Oct 1, 2008, at 10:45 AM, Mojca Miklavec wrote:

 On Wed, Oct 1, 2008 at 1:57 AM, David Arnold wrote:
 Mojca,
 I saw your note on blog.miktex.org:
 If you still want to run ConTeXt on MikTeX while it has been  
 removed, you
 may create a file texmfstart.bat in C:\Program Files\MiKTeX 2.7 
 \miktex\bin
 with the content:
 @echo off
 ruby C:\Program Files\MiKTeX 2.7\scripts\context\ruby 
 \texmfstart.rb %*

 However,

 $ texmfstart texexec --help

 Did not work

 Does removing the quotation marks around argument help?

 @echo off
 ruby C:\Program Files\MiKTeX 2.7\scripts\context\ruby 
 \texmfstart.rb %*

 Mojca
 __ 
 _
 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Miktex

2008-10-01 Thread David Arnold
Mojca,

Thanks.

On:

http://blog.miktex.org/post/2008/05/ConTeXt-support.aspx

At the bottom of the list, these seem to be the errors that another  
user reports.

Please keep me informed. I need to have mptopdf working for my  
students in the Miktex tree.

D.

On Oct 1, 2008, at 11:58 AM, Mojca Miklavec wrote:

 I got ConTeXt working on this machine, but mptopdf indeed seems to  
 be broken.

 c:\Documents and Settings\Uporabnik\My Documents\testmp example
 (example.mpCreating example.mpx...
 This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7)
 entering extended mode
 (C:/DOCUME~1/UPORAB~1/LOCALS~1/Temp/mik55214/mpx314.tex
 LaTeX2e 2005/12/01
 Babel v3.8l and hyphenation patterns for english, dumylang,  
 nohyphenation, sl
 ovenian, loaded.
 (C:\Program Files\MiKTeX 2.7\tex\latex\base\article.cls
 Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
 (C:\Program Files\MiKTeX 2.7\tex\latex\base\size10.clo))
 (C:\Program Files\MiKTeX 2.7\tex\latex\base\inputenc.sty
 (C:\Program Files\MiKTeX 2.7\tex\latex\base\latin9.def))
 (C:\Program Files\MiKTeX 2.7\tex\latex\base\fontenc.sty
 (C:\Program Files\MiKTeX 2.7\tex\latex\base\t1enc.def))
 (C:\Program Files\MiKTeX 2.7\tex\latex\amsmath\amsmath.sty
 For additional information on amsmath, use the `?' option.
 (C:\Program Files\MiKTeX 2.7\tex\latex\amsmath\amstext.sty
 (C:\Program Files\MiKTeX 2.7\tex\latex\amsmath\amsgen.sty))
 (C:\Program Files\MiKTeX 2.7\tex\latex\amsmath\amsbsy.sty)
 (C:\Program Files\MiKTeX 2.7\tex\latex\amsmath\amsopn.sty))
 (C:\Program Files\MiKTeX 2.7\tex\latex\amsfonts\amssymb.sty
 (C:\Program Files\MiKTeX 2.7\tex\latex\amsfonts\amsfonts.sty))
 No file mpx314.aux.
 (C:\Program Files\MiKTeX 2.7\tex\latex\amsfonts\umsa.fd)
 (C:\Program Files\MiKTeX 2.7\tex\latex\amsfonts\umsb.fd) [1] [1]  
 [1] [1]
 [1] [1] [1] [1] [1] [1] [1] [1] [1] [1] [1] [1] [1] [1] [1]  
 (mpx314.aux) )
 Output written on mpx314.dvi (19 pages, 2344 bytes).
 Transcript written on mpx314.log.
 Done.
  [1] )
 1 output file written: example.1
 Transcript written on example.log.

 c:\Documents and Settings\Uporabnik\My Documents\testmptopdf  
 example.1
 This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7)
 entering extended mode
 (example.1 [MP to PDF]
 ! I can't find file `0'.
 to be read again
\relax
 \processMPfile ...vbox {\convertMPtoPDF {#1}{1}{1}
   }\ifdim \wd 01in  
 \message...
 l.19  0
 0 0 setrgbcolor 0 0.5 dtransform truncate idtransform  
 setlinewidth pop
 Please type another input file name:
 ! Emergency stop.
 to be read again
\relax
 \processMPfile ...vbox {\convertMPtoPDF {#1}{1}{1}
   }\ifdim \wd 01in  
 \message...
 l.19  0
 0 0 setrgbcolor 0 0.5 dtransform truncate idtransform  
 setlinewidth pop
 !  == Fatal error occurred, no output PDF file produced!
 Transcript written on example.log.

 c:\Documents and Settings\Uporabnik\My Documents\testmptopdf  
 example.mp
 This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7)
 entering extended mode
 (example.mp [MP to PDF]
 ! I can't find file `verbatimtex'.
 to be read again
\relax
 \processMPfile ...vbox {\convertMPtoPDF {#1}{1}{1}
   }\ifdim \wd 01in  
 \message...
 l.2 verbatimtex

 Please type another input file name: ^\
 ! Emergency stop.
 to be read again
\relax
 \processMPfile ...vbox {\convertMPtoPDF {#1}{1}{1}
   }\ifdim \wd 01in  
 \message...
 l.2 verbatimtex

 !  == Fatal error occurred, no output PDF file produced!
 Transcript written on example.log.


 (I did not yet move files around, but will try.)

 Mojca
 __ 
 _
 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


  1   2   3   4   5   6   7   8   9   >