Subject: mailing-list for TeXmacs Users
List archive
From : Andrew Cooper <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] Second-line indentation in text of bibliography entries
- Date: Mon, 08 May 2006 14:29:10 +0100
Henri Lesourd wrote:
There is for sure another expansion of MFO under bibitem*, otherwise I don't
see how bibitem* would be able to change the alignment as it does.
Have a look at compact-item in std-list.ts and have a go at using it on its own. To me it looks like it, rather than MFO, is doing the change of alignment. Compact-item also has an effect on the vspace.
However, just dispensing with all the old code in bibitem is a little drastic...
Yes, it is drastic. I wonder if this bug has been solved in 1.0.6. If not,
we will need a more fine-grained approach.
I think my solution (as presented in my last post) is 'in the spirit' of the macro structure as it stands: it just replaces one alignment macro with another, in almost the same place ;-). It's still rather rough. Perhaps the best way (that is, the way closest to the status-quo, which may not be the best way more generally) would be to have a custom bib-align macro that took the essential features of compact-item and margin-first-other and substituted for compact-item in render-bibitem?
For example, as a first attempt:
New macro:
<assign|bib-align|<macro|x|<style-with|src-compact|none|<vspace*|0.5fn><margin-first-other|0mm|5mm|>>>>
Old macros modified:
<assign|render-bibitem|<macro|text|<bib-align|<transform-bibitem|<arg|text>>>>>
<assign|transform-bibitem|<macro|x|>>
These give the result I want, and this will have to do for me for now, because I have to get on with other things! All in all, I'm impressed with TeXmacs.
Regards,
--
Andrew
- Second-line indentation in text of bibliography entries, Andrew Cooper, 05/06/2006
- Re: [TeXmacs] Second-line indentation in text of bibliography entries, Henri Lesourd, 05/06/2006
- Message not available
- Re: [TeXmacs] Second-line indentation in text of bibliography entries, Henri Lesourd, 05/06/2006
- Re: [TeXmacs] Second-line indentation in text of bibliography entries, Andrew Cooper, 05/07/2006
- Re: [TeXmacs] Second-line indentation in text of bibliography entries, Henri Lesourd, 05/07/2006
- Re: [TeXmacs] Second-line indentation in text of bibliography entries, Andrew Cooper, 05/08/2006
- Re: [TeXmacs] Second-line indentation in text of bibliography entries, Henri Lesourd, 05/08/2006
- Re: [TeXmacs] Second-line indentation in text of bibliography entries, Andrew Cooper, 05/08/2006
- Re: [TeXmacs] Second-line indentation in text of bibliography entries, Andrew Cooper, 05/08/2006
- Re: [TeXmacs] Second-line indentation in text of bibliography entries, Henri Lesourd, 05/07/2006
- Re: [TeXmacs] Second-line indentation in text of bibliography entries, Andrew Cooper, 05/07/2006
- Re: [TeXmacs] Second-line indentation in text of bibliography entries, Henri Lesourd, 05/06/2006
- Message not available
- Re: [TeXmacs] Second-line indentation in text of bibliography entries, Henri Lesourd, 05/06/2006
Archive powered by MHonArc 2.6.19.