Re: [NTG-context] Epub format Was: Re: Context to epub: itemize

2015-02-19 Thread Keith Schultz
Hi Hans,

I have been playing with the on using LaTeX and later LuaLaTeX
for create epub or ebook. Though I have not got around to.


The idea was to set enviorments, macros and commands that would depending
on a switch that would output the need HTML and epub structure or
call the normal *TeX ones.

In ConTeXt maybe the mode-system could be used.
Like I said I have not investigated deeply, yet.

regards
Keith.
 
 Am 18.02.2015 um 17:54 schrieb Hans Hagen pra...@wxs.nl:
 
 On 2/17/2015 10:01 PM, Keith Schultz wrote:
 
 
 Context outputs three varants: regular xml, xhtml, and stupified xhtml
 with div/class tagging. The last one is supposed to work on all
 devices as it doesn't demands anything beyond css.
 If that is the case it is not very useful for a decent workflow. There
 would be to much to
 tweak to make good looking output.
 
 i'm not sure what you have in mind but context is a typesetting system and as 
 such cannot produce an epub simply because epub is a blob of xml (html) with 
 a css packages in a zip
 

___
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] Epub format Was: Re: Context to epub: itemize

2015-02-17 Thread Keith Schultz

 Am 17.02.2015 um 21:16 schrieb Hans Hagen pra...@wxs.nl:
 
 On 2/17/2015 8:24 AM, Keith J. Schultz wrote:
 Hi Axel, All,
 
 
[snip, snip]
 IMHO : ConTeXt should not output XHMTL for epub, but HMTL5.
 Yes, yes, I know XHMTL is part of HMTL5.
 
 And html 5 is just html with some extras (and assuming javascript i guess) 
 ... marketing.
The html 5 standard is far more. For one is makes flash, java and more 
obsolete. Far more than a marketing gag! 
 
 Another question for me is if ConTeXt should also output code for
 the iBooks epub format, (Basicaly epub, but some extras).
 
 Isn't a book supposed to be independent and kind of portable + long term 
 visible? So no way that a context epub will be specific for a device. (I 
 probably can't even get it on / test it on my outdated ipad 1 anyway.)
I was thinking more along the line of the spine.
 
 There are thing you can do in/with ConTeXt that would work with iBooks
 that do not in „ordinary“ epub books.
 
 Then, there is the Kindle format one might want to consider!
 
 Another lock-in device.
 
 Another, question which needs investigation is if the ConTeXt output for
 epub,
 also, implementing the fallbacks for missing features which is required?
 
 Context outputs three varants: regular xml, xhtml, and stupified xhtml with 
 div/class tagging. The last one is supposed to work on all devices as it 
 doesn't demands anything beyond css.
If that is the case it is not very useful for a decent workflow. There 
would be to much to
tweak to make good looking output.

I have not investigated how it handles dimensions, widths, font sizes, 
spacing, etc.
These are important in order to create output that adjust proper to the
devices capabilities. 
One should avoid absolute values.

Of course if we want to emulate the printed output then we could simply
create a pdf or very page as pdf and put in an epub wrapper.


Not asking for anything, just mentioning it.

reagrds
Keith.

___
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] need defaults for \definehighlight

2015-02-09 Thread Keith Schultz
Hi Hans, Idris, All,

fonts and color are as such appearance.
But, when one uses different fonts and colors or mix
then then we add meaning or as you tend to call
it structure. 

If their use does not add to the structure, then only one font style
and color is needed.

So actually, in the end they should be tagged, too!

Wolfgang has mentioned that we have definestyle is that 
tagged or not!

Furthermore, it is possible in ConTeXt to setup for example
the style italic, etc to what ever one cares to! for example one could
make and italic style be mono or bold! (naturally, it is
nonsense to do this).

Also, many authors of text, do think along the lines of markup in their
coding and do use \em, but simply \it, \bf for emphasis!

Similarly, many use quotation characters/glyphs in stead of \quotation
and \quote.

If we are exporting to xml then we should catch these cases!

Basically, any switch of style or font is the designation of the intention of 
an author
for a structural change! That is to make something stand out for one reason or 
the 
other.

regards
Keith.

 Am 08.02.2015 um 22:51 schrieb Hans Hagen pra...@wxs.nl:
 
 On 2/8/2015 8:08 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
 
 Ok. It's clear that I'm doing a lot of guessing, so question: Can you
 specify exactly what does *not* get tagged in xml-export? What exactly
 do we need to worry about? Then we can go from there...
 
 everything that has some structure or meaning gets tagged
 
 font/colors have no meaning they're appearance so they don't get tagged
 
 highlights are for the few things left ... but often one can also use 
 \startelement for that
 

___
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] need defaults for \definehighlight

2015-02-08 Thread Keith Schultz
Hi Hans, Idris, All,

Then we should call it definetag of definestyletag ! It would describe
its function better!

Like I said I find the command highlight nice because it is alot easier than
define my own commands for setting styles with color!

regards
Keith.

 Am 08.02.2015 um 15:01 schrieb Hans Hagen pra...@wxs.nl:
 
 On 2/8/2015 1:56 PM, Keith J. Schultz wrote:
 
 Basically, a highlight allows one so setup a font style and color to be
 applied
 to it contents.
 
 the only reason why highlight exists is that it can be used to tag stuff that 
 is otherwise untagged in the exporter to xml which is why there is nothing 
 predefined
 
 Hans

___
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] section with \sethupead[section][alternative=text]; other type of section misbehaves..

2015-02-02 Thread Keith Schultz
Hi Hans, All,


 Am 02.02.2015 um 02:18 schrieb Hans Hagen pra...@wxs.nl:
[snip, snip]

 It's for good reason. Now you can change the style any time.
 
 When you define
 
 \definehead[one][section]
 \definehead[two][one]
 \definehead[three][two]
 \definehead[four][one]

I think what Rob wants to know is for example if one has


\definehead[one][section]
\definehead[two][one]
\definehead[three][two]

\definehead[one][chapter]
\definehead[four][one]

Does two end up a chapter header or a section header!
I would assume two is a section  header and four a chapter header! 

Please disregard the fact that this type of coding is bad practice!

regards
Keith.

___
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] A note on Arabic names in bibliographies and indices

2015-02-02 Thread Keith Schultz
Hi Hans, All,

 Am 02.02.2015 um 01:05 schrieb Hans Hagen pra...@wxs.nl:
 
[snip, snip]

 I'm sure we can cook up something. Personally I'd like to get away from this 
 'von' and 'junior' thing and use better names, like
 
 initials (by default taken from firstnames)
 firstnames
 prefixes (unless specificed, taken from surnames)
 surnames
 postfixes (unless specified, taken from surnames)
 
 we can think of a sort keys as well, so maybe:
 
 author = {[sortkey] firstnames, prefixes, surnames, postfixes}
 
 or
 
 author = {sortkey:: firstnames, prefixes, surnames, postfixes}
 
 (we can have an exporter that exports to a regular dumb bib file for other 
 usage)

I would think something more dynamic would be better!

Something like a possible filter field for parsing the author information, so 
that writers
can the set-up the sort field and von fields!
If it is not designated for an entry the default filter is used. 

regards
Keith.___
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] PDF document statistics (character count incl. spaces)?

2015-02-02 Thread Keith Schultz
Hello All,

As a linguist, I can say that not counting words that are shorter is an 
absolute NO-GO
for an accurate word count and thereby character count!

See below, for a non representative proof !

 Am 01.02.2015 um 22:12 schrieb Wolfgang Schuster 
 schuster.wolfg...@gmail.com:
 
[snip, snip]

 ConTeXt has an option to count the words (you find the result in 
 jobname.words) in a document
 but words words shorter than four letters aren’t taken into account.
word length under 4 characters  :   10
word length = 4 chars :   20

here you are missing a third of the words! That is 30%

regards
Keith

___
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] bibliography again: “von” and “van”

2015-01-28 Thread Keith Schultz
Hi Alan, Hans,

As you say the treatmeant of the „particles“ are complicated.
They depend on „citizenship“, period, country of title, true nobility
or ennoblement, the region of a country one comes, and form of the particle
(abbreviation, captilization).

Practically all of this information is missing in the a normal bibliography.

Sure we can try to guess some from publication date, language, etc.
But, these are very in accurate, and will not give decent results.

Now, I am all for making as easy as possible for the user and have a system
do as much inference as possible.

We could simply add all kinds of switches and coding to help this process,
but in the end we end up with an over complicated format that grows into a 
monster!

I as an old school type and database person would think it far better, to take
a more pratical approach.

Set up the inference rules for the names after 1920.  Most of the ambiguity is 
gone
for most of the western world to my knowledge! (I can not say much about the 
rest,
we have not even talked about them).

We can add fields or a mechanisms where the author of a bibliography can set
display form, sort form etc. that are used.

Yes, this does put the burden on the author, but is the cleanest and most
flexible way to do it.

Or implement a mechanism where the Author of the bibliography can write a 
SETUP/filter for the format of the author field and add a field to the format 
called
authorfieldtype. this way. 
I believe this would be the ConTeXt way.

regards
Keith.

 Am 28.01.2015 um 04:10 schrieb Alan BRASLAU alan.bras...@cea.fr:
 
 I have been arguing with Hans over the proper treatment of particles,
 in general. The rules vary greatly - here we are looking at a
 comparison between Dutch and German practice. In French, the use often
 depends on history differing before and after the revolution. In
 Spanish, we have other practice.
 
 One solution is to make the rendering depend on the language= bibtex
 field. But this does not work universally. With Hans, we have extended
 the bibtex standard so that names can be explicitly separated, as in:
 author = {particle, lastname, suffix, firstname}
 This allows the author to use a free form for each component without
 resorting to any bibtex trickery (like capitalization or not). How
 these components are handled or rendered is not entirely worked out.
 Indeed, the German practice differs from others. Thus my suggestion of
 the use of the language field (or setting).
 
 Alan 
 

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Where is error in my code?

2015-01-28 Thread Keith Schultz
Hi,

From the looks of it you are using legacy code!

For one ConTeXt  uses UTF you no need texansi encoding.

In Mkiv all you need is

\startext
  \startMPpage
 fill fullcircle scaled 2cm withcolor red;
 label(\sometxt{Cn},origin) withcolor white;
  \stopMPpage
\stoptext

If you want to set font use \definefontfamily and \setbodyfont commands.

regards
Keith.

Am 28.01.2015 um 05:45 schrieb Van Dung Tang nguyen...@gmail.com:
 
 I edit 1 file metafun follow:
 
 \startMPenvironment
 \usetypescript[times][texnansi]
 \switchtobodyfont[times,10pt]
 \stopMPenvironment
 \startMPpage
 fill fullcircle scaled 2cm withcolor red;
 label(\sometxt{Cn},origin) withcolor white;
 \stopMPpage
 Ngu-Hanh.pdf___
 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] bibliography again: “von” and “van”

2015-01-27 Thread Keith Schultz
Hi Jörg,

Though, generally, the von, as well as a few others, are nobility particles in 
Germany, but not necessarily always 
noblility particles, but at times signify the place where a persons ancestor 
came from!

Now, in the case Goethe you are right that he was ennobled. Therefore the von 
is not truly part of his name.
He should be listed as you rightly mentioned under Goethe and not von Goethe“.

It is impossible for a bibliographic system to handle this, so there is no 
switch for it! 

So, it is up to the author of a text to set up his entries properly, by putting 
the von in the right part of the name field.

regards
Keith
 Am 27.01.2015 um 19:20 schrieb Jörg Weger joerg73@googlemail.com:
 
 The default way to diplay (inverted) names with “von” and “van” is “von 
 Goethe” and “van Halen” in in-text references and “von Goethe, Johann 
 Wolfgang” and “van Halen, Edward”. The problem with this is that while AFAIK 
 the Dutch “van Halen” means that one of his ancestors came ”from” a 
 place/city called “Halen” in German names the “von” is always a sign of 
 nobility. Even long before monarchy and nobility was abolished in Germany by 
 the revolution of 1919 you would not have talked about “von Goethe” but 
 simply “Goethe”–so in a reference it would be “(Goethe 1774)” and “Goethe, 
 Johann Wolfgang von” in the publications list, but still “(van Halen 1984)” 
 and “van Halen, Edward”. It would be nice if you could switch between two 
 modes while invoking the citation. I have not yet discovered where this order 
 is defined.
 

___
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 modules not on CATN and not in TeX Live (slightly OT)

2015-01-26 Thread Keith Schultz
Hi Alex,

The simple answer to your question would be to use this page:

http://www.ctan.org/upload/ http://www.ctan.org/upload/

BUT, the MISSING modules or packages are so-called third party!
It should be the responsibility of the AUTHORS, to upload the to CTAN!

Also, e.g cmscbf and cmttbf are no longer needed in mkiv! They are for use with
mkii!

Furthermore, you should concertrate on using ONLY MKIV! Especially,
since your audience seem to be introductory.  MKII is frozen and IMHO
outdated! 

I would suggest that you point them to the Standalone stable release,
if you actually need the missing third party modules.

Hope this helps.
regards
Keith.


 Am 25.01.2015 um 13:21 schrieb Axel Kielhorn t...@axelkielhorn.de:
 
 Hi!
 
 I'm trying to learn ConTeXt working through some examples I found on Context 
 Garden and the internet.
 
 Since I already have TeX Live 2014 installed I could run most of the examples.
 When I ran into a problem, I installed the standalone version and compared 
 the supplied modules.
 
 The following modules are not part of Context in TeX Live 2014.
 
 animation/ GPL 3
 annotation/GPL 3
 cmscbf/GPL 2  on CTAN
 cmttbf/GPL 2  on CTAN
 fancybreak/GPL 3
 layout/GPL
 title/ GPL 3
 urwgaramond/   GPL 2  on CTAN
 urwgothic/ Public Domain  on CTAN
 visualcounter/ Simplified BSD License
 
 Some are on CTAN, some are missing there.
 Since TeX Live takes the files from CTAN, it would be nice to put the missing 
 modules there. 
 What is the correct way to do that?
 
 I ask because I want to give a tutorial about ConTeXt at the Dante meeting in 
 april and it would be nice to tell the audience that everything they need is 
 already part of TeX Live and no extra installation is required.
 
 Axel
 -- 
 Man sollte das mal mit ConTeXt betrachten.
 ___
 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] Context modules not on CATN and not in TeX Live (slightly OT)

2015-01-26 Thread Keith Schultz
Hi Hans,

You misunderstood me.

I am aware how CTAN and TeXLive works.

Mocja, said HE would do the upload to CTAN.
Also, he mentioned that WE could keep some modules 
kept on CTAN if deemed useful!

My question is more about how ConTeXt controls these things
or is responsible?

regards
Keith.


 Am 26.01.2015 um 16:15 schrieb Hans Hagen pra...@wxs.nl:
 
 On 1/26/2015 2:57 PM, Keith J. Schultz wrote:
 Hi Mojca,
 
 Thank you for clarifying a few things.
 
 I have not seen any information how to contribute modules to ConTeXt or
 how they
 are passed  up the stream!
 
 A few caveats though!
 1) Who „authorizes“ ConTeXt modules for CTAN ?
 2) Do not CTAN and TeXLive have pretty much the same guidelines?
 3) Who gets to decide what is really „Useful“ ?
 
 1 : the ctan maintainers, but in general they accept everything that suits 
 tex and friends (of course it will only accept legally correct items)
 
 2 : i think that texlive has more strict rules with respect to licenses
 
 3 : quality control is not part of the picture nor is maintainance or 
 useability ... i suppose something can end up on ctan that is unuseable, 
 broken and unmaintained ... it's user driven
 
 - : for texlive it can make sense to also provide the right information for 
 inclusion and installation and that is what the garden packager does (you 
 cannot expect texlive maintainers to keep track of all that)
 
 I did not mean to say do not use TDS!  Besides, one can always install the
 „missing“ modules in the TeXLive tree, if they really want them!
 
 regards
 Keith.
 
 Am 26.01.2015 um 14:03 schrieb Mojca Miklavec
 mojca.miklavec.li...@gmail.com mailto:mojca.miklavec.li...@gmail.com:
 
 
[snip, snip]

 No, wait, let's try to clear things up first.
 
 If modules should be on CTAN and aren't, I'll add them to CTAN. If
 modules are on CTAN, but not in TeX Live, we should figure out why
 they are excluded from TeX Live and either make sure that they are
 either added to TeX Live (if there are no problems with licencing,
 packaging etc.) or removed from CTAN (in case they are not really
 useful). We could keep some modules on CTAN if they are useful, but
 don't qualify for TL inclusion for some obscure reason.
[snip, snip]
___
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 I use mkii and mkiv side by side?

2015-01-26 Thread Keith Schultz
Hi Gerben,

I would not say old-fasshoined , but old school.

Wolgang said to use context, but that is just a script that calls mtxrun!

So you can use:

mtxrun —script context

for other options look for:

tool-mkiv.pdf

I am sure your makefiles are more complex.

regards
Keith.

 Am 26.01.2015 um 17:19 schrieb Gerben Wierda gerben.wie...@rna.nl:
 
 I don’t use TeXShop for these projects. I use a separate editor in a shell 
 and a Makefile (very old-fashioned). The Makefile contains stuff like:
 
 OPEN=echo
 MODE=--mode=standalone
 ONCE=
 
 .SUFFIXES: .pdf .tex .open
 
 .pdf.open:
 open $
 
 .tex.pdf:
 texexec --pdf ${MODE} ${ONCE} $
 
 once:
 make ONCE=--once book-open
 
 full:
 make ONCE= book-open
 
 prd_book.pdf: ${PRODUCTSDIR}/prd_book.tex ${ENVDIR}/env_cataoia.tex \
 $(TEXS) $(BOOKIMAGES) 
 /Users/gerben/Library/texmf/bibtex/bib/gwierda.bib
 make MODE=--mode=editor ONCE=${ONCE} ${PRODUCTSDIR}/prd_book.pdf
 
 I can do a quick compile with 'make once' and a full compile with 'make 
 full’. And if I compile a separate chapter file it ends up being compiled 
 differently from compiling a full book (e.g. the endnotes and bibliography 
 end up at the end of the chapter) so I can work on separate chapters.
 
 luna:chapters gerben$ make -n c_loosely.pdf
 texexec --pdf --mode=standalone  c_loosely.tex
 luna:chapters gerben$ make -n prd_book.pdf
 make MODE=--mode=editor ONCE= ../products/prd_book.pdf
 
 The latter turns into
 
 texexec --pdf --mode=editor  ../products/prd_book.tex
 
 And the environment file has:
 
 \startmode[standalone]
   \setupfootertexts[pagenumber][{\jobname-\filename{\currentcomponent}}]
   \def\maybeendnotes
  {\subsubject{Notes} \placenotes[endnote] \subsubject{Bibliography}
 \switchtobodyfont[9pt]
 \placepublications[criterium=all]}
   \appendtoks \maybeendnotes \to \everystoptext
 \stopmode
 
 So, what would be easiest for me if I know what commend to use instead of the 
 texexec command.
 
 G
[snip, snip]

___
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 I use mkii and mkiv side by side?

2015-01-21 Thread Keith Schultz
Hi Otared and Gerben,

I do not know which version of TeXShop you are using but the more recent ones
have Engines for ConTeXt, already.

If they are not already installed you can find them in:
~/Libraries/TeXShop/Engines/Inactive

just more the Contex( LuaTeX).engine into Engines and restart
TeXShop.

Here is the engine definition for MacTeX 2014 (TeXLive)
#!/bin/tcsh

# Before using this engine, you must run the following command once in 
Terminal: luatools --generate

set path= ($path /usr/texbin /usr/local/bin)
mtxrun --script context --autogenerate --synctex=1 $1


 Am 21.01.2015 um 12:08 schrieb Otared Kavian ota...@gmail.com:
 
 Hi Gerben,
[snip, snip]
 For instance my file mkii.engine contains the following lines:
 
 #!/bin/bash
 source /Volumes/OK/context-minimal/tex/setuptex 
 texexec --autogenerate --synctex=1 $1 
No need to Source setuptex.
Just set the Path to your ConTeXt Standalone directory
 The setuptex script is a multi-platform script to setup the paths!


 where  
   /Volumes/OK/context-minimal/tex/setuptex 
 is the path to the file setuptex in my Context standalone directory.
 
 Best regards: OK
 

regards
Keith.
___
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] bib module - urgent!

2015-01-20 Thread Keith Schultz
Hi Irdis,

The answer to your question is quite simple,

You are missing \setuppublications

Here the MWE:
setuppublications[alternative=apa]

\starttext
\startpublication[k=haq,
 t=book,
 a=Haq,
 y=1994,
 s=Haq94]
\author[]{Syed Nomanul}[S.]{}{Haq}
\title{Names, Natures, and Things}
\pubname{Kluwer}
\city{Dordrecht}
\pubyear{1994}
\stoppublication


this is a cite from \cite[haq]
\stoptext

regards
Keith.

 Am 20.01.2015 um 00:16 schrieb Idris Samawi Hamid ادريس سماوي حامد 
 isha...@colostate.edu:
 
 Dear gang,
 
 I am currently writing an article (mkiv) with lots of bibliographical 
 references. But t-bib.tex seems to have disappeared, and the following simple 
 file fails:
 
 
 \starttext
 \usemodule[bib]
 
 \startpublication[k=haq,
  t=book,
  a=Haq,
  y=1994,
  s=Haq94]
 \author[]{Syed Nomanul}[S.]{}{Haq}
 \title{Names, Natures, and Things}
 \pubname{Kluwer}
 \city{Dordrecht}
 \pubyear{1994}
 \stoppublication
 
 \cite[haq]
 
 \stoptext
 
 C:/ConTeXt/tex/texmf-context/tex/context/base/publ-usr.lua:95: attempt to 
 call field 'markasupdated' (a nil value)
 stack traceback:
   C:/ConTeXt/tex/texmf-context/tex/context/base/publ-usr.lua:95: in 
 function 'addbtxentry'
   [\directlua]:1: in main chunk
 
 4 \startpublication[k=haq,
 5   t=book,
 6   a=Haq,
 7   y=1994,
 8   s=Haq94]
 9 \author[]{Syed Nomanul}[S.]{}{Haq}
 10 \title{Names, Natures, and Things}
 11 \pubname{Kluwer}
 12 \city{Dordrecht}
 13 \pubyear{1994}
 14   \stoppublication
 15
 16 \cite[haq]
 17
 18 \stoptext
 ?
 
 
 Now my understanding is that the new biblio system does not use bbl files 
 yet. But I stopped using .bib files the moment Taco released the original 
 bibliography module. Biblio databases are all in .bbl format.
 
 I also set up an extensive bib environment (attached) to take care of all 
 sorts of things.
 
 If this is broken, can it be fixed asap? Please don't make me have to convert 
 bbl to bib; that will be beyond depressing. Also don't want to lose my 
 environment commands.
 
 This is urgent because there is only a short time to finish this article, and 
 I really want to spend more time writing the content than debugging Context! 
 :-) :-) :-)
 
 Best wishes
 Idris
 -- 
 Idris Samawi Hamid
 Professor of Philosophy
 Colorado State University
 Fort Collins, CO 
 80523bib-env.tex___
 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] What happened to the ePub script?

2015-01-18 Thread Keith Schultz
Hi Henning,

 Am 17.01.2015 um 13:52 schrieb Henning Hraban Ramm te...@fiee.net:
 
 Hi there,
 
 I started documenting ConTeXt’s current ePub/export behaviour in 
 http://wiki.contextgarden.net/ePub and will merge/delete the content of the 
 current wiki pages as soon as I’m content with its content ;)
 
 * Do you think it would be better to document export and ePub separately?
 
I think it best that they be handle separately.
Especially, if you want to be thorough.

regards
Keith.

___
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] Natural tables introduces spaces in \type

2014-11-09 Thread Keith Schultz
hello all,

i do not have nfts, but there are assume users that do not live in western 
countries
and use characters that are not in ascii!!

just a thought.

regards
Keith.


 Am 07.11.2014 um 14:44 schrieb Christoph Reller christoph.rel...@gmail.com:
 
 On Fri, 7 Nov 2014 09:11:09 +0100
 Alan Braslau alan.bras...@cea.fr mailto:alan.bras...@cea.fr wrote
  On Thu, 6 Nov 2014 16:15:36 +0100
  Christoph Reller christoph.rel...@gmail.com 
  mailto:christoph.rel...@gmail.com wrote:
  
   Of the above characters the following are disallowed on NTFS
  
  Not everyone uses NTFS.
 
 Another reason for not making a file-name cleaner as such, but rather 
 restricting the characters to ascii.

___
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] mail merge in mkiv?

2014-11-09 Thread Keith Schultz
Hello Jaraslav,

You might be willing to wikify it. I would be helpful for others.

regards
Keith

 Am 09.11.2014 um 15:59 schrieb Jaroslav Hajtmar hajt...@gyza.cz:
 
 Hello Pablo.
 The module I created about before 4 years ago, when I wanted to learn to 
 program in Lua. Therefore, I think that my module is too rudimentary and not 
 quite optimized. Unfortunately, since I do not now use much Lua, so I dare 
 not reasonably somehow finish. Before inclusion in third party modules that 
 would probably have to take some experienced Lua expert and redo the whole 
 module. For my needs it is enough. I use this module very often for my 
 practise (I am teacher). Perhaps it helped a little.
 Greetings Jaroslav Hajtmar
 
 
 Dne 8.11.2014 11:09, Pablo Rodriguez napsal(a):
 On 11/07/2014 12:44 PM, Jaroslav Hajtmar wrote:
 Hello Pablo.
 
 Here is the solution of your minimal example:
 http://public.hajtmar.com/?cesta=JRsVFQdsJhwoWyAdFwQROwZWBFkwERgeFzAEJjMbLSYcKAAcHxYUAS8XVkIkIhAVHyYsFgsZEzYXAw
  Examples of more complex and comprehensive application of my
 t-scancsv.lua mudule are available at:
 http://public.hajtmar.com/?cesta=JRsVFQdsJhwoWyAdFwQROwZWBFkwERgeFzAEJjMbLSYcKAAcHxYUAS8X
  I zip the entire folder and you can download it at:
 http://public.hajtmar.com/files/TeX/context/t-scancsv_ConTeXt_module/t-scancsv_ConTeXt_module.zip
 
 Perhaps those that serve well.
 Many thanks for your reply, Jaroslav.
 
 Since this feature may be useful to other users, how about including it
 as a third-party module in the ConTeXt Suite?
 
 Many thanks for your help again,
 
 

___
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] Structure of titles in MkIV

2014-10-16 Thread Keith Schultz
Hi Hans,

I am aware of the process and code involved. 

I am also, aware that one can have chapters outside of parts.
It is just that the inexperienced are not aware of the sectioning levels
and how they works, and are surprised by the results. 

I can ive with the way things are. Just a thought.

Keep up the good work.

regards
Keith.

Am 16.10.2014 um 13:25 schrieb Hans Hagen pra...@wxs.nl:

[snip, snip.]
 anyway, as there are many ways to invalidate structure the amount of checking 
 would not only become enourmous but also make the code pretty much unreadable
 
 also, having chapters outside parts can happen ... you really don't know how 
 often i have to write styles that violate all principles of structuring 
 (including consistent font usage)
 
 Hans
 

___
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] Structure of titles in MkIV

2014-10-15 Thread Keith Schultz
Hello All,

First, let me say that the semantics of Book-making can be confusing as
certain terms are used differently by different professionals.
What has made it worse these terms have been convoluted by the
computational adaptation of Book-making.

A book generally has three divisions frontmatter, backmatter, and main 
text/body.
These are made up of parts.  What belongs in these divisions are dependent on 
your field,
tradition, and publishers style! 

Basically, Alan is on the mark.


Second, Michal TeX and ConTeXt has a section leveling. That is part is the 
highest level. and chapters are always
part of a part. So, you want the effect you need, you should either enclose the 
Prologue and
Epilogue in the frontmatter and backmatter parts respectively, (See MWE below) 
or wrap them in a part environment.

BUT, Michal I believe has a point. Or should I say has come across a FLAW, 
according to my view of things.
ConTeXt should warn that once you use a chapter the part command should not be 
mixed. That is if one uses parts
that Chapters must be embedded a Part! 



I adjusted Michals MWE and we get basically, what he expects, that is Prologue 
and Epilogue on the same
level. But, without it surrounding part the Epilogue is set at an level that is 
under Part A-level the Epilogue.
This would mean that the \stoppart for Part A or my inserted Part B is not 
being recognize and the
sectioning Counter being adjusted properly! Or an error should be flagged! 
Yes, there are easy work arounds!

This FLAW is intrinsic to the intelligence of ConTeXt. Most of us would be 
using front- and backmatter, sectioning commands,
numbering schemes and thereby avoiding it. But, ConTeXt should warn of the 
false behaviour.

Below I have a MWE to show the FLAW.

MWE:

\starttext
\placecontent

 %\startfrontmatter  % uncomment line to show what you would expect


\startchapter[title=Prologue]
\input knuth
\stopchapter

%\stopfrontmatter % uncomment line to show what you would expect

\startpart[title={Part A}]
 \startchapter[title=One]
 \input knuth
 \stopchapter
\stoppart

% FLAW: sectioned under Part A should expect sectioning  level 1
% or throw error that part needed here!
\startchapter[title={not at top level}]  
\input knuth
\stopchapter

\startpart[title={Part B}]
 \startchapter[title=One]
 \input knuth
 \stopchapter
\stoppart

% \startbackmatter  % uncomment line to show what you would expect


% FLAW:  sectioned under Part B should expect sectioning  level 1
% or throw error that part needed here!
\startchapter[title=Epilogue] 
\input knuth
\stopchapter


%\stopbackmatter % uncomment line to show what you would expect

\stoptext 

regards
Keith.
___
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] contextref.pdf unsearchable? (OT)

2014-08-19 Thread Keith Schultz
Hi Gerben,

You do not need to use Preview. If you move your cursor to bottom middle of the 
PDF in Safari among otherthings a save button shows up! If you click it,
your PDF is saved to the standard download location.
If you want to save the PDF somewhere else then you can do it from the page
where the link is and right-click it to get a pop up menu and you can the
download the pdf to where you want it and even rename it.

regards
Keith.

Am 18.08.2014 um 10:43 schrieb Gerben Wierda gerben.wie...@rna.nl:

 It turns out my version of Mac OS X is to blame. When you open a PDF in 
 Safari and you want to save it, you need to open it in Preview first. But 
 when you then save it somewhere from Preview, searching and other stuff is 
 damaged. It apparently is not saved ‘as is’.
 
 G
 
 On 17 Aug 2014, at 22:15, Gerben Wierda gerben.wie...@rna.nl wrote:
 
 I don’t know where I got it but the one I had (MacTeX?) was unsearchable and 
 had not working links. But yours is OK. Thanks.
 
 G
 
 On 17 Aug 2014, at 20:57, Mikael P. Sundqvist mic...@gmail.com wrote:
 
 On Sun, Aug 17, 2014 at 8:46 PM, Gerben Wierda gerben.wie...@rna.nl wrote:
 On 17 Aug 2014, at 20:44, Mikael P. Sundqvist mic...@gmail.com wrote:
 
 On Sun, Aug 17, 2014 at 8:33 PM, Gerben Wierda gerben.wie...@rna.nl 
 wrote:
 I have two  manuals, cont-enp.pdf (2001) and contextref.pdf (2013). I 
 often have to go to cont-enp.pdf because contextref.pdf is unsearchable. 
 Is it indeed unsearchable? Or is something wrong at my end?
 
 G
 
 contextref.pdf is searchable here.
 
 Where did you download your version? I'd like to test with exactly the 
 same.
 
 Google gave me (among the first hits):
 
 http://staff.science.uva.nl/~hansm/docs/context/contextref.pdf
 and
 http://pmrb.free.fr/contextref.pdf
 
 Both searchable.
 
 /Mikael
 ___
 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
 ___
 
 ___
 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
___