Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Macros involving item don't wrap correctly

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Macros involving item don't wrap correctly


Chronological Thread 
  • From: "Sam Liddicott" <address@hidden>
  • To: address@hidden
  • Cc: Jan Lellmann <address@hidden>
  • Subject: Re: [TeXmacs] Macros involving item don't wrap correctly
  • Date: Fri, 01 Apr 2011 11:41:32 +0100
  • Envelope-to:
  • Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAAXNSR0IArs4c6QAAADxQTFRF NTdQY2Z/i286eHFugnNXoJBwm5GCs5VeoqO0ua+fwLCQ4c2q19C81NDF4eLr/unQ/PTf/fXW+/rq /f/7XKo76wAAAAlwSFlzAAALEwAACxMBAJqcGAAAAi9JREFUSMetloGSqyAMRVsFNAQkxP//15cE 62rFdt/MZqbTVu/hBhLEx/qf8fgDIAN455wHyPk7wCIe9nA+fwGSH87hgD8AHPfRpy2GwdMtcBh+ mg4Ech9Ih+RNixJKDLEL0GF8VLkSojePHrDlryNijbFW8zBg8PUKbBOI6D1WCV5Rf2DzxCtgBlMs tRRVW5LyVW3ew1TfAZZ6RcQicpb4yZmaC74DJADK6BdATOrUAbJzsZie+K22ZnEBknNYysvhVH6u 1X8CqAe4DuANoPoOrAbsHXUARJ5knc5z4EyyTnHoAqj7xvkYIdk65AwhyEZKMusOIDV2QQQaCnDQ gBiDR3RdIEb5CBESt2wgQJI0Yx/Agphg1MgNsD+QkszM9wHVPx/PeQOW+fmcR9DF8+4CyCJhCuP8 fDzmBbLqs8JzMODqYNfDvKhoGYM2lDosy5jlRozccRAgrPM8iygQS3Mv87IugUgKlC7NZ6liuy4r uresVq5QuQAr09ZKEga8OkluyKXeQ6Bs3SrtqgC1pWLNqAfwDhBnB+sK8OrVL4D4h1B4zWPWhJhu gPUHKA5EwSMYUMsdQK+UKDhIOTSHeg+8HCoTOGtB/gwcl4mSdGybwXegPWhM/RHYKwchkckhUNMX 6j7ueQNScLbZZOPRxaADyO2UQCJpl7wbnE6gQ+ksWjpngxOwF1tF5ecP3R6KB+AQxPfHLncQ+nKw 06fhu68OTIfJ869eTtg22l+9zfwDK3mKl5BFHMYAAAAASUVORK5CYII=

Try this:

<assign|alg-item|<\macro|body>
  <surround|<compound|item>||<arg|body>>
</macro>>

Two things made a different: One was using <surround> which is for this purpose, also in View, Edit Source Treemode make sure you don't see the word "document" inside you parameter to alg-item, it also can affect it.

The above macro and with the above check in Source Tree mode fix your problem for me.

Sam

On 01/04/11 10:51, Jan Lellmann wrote:
<TeXmacs|1.0.7.3>

<style|generic>

<\body>
  <assign|alg-item|<\macro|body>
    <compound|item><arg|body>
  </macro>>

  <\itemize>
    <item>item item item item item item item item item item item item item
    item item item item item item item item item item item item item item
    item item item item item item item item item item item\

    <\alg-item>
      state state state state state state state state state state state state
      state state state state state state state state state state state state
      state state\
    </alg-item>

    <item>item item item item item item item item item item item item item
    item item item item item item item item item item item item item item
    item item item item item item item item item item item

    <\alg-item>
      state state state state state state state state state state state state
      state state state state state state state state state state state state
      state state\
    </alg-item>
  </itemize>
</body>

<\initial>
  <\collection>
    <associate|language|american>
    <associate|page-type|letter>
    <associate|preamble|false>
  </collection>
</initial>


--


PNG image

PNG image




Archive powered by MHonArc 2.6.19.

Top of Page