public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Conversion from a markdown to docx with font changes
@ 2020-04-03  7:05 RAJ MANI
       [not found] ` <c4103ccd-c46c-40ac-8324-df20d2d8f186-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: RAJ MANI @ 2020-04-03  7:05 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 827 bytes --]

Hii Guys

So i'm gonna tell you in a detailed manner whats my issue is :-
The markdowm file needs to be converted to a .docx file where the 
font-style and font-sizes needs to be modified 
so i'm gonna attach my markdown file and reference document

the command im using on my terminal is :-

pandoc  sample.md --reference-doc=myref.docx -o location.docx


please do help me to the earliest ....have a deadline to it

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/c4103ccd-c46c-40ac-8324-df20d2d8f186%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1693 bytes --]

[-- Attachment #2: myref.docx --]
[-- Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document, Size: 11094 bytes --]

[-- Attachment #3: sample.md --]
[-- Type: text/markdown, Size: 4060 bytes --]


# h1 Heading :-)
## h2 Heading
### h3 Heading
#### h4 Heading
##### h5 Heading
###### h6 Heading


## Horizontal Rules

___

---

***


## Typographic replacements <span style="color:red">cardinals</span>

Enable typographer option to see result.<span style="color:red">cardinals</span>

(c) (C) (r) (R) (tm) (TM) (p) (P) +-

test.. test... test..... test?..... test!....

!!!!!! ???? ,,  -- ---

"Smartypants, double quotes" and 'single quotes'


## Emphasis

**This is bold text**

__This is bold text__

*This is italic text*

_This is italic text_

~~Strikethrough~~


## Blockquotes


> Blockquotes can also be nested...
>> ...by using additional greater-than signs right next to each other...
> > > ...or with spaces between arrows.


## Lists

Unordered

+ Create a list by starting a line with `+`, `-`, or `*`
+ Sub-lists are made by indenting 2 spaces:
  - Marker character change forces new list start:
    * Ac tristique libero volutpat at
    + Facilisis in pretium nisl aliquet
    - Nulla volutpat aliquam velit
+ Very easy!

Ordered

1. Lorem ipsum dolor sit amet
2. Consectetur adipiscing elit
3. Integer molestie lorem at massa


1. You can use sequential numbers...
1. ...or keep all the numbers as `1.`

Start numbering with offset:

57. foo
1. bar


## Code

Inline `code`

Indented code

    // Some comments
    line 1 of code
    line 2 of code
    line 3 of code


Block code "fences"

```
Sample text here...
```

Syntax highlighting

``` js
var foo = function (bar) {
  return bar++;
};

console.log(foo(5));
```

## Tables

| Option | Description |
| ------ | ----------- |
| data   | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. |
| ext    | extension to be used for dest files. |

Right aligned columns

| Option | Description |
| ------:| -----------:|
| data   | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. |
| ext    | extension to be used for dest files. |


## Links

[link text](http://dev.nodeca.com)

[link with title](http://nodeca.github.io/pica/demo/ "title text!")

Autoconverted link https://github.com/nodeca/pica (enable linkify to see)



## Plugins

The killer feature of `markdown-it` is very effective support of
[syntax plugins](https://www.npmjs.org/browse/keyword/markdown-it-plugin).


### [Emojies]****(https://github.com/markdown-it/markdown-it-emoji)

> Classic markup: :wink: :crush: :cry: :tear: :laughing: :yum:
>
> Shortcuts (emoticons): :-) :-( 8-) ;)

see [how to change output](https://github.com/markdown-it/markdown-it-emoji#change-output) with twemoji.


### [Subscript](https://github.com/markdown-it/markdown-it-sub) / [Superscript](https://github.com/markdown-it/markdown-it-sup)

- 19^th^
- H~2~O


### [\<ins>](https://github.com/markdown-it/markdown-it-ins)

++Inserted text++


### [\<mark>](https://github.com/markdown-it/markdown-it-mark)

==Marked text==


### [Footnotes](https://github.com/markdown-it/markdown-it-footnote)

Footnote 1 link[^first].

Footnote 2 link[^second].

Inline footnote^[Text of inline footnote] definition.

Duplicated footnote reference[^second].

[^first]: Footnote **can have markup**

    and multiple paragraphs.

[^second]: Footnote text.


### [Definition lists](https://github.com/markdown-it/markdown-it-deflist)

Term 1

:   Definition 1
with lazy continuation.

Term 2 with *inline markup*

:   Definition 2

        { some code, part of Definition 2 }

    Third paragraph of definition 2.

_Compact style:_

Term 1
  ~ Definition 1

Term 2
  ~ Definition 2a
  ~ Definition 2b


### [Abbreviations](https://github.com/markdown-it/markdown-it-abbr)

This is HTML abbreviation example.

It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on.

*[HTML]: Hyper Text Markup Language

### [Custom containers](https://github.com/markdown-it/markdown-it-container)

::: warning
*here be dragons*
:::

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Conversion from a markdown to docx with font changes
       [not found] ` <c4103ccd-c46c-40ac-8324-df20d2d8f186-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-04-03  9:22   ` Anders Eriksson
  0 siblings, 0 replies; 2+ messages in thread
From: Anders Eriksson @ 2020-04-03  9:22 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 1990 bytes --]

Hello,

First a disclaimer! I'm no expert and I have not access to Microsoft Word!

Opening the myref.docx in LibreOffice it seems like you have change the 
actual text but not the style!

Check the styles!

// Anders

On 2020-04-03 09:05, RAJ MANI wrote:
> Hii Guys
>
> So i'm gonna tell you in a detailed manner whats my issue is :-
> The markdowm file needs to be converted to a .docx file where the 
> font-style and font-sizes needs to be modified
> so i'm gonna attach my markdown file and reference document
>
> the command im using on my terminal is :-
>
> pandoc  sample.md --reference-doc=myref.docx -o location.docx
>
>
> please do help me to the earliest ....have a deadline to it
>
>
> -- 
> You received this message because you are subscribed to the Google 
> Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org 
> <mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/c4103ccd-c46c-40ac-8324-df20d2d8f186%40googlegroups.com 
> <https://groups.google.com/d/msgid/pandoc-discuss/c4103ccd-c46c-40ac-8324-df20d2d8f186%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
Anders Eriksson
Software Engineer
DC Lasersystem AB
Norsborsgsvägen 3
S-145 90  NORSBORG
SWEDEN
+46 (0)73 029 45 74  (Mobile)
anders-gxScWWR+X5axBppYLAEN5wC/G2K4zDHf@public.gmane.org

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/280bfe13-b9cf-85fc-f16a-3006bfcf6fde%40dclasersystem.com.

[-- Attachment #2: Type: text/html, Size: 3866 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-03  9:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-03  7:05 Conversion from a markdown to docx with font changes RAJ MANI
     [not found] ` <c4103ccd-c46c-40ac-8324-df20d2d8f186-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-04-03  9:22   ` Anders Eriksson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).