Subject: mailing-list for TeXmacs Users
List archive
From : "Sam Liddicott" <address@hidden>- To: address@hidden
- Subject: [TeXmacs] Reset counter on each page
- Date: Mon, 19 Jul 2010 10:50:14 +0100
- Envelope-to: address@hidden
- 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 need to have a counter reset each time a new page starts. As I
don't find a page counter to do it for me (with counter groups) and
as I am making heavy use of labels, I could compare the page-ref of
the previous label with the page-ref of the new label - except that
<equal> doesn't seem to work when applied to a pageref. How can I extract the page-number as a string (or number?) from a pageref? unquote or eval don't seem to do it, and plus can't be applied to it. A pagereg doesn't seem to be a de-composable tree. WHats the best way to reset a counter when a new page starts? Also, I note, when typing \not it becomes <neg| which doesn't work in if statements very well, I get errors and have to cut-n-paste via a text editor to change the <neg back to <not Sam --
Sam's signature |
- [TeXmacs] Reset counter on each page, Sam Liddicott, 07/19/2010
- [TeXmacs] Re: Reset counter on each page, Sam Liddicott, 07/19/2010
- Re: [TeXmacs] Reset counter on each page, Joris van der Hoeven, 07/20/2010
Archive powered by MHonArc 2.6.19.