[NTG-context] Problem updating to new version for Win64

2020-05-18 Thread Todd DeVries
Hello,

I tried updating my version of LMTX.  A file which compiled under the old 
version (from earlier this year) now errors out.  I moved my directory, 
downloaded a fresh copy of the install scripts and made a fresh installation.  
What am I missing?

Errors below are from my terminal.

l.2674 \def\secondofsixarguments#0#2#0#0

  #0#0{#2}  
  ! Parameters must be
numbered consecutively. 
   
  

(That makes 100 errors; please try again.)resolvers   | formats |   

resolvers   | formats | binary path  : C:/lmtx/tex/texmf-win64/bin  

resolvers   | formats | format path  : 
C:/lmtx/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1f32e/formats/luametatex


resolvers   | formats | luatex engine: luametatex   

resolvers   | formats | lua startup file : 
C:/lmtx/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua 
resolvers   | formats | context file : 
C:/lmtx/tex/texmf-context/tex/context/base/mkiv/cont-en.mkxl  resolvers 
  | formats
| run time : 4.533 seconds  
  
resolvers   | formats | return value : error

resolvers   | formats | 

mtx-context | error, no format found with name: cont-en, aborting system
  | total runtime: 5.171 seconds of 5.216 seconds   
   

-- 
Todd DeVries
*Phone: (208) 847-5996*
Secure chat: https://keybase.io/tdevries/chat

“Not less than knowing, doubting pleases me.”
—DANTE, The Inferno
___
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] Expanding text across two table cells

2019-04-08 Thread Todd DeVries
On Mon, 08 Apr 2019 15:04 -06:00, Aditya Mahajan  wrote:
 
> Use nx=2 instead of n=2.

That works! Many thanks.

Todd
___
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] Expanding text across two table cells

2019-04-08 Thread Todd DeVries
Hello,

I use a progress note format which contains information that doesn't change 
much from session to session. Items like date, location, people attending a 
session. I would like to include two longer items, a diagnostic field and info 
about guardianship at the end of a table. Both of these fields should span two 
cells in the table and wrap to the full width. Currently, they wrap to the 
width of the first table column. The cells appear to be spanned correctly, but 
the text does not extend. What am I missing?

Thank you for the assistance.

\startcomponent c_DATE_clientcode_progress
\project prj_cases
\startsection[title=Counseling Progress Note, reference=DATE_clientcode]
\placetable{Meeting Info}
{\bTABLE
\bTR
\bTD
\ptitle{Client Name}:~John Smith
\eTD
\bTD
\ptitle{Billing code}:~90834
\eTD
\eTR
\bTR
\bTD
\ptitle{Date}:~April 8, 2019
\eTD
\bTD
\ptitle{Start \& stop time}~12:00-13:00
\eTD
\eTR
\bTR
\bTD
\ptitle{Next appointment}:~April 15, 2019
\eTD
\bTD
\ptitle{Punctuality}:~On time.
\eTD
\eTR
\bTR
\bTD
\ptitle{Location of Service}:~Office
\eTD
\bTD
\ptitle{Those in attendance}:~Counselor and John
\eTD
\eTR
\bTR
\bTD[n=2]
\ptitle{Diagnosis}:~Adjustment Disorder, Unspecified (F43.20).
\eTD
\eTR
\bTR
\bTD[n=2]
\ptitle{Children: Location / availability of parent / 
guardian}:~Not applicable.
\eTD
\eTR
\eTABLE}

Todd DeVries
*Phone: (208) 847-5996*

“Everyone must believe in something. I believe I'll go canoeing.”

—  Henry David Thoreau
___
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] Aligning subsection head with following paragraph in tagged pdf output

2017-04-02 Thread Todd DeVries
Thank you for this information.

Wolfgang Schuster  writes:
> The inline heading in your example doesn’t work because \startparagraph
> forces the end of a paragraph for the preceding text.
>
> As you want only tags for the content of your paragraph you can enclose
> your text in \bpar … \epar instead of \startparagraph … \stopparagraph.

That seems to work.  I don't have the ability to directly examine the
pdf's tags table, but the document appears to read
correctly. Sections/subsections/paragraphs are identified. The subsection
is inline with the following paragraph.  I'm not sure what are the
differences between \bpar and \startparagraph, so have used the later
construction for the second paragraph in the subsection.

\setuppapersize[letter]
\setuptagging[state=start]
\setuphead[chapter][style=\bf, number=no, align=middle]
\setuphead[section][style=\bf, number=no]
\setuphead[subsection][style=\bf, number=no, commandafter={.~},
  textdistance=0cm, alternative=text]
\starttext
\startchapter[title=Chapter I]
  \startsection[title=Introduction]
\startparagraph
  Beginning with the passage of section 504 of the Rehabilitation
  Act of 1974, students with disabilities are participating in
  higher education in increasing numbers (Madaus, 2011). Students
  with psychiatric, learning, and cognitive impairment who once
  considered college out of reach are taking the plunge. …
\stopparagraph
\startsubsection[title=Demo Subsection]
  \bpar Numbers for all students moving from high school through a
  bachelors degree in Idaho are worse than in most of the
  nation. Go-on Idaho (2014), an organization dedicated to
  furthering our state's educational outcomes , relates …\epar
  \startparagraph
The U. S. Bureau of Labor Statistics (2016) report that a
person's level of education are linked to increased income
and levels of unemployment. The more education a person has,
the higher is the average wage and the lower the level of
unemployment. Educational attainment matters. …
  \stopparagraph
\stopsubsection
  \stopsection
  \stopchapter
\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] Aligning subsection head with following paragraph in tagged pdf output

2017-04-01 Thread Todd DeVries
Hello everyone,

Thanks to all who helped me better understand the issues surrounding my
question.  The document style I am following requires that the
first three headings are included in the table of contents.  Headings
one and two are easy, as they stand on lines by themself.  Heading three
must be aligned with the left margin in bold and followed by a period.
The rest of the paragraph or paragraphs folllow.

This style makes sense visually, bold text at the margin represents a
 change in topic. less so when reading or editing with audio output (My
 computer does not have a monitor attached.)  Using good sectioning
 allows one to fold the document for navigation and organization.
 Consider how Org-mode in Emacs works as an analogue. I started thinking
 that life would be easier if heading level 3 sections could be both
 structural, for navigation, and visual, inline with their first
 paragraph.

This idea holds true both in source text and in the pdf output.
Properly tagged pdf documents allow one to jump by structural elements
(heading to heading, paragraph to paragraph.  In a perfect world one
could have it both ways: a structural element like a section, but placed
inline as though it were just another layout token. The audio using
tagged structure indicates a topic change, while those using their eyes
just see the bold text.

Hopefully this short explanation adequately describes my reason for
addressing the list.

Thank you,

Todd
___
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] Aligning subsection head with following paragraph in tagged pdf output

2017-03-31 Thread Todd DeVries
Thanks for your assistance.  Was unaware of using the setupheads
command incorrectly.  Good information to have.  I am still not
able to produce an automatic period (.) at the end of the section
title using the after keyword.  is this correct?

On Friday, March 31, 2017, 7:01:28 PM, Rik writes:

> alternative=text is working, but \startparagraph is starting a
> new paragraph after the heading.  \start\stopparagraph is not
> happy with the text alternative.

I am wondering if this is just not going to work with the tagging
subsystem.  The subsection aligns if I remove the start/stop
paragraph following the heading.  But if I add a second paragraph
in that subsection it breaks again.  I use tagged pdfs for output
because they are more accessible with my screen reader.  Without
tagging, all one gets is long blocks of undifferentiated text.
With the correct tags, paragraphs, headings, lists, and tables
get created that make more sense with auditory output.  To my
knowledge, ConTeXt is the only alternative for producing
accessible pdfs beyond working with Acrobat pro or MS.  Word.
After writing a 70-page academic project in Word, I'm seeking
alternatives!

Perhaps one can just use in-paragraph bolding and mark that text
for the table of contents as an alternative.  This is required
for heading level 3 content in APA style.

Thanks for your assistance.  I'm a newbie and appreciate the
help.

Todd

___
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] Aligning subsection head with following paragraph in tagged pdf output

2017-03-31 Thread Todd DeVries
Hello,

I would like to align a subsection heading with the following
paragraph. For example:

Subsectiontext. The data presented in this section will ...

What I get is:

Subsection Text

The data presented in this section will ...

What recipe should be used with the \setupheads command to produce this
output?  I've tried several variations including the snippit below.

\setuppapersize[letter][letter]
\setuptagging[state=start]
\setupheads[subsection][style=\bf, number=no, after={. }, alternative=text]
\starttext
\startsection[reference=sec:deep, title=Deep Thoughts
\startparagraph
Oh Hum, its too windy to play out side, so perhaps I'll write a while...
\startsubsection[reference=first, title=First Subsection]
  \startparagraph
\input knuth
  \stopparagraph
\stopsubsection
\stopsection
\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] APA formatting and reference questions

2016-08-24 Thread Todd DeVries
Hello,

I would like to use ConTeXt foracademic writing this year and am just
scratching the surface of its capabilities. My first run at producing
a document in APA format resulted in several questions. Below is
abrief sample. In this excerpt, the following APA style formatting
errors occur:

1. The first reference is cited as “Hartley, M.T. (2013).” There is
usually a space separating these initials. Between the M. and T. in
this reference.

2. The word “and” is appearing in both parenthetical and in-text
citations. When a reference is completely within parentheses, the last
author should be separated by the & (Ampersand) character.

3. The last reference has 3 authors and should be written as Koch et
al (2014) instead, it replicates the entire list of authors previously
cited.

I must be missing something obvious in my settings. What changes to
this sample need to be made to correct these formatting citation errors?

Thank you in advance for any assistance or references to places in
documentation where I can learn to correct these issues.

Todd


%%% Begin Sample %%%


\showsetup
\startbuffer[review]
@article{hartley2013,
author = {Michael T. Hartley},
title = {Investigating the Relationship of Resilience to Academic Persistence 
in College Students With Mental Health Issues},
journal = {Rehabilitation Counseling Bulletin}
volume = {56},
number = {4},
pages = {240-250},
year = {2013},
doi = {10.1177/0034355213480527},
}
@article{koch2014,
  Author =   {Lynn C. Koch and Ketevan Mamiseishvili and Kristin
Higgins},
  Title ={Persistence to degree completion: A profile of
Students with psychiatric disabilities in higher education.},
  ISSN = {1052-2263},
  Journal = {Journal of Vocational Rehabilitation},
   Number =  1,
  Pages ={73 - 82},
volume = 40,
year =   2014,
}
@article{mutanga2015,
author = {Oliver Mutanga and Melanie Walker},
  title ={Towards a Disability-inclusive Higher Education
Policy through the Capabilities Approach},
  journal = {Journal of Human Development and Capabilities},
  volume =   16,
  number =   4,
  pages ={501-517},
  year = 2015,
  doi =  {10.1080/19452829.2015.1101410},
  }
\stopbuffer
\usebtxdataset[review.buffer]
\usebtxdefinitions[apa]
\starttext

Barriers to success often arise from overt discrimination, while
others grow out of differences in the ability of the student, the
psychosocial nature of disability, and the educational technologies
used in the classroom \cite[mutanga2015, hartley2013].

Most students report a learning or psychiatric disability
\cite[koch2014].

Data from longitudinal measures such as the NLTS2 can be used to
compare groups of students over time.
\cite[alternative=authoryears][koch2014] relate that
understanding why students drop out of college is extensively
researched.

\subject{References}
\placelistofpublications
\stoptext

%%% End Sample %%%
-- 

Todd DeVries
Phone: (208) 847-5996
Fax: (208) 757-6668
More information: http://equaltext.com/aboutme.html
___
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] Context2html

2006-04-06 Thread Todd DeVries
Hi Everyone,

I am attempting to get html output from a simple Context source
without much success. Tex4ht has a small note about private
configuration files and a htcontext script. Is anyone using this or
should I be looking down another road. I'm running Miktex with an
early march update of Context.

Thanks in advance,

Todd
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] New Installation under miktex, not working

2006-01-16 Thread Todd DeVries
Thanks to all who responded  to my question yesterday. Not sure why,
but documents are compiling and formats are found. Perhaps I'll do a
stand-alone install to make updates easier in the future.

Todd

On Mon, 16 Jan 2006 10:35:29 -0500 (EST), you wrote:

--- On Jan 16, Mojca Miklavec wrote ---

 Todd DeVries wrote:
 Hi,

 I'm attempting to install context under miktex 2.4. I've updated the
 format files and followed other instructions as per the contextgarden
 discussions. I'm probably missing something really obvious and would
 appreciate any help offered.  I receive this output when running the
 following commands:

 I don't know why I keep using MikTeX (there are problems all the time,
 but it is [or at least it should be] easy to update and is already
 installed on most computers here), just some points:

I use latex a lot, and for windows+latex Miktex is one of the best 
distribution. Most of the packages get installed on the fly and it can 
be updated easily. Once you get used to it, it is hard to try other 
latex distributions.

 - texexec --make --all doesn't work anyway (well, it works, but it
 forgets to copy the files to the proper place)

It also happens with me and the solution that you describe below 
works. You need to update the formats from Miktex Options. I *guess* 
the reason texexec fails to place the format in proper place is 
because it simply does not know where the localtexmf tree is. I am not 
sure if it has a way of finding it out without the user specifying an 
environment variable.


 If you want to make formats, go to MikTeX options - TeX formats -
 choose cont-en - Edit ...
 Here are the values that I have (it may be that I changed any of them
 manually, I don't remember):
 Format Name: cont-en
 Compiler: pdfe-TeX (Extended Mode)
 Input File Name: cont-en.tex
 Output File Name: cont-en.efmt
 Exclude has to be unchecked

 - MikTeX updates the formats automatically (if it does). If it
 doesn't, the standard ConTeXt ways fail anyway and searching for
 files doesn't always work either


 - I often have problems after upgrading ConTeXt, but I can hardly tell
 you what to do. I try all the different tricks (updating filename
 database, building the formats, ...) without any success, but after
 two days it simply works again by some black magic.


Here is what I do (I am not sure even if this is the correct thing to 
do, but seems to work)

Make a tree called pragma-texmf. Download cont-tmf.zip and 
cont-fnt.zip and unzip them in pragma-texmf. Go to MikTex options and 
add pragma-texmf as a tree. Move it up so that it is the first tree. 
This way whenever any program searches for a context related file, it 
finds it in the pragma-tree. Now go and recreate the formats. 
Everything works (well except mptopdf the program, but that is not 
critical for me). To keep in sync with context's pace of development, 
simply download the entire cont-tmf tree whenever a newer version is 
released. I have not managed to convince texsync to just download 
texmf tree, and I do not really care about downloading a big zip.

This makes me feel whether it is a good idea to have miktex and 
context for windows (from the pragma site) in parallel. I use cygwin 
and context for windows only seems to work from cmd.exe and not 
bash.exe. I tried to convert setuptex.sh to setuptex.bash, but could 
not get to work. So, I settled with the method of downloading the 
relevant trees and things work (by black magic, as you said)

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] New Installation under miktex, not working

2006-01-15 Thread Todd DeVries
Hi,

I'm attempting to install context under miktex 2.4. I've updated the
format files and followed other instructions as per the contextgarden
discussions. I'm probably missing something really obvious and would
appreciate any help offered.  I receive this output when running the
following commands:


texexec test.txt

 TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

unknown file type: texmfscripts
 fixing texformat path : C:/localtexmf/miktex/fmt
fixing engine variable : pdfetex

total run time : 0 seconds

texexec --version
and

 TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

unknown file type: texmfscripts
   texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE
1997-2005
   texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE
1992-2004
   tex : pdfeTeX, 3.141592-1.21a-2.2 (MiKTeX 2.4)
(preloaded format=cont-en 2006.1.15)  15 JAN 2006 11:32
   context : ver: 2006.01.09
   cont-en : ver: 2006.01.09  fmt: 2006.1.15  mes: english
unknown file type: 'fmt'
unknown file type: 'fmt'
unknown file type: 'fmt'
unknown file type: 'fmt'
unknown file type: 'fmt'
unknown file type: 'fmt'
unknown file type: 'fmt'
unknown file type: 'fmt'

total run time : 1 seconds


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context