Recent Posts

Pages: 1 2 3 4 [5] 6 7 8 9 10
41
Features / Re: Suggestion: a good start for footnotes Insert > Char > Footnote#
« Last post by dragonfly on September 12, 2018, 01:04:41 pm »
Quote
"Install the theme atom-material-ui"
I have done this and been through its settings. Only I cannot find a setting for the font color, which is almost too pale to read.

I agree that the default font colour is perhaps too pale. 

Now go to Preferences > Settings > Theme > Atom Material >  and look at Syntax Theme.  It may be that your setting is “One Dark” (as is mine) which does indeed render overly pale text. Experiment with other Syntax Themes in the list.

I remember experimenting and adding the packages .. monokai-seti and seti-ui

apm install monokai-seti
apm install seti-ui

and set Syntax Theme to Monokai Seti.

Of course you can try different settings and there is a link at top of Theme Settings panel which reads .. “You can also style Atom by editing your stylesheet”.


Quote
Local database already found! Are you sure you want to lose it?

I have not seen that message. To search I simply used this google search pattern ... (learn about Advanced google search syntax, it can be useful).

Atom NEAR "Local database already found! Are you sure you want to lose it?"

This thread popped up.
https://discuss.atom.io/t/local-database-corrupted/51495

You can try temporarily launching Atom in safe mode which disables all installed packages.

atom --safe

Check if the message does not appear in "Atom safe mode". If so then it is an installed Community Package generating it.

However the discussion thread above points to package project-viewer which I suggested that you install.

There is a local database within project-viewer and the message might refer to that if it is empty or has not been setup to configure projects.

Packages > Project Viewer > Utilities > open database File

This opens ~/.atom/project-viewer.json which contains any projects setup previously.

Here is further discussion on this warning message.

https://github.com/jccguimaraes/atom-project-viewer/issues/115

I would try just toggling the Project Viewer panel on and off to clear the message.


Quote
Project viewer is installed. I have not yet done anything with it - it says "no projects". What is the first thing I should do with it?

i do urge you to persevere with this package. It will save a lot of time in navigating through many folders and files, and goes beyond the navigation features in Tree View on the left.

Project Viewer will be valuable later in navigating through various chapters in a project.

Basically, it allows you to define “virtual projects” which on clicking automatically populate an index in the left Project panel (Tree View).

To get started launch the Project Viewer panel from Packages > Project Viewer > Toggle Panel.

There are several methods available to define "virtual projects".

In the Panel you can right click to see:

Create new group...
Create new project...

Start by having a centralised root repository for all your project files although they will be in different sub-directories.

i create ~/Atom-repo/ as my root repository.

Now using your Windows File Manager create as many sub-directories as you wish to manage your projects which will grow in time.

Let us create ~/Atom-repo/lilypond/ .. as a “physical project”
(you will have to use Windows path notation, the above being Linux path)

Now go to Project Viewer Panel, right click, Create project...

The PV editor will appear.

Under "Name" .. type the project name (which need not be the name of your target folder).
Let us name the virtual project as "music".

Note that the create button is at the top of PV editor and after typing configuration settings you will  create a project to be seen in PV Panel.

After defining project name, scroll down to Paths.
Add project folder(s) - [ ? ] each path is a project?

We will keep it simple and simply click on Add project folder(s)
and type in the path to the "real project" folder
~/Atom-repo/lilypond

Now click on Create at top of form.
You will see "music" appearing in the Project Viewer Panel to the right.

In summary we can have a "virtual project" named “music” launching “~/Atom-repo/lilypond” in the left side Project Panel. Or you can name the project "lilypond" if you prefer to match virtual and physical project names.

There are advanced features such as putting projects into groups, or nesting groups. but stay with just projects for now.

Another project might be “MyBook” pointing to your chapters.  And so on.

Quote
Lilypond's svg files have an added benefit I had not anticipated: you can open them with Inkscape and move every object around to suit, thus it offers a great deal of tweakability even for newbies, although this is an extra step which should probably be unnecessary because the Lilypond language is supposed to be very precise although with many complexities.

I did consider mentioning Inkscape as SVG editor in the toolchain but thought that this might be too much to take in.

When lilycompile creates an SVG file it places a footer at bottom of compiled page which creates quite a bit of whitespace when embedding the image into markdown. I used Inkscape to move the footer object then cropped the image. One point to watch when cropping is to always use the same width of cropping container, otherwise different scaling might creep in.

Quote
the Lilypond language is supposed to be very precise although with many complexities.

The LilyPond application does indeed have a rich command line vocabulary. One should remember that all of the operations we are discussing can be executed through command line and running shell scripts without need for Atom lilycompile which simply calls LilyPond through command line. But Atom allows viewing and editing of content.


42
Beginner Talk / Re: Parallel text for a bilingual book
« Last post by a.l.e on September 12, 2018, 10:03:45 am »
please, can we stop this political correcct madness with the list of places you've looked everywhere?
really, you've looked all across the google? i mean, they have information to keep you busy for the next couple milions of years...

you have a question, ask it!

now, about the topic.
thre is no way in scribus for syncing two flows of text.
but you can, of course, but a chain of the in english on the odd pages and a chain of text in french on the even pages.
you will probably have to break the chains from time to time, to sync the two flows.

 does it help?
43
Beginner Talk / Re: nudging
« Last post by a.l.e on September 12, 2018, 09:58:56 am »
on the one side the shortcuts normally do work!
no idea what is happening on your case, since you don't give any details on the shortcuts you've been trying.

for the (saner) metric world, the hint for more control is to use mm instead of cm...
take with your representative if you want your country to move into the modern times : - )
44
Windows / Re: windows system requirements? speed it up?
« Last post by a.l.e on September 12, 2018, 09:55:15 am »
(if you want to test if the vector graphics are the culprits: make a copy of your .sla and open it (make sure that you don't open the original); delete all or most of the graphics and see if the speed improves)
45
Windows / Re: windows system requirements? speed it up?
« Last post by a.l.e on September 12, 2018, 09:53:47 am »
are the other programs snappy?
if not, the problem is with something using your computer behind the scenes (multiple antivirus, helper tools for your devices fighting each other, search improvers...)

but: lot of vector graphics might be the issue... for now, all you can do: convert the graphics to bitmaps before importing into scribus...
46
Beginner Talk / Re: nudging
« Last post by Rose on September 12, 2018, 09:12:44 am »
veronicathecow - I'll post details here when I find out how to do it! Good to know it's possible.

dragonfly - That's useful. Thanks for bringing it to my attention. However it doesn't change the nudge values.

47
Windows / windows system requirements? speed it up?
« Last post by Rose on September 12, 2018, 09:02:46 am »
I can't find the windows system requirements on scribus.net. Are they posted anywhere?

Scribus works great on my laptop but it's very slow. For instance, there's a 3-seconds delay between selecting something and seeing it selected with the bounding box.

I'm using win 7 Home, 64bit, intel celeron 2.2 GHz, RAM 2GB.
Lots of vector graphics.

Is there any way to speed it up?
48
Features / Re: Suggestion: a good start for footnotes Insert > Char > Footnote#
« Last post by jack_cat on September 12, 2018, 06:08:26 am »
"Install the theme atom-material-ui"
I have done this and been through its settings. Only I cannot find a setting for the font color, which is almost too pale to read.

Now, in Atom, there is a brief message that flashes up (and then disappears) when I open Atom, saying something about a database. If I click on this I get a flag that says: Local database already found! Are you sure you want to lose it?
Now, I don't know anything about a local database... but I hesitate to click through such a warning message until I know what is going on.

Project viewer is installed. I have not yet done anything with it - it says "no projects". What is the first thing I should do with it?
I did not find svg-viewer. I installed svg-preview, which works.
Thank you for telling me how to set the switch for lilypond-compile to make svg.
I used lilypond-compile to generate an svg and viewed it with svg-preview.
Lilypond's svg files have an added benefit I had not anticipated: you can open them with Inkscape and move every object around to suit, thus it offers a great deal of tweakability even for newbies, although this is an extra step which should probably be unnecessary because the Lilypond language is supposed to be very precise although with many complexities. However, it offers a welcome alternative to trying to tweak the code to get some precise result, in a pinch (which I can certainly imagine), and it beats cutting and pasting in Gimp.

Given your example and instruction so far, I am pretty sure that I will have no trouble generating short documents containing md text and music notation.

Re: Helmholtz vs SPN pitch notation - this is not an issue. I was just expressing myself. Helmholtz notation is harder to read when there are 3 or 4 diacritical marks as in c'''' . Middle C = SPN C4 = Helmholtz c', but Lilypond uses the numbers 1-2-4-8 as note-attributes for time-duration values instead. The octaves of both pitch notation systems begin with C at the bottom and B at the top, instead of starting with A as might be thought logical, and have a direct correspondence, not like lunar & solar calendars. No conversion table is necessary because they are both easy to memorize, SPN being a little more obvious.

49
Features / Re: Suggestion: a good start for footnotes Insert > Char > Footnote#
« Last post by dragonfly on September 12, 2018, 12:28:39 am »
Postscript

I forgot to write that there is another way of previewing SVG produced by lilycompile.
In the /tmp folder which is created (containing score.pdf or score.svg) create a blank file merge.md.

In this file simply write:

@import "score.svg"

and you can preview the compiled score compiled as SVG (not PDF). Note that you cannot easily import PDF in the same way so this is why I recommend lilycompile settings File Type: be set to SVG.
Do focus on studying project-viewer Features since you can create multiple "virtual projects". For example I downloaded the LilyPond Snippets Respository files and placed these snippets in a local folder:

~/Atom-repo/music/lsr/

50
Features / Re: Suggestion: a good start for footnotes Insert > Char > Footnote#
« Last post by dragonfly on September 12, 2018, 12:14:57 am »
I understand that learning a new framework is a significant step.  I will only add that terms such as Helmholtz pitch notation  and Scientific Pitch Notation are double Dutch to me. My last efforts at writing music on a computer was very early in my career when, supporting a hi-fi expert, I wrote such a program. In those days the compiler was installed from paper tape and a crude notation language generated bitstream to drive a prototype digital to analogue converter to make crude musical tones.

Now many years later I am learning about LilyPond and also MusicXML.

I find that scores have much in common with mathematical expressions written in LaTeX notation.

There is also the linking of mathematics and music I have read.

http://www.ams.org/publicoutreach/math-and-music

By coincidence your music project challenge has proven to be an excellent example to shakedown the Atom framework I have drawn together.

Considering your task at hand I would suggest considering three parallel workflows.

First, I suggest carry on using Scribus as you have in the past.

Second, I suggest having a workflow to learn more about Atom and how it can be used to compile LilyPond scripts to create assets.  Keep Scribus out of this experiment for now.  You can always manually import into Scribus assets created by this workflow.

Third, in the longer term when I have finished my work developing Atom to Scribus pipe you can try that.

Returning to the second option, the Atom framework, I have tried a number of packages to optimise the workflow and have homed in on those required for LilyPond. I have also learned how to easily convert LilyPond scripts to musicxml format.

There are converters which convert document formats to other formats. See Pandoc.
There are converters which convert file types to others.
Similarly there are converters for converting music notations.

Here is one addressing the problem you posed.

https://futuremillennium.github.io/Helmholtz-Pitch-Notation-Converter/

I will go back through my earlier writing and draw a red line through packages which have been replaced by better packages, after testing.

It is very easy to inspect the inventory of Atom packages already installed. Just run the command:

Code: [Select]
apm list
Some words of immediate advice regarding Atom usage:

Install the theme atom-material-ui
install the package project-viewer   (not project-manager)
install the package svg-viewer svg-preview

Now assuming that you have installed the packages AtLilyPond and lilycompile
navigate to lilycompile package settings and change the File Type: from default PDF to SVG.

It is then easier to embed an SVG file into markdown using the @import statement.
So in short switch from PDF to SVG output from lilycompile.

Just to give you some encouragement, attached is a short clip showing merge of text and music score.

And there is no need to play with git just yet. Stay local.
Pages: 1 2 3 4 [5] 6 7 8 9 10
palmate