Skip to Content.
Sympa Menu

texmacs-users - [TeXmacs] page change detection and decoration

Subject: mailing-list for TeXmacs Users

List archive

[TeXmacs] page change detection and decoration


Chronological Thread 
  • From: "Sam Liddicott" <address@hidden>
  • To: address@hidden
  • Subject: [TeXmacs] page change detection and decoration
  • Date: Fri, 07 Jan 2011 14:12:48 -0000
  • 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=


I've discussed how in the past I needed to know when an item of a certain type was being rendered on a different page than the previous item of the same type.

I managed it using labels, and then extracting the page number from the reference and comparing it to the page number extracted from a reference of the label of the previous item.

That works quite well, but of course needs a couple of document-update-all to get things in sync.

It works well because there are not a LOT of such labels.

However, I've been using a single celled table in order to manage the borders of my literate programming blocks, and this doesn't work well if a block takes up most of, or more than, one page!

So I want to stop using tables for this - (I note latex as well as texmacs is bad at handling large tables that break pages).

But what I need for literate program is to decorate a code block at the top of each page it breaks on to - something which tables also don't seem to do well.

I could use my previous trick and have a label FOR EACH LINE but that is probably totally crazy and will result in too many labels (TeXmacs doesn't prune un-used labels from the document as it is).

How can I have decoration of a paragraph that works each time a new page is started?
--
[FSF Associate Member #2325] <http://www.fsf.org/register_form?referrer=2325>

<http://www.openrightsgroup.org/>



Archive powered by MHonArc 2.6.19.

Top of Page