Subject: mailing-list for TeXmacs Users
List archive
From : "Sam Liddicott" <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] Macros involving item don't wrap correctly
- Date: Mon, 04 Apr 2011 08:38: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=
On 03/04/11 20:20, Jan Lellmann wrote:
Thanks, that solved one of the problems.
Now I cannot find a way to put an indentation _between_ the list item (i.e. the line number) and content.
Using something like
<assign|STATE1|<macro|body|<IND><arg|body>>>
produces the "no line wrap" effect.
<assign|STATE1|<macro|body|<surround|<IND>||<arg|body>>>>
shows no indentation at all. Using <indent-left> indents _before_ the list list item. How can this be done? Do I need to use an invisible table or something similar?
I think you need to read all of the documentation at: http://www.texmacs.org/tmweb/manual/web-manual.en.html
but particularly you may want the white-space primitives helpful: http://www.texmacs.org/tmweb/manual/webman-primitives.en.html
Jan
On 01.04.2011 12:41, Sam Liddicott wrote:
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>
--
[FSF Associate Member #2325]<http://www.fsf.org/register_form?referrer=2325>
<http://www.openrightsgroup.org/>
--
[FSF Associate Member #2325] <http://www.fsf.org/register_form?referrer=2325>
<http://www.openrightsgroup.org/>
- [TeXmacs] Macros involving item don't wrap correctly, Jan Lellmann, 04/01/2011
- Re: [TeXmacs] Macros involving item don't wrap correctly, Sam Liddicott, 04/01/2011
- Re: [TeXmacs] Macros involving item don't wrap correctly, Jan Lellmann, 04/03/2011
- Re: [TeXmacs] Macros involving item don't wrap correctly, Sam Liddicott, 04/04/2011
- Re: [TeXmacs] Macros involving item don't wrap correctly, Jan Lellmann, 04/04/2011
- Re: [TeXmacs] Macros involving item don't wrap correctly, Sam Liddicott, 04/04/2011
- Re: [TeXmacs] Macros involving item don't wrap correctly, Sam Liddicott, 04/06/2011
- Re: [TeXmacs] Macros involving item don't wrap correctly, Jan Lellmann, 04/04/2011
- Re: [TeXmacs] Macros involving item don't wrap correctly, Sam Liddicott, 04/04/2011
- Re: [TeXmacs] Macros involving item don't wrap correctly, Jan Lellmann, 04/03/2011
- Re: [TeXmacs] Macros involving item don't wrap correctly, Sam Liddicott, 04/01/2011
Archive powered by MHonArc 2.6.19.