User talk:Johnrdorazio: Difference between revisions

Page contents not supported in other languages.
From Seeds of the Word, the encyclopedia of the influence of the Gospel on culture
No edit summary
Line 9: Line 9:
== Test Score tag ==
== Test Score tag ==


<score vorbis="1" midi="1">\relative c'' { \time 4/4 \key c \major c4 g8 g a4 g r b^> c^> r \bar "|." } \addlyrics { Shave and a hair -- cut: two bits. }</score>
<score vorbis="1" midi="1" raw="1">\relative c'' { \time 4/4 \key c \major c4 g8 g a4 g r b^> c^> r \bar "|." } \addlyrics { Shave and a hair -- cut: two bits. }</score>


== Test syntax highlighting ==
== Test syntax highlighting ==

Revision as of 11:50, October 10, 2021

Here's a place to discuss this online encyclopedia with me

If you have any questions or need help when creating or editing an article, please feel free to contact me and we can try to work out any issues. Just click on Add topic here on top.

Test audio player

Test Score tag

Image could not be trimmed:

+ /usr/local/bin/lilypond -dmidi-extension=midi -dsafe --ps --header=texidoc --loglevel=ERROR file.ly
+ /usr/bin/php scripts/extractPostScriptPageSize.php file.ps
+ /usr/bin/gs -q -dGraphicsAlphaBits=4 -dTextAlphaBits=4 -dDEVICEWIDTHPOINTS=595.28 -dDEVICEHEIGHTPOINTS=841.89 -dNOPAUSE -dSAFER -sDEVICE=png16m -sOutputFile=file-page%d.png -r101 file.ps -c quit
+ /usr/local/bin/convert -trim -transparent white file-page1.png trimmed.png
/usr/local/bin/convert: error while loading shared libraries: libIlmImf-2_3.so.24: cannot open shared object file: No such file or directory

Set $wgScoreTrim=false if this problem persists.

Test syntax highlighting

Javascript:

let jsV = "Javascript variable";
let jsObj = {
  item: "First item"
}

PHP

$myVar = "PHP variable";
$myVarUpper = strtoupper($myVar);

LUA

-- defines a factorial function
function fact (n)
  if n == 0 then
    return 1
  else
    return n * fact(n-1)
  end
end

print("enter a number:")
a = io.read("*number")        -- read a number
print(fact(a))