Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(798)

Side by Side Diff: Documentation/es/extending/scheme-tutorial.itely

Issue 5341049: Issue 2024: Let #{ ... #} pass its $ handling to environment cloning (Closed)
Patch Set: Ran convert-ly on scm/*.scm, just a single character changed. Created 12 years, 4 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: es -*- 1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: es -*-
2 2
3 @ignore 3 @ignore
4 Translation of GIT committish: 5b7a2524c1d3b7e3df53219aafc10bb3f33a7c53 4 Translation of GIT committish: 5b7a2524c1d3b7e3df53219aafc10bb3f33a7c53
5 5
6 When revising a translation, copy the HEAD committish of the 6 When revising a translation, copy the HEAD committish of the
7 version that you are working on. For details, see the Contributors' 7 version that you are working on. For details, see the Contributors'
8 Guide, node Updating translation committishes.. 8 Guide, node Updating translation committishes..
9 @end ignore 9 @end ignore
10 10
11 @c \version "2.14.0" 11 @c \version "2.15.18"
12 12
13 @node Tutorial de Scheme 13 @node Tutorial de Scheme
14 @appendix Tutorial de Scheme 14 @appendix Tutorial de Scheme
15 @translationof Scheme tutorial 15 @translationof Scheme tutorial
16 16
17 @funindex # 17 @funindex #
18 @cindex Scheme 18 @cindex Scheme
19 @cindex GUILE 19 @cindex GUILE
20 @cindex Scheme, código en línea 20 @cindex Scheme, código en línea
21 @cindex acceder a Scheme 21 @cindex acceder a Scheme
(...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after
791 791
792 El ejemplo anterior muestra cómo @q{exportar} expresiones musicales 792 El ejemplo anterior muestra cómo @q{exportar} expresiones musicales
793 desde la entrada al intérprete de Scheme. Lo contrario también es 793 desde la entrada al intérprete de Scheme. Lo contrario también es
794 posible. Envolviendo un valor de Scheme en la función 794 posible. Envolviendo un valor de Scheme en la función
795 @code{ly:export}, se interpreta un valor de Scheme como si hubiera 795 @code{ly:export}, se interpreta un valor de Scheme como si hubiera
796 sido introducido en la sintaxis de LilyPond. En lugar de definir 796 sido introducido en la sintaxis de LilyPond. En lugar de definir
797 @code{\twice}, el ejemplo anterior podría también haberse escrito como 797 @code{\twice}, el ejemplo anterior podría también haberse escrito como
798 798
799 @example 799 @example
800 ... 800 ...
801 @{ #(ly:export (make-sequential-music (list newLa))) @} 801 @{ $(make-sequential-music (list newLa)) @}
802 @end example 802 @end example
803 803
804 El código de Scheme se evalúa tan pronto como el analizador sintáctico 804 El código de Scheme se evalúa tan pronto como el analizador sintáctico
805 lo encuentra. Para definir código de Scheme dentro de un macro (para 805 lo encuentra. Para definir código de Scheme dentro de un macro (para
806 llamarse más tarde), utilice @ref{Funciones de scheme vacías}, o bien 806 llamarse más tarde), utilice @ref{Funciones de scheme vacías}, o bien
807 807
808 @example 808 @example
809 #(define (nopc) 809 #(define (nopc)
810 (ly:set-option 'point-and-click #f)) 810 (ly:set-option 'point-and-click #f))
811 811
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after
1410 1410
1411 TODO Find a simple example 1411 TODO Find a simple example
1412 @c This isn't a valid example with skylining 1412 @c This isn't a valid example with skylining
1413 @c It works fine without padText -td 1413 @c It works fine without padText -td
1414 @end ignore 1414 @end ignore
1415 1415
1416 @ignore 1416 @ignore
1417 @lilypond[quote,verbatim,ragged-right] 1417 @lilypond[quote,verbatim,ragged-right]
1418 padText = #(define-music-function (parser location padding) (number?) 1418 padText = #(define-music-function (parser location padding) (number?)
1419 #{ 1419 #{
1420 \once \override TextScript #'padding = #$padding 1420 \once \override TextScript #'padding = #padding
1421 #}) 1421 #})
1422 1422
1423 \relative c''' { 1423 \relative c''' {
1424 c4^"piu mosso" b a b 1424 c4^"piu mosso" b a b
1425 \padText #1.8 1425 \padText #1.8
1426 c4^"piu mosso" d e f 1426 c4^"piu mosso" d e f
1427 \padText #2.6 1427 \padText #2.6
1428 c4^"piu mosso" fis a g 1428 c4^"piu mosso" fis a g
1429 } 1429 }
1430 @end lilypond 1430 @end lilypond
(...skipping 30 matching lines...) Expand all
1461 #{ 1461 #{
1462 $x e8 a b $y b a e 1462 $x e8 a b $y b a e
1463 #}) 1463 #})
1464 1464
1465 \relative c''{ 1465 \relative c''{
1466 \pattern c8 c8\f 1466 \pattern c8 c8\f
1467 \pattern {d16 dis} { ais16-> b\p } 1467 \pattern {d16 dis} { ais16-> b\p }
1468 } 1468 }
1469 @end lilypond 1469 @end lilypond
1470 @end ignore 1470 @end ignore
OLDNEW
« no previous file with comments | « Documentation/es/extending/programming-interface.itely ('k') | Documentation/es/notation/pitches.itely » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b