source/text/swriter/librelogo/LibreLogo.xhp |   19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

New commits:
commit a14b0defe8aec0eb8e80827e5c9cc76ebe742fd3
Author: László Németh <nem...@numbertext.org>
Date:   Tue Jul 16 18:29:55 2013 +0200

    update librelogo help (SVG image saving, small fixes)
    
    Change-Id: I8c91a77251034e7837a47d64d178c5063d03b759

diff --git a/source/text/swriter/librelogo/LibreLogo.xhp 
b/source/text/swriter/librelogo/LibreLogo.xhp
index f8ab88e..ea92171 100644
--- a/source/text/swriter/librelogo/LibreLogo.xhp
+++ b/source/text/swriter/librelogo/LibreLogo.xhp
@@ -25,13 +25,13 @@
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/.HelpId:addon_LibreLogo.OfficeToolBar" 
id="bm2" localize="false"/>
 <paragraph role="heading" level="1" xml-lang="en-US" 
id="hd_170">LibreLogo</paragraph>
-<paragraph role="paragraph" xml-lang="en-US" id="par_180">LibreLogo is a 
simple, native, Logo-like programming environment with turtle vector graphics 
for teaching of computing (programming and word processing), DTP and graphic 
design. See <link 
href="http://www.numbertext.org/logo/librelogo.pdf";>http://www.numbertext.org/logo/librelogo.pdf</link>.</paragraph>
+<paragraph role="paragraph" xml-lang="en-US" id="par_180">LibreLogo is a 
simple, localized, Logo-like programming environment with turtle vector 
graphics for teaching of computing (programming and word processing), DTP and 
graphic design. See <link 
href="http://www.numbertext.org/logo/librelogo.pdf";>http://www.numbertext.org/logo/librelogo.pdf</link>.</paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_220">LibreLogo 
toolbar</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_230">The LibreLogo 
toolbar (View » Toolbars » Logo) contains turtle moving, program run and 
stop, home and clear screen and syntax highlighting/translating icons and an 
input bar (command line).</paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_240">Turtle moving 
icons</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_250">They are equivalents 
of the Logo commands “FORWARD 10”, “BACK 10”, “LEFT 15”, “RIGHT 
15”. Clicking on one of the icons will also focus the turtle shape scrolling 
the page to its position.</paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_280">Program run 
and start</paragraph>
-<paragraph role="paragraph" xml-lang="en-US" id="par_290">Click on the icon 
“run” to execute the text of the Writer document as a LibreLogo 
program.</paragraph>
+<paragraph role="paragraph" xml-lang="en-US" id="par_290">Click on the icon 
“run” to execute the text (or only the selected) text of the Writer 
document as a LibreLogo program.</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_300">Click on the icon 
“stop” to stop the program execution.</paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" 
id="hd_310">Home</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_320">Click on the icon 
“home” to reset the position and settings of the turtle.</paragraph>
@@ -47,7 +47,7 @@
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_420">Program 
editing</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_430">LibreLogo drawings 
and programs use the same Writer document. The LibreLogo canvas is on the first 
page of the Writer document. You can insert a page break before the LibreLogo 
programs and set the zoom/font size for a comfortable two page layout for 
LibreLogo programming: left (first) page is the canvas, right (second) page is 
for the LibreLogo programs.</paragraph>
 <paragraph role="heading" level="1" xml-lang="en-US" id="hd_440">LibreLogo 
programming language</paragraph>
-<paragraph role="paragraph" xml-lang="en-US" id="par_450">LibreLogo is a 
native, easily localisable, Logo-like programming language. It is 
back-compatible with the older Logo systems in the case of the simple Logo 
programs used in education, eg.</paragraph>
+<paragraph role="paragraph" xml-lang="en-US" id="par_450">LibreLogo is an 
easily localizable, Logo-like programming language, localized in several 
languages by LibreOffice native language communities. It is back-compatible 
with the older Logo systems in the case of the simple Logo programs used in 
education, eg.</paragraph>
 <paragraph role="logocode" xml-lang="en-US" id="par_460"> TO triangle 
:size<br/> REPEAT 3 [<br/>   FORWARD :size<br/>   LEFT 120<br/> ]<br/> END<br/> 
<br/> triangle 10 triangle 100 triangle 200<br/></paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_470">Differences 
from the Logo programming language</paragraph>
 <list type="unordered">
@@ -79,7 +79,7 @@
     </listitem>
     <listitem>
         <paragraph role="paragraph" xml-lang="en-US" id="par_560">String 
notation supports also orthographical and Python syntax.</paragraph>
-        <paragraph role="logocode" xml-lang="en-US" id="par_570"> PRINT "word" 
; original Logo syntax<br/> PRINT “Arbitrary text.” ; orthography, 
Writer<br/> PRINT 'Arbitrary text.' ; Python syntax<br/></paragraph>
+        <paragraph role="logocode" xml-lang="en-US" id="par_570"> PRINT "word 
; original Logo syntax<br/> PRINT “Arbitrary text.” ; orthography, 
Writer<br/> PRINT 'Arbitrary text.' ; Python syntax<br/></paragraph>
     </listitem>
     <listitem>
         <paragraph role="paragraph" xml-lang="en-US" id="par_580">Python list 
and string handling</paragraph>
@@ -133,7 +133,7 @@
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_960">POSITION 
(pos)</paragraph>
 <paragraph role="logocode" xml-lang="en-US" id="par_970"> POSITION [0, 0] ; 
turn and move to the top-left corner<br/> POSITION PAGESIZE ; turn and move to 
the bottom-right corner<br/> POSITION [PAGESIZE[0], 0] ; turn and move to the 
top-right corner<br/> POSITION ANY ; turn and move to a random 
position<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_980">HEADING 
(seth)</paragraph>
-<paragraph role="logocode" xml-lang="en-US" id="par_990"> HEADING 0 ; turn 
north<br/> HEADING 12h ; see above<br/> HEADING ANY ; turn to a random 
position<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_990"> HEADING 0 ; turn 
north<br/> HEADING 12h ; see above<br/> HEADING [0, 0] ; turn to the top-left 
corner<br/> HEADING ANY ; turn to a random direction<br/></paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_1000">Other turtle 
commands</paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1010">HIDETURTLE 
(ht)</paragraph>
 <paragraph role="logocode" xml-lang="en-US" id="par_1020"> HIDETURTLE ; hide 
turtle (until the showturtle command)<br/></paragraph>
@@ -195,6 +195,9 @@
         <paragraph role="listitem" xml-lang="en-US" id="par_1540">starting new 
line shapes;</paragraph>
     </listitem>
     <listitem>
+        <paragraph role="listitem" xml-lang="en-US" id="par_1545">file 
saving;</paragraph>
+    </listitem>
+    <listitem>
         <paragraph role="listitem" xml-lang="en-US" id="par_1550">keeping the 
consistency of positions and line shapes at the left border.</paragraph>
     </listitem>
 </list>
@@ -204,6 +207,8 @@
 <paragraph role="logocode" xml-lang="en-US" id="par_1590"> TO tree 
location<br/>   PENUP POSITION location HEADING 0 PENDOWN<br/>   PICTURE [ 
FORWARD 100 CIRCLE 100 ] ; tree-like grouped shape<br/> END<br/> <br/> PICTURE 
[ tree [30, 50] tree [100, 50] ] ; grouped shapes in a grouped 
shape<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1600">Starting new 
line shapes</paragraph>
 <paragraph role="logocode" xml-lang="en-US" id="par_1610"> PICTURE ; start a 
new line shape<br/> FORWARD 10 PICTURE FORWARD 10 ; two line 
shapes<br/></paragraph>
+<paragraph role="heading" level="3" xml-lang="en-US" id="hd_1614">File saving 
(only SVG)</paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1617"> PICTURE 
“example.svg” [ CIRCLE 5 ] ; save the picture as an SVG image file in the 
user folder<br/> PICTURE “Desktop/example.svg” [ FORWARD 100 CIRCLE 5 ] ; 
as above, with a relative path<br/> PICTURE “/home/user/example.svg” [ 
CIRCLE 5 ] ; absolute path for Unix/Linux<br/> PICTURE “C:\example.svg” [ 
CIRCLE 5 ] ; absolute path for Windows<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1620">Consistency 
at the left border</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_1630">Use picture to keep 
the consistency of positions and line shapes at the left border of 
Writer:</paragraph>
 <paragraph role="logocode" xml-lang="en-US" id="par_1640"> PICTURE [ CIRCLE 20 
POSITION [-100, 100] CIRCLE 20 ]<br/></paragraph>
@@ -226,13 +231,13 @@
 <paragraph role="logocode" xml-lang="en-US" id="par_1810"> REPEAT [ ; endless 
loop<br/>   POSITION ANY<br/>   IF REPCOUNT = 100 [ BREAK ]  ; equivalent of 
the REPEAT 100 [ ... ]<br/> ]<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" 
id="hd_1820">CONTINUE</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_1830">Jump into the next 
iteration of the loop.</paragraph>
-<paragraph role="logocode" xml-lang="en-US" id="par_1840"> REPEAT 100 [<br/>   
POSITION ANY<br/>   IF REPCOUNT % 2 &lt;> 0 [ CONTINUE ]<br/>   CIRCLE 10 ; 
draw circles on every 2nd positions<br/> ]<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1840"> REPEAT 100 [<br/>   
POSITION ANY<br/>   IF REPCOUNT % 2 = 0 [ CONTINUE ]<br/>   CIRCLE 10 ; draw 
circles on every 2nd positions<br/> ]<br/></paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" 
id="hd_1850">Conditions</paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" 
id="hd_1860">IF</paragraph>
 <paragraph role="logocode" xml-lang="en-US" id="par_1870"> ; IF condition [ 
true block ]<br/> ; IF condition [ true block ] [ false block ]<br/> <br/> IF a 
&lt; 10 [ PRINT “Small” ]<br/> IF a &lt; 10 [ PRINT “Small” ] [ PRINT 
“Big” ]<br/></paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1880">AND, OR, 
NOT</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_1890">Logical 
operators.</paragraph>
-<paragraph role="logocode" xml-lang="en-US" id="par_1900"> IF a &lt; 10 AND 
NOT a &lt; 5 [ PRINT “5, 6, 7, 8 or 9” ]<br/></paragraph>
+<paragraph role="logocode" xml-lang="en-US" id="par_1900"> IF a &lt; 10 AND 
NOT a = 5 [ PRINT “0, 1, 2, 3, 4, 6, 7, 8 or 9” ]<br/> IF a &lt; 10 AND a 
!= 5 [ PRINT “0, 1, 2, 3, 4, 6, 7, 8 or 9” ] ; as above<br/></paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" 
id="hd_1910">Subroutines</paragraph>
 <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1920">TO, 
END</paragraph>
 <paragraph role="paragraph" xml-lang="en-US" id="par_1930">New word (or 
procedure).</paragraph>
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to