Re: [NTG-context] Fonts and equations

2018-05-18 Thread Lance Larsen
i, 18 May 2018 18:55:14 +1200 > From: Henri Menke <henrime...@gmail.com> > To: ntg-context@ntg.nl > Subject: Re: [NTG-context] Fonts and equations > Message-ID: <12743277-ebd0-67c7-2393-fe33e97bf...@gmail.com> > Content-Type: text/plain; charset=utf-8; format=flowed >

[NTG-context] Fonts and equations

2018-05-18 Thread Lance Larsen
I have a context document with several equations. One really nice feature with equations is that by default you can search for variable names in equation in a PDF reader like acrobat. However, I needed to configure the document to use arial for the text. Once I do this, the equations are no longer

[NTG-context] Setting section margin

2013-09-05 Thread Lance Larsen
[left=1.0in]}, aftersection={\stopnarrrower}] \starttext \chapter{chapter} This is a chapter \section{section} This is a section \section{subsection} This is a subsection \stoptext -Lance Larsen

Re: [NTG-context] Appendix Numbering and TOC value

2013-08-02 Thread Lance Larsen
Thanks, Wolfgang. That was just what I needed. I appreciate the help. -Lance From: Wolfgang Schuster schuster.wolfg...@gmail.com I have a document with an appendix included: \setuplabeltext[appendix=APPENDIX~] \starttext \placecontent \chapter{One} \startappendices \chapter{In

[NTG-context] Appendix Numbering and TOC value

2013-08-01 Thread Lance Larsen
I have a document with an appendix included: \setuplabeltext[appendix=APPENDIX~] \starttext \placecontent \chapter{One} \startappendices \chapter{In Appendix} \stopappendices \stoptext I would like to have the table of contents show: Appendix A In Appendix But I get: A

[NTG-context] NTG-context] How to hack the lua files

2013-06-18 Thread Lance Larsen
this might impact cross references between documents. -Lance On 6/17/2013 3:25 PM, Lance Larsen wrote: Hans, Thankyou for your suggestion of using the \usereferences tag to reference formulas in another document. This is a good solution. However the example below doesn't give usable results

[NTG-context] NTG-context] How to hack the lua files

2013-06-17 Thread Lance Larsen
by section, but to do this, I need test2.tex to show external references in the same way as test1.tex (by including the section number in front of the equation number). Is there a way to do this at present? If not, labeling formulas 'bytext' will work for now even if it isn't ideal. -Lance Larsen

Re: [NTG-context] How to hack the lua files

2013-06-07 Thread Lance Larsen
Larsen -- On 6/7/2013 1:20 AM, Lance Larsen wrote: I have a version of context standalone installed, and I am trying to add some functionality I need to strc-ref.lua. As a simple test to see if modifying the file was working, I enabled

Re: [NTG-context] How to hack the lua files

2013-06-07 Thread Lance Larsen
; charset=windows-1252; format=flowed On 6/7/2013 1:20 AM, Lance Larsen wrote: I have a version of context standalone installed, and I am trying to add some functionality I need to strc-ref.lua. As a simple test to see if modifying the file was working, I enabled

Re: [NTG-context] How to hack the lua files

2013-06-07 Thread Lance Larsen
appreciate the help. -Lance P.S. Thanks for the tip on using 'context --make' to rebuild the files. I figured this out by guesswork before I got your response, but I have appreciated how helpful many of you have been on this list. -- On Fri, Jun 7, 2013 at 3:00 PM, Lance Larsen lance.c.larsen

Re: [NTG-context] ntg-context Digest, Vol 108, Issue 22

2013-06-07 Thread Lance Larsen
Hans, Referencing equations from another context document is what I am trying to do. It think the \usereferences tag that you noted in the ideal solution for my case. Thanks again for the help. -Lance - On 6/7/2013 4:01 PM, Lance Larsen wrote: luigi, When I started exploring how

[NTG-context] How to hack the lua files

2013-06-06 Thread Lance Larsen
cached somehow? (I am running this from windows if that matters). The code I modified is under the path: context\tex\texmf-context\tex\context\base\ strc-ref.lua -Lance Larsen ___ If your question

[NTG-context] Exporting labels from a ConTeXt document

2013-06-04 Thread Lance Larsen
in the document that reads the equation number as the document in processed? If I could read the number from lua, I could write this to a file. Any help is appreciated. -Lance Larsen ___ If your question is of interest

Re: [NTG-context] Formatting enumerations in MKIV

2013-05-01 Thread Lance Larsen
Thankyou Wolfgang. This was what I was missing. I think I was not understanding the purpose of the width parameter. -Lance Lance Larsen lance.c.lar...@gmail.com: I am trying to configure an enumeration in MKiv, but it is not clear how to set some of the formatting. I need to be able

Re: [NTG-context] Heading flow

2013-05-01 Thread Lance Larsen
It looks like the 'after' property of \setuphead can be used to override the 'keep with next' behavior of the headings. ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] Heading flow

2013-05-01 Thread Lance Larsen
[references][subsection] \setuphead[references][after={ ~ }] \startpacked % Get rid of large gaps between the references. \dorecurse{10}{\references{Reference item}} \stoppacked -Lance Am 01.05.2013 um 18:03 schrieb Lance Larsen lance.c.larsen at gmail.com: It looks like the 'after' property

[NTG-context] Header not repeating for tabulate

2013-04-30 Thread Lance Larsen
I created a table using tabulate. I want the header to repeat, and used the following code. The table splits correctly, but the header doesn't repeat. Any idea why the header doesn't repeat? \setuptabulate[split=yes,header=repeat] \starttabulatehead \HL \NC \bf Variable \NC \bf

[NTG-context] Formatting enumerations in MKIV

2013-04-30 Thread Lance Larsen
. Also, how do I find out what parameters are available. I tried to figure out where defineenumeration is defined in the lua or mkiv files without luck. \starttext \defineenumeration[ref][alternative=left,inbetween=\blank] \ref Testing \par \ref Testing \par \stoptext -Lance Larsen

Re: [NTG-context] table formatting mystery

2013-04-29 Thread Lance Larsen
Thankyou luigi. The suggestion provided below worked. I wish I understood why context thought that a cell height to two rows were needed, but the combination of \hbox and alignment of lohi is a reasonable workaround. -Lance On Thu, Apr 25, 2013 at 5:02 PM, Lance Larsen lance.c.larsen

[NTG-context] How do you customize the chapter number format?

2013-04-29 Thread Lance Larsen
in the table of contents: \setuphead[chapter][numbercommand=\groupedcommand{}{.0\blank[2cm]}] Any suggestions for how I change the numbering so that the 1.0 shows up in the table of contents as well? -Lance Larsen

[NTG-context] Supressing a heading from the table of contents

2013-04-26 Thread Lance Larsen
Can anyone tell me how to suppress individual numbered chapter/section/subsection/etc. from the table of contents? Also how do you set the last heading level included in the table of contents. I think I came across this, but am having trouble finding it again. Lance Larsen

[NTG-context] disabling a header on the first page

2013-04-25 Thread Lance Larsen
after \starttext, but none of these disabled the header: \page[header=none] \page[header] \page[header=high] Can anybody tell me how I disable the header on the first page? I would really appreciate the help. -Lance Larsen