Ok, but it is not working for me, so I must be doing something wrong.

I created a tiddler myTOC, tagged it as you said, inserted the code through
end, and saved and refreshed.

My main TOC tiddler has the following, but appears blank in view mode

<div class="tw-table-of-contents">

<<toc-heading "''Dentro del libro''" "
@@.indent0 //El contenido  y las características que encontramos en el
libro//@@

*[[Sinopsis]]
*[[La estructura del libro]]
*[[Los temas y la teología del libro]] - el mensaje que el autor usó para
motivar a sus lectores
*[[Los aspectos literarios del libro]]
*[[Las conexiones del libro con el canon bíblico]]
">>
<<toc-heading "''Detrás del libro''" body="
@@.indent0 //La situación que provocó la composición de este libro//@@

*[[La situación del autor]]
*[[La situación de los destinatarios]]
*[[La respuesta que el autor deseaba de sus destinatarios]]
*[[Acerca de la autoría del libro]]
*[[La fecha y el lugar de la composición del libro]]
">>
<<toc-heading "''Después del libro''" "
@@.indent0 //El uso y estudio del libro desde su composición hasta hoy//@@

*[[La transmisión del texto griego]]
*[[La unidad o integridad del libro]]
*[[La historia de la interpretación del libro]]
*[[El uso del libro en la vida y en el ministerio]]
">>
<<toc-heading "''Exégesis de textos''" "
*[[Introducción (1-3)]]
*[[Acción de gracias (4-7)]]
*[[Cuerpo de la carta (8-22)]]
*[[Conclusión (23-25)]]
">>
<<toc-heading "''Instrucciones y ayudas adicionales''" "
*[[Instrucciones]]
*[[Glosario]]
*[[Bibliografía de fuentes consultadas]]
*[[Todas las listas]]
*[[Todos los recursos adicionales]]
">>


On Thu, Aug 7, 2014 at 9:24 AM, BJ <[email protected]> wrote:

> you don't need to add anything - global macro are just 'visible' from all
> tids
> BJ
>
>
> On Thursday, August 7, 2014 3:16:39 PM UTC+2, David Gifford wrote:
>>
>> Hi everyone, thank you!
>>
>> I used Mario's fix which worked great.
>>
>> BJ, thanks for letting me know about the global macro. I will investigate
>> that. If I put the macro in a tiddler and tag it as you say, do I put {{
>> macrotiddlername }} at the top of the tiddlers where I want it to work? Or
>> don't I have to do anything?
>>
>> On Thursday, August 7, 2014 4:16:36 AM UTC-5, BJ wrote:
>>>
>>> Hi David,
>>>
>>> In order to get the text to go left but not to flow around the '>' I did
>>> this:
>>> in the macro toc-heading()  replace
>>> {{$:/core/images/right-arrow}}$caption$
>>> with
>>> <div  style="float: left;">{{$:/core/images/right-arrow}} </div> <div
>>> style="text-align:left; float:  top;padding-left: 1.0em;" >$caption$</div>
>>> and
>>> {{$:/core/images/down-arrow}}$caption$
>>> with
>>> <div  style="float: left;">{{$:/core/images/down-arrow}} </div> <div
>>> style="text-align:left; float:  top;padding-left: 1.0em;" >$caption$</div>
>>>
>>>
>>> On a separate note - I see that you are copying the macro toc-heading()
>>> to lots of tiddlers. With v5.13 it is possible to define global macros -
>>> you can put the macro into a separate tid and tag it with $:/tags/Macro
>>> so that it can be used in all tiddlers.
>>>
>>> best of luck
>>>
>>> BJ
>>>
>>> On Wednesday, August 6, 2014 10:18:10 PM UTC+2, David Gifford wrote:
>>>>
>>>> Hi all
>>>>
>>>> I am using the TW5 table of contents, with the code at the bottom. The
>>>> heading is the text of a Bible verse. The part that slides open is the
>>>> notes section for that verse.
>>>>
>>>> But some of the headings are becoming centered horizontally. Not all,
>>>> just some. I can't figure out why. Because of length? I don't know. I
>>>> scoured the vanilla stylesheet for some sign of horizontal alignment rules
>>>> for the toc, but found none. If anyone can help me out, I would appreciate
>>>> it.
>>>>
>>>> <div class="tw-table-of-contents">
>>>>
>>>> <span class="indent1">
>>>>
>>>> <<toc-heading "Prepárame también alojamiento; porque espero que por
>>>> vuestras oraciones os seré concedido." "{{ 22 notes }}">>
>>>>
>>>> </span>
>>>>
>>>> </div>
>>>>
>>>  --
> 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/mdsWvbs37Dw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
David Gifford
Christian Reformed World Missions, Mexico City

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to