When I have the attached .tm in TeXmacs 1.0.5.11 (compiled from source
found in Debian experimental) I get two distinct crashes.

The first is triggered by clicking the 'Document --> Part' menu item.
It crashes every time with:

 TeXmacs] Guile error: ((wrong-type-arg car Wrong type argument in position ~A: 
~S (1 ()) #f))
 /usr/share/texmacs/TeXmacs/progs/kernel/boot/debug.scm:210:19: In procedure 
car in expression (apply throw err):
 /usr/share/texmacs/TeXmacs/progs/kernel/boot/debug.scm:210:19: Wrong type 
argument in position 1: ()
 
 Fatal error: Widget expected in 'eval_as_widget'
 See file   : object.cpp

The second is triggered by clicking the 'Document --> View --> Edit
Source Tree' menu item:

 Fatal error: empty composite box in 'composite_box::position'

In case it matters, also attached is my version of 'std-math.ts'.

-- 
Karl Hegbloom <[EMAIL PROTECTED]>
<TeXmacs|1.0.5.11>

<style|<tuple|amsart|header-generic>>

<\body>
  <\hide-preamble>
    <assign|page-odd-header|<no-indent><very-small|MTH 261, Linear
    Algebra<hflush>Karl Hegbloom <verbatim|\<less\>[EMAIL PROTECTED]<gtr\>>>>

    <assign|matrix-left-symbol|<left|[>>

    <assign|matrix-right-symbol|<right|[>>

    \;
  </hide-preamble>
</body>

<\initial>
  <\collection>
    <associate|language|american>
    <associate|page-bot|1in>
    <associate|page-even|1in>
    <associate|page-medium|paper>
    <associate|page-odd|1.625in>
    <associate|page-right|1in>
    <associate|page-screen-margin|false>
    <associate|page-show-hf|true>
    <associate|page-top|1in>
    <associate|page-type|letter>
    <associate|par-hyphen|professional>
    <associate|preamble|true>
  </collection>
</initial>
<TeXmacs|1.0.5.11>

<style|<tuple|source|std>>

<\body>
  <active*|<\src-title>
    <src-package|std-math|1.0>

    <\src-purpose>
      This package defines additional macros for mathematics.
    </src-purpose>

    <src-copyright|1998--2004|Joris van der Hoeven>

    <\src-license>
      This <TeXmacs> style package falls under the <hlink|GNU general public
      license|$TEXMACS_PATH/LICENSE> and comes WITHOUT ANY WARRANTY
      WHATSOEVER. If you do not have a copy of the license, then write to the
      Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
      02111-1307, USA.
    </src-license>
  </src-title>>

  <\active*>
    <\src-comment>
      Mathematical content tags.
    </src-comment>
  </active*>

  <assign|math-ord|<macro|x|<with|math-condensed|true|<arg|x>>>>

  <assign|math-open|<value|op>>

  <assign|math-close|<value|op>>

  <assign|math-punct|<value|op>>

  
<assign|math-bin|<macro|x|<space|0.5spc><with|math-condensed|true|<arg|x>><space|0.5spc>>>

  <assign|math-rel|<value|math-bin>>

  <assign|math-op|<macro|x|<with|math-condensed|true|<arg|x>><space|1spc>>>

  <\active*>
    <\src-comment>
      Additional mathematical macros.
    </src-comment>
  </active*>

  
<assign|shrink-inline|<macro|x|<style-with|src-compact|none|<if|<equal|<value|math-display>|false>|<with|math-level|<plus|<value|math-level>|1>|<arg|x>>|<with|math-display|false|<arg|x>>>>>>

  <drd-props|shrink-inline|arity|1|accessible|all>

  
<assign|binom|<macro|x|y|<style-only*|<with|mode|math|<shrink-inline|<left|(><resize|<tabular*|<tformat|<cwith|1|-1|1|1|cell-lsep|0spc>|<cwith|1|-1|1|1|cell-rsep|0spc>|<table|<row|<cell|<inactive*|<arg|x>>>>|<row|<cell|<inactive*|<arg|y>>>>>>>||b+2.5sep||t-2.5sep|><right|)>>>>>>

  <assign|choose|<value|binom>>

  <\active*>
    <\src-comment>
      Mathematical tabular structures.
    </src-comment>
  </active*>

  <assign|matrix-left-symbol|<left|(>>

  <assign|matrix-right-symbol|<right|)>>

  
<assign|matrix|<macro|x|<shrink-inline|<style-with|src-compact|none|||<value|matrix-left-symbol><tformat|<cwith|1|-1|1|-1|cell-halign|c>|<arg|x>><value|matrix-right-symbol>>>>>

  
<assign|det|<macro|x|<shrink-inline|<style-with|src-compact|none|<left|\|><tformat|<cwith|1|-1|1|-1|cell-halign|c>|<arg|x>><right|\|>>>>>

  
<assign|choice|<macro|x|<shrink-inline|<style-with|src-compact|none|<left|{><tformat|<arg|x>><right|.>>>>>

  
<assign|stack|<macro|x|<tformat|<twith|table-valign|C>|<cwith|1|-1|1|-1|cell-halign|c>|<cwith|1|-1|1|1|cell-lsep|0spc>|<cwith|1|-1|-1|-1|cell-rsep|0spc>|<cwith|1|-1|1|-1|cell-bsep|0.5sep>|<cwith|1|-1|1|-1|cell-tsep|0.5sep>|<cwith|1|1|1|-1|cell-tsep|0sep>|<cwith|-1|-1|1|-1|cell-bsep|0sep>|<arg|x>>>>

  \;
</body>

<\initial>
  <\collection>
    <associate|preamble|true>
    <associate|src-special|normal>
    <associate|src-style|angular>
  </collection>
</initial>
_______________________________________________
Texmacs-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to