Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] show-part broken

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] show-part broken


Chronological Thread 
  • From: address@hidden
  • To: address@hidden
  • Subject: Re: [TeXmacs] show-part broken
  • Date: Tue, 19 Apr 2011 17:11:29 +0200

1. Load testcase.tm
2. Select Part > Show one part (note that still both parts are shown)
3. Try to select "Chapter 1" and "Section 1.1." -> crash.

The result of step 2 is in "testcase-onepart.tm":

1. Load "testcase-onepart.tm"
2. Try to select "Chapter 1" and "Section 1.1." -> crash.

Jan

On 19.04.2011 16:32, Sam Liddicott wrote:

On 19/04/11 15:22, Jan.Lellmann wrote:

Hello,

I find Texmacs constantly crashing when I select text over the beginning
of a new section (i.e. the selection includes text from the previous
section and the header of the following section).

I found that for some reason, Texmacs inserts several nested <show-part>
tags. If I remove these tags, Texmacs does not write them back and editing
works afterwards. However this is not really a solution, since it it quite
time-consuming to find all the nested tags and properly remove them. Has
anyone else experienced this problem, and is there some workaround?

I've never observed it, but often if I use cursor key selection of some
custom blocks the caret suddenly jumps to the end of the document.

Do you know any steps you take which cause the show-part tags to be inserted?

Sam

<TeXmacs|1.0.7.10>

<style|book>

<\body>
<chapter|>

<section|Section 1.1>

<section|Section 1.2>

<chapter|>

<section|Section 2.1>

<section|Section 2.2>
</body>

<\references>
<\collection>
<associate|auto-1|<tuple|1|?>>
<associate|auto-2|<tuple|1.1|?>>
<associate|auto-3|<tuple|1.2|?>>
<associate|auto-4|<tuple|2|?>>
<associate|auto-5|<tuple|2.1|?>>
<associate|auto-6|<tuple|2.2|?>>
</collection>
</references>

<\auxiliary>
<\collection>
<\associate|toc>

<vspace*|1fn><with|font-series|<quote|bold>|math-font-series|<quote|bold>|1<space|2spc>>

<datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>>
<no-break><pageref|auto-1><vspace|0.5fn>

1.1<space|2spc>
<datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>>
<no-break><pageref|auto-2>
</associate>
</collection>
</auxiliary><TeXmacs|1.0.7.10>

<style|book>

<\body>
<\show-part|1>
<chapter|>

<\show-part|1>
<section|Section 1.1>
<|show-part>
<section|Section 1.1>
</show-part>

<\show-part|2>
<section|Section 1.2>
<|show-part>
<section|Section 1.2>
</show-part>
<|show-part>
<chapter|>
</show-part>

<\show-part|2>
<chapter|>

<\show-part|1>
<section|Section 2.1>
<|show-part>
<section|Section 2.1>
</show-part>

<\show-part|2>
<section|Section 2.2>
<|show-part>
<section|Section 2.2>
</show-part>
<|show-part>
<chapter|>
</show-part>
</body>

<\references>
<\collection>
<associate|auto-1|<tuple|1|?>>
<associate|auto-2|<tuple|1.1|?>>
<associate|auto-3|<tuple|1.2|?>>
<associate|auto-4|<tuple|2|?>>
<associate|auto-5|<tuple|2.1|?>>
<associate|auto-6|<tuple|2.2|?>>
<associate|auto.1-1|<tuple|1|?|#1>>
<associate|auto.1.1-1|<tuple|1.1|?|#1.1>>
<associate|auto.1.2-1|<tuple|1.2|?|#1.2>>
<associate|auto.2-1|<tuple|2|?|#2>>
<associate|auto.2.1-1|<tuple|2.1|?|#2.1>>
<associate|auto.2.2-1|<tuple|2.2|?|#2.2>>
</collection>
</references>

<\auxiliary>
<\collection>
<\associate|toc>

<vspace*|1fn><with|font-series|<quote|bold>|math-font-series|<quote|bold>|1<space|2spc>>

<datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>>
<no-break><pageref|auto.1-1><vspace|0.5fn>

1.1<space|2spc>Section 1.1
<datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>>
<no-break><pageref|auto.1.1-1>

1.2<space|2spc>Section 1.2
<datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>>
<no-break><pageref|auto.1.2-1>


<vspace*|1fn><with|font-series|<quote|bold>|math-font-series|<quote|bold>|2<space|2spc>>

<datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>>
<no-break><pageref|auto.2-1><vspace|0.5fn>

2.1<space|2spc>Section 2.1
<datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>>
<no-break><pageref|auto.2.1-1>

2.2<space|2spc>Section 2.2
<datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>>
<no-break><pageref|auto.2.2-1>
</associate>
</collection>
</auxiliary>


Archive powered by MHonArc 2.6.19.

Top of Page