LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-29-2017, 09:17 AM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,357

Rep: Reputation: 213Reputation: 213Reputation: 213
Unimark markup plain text syntax


Hello,

I would like to start the discussion the markup language syntax Unimark.
This format is particularly destined to simply replace ASCIIDOC
and it allows to make TeX, Html, books and review document for journals.

Do you think that this syntax is rock solid and portable on many systems (terminals, OSes,...)?


Quote:

=============================
| UniMark (*.mrk) Document |
=============================
!title - Unimark Markup Language -
!author GNU (FreeBSD/Linux Community/Free)


============
!Chapter One
============
With !chapter or !Chapter you can start a new chapter
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

==============
= Section One
============== (<- With many '=', those are seen as non printable)
Unimark is a ultra portable
markup language
that can be compile on about 500 machines (mips, arm, i386,...).
It requires clang, or gcc, or other CC compiler.

It is extremely reliable and allows to be a full replacement of ASCIIDOC for books,
latex documents,
but also
for making simple HTML documents.

The choice of '!' is not trivial. '!' allows to be read by any machines.
'=' allows to be simple and not too much complicated.
It follows slightly the
syntax of TeX.
You can use double space, line break, and your paragraph will
not be affected.
Nice and easy to use.





== SubSection One
------------------ (<-- this is not printed)
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
lorem lorem
lorem lorem
lorem lorem



== SubSection Two
------------------ (<- those are seen as non printable)
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
lorem lorem
lorem lorem
lorem lorem


== SubSection Three
lorem lorem
lorem lorem
lorem lorem


=== SubSubsection
but you can also use the following:




===========================================================================
//
/// but you can also write your section, subsection, ... with a simple beginning '!' separated with a space (just like a command).
//
!clr
!chap my chapter
!sec This is my section
!subsec this is my subsection
!subsubsec this is my subsubsection

!li my item
!bu my bullet numbered
!p my paragraph



/// this is an very basic list
>> Main List
* item 2
* item 3

!clr //new page
>> Main List
[#] item numbered 1
[#] item numbered 2
[#] item numbered 3
[#] item numbered 4






== New Subsection
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
# comment in the text
# comment in the text

/*
this area is non-printed section/area of text.
If you would like to write some comments or hide an area.
*/




== Subsection The Lorem Text with Comment
----------------------------------------- // <- not printed!
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
# comment in the text - for Reviewers, it allows to add some text and the author can see the comments embedded into it
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
# please change or reformulate this line !! ///// do not forget to discuss with point with the author
diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
# comment in the text (this will be in yellow)

!fig{myfigure.jpg}
!fig{dir1/myfigure.jpg} {legende below the fig or text }
!fig{figs/myfigure.jpg}
!fig{dir2/logo.png} {legende below the fig or text }
!fig{myfigure.jpg} /// this also a comment that is added to the current line
// !fig important and it can be easily used for macros and more.

!url{www.linux.org} {Link, click me to go to url}
!background{mypagebackground.jpg}

| Equation: $ y = x + 2 $ ///// you can also use equations (latex of course!)


=======================================
| A great tool for reviewers:
| { [ ] [] #
| this allow to write in plain text and convert it to TeX, < > { ] \}] { } will be seen normal like into a notepad.
| this allow to write in plain text and convert it to TeX, < > { ] \}] { } will be seen normal like into a notepad.
| this allow to write in plain text and convert it to TeX, < > { ] \}] { } will be seen normal like into a notepad.
| this allow to write in plain text and convert it to TeX, < > { ] \}] { } will be seen normal like into a notepad.
|
======================================= <- (not printed!) // not seen

// if you would like to use TeX and include headers, you may use following functions:
#include{unimark.mrk}
!begin
You can write like you would with TeX/LaTeX/XeTeX/...
!end

/// this is non-printable comment
///// this line below get a jpg and allows to check if fexist, fetch and use it.
////// this is extremely useful for authors that use github and directly post their figures into the hub.
!wget{www.linux.org/about.mrk}{chaps/about.mrk}
!input{chaps/about.mrk}
!webfig{www.linux.org/linux.jpg}{figs/linux.jpg}





////////////////////////////////

/// Let's use also some other Unimark files.
!input{chapters/chap1.mrk}
!input{chapters/chap2.mrk}
!input{chapters/chap3.mrk}
// another example with ~ for $HOME/
!input{~/phd/chapters/chap4.mrk}
// and so on...

(Beta In Dev)

Last edited by Xeratul; 08-02-2017 at 08:08 AM.
 
Old 07-30-2017, 01:11 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010
Considering google turns up nothing, I think it has a ways to go.
 
Old 07-31-2017, 01:52 AM   #3
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,357

Original Poster
Rep: Reputation: 213Reputation: 213Reputation: 213
Quote:
Originally Posted by AwesomeMachine View Post
Considering google turns up nothing, I think it has a ways to go.
It could indeed.

Unimark can conduct to even beamer presentations
herewith
Attached Files
File Type: txt C-Language.txt (629 Bytes, 14 views)
File Type: pdf C-Language.pdf (10.5 KB, 9 views)
 
Old 08-02-2017, 02:18 AM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010
Are you sure the project didn't get renamed?
 
Old 08-02-2017, 05:21 AM   #5
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,357

Original Poster
Rep: Reputation: 213Reputation: 213Reputation: 213
Quote:
Originally Posted by AwesomeMachine View Post
Are you sure the project didn't get renamed?
Maybe the link, but this given specific mentioned above project is and was called UNIMARK since ever. There might be numerous markup languages.

The Unimark language is still in beta and under active dev.

Looks very promising since it ccan make HTML, Beamer presentations and too Ph.d. thesis !!

The Unimark language is made to free users, by allowing to compile unimark software just with gcc. Since all functions are made from scratch, it can be compiled easily and will be working on almost every thing.

Maybe a toaster, no, but maybe if there is a CPU and GCC !
 
Old 08-02-2017, 06:35 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,426
Blog Entries: 10

Rep: Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249
a link to the actual project?
 
Old 08-02-2017, 08:05 AM   #7
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,357

Original Poster
Rep: Reputation: 213Reputation: 213Reputation: 213
Quote:
Originally Posted by ondoho View Post
a link to the actual project?
Hello, Thank you for your interests and question.

here it is: Link It is beta.

If you will to contribute and improve the code, please feel free.

Kind regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Markup lowdown: 4 markup languages every team should know LXer Syndicated Linux News 0 08-26-2015 10:41 AM
The best way to convert from text/x-c++ iso-8859-1 to text/plain utf8. rm_-rf_windows Linux - General 1 10-03-2012 04:08 AM
[SOLVED] No rule to make target 'Markup.cpp', needed by `Markup.o'. Stop. shamjs Programming 11 12-10-2011 10:51 AM
How much can I edit in plain text? JosephS Linux - Software 4 04-29-2009 09:08 PM
plain old text editor autophil Linux - General 9 08-12-2007 08:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration