请输入您要查询的百科知识:

 

词条 LibreLogo
释义

  1. History

  2. Installation

  3. Use

      Hello world example    Gallery  

  4. See also

  5. References

  6. External links

{{multiple issues|{{notability|date=March 2018}}{{primary sources|date=March 2018}}
}}{{Infobox software
| logo =
| screenshot = LibreLogo Turtle graphics.png
| caption = LibreLogo extension showing Turtle graphics
| author = László Németh
András Tímár
| developer =
| released = {{Start date and age|2012|06|27|df=yes}}[1]
| latest release version = Same as LibreOffice version
| latest release date =
| programming_language = Python-PyUNO
| operating_system =
| platform =
| language = Same as LibreOffice version
| genre = Software extension / part of an application
| license = GPL, LGPL v2.1 and MPL v1.1
| website = {{URL|librelogo.org}}
}}

LibreLogo is a Logo-like, Python programming environment that uses interactive turtle vector graphics. Its final output is a vector graphics rendition within the LibreOffice suite; and it can be used for education and desktop publishing.

History

Logo toolbar and interpreter was programmed by László Németh, and help with integration was provided by András Tímár.[2] It was released as an extension to LibreOffice before code was merged into LibreOffice 4.2.3.3 main code in 2014.[3]

The lightweight implementation (1400 lines in Python-PyUNO) uses the embedded Python to give a simplified programming interface to the vector graphics of LibreOffice for graphic design and education (including teaching of word processing).[2]

Installation

LibreLogo is embedded in every version of LibreOffice later than 4.2.3.3 (released in 2014). It can also be installed as an extension for earlier versions.[4]

It's a toolbar in Writer (ViewToolbarsLogo).[5]

Use

Touching the up-arrow on the Logo toolbar, activates the turtle, then the source code is typed directly onto the same page. The graphic is in SVG format and can be copy & pasted into other documents.

The syntax of LibreLogo is similar to UCBLogo. It supports the ¨word syntax for strings as well as the 'word' notation. Importantly LibreLogo supports recursion. Commands can entered into the toolbar, or compiled and run from the Writer page.

Hello world example

Here is a "Hello, World!" example.

circle 10cmfillcolor 'blue' pencolor 'red' pensize 2 circle 5cmforward 200 right 89 circle 5repeat 88 [ forward 200 right 89 ] fillrepeat 9 [ label 'Hello, World!' right 20 ]repeat 100 [ penup position any pendown pensize random 10 fillcolor any square 20 + random 100 ]

Gallery

See also

{{Portal|Free and open-source software|Computer programming}}

References

Notes
1. ^{{cite web|title=LibreLogo 0.1 (Jun 27, 2012)|url=http://extensions.libreoffice.org/extensions/librelogo/0.1}}
2. ^{{cite web|title=4.0 New Features and Fixes|url=https://www.libreoffice.org/download/4-0-new-features-and-fixes/|publisher=The Document Foundation}}
3. ^{{cite web|title=LibreLogo|url=http://extensions.libreoffice.org/extensions/librelogo}}
4. ^{{cite web|url=http://www.libreoffice.org/download/libreoffice-fresh/|title=LibreOffice downloads page|date=1 May 2014|accessdate=1 May 2014}}
5. ^{{cite web|url=http://librelogo.org/quick-start/|title=Quick Start|last=Németh|first=László|date=30 April 2014|accessdate=1 May 2014}}
Bibliography
  • Berlin 2012 Libre Office Conference

External links

{{Commons category|LibreLogo}}
  • {{official website|librelogo.org/about/}}
  • [https://wiki.documentfoundation.org/User:Nemeth#LibreLogo Language description on the official wiki] (en) other languages supported
  • ebook- Text book for Secondary School students (hu) Supported by Hungarian government.
  • Tutorial (no) College level notes
{{LibreOffice}}{{LOGO programming}}

2 : Free software|Vector graphics editors

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/13 18:30:18