WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: Amaya: unable to view figures in a web page

Re: Amaya: unable to view figures in a web page

by Alma Hunt :: Rate this Message:

| View in Thread

I found a work-around for this. HAve a <ol start> tag after the image. A sample code follows.

<ol>
  <li>list 1</li>
  <li>list 2</li>
  <li>list 3</li>
</ol>

<p>fig 1</p>

<ol start="4">
  <li>list 4</li>
  <li>list 5</li>
</ol>



Laurent Carcone-2 wrote:
Hello,

If 'figure 1' and 'figure 2' are images, you should have a structure
that looks like:
<ol>
  <li>point 1
    <p>figure 1</p>
  </li>
  <li>point 2</li>
  <li>point 3
    <p>some text</p>
    <p>figure 2</p>
  </li>
  <li>point 4</li>
</ol>

Hope this helps,
Laurent Carcone

Alma Hunt wrote:
> In a simple way....I have something that resembles this...
> -------------------------
> point 1
>
> figure 1
>
> point 2
> point 3
>
> some text
>
> figure 2
>
> point 4
> -----------------
> Hope this helps.
>
>
>
> Keith Rubow-2 wrote:
>  
>> What do you mean by "figures"? Ordered lists do not have "figures". If
>> you mean the bullets that unordered lists (<ul>'s) have, ordered lists
>> do not have bullets either, just numbers.
>>
>> Please clarify.
>>
>> Keith Rubow
>>
>> Alma Hunt wrote:
>>    
>>> This is the code after I have removed the <p> tag...
>>> <ol>
>>>   <li>Select the Help menu to view the available options.</li>
>>>   <li>Click Software Updates. This opens the Software Updates and Add-ons
>>>   page.</li>
>>>   <li>Click the Available Software tab.</li>
>>>   <li>Click Add Site. The Add Site window opens.</li>
>>>   <li>Click Local and browse to the unzip path of
>>>     mPortal_WDK_UpdateSite_X_XX_XX_Release, provided by mPortal during
>>> the
>>>     release.</li>
>>>   <li>Click OK. The added local site reflects in the list.</li>
>>>   <li>Select the newly added site check-box and click Install. You will
>>> view
>>>     the following screens.</li>
>>>   <li>Click Finish. You will be prompted to restart Eclipse. After you
>>> restart,
>>>     mPortal plug-in is available for use.</li>
>>>   <li>To verify mPortal plug-in, go to New> Project. You will see the
>>>     mPortal WDK option as shown in Chapter 3: Detailed Feature
>>> Description.</li>
>>> </ol>
>>>
>>> To my surprise the figures have also disappeared. Kindly help.
>>>
>>>
>>>
>>>
>>> Keith Rubow-2 wrote:
>>>  
>>>      
>>>> Peter is correct. No <p> within an <ol> unless it is inside a <li>. But
>>>> if you need a paragraph between list items, you can do the following:
>>>> <ol>
>>>>   <li>Item 1</li>
>>>>   <li>Item 2</li>
>>>> </ol>
>>>> <p>Paragraph</p>
>>>> <ol start="3">
>>>>   <li>Item 3</li>
>>>> ...
>>>> </ol>
>>>>
>>>> The start attribute causes the list item numbering to start with the
>>>> given value, rather than starting over at 1. There is no way to make it
>>>> automatically start with the next number from the previous list. If you
>>>> add/delete list items, you must adjust the start attribute accordingly.
>>>>
>>>> Keith Rubow
>>>>
>>>> Peter Kerr wrote:
>>>>    
>>>>        
>>>>> On 2/12/2010, at 11:53 PM, Alma Hunt wrote:
>>>>>
>>>>>  
>>>>>      
>>>>>          
>>>>>> I am using Amaya 11.3 ver on the Windows XP Platform. I have created a
>>>>>> web
>>>>>> page in which I have numbered list.
>>>>>>
>>>>>> Below is the code in a  procedure where I have inserted figures.
>>>>>> Please
>>>>>> note
>>>>>> that the numbering will not be right in this code.
>>>>>> To get the numbering right, I remove the <ol> tags in between. When I
>>>>>> refresh the page, the figures have disappeared.
>>>>>> This is the first time I am encountering this problem. Kindly help me
>>>>>> in
>>>>>> solving this.
>>>>>>
>>>>>>
>>>>>>
>>>>>> <ol>
>>>>>>  <li>Select the Help menu to view the available options.</li>
>>>>>> </ol>
>>>>>>
>>>>>> <p> Images/Eclipse Plugin Images/1.gif </p>
>>>>>> <ol>
>>>>>>  <li>Click Software Updates. This opens the Software Updates and
>>>>>>    Add-ons page.</li>
>>>>>> </ol>
>>>>>>    
>>>>>>        
>>>>>>            
>>>>>  
>>>>>      
>>>>>          
>>>>>> [snip]
>>>>>>    
>>>>>>        
>>>>>>            
>>>>> By removing the intermediate </ol> <ol>
>>>>> you have placed a <p>...</p> within the ordered list.
>>>>> This is illegal unless the <p> is also inside an <li>.
>>>>>
>>>>> Curiously both Safari and Firefox on MacOS 10.6
>>>>> render your example as you intended, graceful failure
>>>>> in the face of incorrect markup...
>>>>>
>>>>> Peter Kerr
>>>>>
>>>>>
>>>>> .
>>>>>
>>>>>  
>>>>>      
>>>>>          
>>>>    
>>>>        
>>>  
>>>      
>>
>>
>>    
>
>  

 « Return to Thread: Amaya: unable to view figures in a web page