ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: ntg-context Digest, Vol 193, Issue 65
       [not found] <mailman.991.1596137130.23406.ntg-context@ntg.nl>
@ 2020-07-30 20:00 ` Jan Hansen
  2020-07-30 20:11   ` Taco Hoekwater
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Hansen @ 2020-07-30 20:00 UTC (permalink / raw)
  To: ntg-context

Help

> On 31 Jul 2020, at 5:26 am, ntg-context-request@ntg.nl wrote:
> 
> Send ntg-context mailing list submissions to
>    ntg-context@ntg.nl
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>    https://mailman.ntg.nl/mailman/listinfo/ntg-context
> or, via email, send a message with subject or body 'help' to
>    ntg-context-request@ntg.nl
> 
> You can reach the person managing the list at
>    ntg-context-owner@ntg.nl
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ntg-context digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: Installing VSCode extension? (Henning Hraban Ramm)
>   2. Re: Installing VSCode extension? (Henning Hraban Ramm)
>   3. Unknown script 'fonts.lua' or 'mtx-fonts.lua'
>      (Marcus Vinicius Mesquita)
>   4. Re: Unknown script 'fonts.lua' or 'mtx-fonts.lua' (Hans Hagen)
>   5. Re: Unknown script 'fonts.lua' or 'mtx-fonts.lua'
>      (Marcus Vinicius Mesquita)
>   6. Re: Unknown script 'fonts.lua' or 'mtx-fonts.lua' (Aditya Mahajan)
>   7. Re: About testing rest of space on a page (Wolfgang Schuster)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Thu, 30 Jul 2020 12:25:34 +0200
> From: Henning Hraban Ramm <texml@fiee.net>
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: Re: [NTG-context] Installing VSCode extension?
> Message-ID: <4ECE59FD-6C48-4B38-BEA3-68EE3D0441B6@fiee.net>
> Content-Type: text/plain;    charset=utf-8
> 
> 
>> Am 30.07.2020 um 07:52 schrieb Jeong Dal <haksan@me.com>:
>> 
>> Dear Alasdair McAndrew,
>> 
>> I am using vscode in iMac, so my setting may not work for you.
>> 
>> 
>> 
>> 1. First, find files for vscode in your TeX folder.
>> 
>> In my case, 
>> 
>> /ConTeXt-homefolder/tex/texmf-context/context/data/vacode/extensions/context/*.*
>> 
>> 2. In a homefolder, there is a hidden folder “.vacode”.
>> 
>> Copy context/*.* to  ./vscode/extensions/context/*.*
>> 
>> 3. Open vscode and enable context-extension.
>> 
>> Since it was long time ago, my memory may not be correct.
>> However, I hope that it may give you an idea.
> 
> It might make sense to not copy the files but symlink the folder (then it automatically receives updates).
> i.e.
> ln -s $TEXROOT/texmf-context/context/data/vacode/extensions/context ~/.vscode/extensions/
> 
> Don’t know how symlinking in Windows works, though.
> 
> HR
> 
> ------------------------------
> 
> Message: 2
> Date: Thu, 30 Jul 2020 12:33:29 +0200
> From: Henning Hraban Ramm <texml@fiee.net>
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: Re: [NTG-context] Installing VSCode extension?
> Message-ID: <A395BFDC-5328-4065-A57F-3684189713AF@fiee.net>
> Content-Type: text/plain;    charset=utf-8
> 
> 
> 
>> Am 30.07.2020 um 03:57 schrieb Alasdair McAndrew <amca01@gmail.com>:
>> 
>> Thanks again, I've fiddled with SciTE, but when I attempted to compile a context file, I was told that "texexec" wasn't in my path, so somehow, somewhere, I must have picked up an old version of the compile command.  Also, there doesn't seem to be an easy way of getting SciTE to use a monospaced font. 
> 
> Did you read $TEXROOT/texmf-context/context/data/scite/context/documents/scite-context-readme.pdf ?
> 
> I don’t know if that answers your questions and if it’s still current.
> 
> HR
> 
> ------------------------------
> 
> Message: 3
> Date: Thu, 30 Jul 2020 12:03:48 -0300
> From: Marcus Vinicius Mesquita <marcusvinicius.mesquita@gmail.com>
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: [NTG-context] Unknown script 'fonts.lua' or 'mtx-fonts.lua'
> Message-ID:
>    <CAK9ODgRtyKRd+TsAhv5fbaz6+53CDZG=wwh5tNAcoVeDk2zAJw@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Dear List,
> 
> After updating ConTeXt to the last version, the command:
> 
> mtxrun --script fonts
> 
> replies:
> mtxrun          | unknown script 'fonts.lua' or 'mtx-fonts.lua'
> 
> mtxrun --version gives:
> 
> mtxrun          | ConTeXt TDS Runner Tool 1.32
> 
> Greetings
> 
> Marcus Vinicius
> -- 
> Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o corpo
> nem seus membros, por ser descanso da alma, primavera do coração, distração
> do aflito, entretenimento do solitário, e viático do viajante.
> 
> Kunnâsh al-Hâ'ik (Cancioneiro de al-Hâ'ik)
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20200730/e209c020/attachment-0001.htm>
> 
> ------------------------------
> 
> Message: 4
> Date: Thu, 30 Jul 2020 17:12:44 +0200
> From: Hans Hagen <j.hagen@xs4all.nl>
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>, Marcus
>    Vinicius Mesquita <marcusvinicius.mesquita@gmail.com>
> Subject: Re: [NTG-context] Unknown script 'fonts.lua' or
>    'mtx-fonts.lua'
> Message-ID: <6e0b8b6c-20ee-4275-4668-924e84deec04@xs4all.nl>
> Content-Type: text/plain; charset=utf-8; format=flowed
> 
>> On 7/30/2020 5:03 PM, Marcus Vinicius Mesquita wrote:
>> Dear List,
>> 
>> After updating ConTeXt to the last version, the command:
>> 
>> mtxrun --script fonts
>> 
>> replies:
>> mtxrun          | unknown script 'fonts.lua' or 'mtx-fonts.lua'
>> 
>> mtxrun --version gives:
>> 
>> mtxrun          | ConTeXt TDS Runner Tool 1.32
>> 
>> Greetings
>> 
>> Marcus Vinicius
>  Directory of t:\texmf\scripts\context\lua
> 
> 07/30/2020  04:54 PM            21,051 mtx-fonts.lua
> 
> should be there
> 
> Hans
> 
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Thu, 30 Jul 2020 12:17:55 -0300
> From: Marcus Vinicius Mesquita <marcusvinicius.mesquita@gmail.com>
> To: Hans Hagen <j.hagen@xs4all.nl>
> Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: Re: [NTG-context] Unknown script 'fonts.lua' or
>    'mtx-fonts.lua'
> Message-ID:
>    <CAK9ODgTnqsxrFe7vEPWmX5T8U=oB49or3CShXTLnC9DYGueV3g@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Hi, Hans
> 
> I'm on a linux64 machine, and there is indeed a mtx-fonts.lua file:
> 
> ~/context/tex/texmf-context/scripts/context/lua/mtx-fonts.lua
> 
> Am I missing something?
> 
> Marcus Vinicius
> 
> --
> Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o corpo
> nem seus membros, por ser descanso da alma, primavera do coração, distração
> do aflito, entretenimento do solitário, e viático do viajante.
> 
> Kunnâsh al-Hâ'ik (Cancioneiro de al-Hâ'ik)
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20200730/e72db759/attachment-0001.htm>
> 
> ------------------------------
> 
> Message: 6
> Date: Thu, 30 Jul 2020 11:41:38 -0400 (EDT)
> From: Aditya Mahajan <adityam@umich.edu>
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: Re: [NTG-context] Unknown script 'fonts.lua' or
>    'mtx-fonts.lua'
> Message-ID: <nycvar.YAK.7.78.908.2007301141320.1589@nqv-guvaxcnq>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
> 
>> On Thu, 30 Jul 2020, Marcus Vinicius Mesquita wrote:
>> 
>> Hi, Hans
>> 
>> I'm on a linux64 machine, and there is indeed a mtx-fonts.lua file:
>> 
>> ~/context/tex/texmf-context/scripts/context/lua/mtx-fonts.lua
>> 
>> Am I missing something?
> 
> Refresh the database:
> 
>     luatools --generate
> 
> Aditya
> 
> 
> ------------------------------
> 
> Message: 7
> Date: Thu, 30 Jul 2020 21:25:28 +0200
> From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: Re: [NTG-context] About testing rest of space on a page
> Message-ID: <d357e275-6320-66ad-e013-6a08e9dda973@gmail.com>
> Content-Type: text/plain; charset=utf-8; format=flowed
> 
> Taco Hoekwater schrieb am 30.07.2020 um 09:05:
>>>> On 29 Jul 2020, at 23:08, Willi Egger <context@boede.nl> wrote:
>>> 
>>> Good evening!
>>> 
>>> I have a bookproject in which sections are ended with a small graphical element. Now as usual this graphic might be moved to a new page which is of course unwanted.
>>> 
>>> At this moment I have:
>>> 
>>> \startsetups endsection
>>>  \vfil
>>>  \placefigure[middle,none][]{}{\externalfigure[ornament2][height=2\lineheight]}
>>>  \stopsection
>>> \stopsetups
>>> 
>>> \def\stopmysection{\setups{endsection}}
>>> 
>>> I use then instead of \stopsection the \stopmysection. This works except that the ornament is in some cases placed on the next page. — My question is whether it is possible to do a \testpage and evaluate the result hereof and then using either the placement of the ornament and stop the section or just end the section without ornament?
>> You can put your setups *inside* the test:
>> 
>>   \definepagechecker
>>     [willi]
>>     [method=1,before=,after=,inbetween={\setups{endsection}}]
>> 
>>   \def\stopmysection
>>     {\checkpage[willi][lines=4]}
>> 
>> The before=/after= pair is used when a page break is forced by the test, inbetween= is used if there is no forced break.
>> 
>> (\testpage is a wrapper around \checkpage:
>>  https://source.contextgarden.net/page-brk.mkiv?search=testpage#l564 )
> 
> No need for a new \stop command.
> 
> \setuphead
>   [section]
>   [aftersection={\checkpage[willi][lines=4]}]
> 
> Wolfgang
> 
> 
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
> 
> 
> ------------------------------
> 
> End of ntg-context Digest, Vol 193, Issue 65
> ********************************************
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ntg-context Digest, Vol 193, Issue 65
  2020-07-30 20:00 ` ntg-context Digest, Vol 193, Issue 65 Jan Hansen
@ 2020-07-30 20:11   ` Taco Hoekwater
  0 siblings, 0 replies; 2+ messages in thread
From: Taco Hoekwater @ 2020-07-30 20:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Help request will be handled off-list.

Best wishes,
Taco

> On 30 Jul 2020, at 22:01, Jan Hansen <jsh2014@gmail.com> wrote:
> 
> Help
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-30 20:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.991.1596137130.23406.ntg-context@ntg.nl>
2020-07-30 20:00 ` ntg-context Digest, Vol 193, Issue 65 Jan Hansen
2020-07-30 20:11   ` Taco Hoekwater

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).