ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Undefined \continueifinputfile on presentation
@ 2013-08-13 23:29 Pau
  2013-08-13 23:37 ` Aditya Mahajan
  0 siblings, 1 reply; 19+ messages in thread
From: Pau @ 2013-08-13 23:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

I have installed texlive and defined the path correctly:

echo $PATH
/usr/local/texlive/2013/bin/x86_64-linux:/usr/libexec/lightdm:/usr/local/bin:/usr/bin:/bin:/home/pau/bin:/usr/local/sbin:/usr/sbin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/sbin:/home/pau/bin:/home/pau/smbin:/home/pau/treball/simulacions/nemo/bin:/opt/local:/opt/local/bin:/home/pau/prawn/bin:/home/pau/treball/simulacions/splash2/bin:/home/pau/andromina/programes_diversos/pyxplot-0.9.2/bin:/home/pau/andromina/programes_diversos/rubber/bin:/home/pau/golang/bin/

(notice that it is the first entry)

I am trying to recompile a presentation that I prepared with context
on texlive2012 and I am getting this problem:

! Undefined control sequence.
l.220 \continueifinputfile
                          {s-pre-05.tex}

The whole output is:

==============================
/usr/local/texlive/2013/texmf-dist/scripts/context/ruby/texexec.rb:688:
warning: class variable access from toplevel
/usr/local/texlive/2013/texmf-dist/scripts/context/ruby/texexec.rb:695:
warning: class variable access from toplevel
/usr/local/texlive/2013/texmf-dist/scripts/context/ruby/texexec.rb:702:
warning: class variable access from toplevel
/usr/local/texlive/2013/texmf-dist/scripts/context/ruby/texexec.rb:703:
warning: class variable access from toplevel
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013)
 restricted \write18 enabled.
entering extended mode
(./TU_Berlin_June_2012.tex

ConTeXt  ver: 2013.04.09 10:38 MKII  fmt: 2013.7.22  int: english/english

system          : cont-new.mkii loaded
(/usr/local/texlive/2013/texmf-dist/tex/context/base/cont-new.mkii
systems         : beware: some patches loaded from cont-new.mkii
)
system          : cont-sys.tex loaded
(/home/pau/fitx_confg/texinputs/cont-sys.tex
(/usr/local/texlive/2013/texmf-dist/tex/context/base/type-siz.mkii)
(/usr/local/texlive/2013/texmf-dist/tex/context/base/type-one.mkii))
system          : TU_Berlin_June_2012.top loaded
(./TU_Berlin_June_2012.top)
bodyfont        : 12pt rm is loaded
language        : patterns nl->texnansi:texnansi->1->2:2 nl->ec:ec->2->2:2 us->
ec:ec->3->2:3 de->texnansi:texnansi->4->3:3 de->ec:ec->5->3:3 da->ec:ec->6->2:2
 sv->ec:ec->7->2:2 af->ec:ec->8->2:2 gb->ec:ec->9->2:2 fr->texnansi:texnansi->1
0->2:2 fr->ec:ec->11->2:2 es->ec:ec->12->2:2 ca->ec:ec->13->2:2 it->texnansi:te
xnansi->14->2:2 it->ec:ec->15->2:2 la->ec:ec->16->2:2 pt->texnansi:texnansi->17
->2:2 pt->ec:ec->18->2:2 ro->ec:ec->19->2:2 pl->pl0:pl0->20->2:2 pl->ec:ec->21-
>2:2 pl->qx:qx->22->2:2 cs->il2:il2->23->2:2 cs->ec:ec->24->2:2 sk->il2:il2->25
->2:2 sk->ec:ec->26->2:2 hr->ec:ec->27->2:2 sl->ec:ec->28->2:2 tr->ec:ec->29->2
:2 tk->ec:ec->30->1:2 lt->l7x:l7x->31->2:2 agr->agr:agr->33->2:2 fi->ec:ec->34-
>2:2 hu->ec:ec->35->2:2 ru->t2a:t2a->37->2:2 uk->t2a:t2a->38->3:3  loaded
specials        : dvips loaded
systems         : system commands are enabled
language        : language en is active
specials        : loading definition file tpd
(/usr/local/texlive/2013/texmf-dist/tex/context/base/spec-tpd.mkii
specials        : loading definition file fdf
(/usr/local/texlive/2013/texmf-dist/tex/context/base/spec-fdf.mkii))
system          : module pre-fuzzy loaded
(./s-pre-05.tex
system          : module pre-general loaded
(/usr/local/texlive/2013/texmf-dist/tex/context/base/s-pre-00.tex)
color           : mpcmyk color space is supported
color           : mpspot color space is supported
color           : system rgb is global activated
interaction     : active
system          : mark Topic defined [chapter]
system          : mark Topicnumber defined [chapternumber]
system          : mark Nopic defined [title]
system          : mark Nopicnumber defined [titlenumber]
system          : mark Subject defined [section]
system          : mark Subjectnumber defined [sectionnumber]
! Undefined control sequence.
l.220 \continueifinputfile
                          {s-pre-05.tex}
======================================

And this is the preamble of the file (apologies for the % signs):

=========================================

\usemodule[pre-fuzzy]
\usemodule[amsl]
\useMPlibrary[txt]


\setupexternalfigures[directory={/home/pau/treball/xerrades/grafiques_xerrades_png,
%

/home/pau/treball/xerrades/grafiques_xerrades}]    %



                                                                %
 \definestartstop[CapsaTitolBlanca][before={\setupbackground    %
    [style=\tfx,background=color,backgroundcolor=white,         %
    frame=on,framecorner=rectangular,framecolor=black,          %
    rulethickness=3pt,topoffset=0.25cm,bottomoffset=0.25cm,     %
    leftoffset=0.25cm,rightoffset=0.25cm,before={\blank[big]}]  %
    \startbackground\switchtobodyfont[18pt]},                   %
         after=\stopbackground]                                 %
                                                                %
 \definestartstop[CapsaTitolRoja][before={\setupbackground      %
    [style=\os, background=color,                               %
    backgroundcolor=lightred,frame=on,framecorner=round,        %
    backgroundcorner=round,foregroundcolor=white, framecolor=black,
                %
    rulethickness=2pt,topoffset=0.25cm,bottomoffset=0.25cm,     %
    leftoffset=0.25cm,rightoffset=0.25cm,before={\blank[big]}]  %
    \startbackground\switchtobodyfont[15pt]},                   %
         after=\stopbackground]                                 %
                                                                %
\definestartstop[CapsaBlanca][before={\setupbackground          %
    [style=\tfx,background=color,backgroundcolor=white,         %
    frame=on,framecorner=rectangular,framecolor=black,          %
    rulethickness=0.5pt,topoffset=0.25cm,bottomoffset=0.25cm,   %
    leftoffset=0.25cm,rightoffset=0.25cm,before={\blank[big]}]  %
    \startbackground\switchtobodyfont[10pt]},                   %
         after=\stopbackground]                                 %
                                                                %
\defineframedtext[CapsaBlancaRodona][width=0.90\textwidth,      %
    background=color,backgroundcolor=white,                     %
    foregroundcolor=black,frame=on,framecolor=black,            %
    framecorner=round, rulethickness=2.5pt,                     %
    frameradius=0.38cm,backgroundcorner=round,style=\bf]         %
                                                                %
\defineframedtext[CapsaVermellaRodona][width=0.95\textwidth,    %
    background=color,backgroundcolor=red,                       %
    foregroundcolor=white,frame=on,framecolor=black,            %
    framecorner=round, rulethickness=2.5pt,                     %
    frameradius=0.38cm,backgroundcorner=round,style=\bf]         %
                                                                %
\defineframedtext[CapsaVermellaRodonaGran][width=0.99\textwidth,%
    background=color,backgroundcolor=red,                       %
    foregroundcolor=white,frame=on,framecolor=black,            %
    framecorner=round, rulethickness=2.5pt,                     %
    frameradius=0.5cm,backgroundcorner=round,style=\bf]         %
                                                                %
\defineframedtext[CapsaVerdaRodona][width=0.75\textwidth,       %
    background=color,backgroundcolor=lightgreen,                %
    foregroundcolor=black,frame=on,framecolor=black,            %
    framecorner=round, rulethickness=2.5pt,                     %
    frameradius=0.38cm,backgroundcorner=round,style=\bf]         %
                                                                %
\defineframedtext[CapsaVermella][width=0.75\textwidth,          %
    background=color,backgroundcolor=lightred,                  %
    foregroundcolor=white,frame=off,framecorner=round,          %
    frameradius=0.5cm,backgroundcorner=round,style=\bf]         %
                                                                %
%\startCapsaVermella...\stopCapsaVermella                       %




\startuseMPgraphic{mpos:par:columnset} % Shift underlining down a touch%
   \iftracepositions show_multi_pars \else draw_multi_pars \fi ;       %
   path p ; p := boundingbox currentpicture ;                          %
   currentpicture := currentpicture shifted (0,-StrutDepth/3) ;        %
   setbounds currentpicture to p ;                                     %
\stopuseMPgraphic                                                      %
\definetextbackground[underline]                                       %
  [location=text,alternative=1,background=,frame=off]                  %
\definestartstop                                                       %
  [underline]                                                          %
  [before={\starttextbackground[underline]},                           %
   after=\stoptextbackground]                                          %




\definecolor [InteractionColor] [s=.2]                         %
\definecolor [ContrastColor]    [s=.5]                         %
                                                               %
\setupinteraction                                              %
  [page=yes,                                                   %
   color=InteractionColor,                                     %
   contrastcolor=ContrastColor,                                %
   menu=on,                                                    %
   state=start]                                                %
                                                               %
\setupsubpagenumber                                            %
  [way=bytext,                                                 %
   state=start]                                                %
                                                               %
\setuplayout[bottomspace=.8cm,                                 %
             bottom=30pt]                                      %
                                                               %
\startinteractionmenu[bottom]                                  %
{\interactionbar[alternative=f,width=\makeupwidth,height=1ex]} %
\stopinteractionmenu                                           %



\setupcaptions[number=no]                              %



\TitlePage {                                                  %
\vskip-1.5cm                                                  %
\startCapsaTitolBlanca                                        %
     {\hw [ My Title ]}                              %
\stopCapsaTitolBlanca                                         %
                                                              %
\startCapsaTitolRoja                                          %
     {\os My Subtitle}              %
\stopCapsaTitolRoja                                           %
\vfill                                                        %
                                                              %
     {\tfx \hw Author}                              %
}                                                             %


\setupbodyfont[13pt]

\starttext

======================================

What is the problem? What has changed between texlive2012 and texlive2013?

I copied the style to the current directory and not even like that did it work:

cp /usr/local/texlive/2013/texmf-dist/tex/context/base/s-pre-05.tex .

Yields the same problem...

Thanks,

Pau
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: Undefined \continueifinputfile on presentation
  2013-08-13 23:29 Undefined \continueifinputfile on presentation Pau
@ 2013-08-13 23:37 ` Aditya Mahajan
  2013-08-13 23:42   ` Pau
  0 siblings, 1 reply; 19+ messages in thread
From: Aditya Mahajan @ 2013-08-13 23:37 UTC (permalink / raw)
  To: vim.unix, mailing list for ConTeXt users

On Tue, 13 Aug 2013, Pau wrote:

> Hello,
>
> I have installed texlive and defined the path correctly:
>
> echo $PATH
> /usr/local/texlive/2013/bin/x86_64-linux:/usr/libexec/lightdm:/usr/local/bin:/usr/bin:/bin:/home/pau/bin:/usr/local/sbin:/usr/sbin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/sbin:/home/pau/bin:/home/pau/smbin:/home/pau/treball/simulacions/nemo/bin:/opt/local:/opt/local/bin:/home/pau/prawn/bin:/home/pau/treball/simulacions/splash2/bin:/home/pau/andromina/programes_diversos/pyxplot-0.9.2/bin:/home/pau/andromina/programes_diversos/rubber/bin:/home/pau/golang/bin/
>
> (notice that it is the first entry)
>
> I am trying to recompile a presentation that I prepared with context
> on texlive2012 and I am getting this problem:
>
> ! Undefined control sequence.
> l.220 \continueifinputfile
>                          {s-pre-05.tex}

\contiinueifinputfile is a MkIV macro not defined in MkII. Perhpas you can 
define it in MKII as

\def\continueifinputfile#1%
    {\doifnotfile{#1}{\endinput}}

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
___________________________________________________________________________________


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

* Re: Undefined \continueifinputfile on presentation
  2013-08-13 23:37 ` Aditya Mahajan
@ 2013-08-13 23:42   ` Pau
  2013-08-13 23:51     ` Aditya Mahajan
  0 siblings, 1 reply; 19+ messages in thread
From: Pau @ 2013-08-13 23:42 UTC (permalink / raw)
  To: Aditya Mahajan; +Cc: mailing list for ConTeXt users

Thanks, but it did not work... here you are a minimalistic example:

\usemodule[pre-fuzzy]
\usemodule[amsl]
\useMPlibrary[txt]

\def\continueifinputfile#1%
   {\doifnotfile{#1}{\endinput}}


\TitlePage {
     {\hw [ TITLE ]}

\vfill

     {\tfx \hw Author}
}

\setupbodyfont[13pt]

\starttext

\stoptext




> \contiinueifinputfile is a MkIV macro not defined in MkII. Perhpas you can
> define it in MKII as
>
> \def\continueifinputfile#1%
>    {\doifnotfile{#1}{\endinput}}
>
> 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
___________________________________________________________________________________


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

* Re: Undefined \continueifinputfile on presentation
  2013-08-13 23:42   ` Pau
@ 2013-08-13 23:51     ` Aditya Mahajan
  2013-08-13 23:56       ` Hans Hagen
  2013-08-14  0:07       ` Pau
  0 siblings, 2 replies; 19+ messages in thread
From: Aditya Mahajan @ 2013-08-13 23:51 UTC (permalink / raw)
  To: vim.unix, mailing list for ConTeXt users

On Tue, 13 Aug 2013, Pau wrote:

> Thanks, but it did not work... here you are a minimalistic example:
>
> \usemodule[pre-fuzzy]
> \usemodule[amsl]
> \useMPlibrary[txt]
>
> \def\continueifinputfile#1%
>   {\doifnotfile{#1}{\endinput}}
>

Use this before \usemodule[pre-fuzzy] (since the error is coming from 
pre-fuzzy.

The amsl module is deprecated. Use ConTeXt's inbuilt multiline math 
display environments instead.

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
___________________________________________________________________________________


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

* Re: Undefined \continueifinputfile on presentation
  2013-08-13 23:51     ` Aditya Mahajan
@ 2013-08-13 23:56       ` Hans Hagen
  2013-08-14  0:07       ` Pau
  1 sibling, 0 replies; 19+ messages in thread
From: Hans Hagen @ 2013-08-13 23:56 UTC (permalink / raw)
  To: ntg-context

On 8/14/2013 1:51 AM, Aditya Mahajan wrote:
> On Tue, 13 Aug 2013, Pau wrote:
>
>> Thanks, but it did not work... here you are a minimalistic example:
>>
>> \usemodule[pre-fuzzy]
>> \usemodule[amsl]
>> \useMPlibrary[txt]
>>
>> \def\continueifinputfile#1%
>>   {\doifnotfile{#1}{\endinput}}
>>
>
> Use this before \usemodule[pre-fuzzy] (since the error is coming from
> pre-fuzzy.

or add it in cont-new.mkii

(I'll add it to core-fil.mkii)

> The amsl module is deprecated. Use ConTeXt's inbuilt multiline math
> display environments instead.
>
> 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
> ___________________________________________________________________________________
>


-- 

-----------------------------------------------------------------
                                           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
___________________________________________________________________________________


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

* Re: Undefined \continueifinputfile on presentation
  2013-08-13 23:51     ` Aditya Mahajan
  2013-08-13 23:56       ` Hans Hagen
@ 2013-08-14  0:07       ` Pau
  2013-08-14  0:33         ` Aditya Mahajan
  1 sibling, 1 reply; 19+ messages in thread
From: Pau @ 2013-08-14  0:07 UTC (permalink / raw)
  Cc: mailing list for ConTeXt users

Thanks Aditya... that worked...

Now I am getting more trouble with the full presenation, not that
short example, and I am not sure where the problem is arising, so that
I cannot prepare a minimalistic version of the presentation:

"pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet!"

Is this related to the amsl module? How do I use those multilines
instead? Can you give me a little example?

If you have an idea of where this might coming from, I can prepare a
short version of the presentation...

Thanks 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
___________________________________________________________________________________


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

* Re: Undefined \continueifinputfile on presentation
  2013-08-14  0:07       ` Pau
@ 2013-08-14  0:33         ` Aditya Mahajan
  2013-08-14  2:12           ` Pau
  0 siblings, 1 reply; 19+ messages in thread
From: Aditya Mahajan @ 2013-08-14  0:33 UTC (permalink / raw)
  To: vim.unix, mailing list for ConTeXt users

On Tue, 13 Aug 2013, Pau wrote:

> Thanks Aditya... that worked...
>
> Now I am getting more trouble with the full presenation, not that
> short example, and I am not sure where the problem is arising, so that
> I cannot prepare a minimalistic version of the presentation:
>
> "pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet!"

This is a warning that you may safely ignore.

> Is this related to the amsl module? How do I use those multilines
> instead? Can you give me a little example?

http://wiki.contextgarden.net/Multiline_equations
http://dl.contextgarden.net/myway/mathalign.pdf

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
___________________________________________________________________________________


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

* Re: Undefined \continueifinputfile on presentation
  2013-08-14  0:33         ` Aditya Mahajan
@ 2013-08-14  2:12           ` Pau
  2013-08-14  2:38             ` Aditya Mahajan
  0 siblings, 1 reply; 19+ messages in thread
From: Pau @ 2013-08-14  2:12 UTC (permalink / raw)
  Cc: mailing list for ConTeXt users

thanks but when adding those lines you suggested, while texexec seems
to be working and is producing a pdf, it has nothing to do with my
contents:

Bryson
Imagine trying to live in a world dominated by dihydrogen oxide, a
compound that has no taste or smell and is so viable in its properties
that it is generally benign but at other times swiftly lethal. Depending
on its state, it can scald you or freeze you. In the presence of certain
organic molecules it can form carbonic acids so nasty that they can
strip the leaves from trees and eat the faces off statuary. In bulk,
when agitated, it can strike with a fury that no human edifice could
withstand. Even for those who have learned to live with it, it is often
murderous substance. We call it water.

I guess that this is a default text that comes with pre-fuzzy... why
is this happening? Sorry, I am lost...

Thanks for your time,

Pau


On Tue, Aug 13, 2013 at 5:33 PM, Aditya Mahajan <adityam@umich.edu> wrote:
> On Tue, 13 Aug 2013, Pau wrote:
>
>> Thanks Aditya... that worked...
>>
>> Now I am getting more trouble with the full presenation, not that
>> short example, and I am not sure where the problem is arising, so that
>> I cannot prepare a minimalistic version of the presentation:
>>
>> "pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet!"
>
>
> This is a warning that you may safely ignore.
>
>
>> Is this related to the amsl module? How do I use those multilines
>> instead? Can you give me a little example?
>
>
> http://wiki.contextgarden.net/Multiline_equations
> http://dl.contextgarden.net/myway/mathalign.pdf
>
> 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
___________________________________________________________________________________


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

* Re: Undefined \continueifinputfile on presentation
  2013-08-14  2:12           ` Pau
@ 2013-08-14  2:38             ` Aditya Mahajan
  2013-08-14  4:41               ` Pau
  0 siblings, 1 reply; 19+ messages in thread
From: Aditya Mahajan @ 2013-08-14  2:38 UTC (permalink / raw)
  To: vim.unix, mailing list for ConTeXt users

On Tue, 13 Aug 2013, Pau wrote:

> thanks but when adding those lines you suggested, while texexec seems
> to be working and is producing a pdf, it has nothing to do with my
> contents:

Sorry. The following works correctly (tested this time)

\def\continueifinputfile#1%
    {\doifnot\inputfilename{#1}{\endinput}}

\usemodule[pre-fuzzy]

\TitlePage{Title \vfill Author}

\starttext
Whatever
\stoptext

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
___________________________________________________________________________________


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

* Re: Undefined \continueifinputfile on presentation
  2013-08-14  2:38             ` Aditya Mahajan
@ 2013-08-14  4:41               ` Pau
  2013-08-14  4:48                 ` Aditya Mahajan
  0 siblings, 1 reply; 19+ messages in thread
From: Pau @ 2013-08-14  4:41 UTC (permalink / raw)
  Cc: mailing list for ConTeXt users

Yes, now I am getting my input, thanks!

But the style seems to be severely broken: I do not become the frames,
background colors etc as defined in the style.

Compile your example and compare it with:

http://wiki.contextgarden.net/Presentation_Styles#05._fuzzy

Thanks again for your time and help!


On Tue, Aug 13, 2013 at 7:38 PM, Aditya Mahajan <adityam@umich.edu> wrote:
> On Tue, 13 Aug 2013, Pau wrote:
>
>> thanks but when adding those lines you suggested, while texexec seems
>> to be working and is producing a pdf, it has nothing to do with my
>> contents:
>
>
> Sorry. The following works correctly (tested this time)
>
> \def\continueifinputfile#1%
>    {\doifnot\inputfilename{#1}{\endinput}}
>
> \usemodule[pre-fuzzy]
>
> \TitlePage{Title \vfill Author}
>
> \starttext
> Whatever
> \stoptext
>
> 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
___________________________________________________________________________________


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

* Re: Undefined \continueifinputfile on presentation
  2013-08-14  4:41               ` Pau
@ 2013-08-14  4:48                 ` Aditya Mahajan
  2013-08-14  6:06                   ` Pau
  0 siblings, 1 reply; 19+ messages in thread
From: Aditya Mahajan @ 2013-08-14  4:48 UTC (permalink / raw)
  To: vim.unix, mailing list for ConTeXt users

On Tue, 13 Aug 2013, Pau wrote:

> Yes, now I am getting my input, thanks!
>
> But the style seems to be severely broken: I do not become the frames,
> background colors etc as defined in the style.
>
> Compile your example and compare it with:
>
> http://wiki.contextgarden.net/Presentation_Styles#05._fuzzy
>
> Thanks again for your time and help!

I am getting the correct output.

Do you have write18 enabled (needed to run metapost in MkII)? Otherwise, 
set \runMPgraphicstrue on top of your file.

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
___________________________________________________________________________________


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

* Re: Undefined \continueifinputfile on presentation
  2013-08-14  4:48                 ` Aditya Mahajan
@ 2013-08-14  6:06                   ` Pau
  2013-08-14 15:24                     ` Aditya Mahajan
  0 siblings, 1 reply; 19+ messages in thread
From: Pau @ 2013-08-14  6:06 UTC (permalink / raw)
  Cc: mailing list for ConTeXt users

Hi,

something very strange is going on... when I set \runMPgraphicstrue on
top, texexec seems to enter an long process and takes ~10 minutes to
produce a pdf:

/usr/local/texlive/2013/texmf-dist/metapost/context/base/mp-text.mpii)
(/usr/local/texlive/2013/texmf-dist/metapost/context/base/mp-txts.mpii)
(/usr/local/texlive/2013/texmf-dist/metapost/context/base/mp-shap.mpii)
(/usr/local/texlive/2013/texmf-dist/metapost/context/base/mp-butt.mpii)
(/usr/local/texlive/2013/texmf-dist/metapost/context/base/mp-char.mpii)
(/usr/local/texlive/2013/texmf-dist/metapost/context/base/mp-step.mpii)
(/usr/local/texlive/2013/texmf-dist/metapost/context/base/mp-grph.mpii)
(/usr/local/texlive/2013/texmf-dist/metapost/context/base/mp-figs.mpii)
(/usr/local/texlive/2013/texmf-dist/metapost/context/base/mp-grid.mpii
(/usr/local/texlive/2013/texmf-dist/metapost/context/base/mp-form.mpii
(/usr/local/texlive/2013/texmf-dist/metapost/base/string.mp)
(/usr/local/texlive/2013/texmf-dist/metapost/base/marith.mp
(/usr/local/texlive/2013/texmf-dist/metapost/base/string.mp))))
(/usr/local/texlive/2013/texmf-dist/metapost/context/base/mp-func.mpii) ) )
(dump occurred when else on line 5 was incomplete)

mpost is running and CTRL+C does not break texexec...

Why is that??

Thanks


On Tue, Aug 13, 2013 at 9:48 PM, Aditya Mahajan <adityam@umich.edu> wrote:
> On Tue, 13 Aug 2013, Pau wrote:
>
>> Yes, now I am getting my input, thanks!
>>
>> But the style seems to be severely broken: I do not become the frames,
>> background colors etc as defined in the style.
>>
>> Compile your example and compare it with:
>>
>> http://wiki.contextgarden.net/Presentation_Styles#05._fuzzy
>>
>> Thanks again for your time and help!
>
>
> I am getting the correct output.
>
> Do you have write18 enabled (needed to run metapost in MkII)? Otherwise, set
> \runMPgraphicstrue on top of your file.
>
> 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
___________________________________________________________________________________


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

* Re: Undefined \continueifinputfile on presentation
  2013-08-14  6:06                   ` Pau
@ 2013-08-14 15:24                     ` Aditya Mahajan
  2013-08-14 16:42                       ` Pau
  0 siblings, 1 reply; 19+ messages in thread
From: Aditya Mahajan @ 2013-08-14 15:24 UTC (permalink / raw)
  To: vim.unix, mailing list for ConTeXt users

On Tue, 13 Aug 2013, Pau wrote:

> Hi,
>
> something very strange is going on... when I set \runMPgraphicstrue on
> top, texexec seems to enter an long process and takes ~10 minutes to
> produce a pdf:
>
> Why is that??

I don't know. It has been more than five years since I used MkII.

Does a minimal file containing just MP graphics work?

\starttext
\startMPcode
draw fullcircle scaled 1cm;
\stopMPcode
\stoptext

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
___________________________________________________________________________________


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

* Re: Undefined \continueifinputfile on presentation
  2013-08-14 15:24                     ` Aditya Mahajan
@ 2013-08-14 16:42                       ` Pau
  2013-08-14 16:54                         ` Aditya Mahajan
  0 siblings, 1 reply; 19+ messages in thread
From: Pau @ 2013-08-14 16:42 UTC (permalink / raw)
  To: Aditya Mahajan; +Cc: mailing list for ConTeXt users

Hi,

thanks for your patience... No, it does not work.

I just get a blank page with a "1" on it, but no circle.

I ran texexec example.tex on texlive 2013.

This is very bad. I am giving a talk tomorrow and I was hoping on
recycling some slides from a former talk, and it seems I am stuck!

Thanks...

On Wed, Aug 14, 2013 at 8:24 AM, Aditya Mahajan <adityam@umich.edu> wrote:
> On Tue, 13 Aug 2013, Pau wrote:
>
>> Hi,
>>
>> something very strange is going on... when I set \runMPgraphicstrue on
>> top, texexec seems to enter an long process and takes ~10 minutes to
>> produce a pdf:
>>
>> Why is that??
>
>
> I don't know. It has been more than five years since I used MkII.
>
> Does a minimal file containing just MP graphics work?
>
> \starttext
> \startMPcode
> draw fullcircle scaled 1cm;
> \stopMPcode
> \stoptext
>
> 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
___________________________________________________________________________________


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

* Re: Undefined \continueifinputfile on presentation
  2013-08-14 16:42                       ` Pau
@ 2013-08-14 16:54                         ` Aditya Mahajan
  2013-08-14 17:04                           ` Pau
  0 siblings, 1 reply; 19+ messages in thread
From: Aditya Mahajan @ 2013-08-14 16:54 UTC (permalink / raw)
  To: vim.unix, mailing list for ConTeXt users

On Wed, 14 Aug 2013, Pau wrote:

> Hi,
>
> thanks for your patience... No, it does not work.
>
> I just get a blank page with a "1" on it, but no circle.
>
> I ran texexec example.tex on texlive 2013.
>
> This is very bad. I am giving a talk tomorrow and I was hoping on
> recycling some slides from a former talk, and it seems I am stuck!

What happens if you add

\runMPgraphicstrue

or just run your old slides throught MkIV.

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
___________________________________________________________________________________


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

* Re: Undefined \continueifinputfile on presentation
  2013-08-14 16:54                         ` Aditya Mahajan
@ 2013-08-14 17:04                           ` Pau
  2013-08-14 17:38                             ` Aditya Mahajan
  0 siblings, 1 reply; 19+ messages in thread
From: Pau @ 2013-08-14 17:04 UTC (permalink / raw)
  Cc: mailing list for ConTeXt users

adding that makes the circle, yes

That works out also for my presentation, but it takes ~10 minutes for
texexec to create the pdf...


How can I run the old slides through mkiv?


Thanks again...

On Wed, Aug 14, 2013 at 9:54 AM, Aditya Mahajan <adityam@umich.edu> wrote:
> On Wed, 14 Aug 2013, Pau wrote:
>
>> Hi,
>>
>> thanks for your patience... No, it does not work.
>>
>> I just get a blank page with a "1" on it, but no circle.
>>
>> I ran texexec example.tex on texlive 2013.
>>
>> This is very bad. I am giving a talk tomorrow and I was hoping on
>> recycling some slides from a former talk, and it seems I am stuck!
>
>
> What happens if you add
>
> \runMPgraphicstrue
>
> or just run your old slides throught MkIV.
>
> 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
___________________________________________________________________________________


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

* Re: Undefined \continueifinputfile on presentation
  2013-08-14 17:04                           ` Pau
@ 2013-08-14 17:38                             ` Aditya Mahajan
  2013-08-14 19:17                               ` Pau
  0 siblings, 1 reply; 19+ messages in thread
From: Aditya Mahajan @ 2013-08-14 17:38 UTC (permalink / raw)
  To: vim.unix, mailing list for ConTeXt users

On 2013-08-14, at 1:04 PM, Pau <vim.unix@gmail.com> wrote:

> adding that makes the circle, yes
> 
> That works out also for my presentation, but it takes ~10 minutes for
> texexec to create the pdf...

That actually depends on the number of metapost runs needed to create all the random frames. You might get some sipped up if you enable write18. 

> 
> How can I run the old slides through mkiv?

context filename

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
___________________________________________________________________________________


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

* Re: Undefined \continueifinputfile on presentation
  2013-08-14 17:38                             ` Aditya Mahajan
@ 2013-08-14 19:17                               ` Pau
  2013-08-14 19:24                                 ` Aditya Mahajan
  0 siblings, 1 reply; 19+ messages in thread
From: Pau @ 2013-08-14 19:17 UTC (permalink / raw)
  Cc: mailing list for ConTeXt users

sorry for these newbie questions... but how to enable write18?

context failed to compile it...

I am out of luck, seemingly...

Is this to be envisaged as a regression?

Why a document that used to compile perfectly over many years cannot
be compiled now, if nothing was changed?

Thanks for all of the help!

On Wed, Aug 14, 2013 at 10:38 AM, Aditya Mahajan <adityam@umich.edu> wrote:
> On 2013-08-14, at 1:04 PM, Pau <vim.unix@gmail.com> wrote:
>
>> adding that makes the circle, yes
>>
>> That works out also for my presentation, but it takes ~10 minutes for
>> texexec to create the pdf...
>
> That actually depends on the number of metapost runs needed to create all the random frames. You might get some sipped up if you enable write18.
>
>>
>> How can I run the old slides through mkiv?
>
> context filename
>
> 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
___________________________________________________________________________________


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

* Re: Undefined \continueifinputfile on presentation
  2013-08-14 19:17                               ` Pau
@ 2013-08-14 19:24                                 ` Aditya Mahajan
  0 siblings, 0 replies; 19+ messages in thread
From: Aditya Mahajan @ 2013-08-14 19:24 UTC (permalink / raw)
  To: vim.unix, mailing list for ConTeXt users

On Wed, 14 Aug 2013, Pau wrote:

> sorry for these newbie questions... but how to enable write18?

See the wiki.

http://wiki.contextgarden.net/write18

> Why a document that used to compile perfectly over many years cannot
> be compiled now, if nothing was changed?

MkII has been frozen for couple of years now, and there has been no 
fundamental change in MkII for a while. I don't know why compiling the 
document is taking 10 minutes for you.

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
___________________________________________________________________________________


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

end of thread, other threads:[~2013-08-14 19:24 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-13 23:29 Undefined \continueifinputfile on presentation Pau
2013-08-13 23:37 ` Aditya Mahajan
2013-08-13 23:42   ` Pau
2013-08-13 23:51     ` Aditya Mahajan
2013-08-13 23:56       ` Hans Hagen
2013-08-14  0:07       ` Pau
2013-08-14  0:33         ` Aditya Mahajan
2013-08-14  2:12           ` Pau
2013-08-14  2:38             ` Aditya Mahajan
2013-08-14  4:41               ` Pau
2013-08-14  4:48                 ` Aditya Mahajan
2013-08-14  6:06                   ` Pau
2013-08-14 15:24                     ` Aditya Mahajan
2013-08-14 16:42                       ` Pau
2013-08-14 16:54                         ` Aditya Mahajan
2013-08-14 17:04                           ` Pau
2013-08-14 17:38                             ` Aditya Mahajan
2013-08-14 19:17                               ` Pau
2013-08-14 19:24                                 ` Aditya Mahajan

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).