Combining numbered and bullet lists breaks the numbering

109 views
Skip to first unread message

Jernej Zidar

unread,
Jan 27, 2015, 3:59:17 AM1/27/15
to tiddl...@googlegroups.com
Hi everyone,
  I have recently migrated from Evernote to TiddlyWiki and I have enocuntered a weird problem - mainly attributed to my lack of knowledge.

  I have a numbered list that has some bullet points or sections in the middle like this:
# N-terminus: ACE residue
# C-terminus: NH2
# Before using pdb2gmx edit both terminals so they look like this:
#* N-terminal


```
ATOM      1  CH3 ACE     0
ATOM      2 HH31 ACE     0
ATOM      3 HH32 ACE     0
ATOM      4 HH33 ACE     0
ATOM      5  C   ACE     0
ATOM      6  O   ACE     0
```

#* C-terminal
```
ATOM     84  N   NH2     5
ATOM     85  H1  NH2     5
ATOM     86  H2  NH2     5
TER      87      NH2      5
END
```



# Relax generated peptides (few hours in auto mode).

  This results in two things:
- the "C-terminal" subsection gets both a number (1.) and a bullet point
- the section "Relax..." gets the wrong number

Some Google Fu showed the following as a solution:
#mumble
#frotz{{block{
...preformatted content...
}}}
#gronk

But for some reason it doesn't work. I guess the fix worked for TiddlyWiki version <5.

Any advice will be greatly appreciated.

Thank you,
Jernej

Tobias Beer

unread,
Jan 27, 2015, 4:38:39 AM1/27/15
to tiddl...@googlegroups.com
Some Google Fu showed the following as a solution {{block{ ...}}}

that's TWc, indeed

  I have a numbered list that has some bullet points or sections in the middle like this

You need to wrap the stuff you want nested in html elements. You can either use pre directly...

# N-terminus: ACE residue
# C-terminus: NH2
# Before using pdb2gmx edit both terminals so they look like this:
#* N-terminal<pre>ATOM      1  CH3 ACE     0

ATOM      
2 HH31 ACE     0
ATOM      
3 HH32 ACE     0
ATOM      
4 HH33 ACE     0
ATOM      
5  C   ACE     0
ATOM      
6  O   ACE     0
</pre>
#* C-terminal<pre>ATOM     84  N   NH2     5
ATOM     85  H1  NH2     5
ATOM     86  H2  NH2     5
TER      87      NH2      5
END
</pre>

# Relax generated peptides (few hours in auto mode).

or...

# N-terminus: ACE residue
# C-terminus: NH2
# Before using pdb2gmx edit both terminals so they look like this:
#* N-terminal<p>


```
ATOM      1  CH3 ACE     0
ATOM      2 HH31 ACE     0
ATOM      3 HH32 ACE     0
ATOM      4 HH33 ACE     0
ATOM      5  C   ACE     0
ATOM      6  O   ACE     0
```

</p>
#* C-terminal<p>


```
ATOM     84  N   NH2     5
ATOM     85  H1  NH2     5
ATOM     86  H2  NH2     5
TER      87      NH2      5
END
```
</p>

# Relax generated peptides (few hours in auto mode).

Whereas those newlines in the second example (before the initial backticks) is important, unfortunately.

Best wishes, Tobias.

Jernej Zidar

unread,
Jan 27, 2015, 9:24:22 PM1/27/15
to tiddl...@googlegroups.com
Hi Tobias,
Thank you for the reply. Your solution works as advertised!

Perhaps this should be mentioned in the documentation.

Best,
Jernej
> --
> 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/c87J3_237H0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+...@googlegroups.com.
> To post to this group, send email to tiddl...@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.

Tobias Beer

unread,
Jan 28, 2015, 7:27:06 AM1/28/15
to tiddl...@googlegroups.com
Perhaps this should be mentioned in the documentation.

It is, the very last section in...


Perhaps those long tiddlers need a little splicing up.

Best wishes, Tobias.
Reply all
Reply to author
Forward
0 new messages