> ## Documentation Index
> Fetch the complete documentation index at: https://ayakaleaf-pro.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# تكامل Mendeley

> اربط حسابك في Mendeley، واستورد مكتبة إلى ملف .bib، واقتبس منه، وحدّثه، وألغِ الربط.

استورد مكتبة Mendeley إلى مشروع كملف `.bib`، ثم اقتبس منه كالمعتاد. الملف نسخة: لا يتغير إلا عندما تنقر على **Refresh**.

> [!NOTE]
>
> إذا لم يظهر لك خيار Mendeley في **Account settings**، فاطلب من المسؤول تفعيل [تكامل Mendeley](https://ayakaleaf-pro.mintlify.site/ar/on-premises/configuration/overleaf-toolkit/integrations/mendeley-integration.md).

## اربط حسابك في Mendeley

تفعل ذلك مرة واحدة.

**1. افتح إعدادات حسابك**

انقر على **Account**، ثم على **Account settings**. ضمن **Reference managers**، ابحث عن **Mendeley** وانقر على **Link to Mendeley**.

![قسم Mendeley في إعدادات الحساب مع زر Link to Mendeley](https://mintcdn.com/ayakaleaf-pro/PeD9iteXIf8j4GXw/images/on-premises/mendeley-link.png?fit=max\&auto=format\&n=PeD9iteXIf8j4GXw\&q=85\&s=43a88271d557e5660f474ae8e3e80cc0)

Mendeley في إعدادات الحساب

تنقلك بطاقة **Mendeley** في لوحة **Integrations** بالمحرر إلى المكان نفسه، في علامة التبويب نفسها.

![لوحة Integrations مع بطاقة Mendeley](https://mintcdn.com/ayakaleaf-pro/PeD9iteXIf8j4GXw/images/on-premises/mendeley-integrations.png?fit=max\&auto=format\&n=PeD9iteXIf8j4GXw\&q=85\&s=586224f164bf209f8b2d61c71730a5ef)

لوحة Integrations

**2. امنح الإذن في Mendeley**

تُفتح Mendeley. سجّل الدخول إذا طُلب منك ذلك، ثم امنح التطبيق الإذن.

**3. تحقق من الربط**

تعود إلى إعدادات الحساب. تظهر رسالة خضراء تقول **Reference manager linked**، ويصبح الزر **Unlink**.

![قسم Mendeley في إعدادات الحساب مع رسالة خضراء وزر Unlink](https://mintcdn.com/ayakaleaf-pro/PeD9iteXIf8j4GXw/images/on-premises/mendeley-linked.png?fit=max\&auto=format\&n=PeD9iteXIf8j4GXw\&q=85\&s=bf37ef9eb9855e8de7b64877fba05670)

حسابك في Mendeley مرتبط

إذا لم تسمح بالوصول في Mendeley، يعرض القسم نفسه **Sorry, something went wrong**. انقر على **Link to Mendeley** للمحاولة مرة أخرى.

## أنشئ ملفًا من مكتبتك

**1. افتح مربع الحوار Add files**

افتح مشروعًا. في شجرة الملفات، انقر على **New file**، ثم على **From Mendeley**. لا يظهر هذا الخيار إلا بعد ربط حسابك.

**2. اختر اسم الملف والمكتبة**

تكون قيمة **File Name** في البداية `mendeley.bib`. احتفظ بالامتداد `.bib`: فبدونه لن تحصل على معاينة، ولن يجد `\cite` ولا `\bibliography` المدخلات.

تكون قيمة **Library** في البداية **My Library**، وتعرض أيضًا مجموعاتك. يحتوي الملف الواحد على مكتبة واحدة.

![علامة التبويب From Mendeley في مربع الحوار Add files مع mendeley.bib وMy Library](https://mintcdn.com/ayakaleaf-pro/PeD9iteXIf8j4GXw/images/on-premises/mendeley-new-file.png?fit=max\&auto=format\&n=PeD9iteXIf8j4GXw\&q=85\&s=81c9f863e1a6da6682d085b9527a5656)

ملف من مكتبتك الشخصية

**3. انقر على Create**

يُغلق مربع الحوار ويظهر الملف في شجرة الملفات. انقر عليه: يعرض وقت استيراده ومدخلاته. لا يمكنك تعديله في المحرر.

![الملف mendeley.bib المستورد مفتوحًا في المحرر مع زر Refresh](https://mintcdn.com/ayakaleaf-pro/PeD9iteXIf8j4GXw/images/on-premises/mendeley-file.png?fit=max\&auto=format\&n=PeD9iteXIf8j4GXw\&q=85\&s=3cb1a53b2e2e3d1e9c8fb052d6f746ae)

الملف المستورد

إذا بدا أن **Create** لا يفعل شيئًا، فهناك ملف بهذا الاسم بالفعل. اختر اسمًا آخر.

### استيراد مجموعة

كرر الخطوات نفسها باسم ملف خاص بها، واختر المجموعة ضمن **Library**. يمكن أن يحتوي المشروع على عدة ملفات من هذا النوع.

![علامة التبويب From Mendeley مع اسم الملف journal-club.bib والمكتبة Journal club](https://mintcdn.com/ayakaleaf-pro/PeD9iteXIf8j4GXw/images/on-premises/mendeley-group.png?fit=max\&auto=format\&n=PeD9iteXIf8j4GXw\&q=85\&s=36e33f80803a06290ecba88187949079)

ملف من مجموعة

## الاقتباس من الملف

**1. ابدأ اقتباسًا**

في ملف `.tex`، اكتب `\cite{`. تعرض القائمة مدخلات جميع ملفات `.bib` في المشروع. انقر على أحدها لإدراجه.

![المحرر يعرض مفاتيح الاقتباس أسفل اقتباس](https://mintcdn.com/ayakaleaf-pro/PeD9iteXIf8j4GXw/images/on-premises/mendeley-cite.png?fit=max\&auto=format\&n=PeD9iteXIf8j4GXw\&q=85\&s=644bc6dd85a43536dc1a9929c9d1f493)

مدخلات الملفات المستوردة

**2. أو ابحث بالعنوان أو المؤلف**

انقر على **Search** أسفل القائمة، أو اضغط Ctrl+Space داخل الأقواس المعقوفة. اكتب للتصفية، وانقر على مدخل واحد أو أكثر، ثم انقر على **Insert**.

![مربع الحوار Search the .bib files in this project مع مدخل واحد محدد](https://mintcdn.com/ayakaleaf-pro/PeD9iteXIf8j4GXw/images/on-premises/mendeley-search.png?fit=max\&auto=format\&n=PeD9iteXIf8j4GXw\&q=85\&s=66f386c49395254cfc7745a36b78a973)

البحث عن المراجع

**3. أضف قائمة المراجع**

أضف هذه الأسطر قبل `\end{document}`، مستخدمًا اسم ملفك دون `.bib`. إذا كانت لديك عدة ملفات، فافصل الأسماء بفواصل.

```latex theme={null}
\bibliographystyle{plain}
\bibliography{mendeley}
```

انقر على **Recompile**. يظهر المرجع في ملف PDF.

![المحرر مع الاقتباس وقائمة المراجع، وملف PDF المجمّع مع مرجع](https://mintcdn.com/ayakaleaf-pro/PeD9iteXIf8j4GXw/images/on-premises/mendeley-compiled.png?fit=max\&auto=format\&n=PeD9iteXIf8j4GXw\&q=85\&s=a8cb25d3dd0768cb595735884b6bca5b)

المرجع بعد التجميع

لا تُعرض الملفات المستوردة في **Settings** ضمن **References**، **Main bibliography file for this project**، لذا تبقى القائمة فارغة إذا لم يكن في المشروع ملف `.bib` آخر. ومع ذلك يمكنك الاقتباس منها.

![علامة التبويب References في إعدادات المشروع مع قائمة فارغة ومعطّلة](https://mintcdn.com/ayakaleaf-pro/PeD9iteXIf8j4GXw/images/on-premises/mendeley-settings-references.png?fit=max\&auto=format\&n=PeD9iteXIf8j4GXw\&q=85\&s=f2b0b675644de3d7060919be3f9f0bbe)

القائمة الفارغة أمر متوقع

## حدّث الملف

لا تصل التغييرات في مكتبتك على Mendeley إلى المشروع من تلقاء نفسها.

**1. افتح الملف**

في شجرة الملفات، انقر على الملف المستورد.

**2. انقر على Refresh**

يُعاد استيراد الملف بالكامل من المكتبة التي اخترتها عند إنشائه: تظهر المدخلات الجديدة وتختفي المحذوفة. ويتغير الوقت في الأعلى.

![الملف mendeley.bib بعد التحديث مع مدخل جديد ووقت استيراد جديد](https://mintcdn.com/ayakaleaf-pro/PeD9iteXIf8j4GXw/images/on-premises/mendeley-refresh.png?fit=max\&auto=format\&n=PeD9iteXIf8j4GXw\&q=85\&s=3470237d13a4053875d1f7dafc1915d7)

الملف بعد التحديث

**3. أعد التجميع**

انقر على **Recompile** لتحديث ملف PDF.

يُحدَّث كل ملف على حدة: حدّث ملف مجموعتك بشكل منفصل. لمعرفة من يمكنه تحديث ملف في مشروع مشترك، راجع [ملاحظات المسؤولين](https://ayakaleaf-pro.mintlify.site/on-premises/configuration/overleaf-toolkit/integrations/mendeley-integration.md#notes).

## ألغِ ربط حسابك في Mendeley

في **Account settings**، ضمن **Mendeley**، انقر على **Unlink**، ثم انقر على **Unlink** مرة أخرى في مربع الحوار. يعود الزر إلى **Link to Mendeley**.

![مربع الحوار Unlink Mendeley Account](https://mintcdn.com/ayakaleaf-pro/PeD9iteXIf8j4GXw/images/on-premises/mendeley-unlink.png?fit=max\&auto=format\&n=PeD9iteXIf8j4GXw\&q=85\&s=efaa5a483adc0fb81d35db0e4c2276ac)

إلغاء ربط حسابك

تبقى الملفات التي استوردتها في مشاريعك وتظل قابلة للتجميع. يختفي **From Mendeley** من مربع الحوار **Add files**، ويعرض **Refresh** خطأ حتى تربط حسابك مرة أخرى.

![ملف مستورد يعرض الخطأ Could not load references from Mendeley, please re-link your account and try again](https://mintcdn.com/ayakaleaf-pro/PeD9iteXIf8j4GXw/images/on-premises/mendeley-relink-error.png?fit=max\&auto=format\&n=PeD9iteXIf8j4GXw\&q=85\&s=5aea2772a815befa17c3cf67d8a787d6)

التحديث دون حساب مرتبط

بعد إعادة الربط، يعمل **Refresh** على الملفات نفسها.

## إذا حدث خطأ ما

**Could not load references from Mendeley, please re-link your account and try again**، أو **There was an error accessing your Mendeley data** في مربع الحوار **Add files**: لم يعد Overleaf قادرًا على قراءة مكتبتك، مثلًا لأنك ألغيت وصوله في Mendeley. في **Account settings**، انقر على **Unlink**، ثم على **Link to Mendeley**. وحتى ذلك الحين يفشل **Create** أيضًا مع الرسالة **The project that contains this file is not shared with you**، حتى في مشروعك الخاص.

![علامة التبويب From Mendeley مع رسالتي الخطأ](https://mintcdn.com/ayakaleaf-pro/PeD9iteXIf8j4GXw/images/on-premises/mendeley-access-error.png?fit=max\&auto=format\&n=PeD9iteXIf8j4GXw\&q=85\&s=dd8bf5a40a1f9df1ee7e091a4b3b1249)

لم يعد Overleaf قادرًا على قراءة مكتبتك

**The remote service produced an error** عند النقر على **Refresh**: فشل الطلب إلى Mendeley. يحتفظ الملف بمحتواه. انقر على **Refresh** مرة أخرى لاحقًا.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.