Mercurial Hosting > luan
changeset 240:bcc3911285a2
add manual css files
git-svn-id: https://luan-java.googlecode.com/svn/trunk@241 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Mon, 06 Oct 2014 22:27:24 +0000 |
parents | aa7bc9c1df22 |
children | 852840d64a7f |
files | docs/lua.css docs/manual.css docs/manual.html |
diffstat | 3 files changed, 204 insertions(+), 76 deletions(-) [+] |
line wrap: on
line diff
diff -r aa7bc9c1df22 -r bcc3911285a2 docs/lua.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/lua.css Mon Oct 06 22:27:24 2014 +0000 @@ -0,0 +1,105 @@ +html { + background-color: #F8F8F8 ; +} + +body { + border: solid #a0a0a0 1px ; + border-radius: 20px ; + padding: 26px ; + margin: 16px ; + color: #000000 ; + background-color: #FFFFFF ; + font-family: Helvetica, Arial, sans-serif ; + text-align: justify ; +} + +h1, h2, h3, h4 { + font-family: Verdana, Geneva, sans-serif ; + font-weight: normal ; + font-style: normal ; +} + +h2 { + padding-top: 0.4em ; + padding-bottom: 0.4em ; + padding-left: 0.8em ; + padding-right: 0.8em ; + background-color: #D0D0FF ; + border-radius: 8px ; + border: solid #a0a0a0 1px ; +} + +h3 { + padding-left: 0.5em ; + border-left: solid #D0D0FF 1em ; +} + +table h3 { + padding-left: 0px ; + border-left: none ; +} + +a:link { + color: #000080 ; + background-color: inherit ; + text-decoration: none ; +} + +a:visited { + background-color: inherit ; + text-decoration: none ; +} + +a:link:hover, a:visited:hover { + color: #000080 ; + background-color: #D0D0FF ; + border-radius: 4px; +} + +a:link:active, a:visited:active { + color: #FF0000 ; +} + +h1 a img { + vertical-align: text-bottom ; +} + +hr { + border: 0 ; + height: 1px ; + color: #a0a0a0 ; + background-color: #a0a0a0 ; + display: none ; +} + +table hr { + display: block ; +} + +:target { + background-color: #F8F8F8 ; + padding: 8px ; + border: solid #a0a0a0 2px ; + border-radius: 8px ; +} + +.footer { + color: gray ; + font-size: x-small ; +} + +input[type=text] { + border: solid #a0a0a0 2px ; + border-radius: 2em ; + background-image: url('images/search.png') ; + background-repeat: no-repeat ; + background-position: 4px center ; + padding-left: 20px ; + height: 2em ; +} + +pre.session { + background-color: #F8F8F8 ; + padding: 1em ; + border-radius: 8px ; +}
diff -r aa7bc9c1df22 -r bcc3911285a2 docs/manual.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/manual.css Mon Oct 06 22:27:24 2014 +0000 @@ -0,0 +1,27 @@ +h3 code { + font-family: inherit ; + font-size: inherit ; +} + +pre, code { + font-size: 12pt ; +} + +span.apii { + float: right ; + font-family: inherit ; + font-style: normal ; + font-size: small ; + color: gray ; +} + +p+h1, ul+h1 { + font-style: normal ; + padding-top: 0.4em ; + padding-bottom: 0.4em ; + padding-left: 16px ; + margin-left: -16px ; + background-color: #D0D0FF ; + border-radius: 8px ; + border: solid #000080 1px ; +}
diff -r aa7bc9c1df22 -r bcc3911285a2 docs/manual.html --- a/docs/manual.html Mon Oct 06 22:03:16 2014 +0000 +++ b/docs/manual.html Mon Oct 06 22:27:24 2014 +0000 @@ -3,8 +3,8 @@ <head> <title>Lua 5.2 Reference Manual</title> -<link rel="stylesheet" type="text/css" href="http://www.lua.org/lua.css"> -<link rel="stylesheet" type="text/css" href="http://www.lua.org/manual/manual.css"> +<link rel="stylesheet" type="text/css" href="lua.css"> +<link rel="stylesheet" type="text/css" href="manual.css"> <META HTTP-EQUIV="content-type" CONTENT="text/html; charset=iso-8859-1"> </head> @@ -12,25 +12,22 @@ <hr> <h1> -<a href="../../home.html"><img src="../../images/logo.gif" alt="" border="0"></a> -Lua 5.2 Reference Manual +Luan Reference Manual </h1> -by Roberto Ierusalimschy, Luiz Henrique de Figueiredo, Waldemar Celes +<P> +The reference manual is the official definition of the Luan language. + <p> <small> -Copyright © 2011–2013 Lua.org, PUC-Rio. +Original Copyright © 2011–2013 Lua.org, PUC-Rio. Freely available under the terms of the -<a href="../../license.html">Lua license</a>. +<a href="http://www.lua.org/license.html">Lua license</a>. +Modified for Luan in 2014. </small> <hr> <p> -<a href="contents.html#contents">contents</A> -· -<a href="contents.html#index">index</A> -· -<a href="../">other versions</A> <!-- ====================================================================== --> <p> @@ -40,97 +37,97 @@ <H2><A NAME="contents">Contents</A></H2> <UL style="padding: 0"> -<LI><A HREF="manual.html#1">1 – Introduction</A> +<LI><A HREF="#1">1 – Introduction</A> <P> -<LI><A HREF="manual.html#2">2 – Basic Concepts</A> +<LI><A HREF="#2">2 – Basic Concepts</A> <UL> -<LI><A HREF="manual.html#2.1">2.1 – Values and Types</A> -<LI><A HREF="manual.html#2.2">2.2 – Environments and the Global Environment</A> -<LI><A HREF="manual.html#2.3">2.3 – Error Handling</A> -<LI><A HREF="manual.html#2.4">2.4 – Metatables and Metamethods</A> -<LI><A HREF="manual.html#2.5">2.5 – Garbage Collection</A> +<LI><A HREF="#2.1">2.1 – Values and Types</A> +<LI><A HREF="#2.2">2.2 – Environments and the Global Environment</A> +<LI><A HREF="#2.3">2.3 – Error Handling</A> +<LI><A HREF="#2.4">2.4 – Metatables and Metamethods</A> +<LI><A HREF="#2.5">2.5 – Garbage Collection</A> <UL> -<LI><A HREF="manual.html#2.5.1">2.5.1 – Garbage-Collection Metamethods</A> -<LI><A HREF="manual.html#2.5.2">2.5.2 – Weak Tables</A> +<LI><A HREF="#2.5.1">2.5.1 – Garbage-Collection Metamethods</A> +<LI><A HREF="#2.5.2">2.5.2 – Weak Tables</A> </UL> -<LI><A HREF="manual.html#2.6">2.6 – Coroutines</A> +<LI><A HREF="#2.6">2.6 – Coroutines</A> </UL> <P> -<LI><A HREF="manual.html#3">3 – The Language</A> +<LI><A HREF="#3">3 – The Language</A> <UL> -<LI><A HREF="manual.html#3.1">3.1 – Lexical Conventions</A> -<LI><A HREF="manual.html#3.2">3.2 – Variables</A> -<LI><A HREF="manual.html#3.3">3.3 – Statements</A> +<LI><A HREF="#3.1">3.1 – Lexical Conventions</A> +<LI><A HREF="#3.2">3.2 – Variables</A> +<LI><A HREF="#3.3">3.3 – Statements</A> <UL> -<LI><A HREF="manual.html#3.3.1">3.3.1 – Blocks</A> -<LI><A HREF="manual.html#3.3.2">3.3.2 – Chunks</A> -<LI><A HREF="manual.html#3.3.3">3.3.3 – Assignment</A> -<LI><A HREF="manual.html#3.3.4">3.3.4 – Control Structures</A> -<LI><A HREF="manual.html#3.3.5">3.3.5 – For Statement</A> -<LI><A HREF="manual.html#3.3.6">3.3.6 – Function Calls as Statements</A> -<LI><A HREF="manual.html#3.3.7">3.3.7 – Local Declarations</A> +<LI><A HREF="#3.3.1">3.3.1 – Blocks</A> +<LI><A HREF="#3.3.2">3.3.2 – Chunks</A> +<LI><A HREF="#3.3.3">3.3.3 – Assignment</A> +<LI><A HREF="#3.3.4">3.3.4 – Control Structures</A> +<LI><A HREF="#3.3.5">3.3.5 – For Statement</A> +<LI><A HREF="#3.3.6">3.3.6 – Function Calls as Statements</A> +<LI><A HREF="#3.3.7">3.3.7 – Local Declarations</A> </UL> -<LI><A HREF="manual.html#3.4">3.4 – Expressions</A> +<LI><A HREF="#3.4">3.4 – Expressions</A> <UL> -<LI><A HREF="manual.html#3.4.1">3.4.1 – Arithmetic Operators</A> -<LI><A HREF="manual.html#3.4.2">3.4.2 – Coercion</A> -<LI><A HREF="manual.html#3.4.3">3.4.3 – Relational Operators</A> -<LI><A HREF="manual.html#3.4.4">3.4.4 – Logical Operators</A> -<LI><A HREF="manual.html#3.4.5">3.4.5 – Concatenation</A> -<LI><A HREF="manual.html#3.4.6">3.4.6 – The Length Operator</A> -<LI><A HREF="manual.html#3.4.7">3.4.7 – Precedence</A> -<LI><A HREF="manual.html#3.4.8">3.4.8 – Table Constructors</A> -<LI><A HREF="manual.html#3.4.9">3.4.9 – Function Calls</A> -<LI><A HREF="manual.html#3.4.10">3.4.10 – Function Definitions</A> +<LI><A HREF="#3.4.1">3.4.1 – Arithmetic Operators</A> +<LI><A HREF="#3.4.2">3.4.2 – Coercion</A> +<LI><A HREF="#3.4.3">3.4.3 – Relational Operators</A> +<LI><A HREF="#3.4.4">3.4.4 – Logical Operators</A> +<LI><A HREF="#3.4.5">3.4.5 – Concatenation</A> +<LI><A HREF="#3.4.6">3.4.6 – The Length Operator</A> +<LI><A HREF="#3.4.7">3.4.7 – Precedence</A> +<LI><A HREF="#3.4.8">3.4.8 – Table Constructors</A> +<LI><A HREF="#3.4.9">3.4.9 – Function Calls</A> +<LI><A HREF="#3.4.10">3.4.10 – Function Definitions</A> </UL> -<LI><A HREF="manual.html#3.5">3.5 – Visibility Rules</A> +<LI><A HREF="#3.5">3.5 – Visibility Rules</A> </UL> <P> -<LI><A HREF="manual.html#4">4 – The Application Program Interface</A> +<LI><A HREF="#4">4 – The Application Program Interface</A> <UL> -<LI><A HREF="manual.html#4.1">4.1 – The Stack</A> -<LI><A HREF="manual.html#4.2">4.2 – Stack Size</A> -<LI><A HREF="manual.html#4.3">4.3 – Valid and Acceptable Indices</A> -<LI><A HREF="manual.html#4.4">4.4 – C Closures</A> -<LI><A HREF="manual.html#4.5">4.5 – Registry</A> -<LI><A HREF="manual.html#4.6">4.6 – Error Handling in C</A> -<LI><A HREF="manual.html#4.7">4.7 – Handling Yields in C</A> -<LI><A HREF="manual.html#4.8">4.8 – Functions and Types</A> -<LI><A HREF="manual.html#4.9">4.9 – The Debug Interface</A> +<LI><A HREF="#4.1">4.1 – The Stack</A> +<LI><A HREF="#4.2">4.2 – Stack Size</A> +<LI><A HREF="#4.3">4.3 – Valid and Acceptable Indices</A> +<LI><A HREF="#4.4">4.4 – C Closures</A> +<LI><A HREF="#4.5">4.5 – Registry</A> +<LI><A HREF="#4.6">4.6 – Error Handling in C</A> +<LI><A HREF="#4.7">4.7 – Handling Yields in C</A> +<LI><A HREF="#4.8">4.8 – Functions and Types</A> +<LI><A HREF="#4.9">4.9 – The Debug Interface</A> </UL> <P> -<LI><A HREF="manual.html#5">5 – The Auxiliary Library</A> +<LI><A HREF="#5">5 – The Auxiliary Library</A> <UL> -<LI><A HREF="manual.html#5.1">5.1 – Functions and Types</A> +<LI><A HREF="#5.1">5.1 – Functions and Types</A> </UL> <P> -<LI><A HREF="manual.html#6">6 – Standard Libraries</A> +<LI><A HREF="#6">6 – Standard Libraries</A> <UL> -<LI><A HREF="manual.html#6.1">6.1 – Basic Functions</A> -<LI><A HREF="manual.html#6.2">6.2 – Coroutine Manipulation</A> -<LI><A HREF="manual.html#6.3">6.3 – Modules</A> -<LI><A HREF="manual.html#6.4">6.4 – String Manipulation</A> +<LI><A HREF="#6.1">6.1 – Basic Functions</A> +<LI><A HREF="#6.2">6.2 – Coroutine Manipulation</A> +<LI><A HREF="#6.3">6.3 – Modules</A> +<LI><A HREF="#6.4">6.4 – String Manipulation</A> <UL> -<LI><A HREF="manual.html#6.4.1">6.4.1 – Patterns</A> +<LI><A HREF="#6.4.1">6.4.1 – Patterns</A> </UL> -<LI><A HREF="manual.html#6.5">6.5 – Table Manipulation</A> -<LI><A HREF="manual.html#6.6">6.6 – Mathematical Functions</A> -<LI><A HREF="manual.html#6.7">6.7 – Bitwise Operations</A> -<LI><A HREF="manual.html#6.8">6.8 – Input and Output Facilities</A> -<LI><A HREF="manual.html#6.9">6.9 – Operating System Facilities</A> -<LI><A HREF="manual.html#6.10">6.10 – The Debug Library</A> +<LI><A HREF="#6.5">6.5 – Table Manipulation</A> +<LI><A HREF="#6.6">6.6 – Mathematical Functions</A> +<LI><A HREF="#6.7">6.7 – Bitwise Operations</A> +<LI><A HREF="#6.8">6.8 – Input and Output Facilities</A> +<LI><A HREF="#6.9">6.9 – Operating System Facilities</A> +<LI><A HREF="#6.10">6.10 – The Debug Library</A> </UL> <P> -<LI><A HREF="manual.html#7">7 – Lua Standalone</A> +<LI><A HREF="#7">7 – Lua Standalone</A> <P> -<LI><A HREF="manual.html#8">8 – Incompatibilities with the Previous Version</A> +<LI><A HREF="#8">8 – Incompatibilities with the Previous Version</A> <UL> -<LI><A HREF="manual.html#8.1">8.1 – Changes in the Language</A> -<LI><A HREF="manual.html#8.2">8.2 – Changes in the Libraries</A> -<LI><A HREF="manual.html#8.3">8.3 – Changes in the API</A> +<LI><A HREF="#8.1">8.1 – Changes in the Language</A> +<LI><A HREF="#8.2">8.2 – Changes in the Libraries</A> +<LI><A HREF="#8.3">8.3 – Changes in the API</A> </UL> <P> -<LI><A HREF="manual.html#9">9 – The Complete Syntax of Lua</A> +<LI><A HREF="#9">9 – The Complete Syntax of Lua</A> </UL> @@ -180,7 +177,6 @@ see Roberto's book, <em>Programming in Lua</em>. - <h1>2 – <a name="2">Basic Concepts</a></h1> <p>