Post Reply 
Code formatting messed up...
09-13-2018, 06:37 PM
Post: #11
RE: Code formatting messed up...
(09-12-2018 08:27 PM)Jonathan Busby Wrote:  Well, I'm using the latest version of Firefox on a Linux machine and in this line

Code:
I = I + α ( Correct I to point after embedded object where α is the length of the object )

The alphas are displayed in bold for some reason. I've attached a screenshot :

Here is how it looks like on Windows / Firefox 62 (click to view the full size image).

   

You can see that
  • the code blocks start with a blank line. This is also what the HTML source reflects (starts with a "<br />" tag).
    So this is the way it is supposed to be displayed.
     
  • the lines in the code blocks are indented, either by 4 or by 8 characters. This is also reflected in the HTML code where these lines start with 4 or 8 "&nbsp;" hard spaces.
    So this is the way it is supposed to be displayed.
     
But this does not agree with what you reported about what you see in your browser:

(09-12-2018 08:27 PM)Jonathan Busby Wrote:  Thanks for the tip but it doesn't help in my case and I don't see a blank line from the browser I'm using.

So you do not see the blank lines in the code blocks, as shown in my screenshot?

(09-12-2018 08:27 PM)Jonathan Busby Wrote:  ...I use always use Gedit or XeD, but, that still didn't fix the problem.

When you edited the code in your external editor, did you possibly use tabs to get these indentations? Or does this editor maybe replace multiple spaces with tabs?

Your screenshot also shows that the code blocks are displayed with a serif font, maybe Courier. Maybe you can write something in a word processor with this font, including the alpha character. How is it displayed there?

Just another test: do you see some or all of the following characters in bold?

α β γ Δ Γ
α β γ Δ Γ
α β γ Δ Γ
α β γ Δ Γ

I = I + α
I = I + α
I = I + α

Finally, here is the second code block of your RPL inner loop article, composed on a Windows system and formatted without indentations:

Code:
PROLOG -> PROLOG ( The prolog address at the start of the prolog code points to itself )
IF O + Δ =/= PC
THEN GOTO INDIRECT ( Test for direct execution )
O = I - Δ ( Correct O to point to start of embedded object )
I = I + α ( Correct I to point after embedded object where α is the length of the object )
INDIRECT ( rest of prolog )

How does this look like on your system? Do you still see bold alphas?

I think we will get all this resolved... sooner or later. ;-)

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Code formatting messed up... - Dieter - 09-12-2018, 08:03 PM
RE: Code formatting messed up... - Dieter - 09-12-2018, 08:46 PM
RE: Code formatting messed up... - Dieter - 09-13-2018 06:37 PM



User(s) browsing this thread: 1 Guest(s)