Sounds like you want something like

[!is[system]!tag[$:/tags/Stylesheet]!tag[$:/tags/Macro]sort[title]] [[
Program Tips]] +[putfirst[]] [[In conclusion]]

To put an item in last place, all you have to do is list it at the end. 
Extra filter expressions dominantly append. So if an item shows up twice, 
it'll take the last one. Thus [[In conclusion]] will now be the last. 
There's no need to do any [putlast[]] stuff (which is designed to put the 
first listItem last).

Though this assumes [[In conclusion]] (or whatever you use) exists. If 
there's a chance it doesn't, then end with [[In conclusion]is[tiddler]] 
instead, which just prevents the filter from appending a non-existent title.

-Flibbles

On Friday, October 4, 2019 at 1:38:12 AM UTC-4, Suzanne McHale wrote:
>
> The first one seems to work, thanks! It also avoids the issue of that 
> tiddler being repeated in the [!is[system]sort[title]] list.
>
> Is there also a way of 
>
>
>    1. putting a particular tiddler last (I tried *+[putlast[]]* for a 
>    different tiddler, but it conflicted with the first + command) and 
>    2. excluding my own created *$:/tags/Stylesheet* and *$:/tags/Macro* 
>    tiddlers? (The latter appear in the tiddlers to be exported.)
>
> (Filter expressions are very useful but seem to be very difficult to get 
> to work the way one wants!)
>
> On Thursday, October 3, 2019 at 9:52:42 PM UTC+10, Flibbles wrote:
>>
>> Maybe I'm late to the party, but the following seem to work too:
>>
>> [!is[system]sort[title]] [[Program Tips]] +[putfirst[]]
>>
>> or this goofy one:
>>
>> [!is[system]sort[title]move:-1000000[Program Tips]]
>>
>> I'd go with the first.
>>
>> On Wednesday, October 2, 2019 at 12:25:11 AM UTC-4, Suzanne McHale wrote:
>>>
>>> I have tried this filter for one of my Tiddlywikis: *[title[Program 
>>> tips]][!is[system]sort[title]][tags[]!is[system]sort[title]]*. "Program 
>>> tips" is the home/index page and I want it to appear at the top of the 
>>> static HTML page export, followed by all other pages 
>>> (alphabetically-sorted) then tags pages. However, "Program tips" only 
>>> appears in the alphabetically-sorted list of pages in the second 
>>> expression, and I can't think of the right syntax to force it to appear 
>>> first. (I have also tried *[name[Home]]* which I put in one of the 
>>> fields of "Program tips", but this did not work either.)
>>>
>>> Oddly, if I write the filter as *[!is[system]sort[title]][title[Program 
>>> tips]][tags[]!is[system]sort[title]]*, "Program tips" will then appear 
>>> after the alphabetically-sorted page titles. There seems to be something in 
>>> the *[!is[system]sort[title]]* filter that overrrides other commands. 
>>> Hope that all makes sense! What am I doing wrong?
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/18a26969-4b7c-43da-94af-e030088ea046%40googlegroups.com.

Reply via email to