Re: [tw5] Re: Numbered list starting from a specific number

2020-03-30 Thread Mario Public
Confirmed!
Great

Thanks

Mario

Il giorno lun 30 mar 2020 alle ore 12:53 Mohammad <
mohammad.rahm...@gmail.com> ha scritto:

> It works! No need to change the type!
> TW5 supports html tags like ol
>
>
>
> On Monday, March 30, 2020 at 3:09:13 PM UTC+4:30, Mario Public wrote:
>>
>> Thanks to everyone.
>> Maybe I was unclear. The list must contain  a specific sequence like
>>
>> 48. xyx
>> 49. xyz
>> 50. xyz
>>
>> I tried the html
>>
>> 
>>That which One and two belong
>>
>>   One
>>   Two
>>
>> 
>>
>>
>> I was unsuccesful. Should I change the tiddler type to text/html?
>> Insert a full html header, body etc?
>> Thanks
>> Mario
>>
>> Il giorno lunedì 30 marzo 2020 10:44:50 UTC+2, PMario ha scritto:
>>>
>>> Hi,
>>>
>>> The problem with CSS numbering is, that it can change if a tiddler is
>>> transcluded. So if you do reference eg: 48.a from an other tiddler, IMO it
>>> would be much better, to use "hyperlinks" to tiddler titles and heading
>>> names.
>>>
>>> CSS is very flexible. So you can do stuff like this:
>>> https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Lists_and_Counters/Using_CSS_counters
>>> BUT it's also very "brittle". ... Most of the time, we create lists
>>> dynamically based on tags or fields. So the numbering can change at any
>>> time.
>>>
>>> -mario
>>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/FG074BdNvTg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/89ceef90-f7e5-4755-883a-6633733f9484%40googlegroups.com
> 
> .
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAHmyK-DbdADgPreA5txCAi2%2BUYae9B_7bcEG1umiYkFyUrBdfA%40mail.gmail.com.


[tw5] Re: Numbered list starting from a specific number

2020-03-30 Thread Mohammad
It works! No need to change the type!
TW5 supports html tags like ol



On Monday, March 30, 2020 at 3:09:13 PM UTC+4:30, Mario Public wrote:
>
> Thanks to everyone.
> Maybe I was unclear. The list must contain  a specific sequence like
>
> 48. xyx
> 49. xyz
> 50. xyz
>
> I tried the html
>
> 
>That which One and two belong
>
>   One
>   Two
>
> 
>
>
> I was unsuccesful. Should I change the tiddler type to text/html?
> Insert a full html header, body etc?
> Thanks
> Mario
>
> Il giorno lunedì 30 marzo 2020 10:44:50 UTC+2, PMario ha scritto:
>>
>> Hi,
>>
>> The problem with CSS numbering is, that it can change if a tiddler is 
>> transcluded. So if you do reference eg: 48.a from an other tiddler, IMO it 
>> would be much better, to use "hyperlinks" to tiddler titles and heading 
>> names. 
>>
>> CSS is very flexible. So you can do stuff like this: 
>> https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Lists_and_Counters/Using_CSS_counters
>> BUT it's also very "brittle". ... Most of the time, we create lists 
>> dynamically based on tags or fields. So the numbering can change at any 
>> time. 
>>
>> -mario
>>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/89ceef90-f7e5-4755-883a-6633733f9484%40googlegroups.com.


[tw5] Re: Numbered list starting from a specific number

2020-03-30 Thread Mario Public
Thanks to everyone.
Maybe I was unclear. The list must contain  a specific sequence like

48. xyx
49. xyz
50. xyz

I tried the html


   That which One and two belong
   
  One
  Two
   



I was unsuccesful. Should I change the tiddler type to text/html?
Insert a full html header, body etc?
Thanks
Mario

Il giorno lunedì 30 marzo 2020 10:44:50 UTC+2, PMario ha scritto:
>
> Hi,
>
> The problem with CSS numbering is, that it can change if a tiddler is 
> transcluded. So if you do reference eg: 48.a from an other tiddler, IMO it 
> would be much better, to use "hyperlinks" to tiddler titles and heading 
> names. 
>
> CSS is very flexible. So you can do stuff like this: 
> https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Lists_and_Counters/Using_CSS_counters
> BUT it's also very "brittle". ... Most of the time, we create lists 
> dynamically based on tags or fields. So the numbering can change at any 
> time. 
>
> -mario
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0a579e61-31a8-4311-8627-834c3da0b9c4%40googlegroups.com.


[tw5] Re: Numbered list starting from a specific number

2020-03-30 Thread TonyM
Mario Public

Rather than using the wikitext markup you can use html and make use of the 
start value.


   That which One and two belong
   
  One
  Two
   


Note you could also have a list widget around the 
<> and it will still be honored.

However with lists they will number as many items as there are.

You will have to play with more html/css to get the a/b rather than 1/2 
etc...


Regards
Tony


On Monday, March 30, 2020 at 7:10:50 PM UTC+11, Mario Public wrote:
>
> I can use 
>
> # a
> # b
>
> to obtain 
>
> 1. a
> 2. b
>
> How can I set the list to start from a specific number? My goal is to 
> obtain
>
> 48. a
> 49. b
>
> Thanks
>
> Mario
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3ac82519-571f-48bd-bbc8-7e88defe373a%40googlegroups.com.


[tw5] Re: Numbered list starting from a specific number

2020-03-30 Thread PMario
Hi,

The problem with CSS numbering is, that it can change if a tiddler is 
transcluded. So if you do reference eg: 48.a from an other tiddler, IMO it 
would be much better, to use "hyperlinks" to tiddler titles and heading 
names. 

CSS is very flexible. So you can do stuff like this: 
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Lists_and_Counters/Using_CSS_counters
BUT it's also very "brittle". ... Most of the time, we create lists 
dynamically based on tags or fields. So the numbering can change at any 
time. 

-mario

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8f5936a9-0b33-4b10-907c-48c1a7f441fc%40googlegroups.com.


[tw5] Re: Numbered list starting from a specific number

2020-03-30 Thread PMario
On Monday, March 30, 2020 at 10:10:50 AM UTC+2, Mario Public wrote:

How can I set the list to start from a specific number? My goal is to obtain
>
> 48. a
> 49. b
>

I'm a bit confused. You increment both. The "number" and the "index". So 
for me it would be

48.a
48.b

49.a
49.b

and so on. 

have fun!
Mario

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a35a5076-89ba-4c35-8fc1-5a264487f178%40googlegroups.com.